diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxyClient.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxyClient.java new file mode 100644 index 00000000000..368b42e07df --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxyClient.java @@ -0,0 +1,242 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.cloud.spanner.executor.v1.stub.SpannerExecutorProxyStub; +import com.google.cloud.spanner.executor.v1.stub.SpannerExecutorProxyStubSettings; +import com.google.spanner.executor.v1.SpannerAsyncActionRequest; +import com.google.spanner.executor.v1.SpannerAsyncActionResponse; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Service that executes SpannerActions asynchronously. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (SpannerExecutorProxyClient spannerExecutorProxyClient =
+ *     SpannerExecutorProxyClient.create()) {
+ *   BidiStream bidiStream =
+ *       spannerExecutorProxyClient.executeActionAsyncCallable().call();
+ *   SpannerAsyncActionRequest request =
+ *       SpannerAsyncActionRequest.newBuilder()
+ *           .setActionId(198295492)
+ *           .setAction(SpannerAction.newBuilder().build())
+ *           .build();
+ *   bidiStream.send(request);
+ *   for (SpannerAsyncActionResponse response : bidiStream) {
+ *     // Do something when a response is received.
+ *   }
+ * }
+ * }
+ * + *

Note: close() needs to be called on the SpannerExecutorProxyClient object to clean up + * resources such as threads. In the example above, try-with-resources is used, which automatically + * calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

ExecuteActionAsync

ExecuteActionAsync is a streaming call that starts executing a new Spanner action. + *

For each request, the server will reply with one or more responses, but only the last response will contain status in the outcome. + *

Responses can be matched to requests by action_id. It is allowed to have multiple actions in flight--in that case, actions are be executed in parallel.

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • executeActionAsyncCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of SpannerExecutorProxySettings + * to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * SpannerExecutorProxySettings spannerExecutorProxySettings =
+ *     SpannerExecutorProxySettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * SpannerExecutorProxyClient spannerExecutorProxyClient =
+ *     SpannerExecutorProxyClient.create(spannerExecutorProxySettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * SpannerExecutorProxySettings spannerExecutorProxySettings =
+ *     SpannerExecutorProxySettings.newBuilder().setEndpoint(myEndpoint).build();
+ * SpannerExecutorProxyClient spannerExecutorProxyClient =
+ *     SpannerExecutorProxyClient.create(spannerExecutorProxySettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class SpannerExecutorProxyClient implements BackgroundResource { + private final SpannerExecutorProxySettings settings; + private final SpannerExecutorProxyStub stub; + + /** Constructs an instance of SpannerExecutorProxyClient with default settings. */ + public static final SpannerExecutorProxyClient create() throws IOException { + return create(SpannerExecutorProxySettings.newBuilder().build()); + } + + /** + * Constructs an instance of SpannerExecutorProxyClient, using the given settings. The channels + * are created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final SpannerExecutorProxyClient create(SpannerExecutorProxySettings settings) + throws IOException { + return new SpannerExecutorProxyClient(settings); + } + + /** + * Constructs an instance of SpannerExecutorProxyClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(SpannerExecutorProxySettings). + */ + public static final SpannerExecutorProxyClient create(SpannerExecutorProxyStub stub) { + return new SpannerExecutorProxyClient(stub); + } + + /** + * Constructs an instance of SpannerExecutorProxyClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected SpannerExecutorProxyClient(SpannerExecutorProxySettings settings) throws IOException { + this.settings = settings; + this.stub = ((SpannerExecutorProxyStubSettings) settings.getStubSettings()).createStub(); + } + + protected SpannerExecutorProxyClient(SpannerExecutorProxyStub stub) { + this.settings = null; + this.stub = stub; + } + + public final SpannerExecutorProxySettings getSettings() { + return settings; + } + + public SpannerExecutorProxyStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * ExecuteActionAsync is a streaming call that starts executing a new Spanner action. + * + *

For each request, the server will reply with one or more responses, but only the last + * response will contain status in the outcome. + * + *

Responses can be matched to requests by action_id. It is allowed to have multiple actions in + * flight--in that case, actions are be executed in parallel. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (SpannerExecutorProxyClient spannerExecutorProxyClient =
+   *     SpannerExecutorProxyClient.create()) {
+   *   BidiStream bidiStream =
+   *       spannerExecutorProxyClient.executeActionAsyncCallable().call();
+   *   SpannerAsyncActionRequest request =
+   *       SpannerAsyncActionRequest.newBuilder()
+   *           .setActionId(198295492)
+   *           .setAction(SpannerAction.newBuilder().build())
+   *           .build();
+   *   bidiStream.send(request);
+   *   for (SpannerAsyncActionResponse response : bidiStream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final BidiStreamingCallable + executeActionAsyncCallable() { + return stub.executeActionAsyncCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxySettings.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxySettings.java new file mode 100644 index 00000000000..5e2a1a06e45 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxySettings.java @@ -0,0 +1,193 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.spanner.executor.v1.stub.SpannerExecutorProxyStubSettings; +import com.google.spanner.executor.v1.SpannerAsyncActionRequest; +import com.google.spanner.executor.v1.SpannerAsyncActionResponse; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link SpannerExecutorProxyClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of executeActionAsync to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * SpannerExecutorProxySettings.Builder spannerExecutorProxySettingsBuilder =
+ *     SpannerExecutorProxySettings.newBuilder();
+ * spannerExecutorProxySettingsBuilder
+ *     .executeActionAsyncSettings()
+ *     .setRetrySettings(
+ *         spannerExecutorProxySettingsBuilder
+ *             .executeActionAsyncSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * SpannerExecutorProxySettings spannerExecutorProxySettings =
+ *     spannerExecutorProxySettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class SpannerExecutorProxySettings extends ClientSettings { + + /** Returns the object with the settings used for calls to executeActionAsync. */ + public StreamingCallSettings + executeActionAsyncSettings() { + return ((SpannerExecutorProxyStubSettings) getStubSettings()).executeActionAsyncSettings(); + } + + public static final SpannerExecutorProxySettings create(SpannerExecutorProxyStubSettings stub) + throws IOException { + return new SpannerExecutorProxySettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return SpannerExecutorProxyStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return SpannerExecutorProxyStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return SpannerExecutorProxyStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return SpannerExecutorProxyStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return SpannerExecutorProxyStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return SpannerExecutorProxyStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return SpannerExecutorProxyStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected SpannerExecutorProxySettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for SpannerExecutorProxySettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(SpannerExecutorProxyStubSettings.newBuilder(clientContext)); + } + + protected Builder(SpannerExecutorProxySettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(SpannerExecutorProxyStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(SpannerExecutorProxyStubSettings.newBuilder()); + } + + public SpannerExecutorProxyStubSettings.Builder getStubSettingsBuilder() { + return ((SpannerExecutorProxyStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to executeActionAsync. */ + public StreamingCallSettings.Builder + executeActionAsyncSettings() { + return getStubSettingsBuilder().executeActionAsyncSettings(); + } + + @Override + public SpannerExecutorProxySettings build() throws IOException { + return new SpannerExecutorProxySettings(this); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/gapic_metadata.json new file mode 100644 index 00000000000..91e72f27e57 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/gapic_metadata.json @@ -0,0 +1,21 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.spanner.executor.v1", + "libraryPackage": "com.google.cloud.spanner.executor.v1", + "services": { + "SpannerExecutorProxy": { + "clients": { + "grpc": { + "libraryClient": "SpannerExecutorProxyClient", + "rpcs": { + "ExecuteActionAsync": { + "methods": ["executeActionAsyncCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/package-info.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/package-info.java new file mode 100644 index 00000000000..f76bafaa308 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/package-info.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Cloud Spanner Executor test API + * + *

The interfaces provided are listed below, along with usage samples. + * + *

======================= SpannerExecutorProxyClient ======================= + * + *

Service Description: Service that executes SpannerActions asynchronously. + * + *

Sample for SpannerExecutorProxyClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (SpannerExecutorProxyClient spannerExecutorProxyClient =
+ *     SpannerExecutorProxyClient.create()) {
+ *   BidiStream bidiStream =
+ *       spannerExecutorProxyClient.executeActionAsyncCallable().call();
+ *   SpannerAsyncActionRequest request =
+ *       SpannerAsyncActionRequest.newBuilder()
+ *           .setActionId(198295492)
+ *           .setAction(SpannerAction.newBuilder().build())
+ *           .build();
+ *   bidiStream.send(request);
+ *   for (SpannerAsyncActionResponse response : bidiStream) {
+ *     // Do something when a response is received.
+ *   }
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.spanner.executor.v1; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/GrpcSpannerExecutorProxyCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/GrpcSpannerExecutorProxyCallableFactory.java new file mode 100644 index 00000000000..4e69db41a1e --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/GrpcSpannerExecutorProxyCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the SpannerExecutorProxy service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcSpannerExecutorProxyCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/GrpcSpannerExecutorProxyStub.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/GrpcSpannerExecutorProxyStub.java new file mode 100644 index 00000000000..0950cbc56e5 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/GrpcSpannerExecutorProxyStub.java @@ -0,0 +1,162 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1.stub; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.spanner.executor.v1.SpannerAsyncActionRequest; +import com.google.spanner.executor.v1.SpannerAsyncActionResponse; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the SpannerExecutorProxy service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcSpannerExecutorProxyStub extends SpannerExecutorProxyStub { + private static final MethodDescriptor + executeActionAsyncMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName( + "google.spanner.executor.v1.SpannerExecutorProxy/ExecuteActionAsync") + .setRequestMarshaller( + ProtoUtils.marshaller(SpannerAsyncActionRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(SpannerAsyncActionResponse.getDefaultInstance())) + .build(); + + private final BidiStreamingCallable + executeActionAsyncCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcSpannerExecutorProxyStub create(SpannerExecutorProxyStubSettings settings) + throws IOException { + return new GrpcSpannerExecutorProxyStub(settings, ClientContext.create(settings)); + } + + public static final GrpcSpannerExecutorProxyStub create(ClientContext clientContext) + throws IOException { + return new GrpcSpannerExecutorProxyStub( + SpannerExecutorProxyStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcSpannerExecutorProxyStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcSpannerExecutorProxyStub( + SpannerExecutorProxyStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcSpannerExecutorProxyStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcSpannerExecutorProxyStub( + SpannerExecutorProxyStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new GrpcSpannerExecutorProxyCallableFactory()); + } + + /** + * Constructs an instance of GrpcSpannerExecutorProxyStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcSpannerExecutorProxyStub( + SpannerExecutorProxyStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings + executeActionAsyncTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(executeActionAsyncMethodDescriptor) + .build(); + + this.executeActionAsyncCallable = + callableFactory.createBidiStreamingCallable( + executeActionAsyncTransportSettings, + settings.executeActionAsyncSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public BidiStreamingCallable + executeActionAsyncCallable() { + return executeActionAsyncCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/SpannerExecutorProxyStub.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/SpannerExecutorProxyStub.java new file mode 100644 index 00000000000..c23b1574b5a --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/SpannerExecutorProxyStub.java @@ -0,0 +1,41 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1.stub; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.spanner.executor.v1.SpannerAsyncActionRequest; +import com.google.spanner.executor.v1.SpannerAsyncActionResponse; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the SpannerExecutorProxy service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class SpannerExecutorProxyStub implements BackgroundResource { + + public BidiStreamingCallable + executeActionAsyncCallable() { + throw new UnsupportedOperationException("Not implemented: executeActionAsyncCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/SpannerExecutorProxyStubSettings.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/SpannerExecutorProxyStubSettings.java new file mode 100644 index 00000000000..cb96087cc6c --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/SpannerExecutorProxyStubSettings.java @@ -0,0 +1,290 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1.stub; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.spanner.executor.v1.SpannerAsyncActionRequest; +import com.google.spanner.executor.v1.SpannerAsyncActionResponse; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link SpannerExecutorProxyStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (spanner-cloud-executor.googleapis.com) and default port (443) + * are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of executeActionAsync to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * SpannerExecutorProxyStubSettings.Builder spannerExecutorProxySettingsBuilder =
+ *     SpannerExecutorProxyStubSettings.newBuilder();
+ * spannerExecutorProxySettingsBuilder
+ *     .executeActionAsyncSettings()
+ *     .setRetrySettings(
+ *         spannerExecutorProxySettingsBuilder
+ *             .executeActionAsyncSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * SpannerExecutorProxyStubSettings spannerExecutorProxySettings =
+ *     spannerExecutorProxySettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class SpannerExecutorProxyStubSettings + extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder().build(); + + private final StreamingCallSettings + executeActionAsyncSettings; + + /** Returns the object with the settings used for calls to executeActionAsync. */ + public StreamingCallSettings + executeActionAsyncSettings() { + return executeActionAsyncSettings; + } + + public SpannerExecutorProxyStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcSpannerExecutorProxyStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "spanner-cloud-executor"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "spanner-cloud-executor.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "spanner-cloud-executor.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(SpannerExecutorProxyStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected SpannerExecutorProxyStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + executeActionAsyncSettings = settingsBuilder.executeActionAsyncSettings().build(); + } + + /** Builder for SpannerExecutorProxyStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final StreamingCallSettings.Builder< + SpannerAsyncActionRequest, SpannerAsyncActionResponse> + executeActionAsyncSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + executeActionAsyncSettings = StreamingCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = ImmutableList.>of(); + initDefaults(this); + } + + protected Builder(SpannerExecutorProxyStubSettings settings) { + super(settings); + + executeActionAsyncSettings = settings.executeActionAsyncSettings.toBuilder(); + + unaryMethodSettingsBuilders = ImmutableList.>of(); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to executeActionAsync. */ + public StreamingCallSettings.Builder + executeActionAsyncSettings() { + return executeActionAsyncSettings; + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + @Override + public SpannerExecutorProxyStubSettings build() throws IOException { + return new SpannerExecutorProxyStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json new file mode 100644 index 00000000000..2ab5aff185d --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json @@ -0,0 +1,5645 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$LogType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.ListValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.ListValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.NullValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Struct", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Struct$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Backup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Backup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Backup$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.BackupInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.BackupInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Database", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Database$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Database$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DatabaseDialect", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DatabaseRole", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DatabaseRole$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DdlStatementActionInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DdlStatementActionInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DeleteBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DeleteBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DropDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DropDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionInfo$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OperationProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OperationProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreSourceType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingLimits", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingLimits$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingTargets", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingTargets$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.Instance", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.Instance$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.Instance$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstancePartition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstancePartition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstancePartition$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.OperationProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.OperationProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ReplicaInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ReplicaInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ReplicaInfo$ReplicaType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.AdminAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.AdminAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.AdminResult", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.AdminResult$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.BatchDmlAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.BatchDmlAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.BatchPartition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.BatchPartition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CancelOperationAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CancelOperationAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ChangeStreamRecord", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ChangeStreamRecord$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ChildPartitionsRecord", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ChildPartitionsRecord$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ChildPartitionsRecord$ChildPartition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ChildPartitionsRecord$ChildPartition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloseBatchTransactionAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloseBatchTransactionAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudBackupResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudBackupResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudDatabaseResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudDatabaseResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudInstanceConfigResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudInstanceConfigResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudInstanceResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CloudInstanceResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ColumnMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ColumnMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.Concurrency", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.Concurrency$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CopyCloudBackupAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CopyCloudBackupAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateCloudBackupAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateCloudBackupAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateCloudDatabaseAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateCloudDatabaseAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateCloudInstanceAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateCloudInstanceAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateUserInstanceConfigAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.CreateUserInstanceConfigAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DataChangeRecord", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DataChangeRecord$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DataChangeRecord$ColumnType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DataChangeRecord$ColumnType$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DataChangeRecord$Mod", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DataChangeRecord$Mod$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DeleteCloudBackupAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DeleteCloudBackupAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DeleteCloudInstanceAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DeleteCloudInstanceAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DeleteUserInstanceConfigAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DeleteUserInstanceConfigAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DmlAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DmlAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DropCloudDatabaseAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.DropCloudDatabaseAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ExecuteChangeStreamQuery", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ExecuteChangeStreamQuery$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ExecutePartitionAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ExecutePartitionAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.FinishTransactionAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.FinishTransactionAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.FinishTransactionAction$Mode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudBackupAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudBackupAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudDatabaseAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudDatabaseAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudInstanceAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudInstanceAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudInstanceConfigAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetCloudInstanceConfigAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetOperationAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.GetOperationAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.HeartbeatRecord", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.HeartbeatRecord$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.KeyRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.KeyRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.KeyRange$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.KeySet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.KeySet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudBackupOperationsAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudBackupOperationsAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudBackupsAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudBackupsAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudDatabasesAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudDatabasesAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudInstanceConfigsAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudInstanceConfigsAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudInstancesAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ListCloudInstancesAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction$InsertArgs", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction$InsertArgs$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction$Mod", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction$Mod$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction$UpdateArgs", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.MutationAction$UpdateArgs$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.OperationResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.OperationResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.PartitionedUpdateAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.PartitionedUpdateAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.PartitionedUpdateAction$ExecutePartitionedUpdateOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.PartitionedUpdateAction$ExecutePartitionedUpdateOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.QueryAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.QueryAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.QueryAction$Parameter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.QueryAction$Parameter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.QueryResult", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.QueryResult$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ReadAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ReadAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ReadResult", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ReadResult$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.RestoreCloudDatabaseAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.RestoreCloudDatabaseAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerActionOutcome", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerActionOutcome$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerAsyncActionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerAsyncActionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerAsyncActionResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.SpannerAsyncActionResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.StartBatchTransactionAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.StartBatchTransactionAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.StartTransactionAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.StartTransactionAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.TableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.TableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.TransactionExecutionOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.TransactionExecutionOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudBackupAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudBackupAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudDatabaseAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudDatabaseAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudInstanceAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateCloudInstanceAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateUserInstanceConfigAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.UpdateUserInstanceConfigAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ValueList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.ValueList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.WriteMutationsAction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.executor.v1.WriteMutationsAction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest$MutationGroup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest$MutationGroup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BeginTransactionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BeginTransactionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse$CommitStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse$CommitStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CreateSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CreateSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DeleteSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DeleteSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ExcludeReplicas", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ExcludeReplicas$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$IncludeReplicas", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$IncludeReplicas$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest$Statement", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest$Statement$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$QueryMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$QueryOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$QueryOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.GetSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.GetSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeyRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeyRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeySet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeySet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Delete", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Delete$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Write", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Write$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartialResultSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartialResultSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Partition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Partition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionQueryRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionQueryRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionReadRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionReadRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ChildLink", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ChildLink$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$Kind", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ShortRepresentation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ShortRepresentation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.QueryPlan", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.QueryPlan$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ReadRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ReadRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RequestOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RequestOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RequestOptions$Priority", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RollbackRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RollbackRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Session", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Session$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType$Field", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType$Field$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Transaction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Transaction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$PartitionedDml", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$PartitionedDml$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadOnly", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadOnly$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadWrite", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadWrite$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadWrite$ReadLockMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionSelector", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionSelector$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Type$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TypeAnnotationCode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TypeCode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/MockSpannerExecutorProxy.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/MockSpannerExecutorProxy.java new file mode 100644 index 00000000000..a0c082532ff --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/MockSpannerExecutorProxy.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockSpannerExecutorProxy implements MockGrpcService { + private final MockSpannerExecutorProxyImpl serviceImpl; + + public MockSpannerExecutorProxy() { + serviceImpl = new MockSpannerExecutorProxyImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/MockSpannerExecutorProxyImpl.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/MockSpannerExecutorProxyImpl.java new file mode 100644 index 00000000000..ac283457321 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/MockSpannerExecutorProxyImpl.java @@ -0,0 +1,99 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1; + +import com.google.api.core.BetaApi; +import com.google.protobuf.AbstractMessage; +import com.google.spanner.executor.v1.SpannerAsyncActionRequest; +import com.google.spanner.executor.v1.SpannerAsyncActionResponse; +import com.google.spanner.executor.v1.SpannerExecutorProxyGrpc.SpannerExecutorProxyImplBase; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockSpannerExecutorProxyImpl extends SpannerExecutorProxyImplBase { + private List requests; + private Queue responses; + + public MockSpannerExecutorProxyImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public StreamObserver executeActionAsync( + final StreamObserver responseObserver) { + StreamObserver requestObserver = + new StreamObserver() { + @Override + public void onNext(SpannerAsyncActionRequest value) { + requests.add(value); + final Object response = responses.remove(); + if (response instanceof SpannerAsyncActionResponse) { + responseObserver.onNext(((SpannerAsyncActionResponse) response)); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExecuteActionAsync, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SpannerAsyncActionResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void onError(Throwable t) { + responseObserver.onError(t); + } + + @Override + public void onCompleted() { + responseObserver.onCompleted(); + } + }; + return requestObserver; + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxyClientTest.java b/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxyClientTest.java new file mode 100644 index 00000000000..97d605fa770 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner-executor/src/test/java/com/google/cloud/spanner/executor/v1/SpannerExecutorProxyClientTest.java @@ -0,0 +1,141 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.executor.v1; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.grpc.testing.MockStreamObserver; +import com.google.api.gax.rpc.ApiStreamObserver; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.spanner.executor.v1.SpannerAction; +import com.google.spanner.executor.v1.SpannerActionOutcome; +import com.google.spanner.executor.v1.SpannerAsyncActionRequest; +import com.google.spanner.executor.v1.SpannerAsyncActionResponse; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class SpannerExecutorProxyClientTest { + private static MockServiceHelper mockServiceHelper; + private static MockSpannerExecutorProxy mockSpannerExecutorProxy; + private LocalChannelProvider channelProvider; + private SpannerExecutorProxyClient client; + + @BeforeClass + public static void startStaticServer() { + mockSpannerExecutorProxy = new MockSpannerExecutorProxy(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockSpannerExecutorProxy)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + SpannerExecutorProxySettings settings = + SpannerExecutorProxySettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = SpannerExecutorProxyClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void executeActionAsyncTest() throws Exception { + SpannerAsyncActionResponse expectedResponse = + SpannerAsyncActionResponse.newBuilder() + .setActionId(198295492) + .setOutcome(SpannerActionOutcome.newBuilder().build()) + .build(); + mockSpannerExecutorProxy.addResponse(expectedResponse); + SpannerAsyncActionRequest request = + SpannerAsyncActionRequest.newBuilder() + .setActionId(198295492) + .setAction(SpannerAction.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + BidiStreamingCallable callable = + client.executeActionAsyncCallable(); + ApiStreamObserver requestObserver = + callable.bidiStreamingCall(responseObserver); + + requestObserver.onNext(request); + requestObserver.onCompleted(); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void executeActionAsyncExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpannerExecutorProxy.addException(exception); + SpannerAsyncActionRequest request = + SpannerAsyncActionRequest.newBuilder() + .setActionId(198295492) + .setAction(SpannerAction.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + BidiStreamingCallable callable = + client.executeActionAsyncCallable(); + ApiStreamObserver requestObserver = + callable.bidiStreamingCall(responseObserver); + + requestObserver.onNext(request); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } +} diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java index 8cfb9c5455b..73e98477c25 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java @@ -33,6 +33,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.spanner.admin.database.v1.stub.DatabaseAdminStubSettings; @@ -317,7 +318,6 @@ public static Builder newBuilder() { } /** Returns a new REST builder for this class. */ - @BetaApi public static Builder newHttpJsonBuilder() { return Builder.createHttpJsonDefault(); } @@ -359,7 +359,6 @@ private static Builder createDefault() { return new Builder(DatabaseAdminStubSettings.newBuilder()); } - @BetaApi private static Builder createHttpJsonDefault() { return new Builder(DatabaseAdminStubSettings.newHttpJsonBuilder()); } diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java index 31da17aad8f..68432959c50 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java @@ -1329,8 +1329,6 @@ public UnaryCallSettings.Builder createDatabas } /** Returns the builder for the settings used for calls to createDatabase. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder createDatabaseOperationSettings() { return createDatabaseOperationSettings; @@ -1347,8 +1345,6 @@ public UnaryCallSettings.Builder updateDatabas } /** Returns the builder for the settings used for calls to updateDatabase. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder updateDatabaseOperationSettings() { return updateDatabaseOperationSettings; @@ -1361,8 +1357,6 @@ public UnaryCallSettings.Builder updateDatabas } /** Returns the builder for the settings used for calls to updateDatabaseDdl. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder updateDatabaseDdlOperationSettings() { return updateDatabaseDdlOperationSettings; @@ -1401,8 +1395,6 @@ public UnaryCallSettings.Builder createBackupSet } /** Returns the builder for the settings used for calls to createBackup. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder createBackupOperationSettings() { return createBackupOperationSettings; @@ -1414,8 +1406,6 @@ public UnaryCallSettings.Builder copyBackupSetting } /** Returns the builder for the settings used for calls to copyBackup. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder copyBackupOperationSettings() { return copyBackupOperationSettings; @@ -1449,8 +1439,6 @@ public UnaryCallSettings.Builder restoreDatab } /** Returns the builder for the settings used for calls to restoreDatabase. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder restoreDatabaseOperationSettings() { return restoreDatabaseOperationSettings; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java index 875ff8443fc..10bf7d35041 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java @@ -72,6 +72,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java similarity index 96% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java index c8e151ea681..9f8c8075f66 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java @@ -16,7 +16,6 @@ package com.google.cloud.spanner.admin.database.v1.stub; -import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.HttpJsonCallSettings; import com.google.api.gax.httpjson.HttpJsonCallableFactory; import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; @@ -41,7 +40,6 @@ *

This class is for advanced usage. */ @Generated("by gapic-generator-java") -@BetaApi public class HttpJsonDatabaseAdminCallableFactory implements HttpJsonStubCallableFactory { @@ -73,8 +71,6 @@ public UnaryCallable createBatchingCa httpJsonCallSettings, callSettings, clientContext); } - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") @Override public OperationCallable createOperationCallable( diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java index 9f30149bac6..0e490273a13 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java @@ -23,7 +23,6 @@ import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabasesPagedResponse; import com.google.api.HttpRule; -import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.core.BackgroundResourceAggregation; @@ -35,6 +34,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; @@ -94,7 +94,6 @@ *

This class is for advanced usage and reflects the underlying API directly. */ @Generated("by gapic-generator-java") -@BetaApi public class HttpJsonDatabaseAdminStub extends DatabaseAdminStub { private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder() diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java index 5ba97b4e9cc..fde1ce571ab 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java @@ -33,6 +33,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.spanner.admin.instance.v1.stub.InstanceAdminStubSettings; @@ -331,7 +332,6 @@ public static Builder newBuilder() { } /** Returns a new REST builder for this class. */ - @BetaApi public static Builder newHttpJsonBuilder() { return Builder.createHttpJsonDefault(); } @@ -373,7 +373,6 @@ private static Builder createDefault() { return new Builder(InstanceAdminStubSettings.newBuilder()); } - @BetaApi private static Builder createHttpJsonDefault() { return new Builder(InstanceAdminStubSettings.newHttpJsonBuilder()); } diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java index 3369a1642b6..79cdaa3635a 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java @@ -72,6 +72,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java similarity index 96% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java index 8858b882160..7aec0755e63 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java @@ -16,7 +16,6 @@ package com.google.cloud.spanner.admin.instance.v1.stub; -import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.HttpJsonCallSettings; import com.google.api.gax.httpjson.HttpJsonCallableFactory; import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; @@ -41,7 +40,6 @@ *

This class is for advanced usage. */ @Generated("by gapic-generator-java") -@BetaApi public class HttpJsonInstanceAdminCallableFactory implements HttpJsonStubCallableFactory { @@ -73,8 +71,6 @@ public UnaryCallable createBatchingCa httpJsonCallSettings, callSettings, clientContext); } - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") @Override public OperationCallable createOperationCallable( diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java index 2c0314e6235..58280adfd85 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java @@ -23,7 +23,6 @@ import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancesPagedResponse; import com.google.api.HttpRule; -import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.core.BackgroundResourceAggregation; @@ -35,6 +34,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; @@ -94,7 +94,6 @@ *

This class is for advanced usage and reflects the underlying API directly. */ @Generated("by gapic-generator-java") -@BetaApi public class HttpJsonInstanceAdminStub extends InstanceAdminStub { private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder() diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java index 67b6d72d583..36454ee1a55 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java @@ -1441,8 +1441,6 @@ public Builder applyToAllUnaryMethods( } /** Returns the builder for the settings used for calls to createInstanceConfig. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< CreateInstanceConfigRequest, InstanceConfig, CreateInstanceConfigMetadata> createInstanceConfigOperationSettings() { @@ -1456,8 +1454,6 @@ public Builder applyToAllUnaryMethods( } /** Returns the builder for the settings used for calls to updateInstanceConfig. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< UpdateInstanceConfigRequest, InstanceConfig, UpdateInstanceConfigMetadata> updateInstanceConfigOperationSettings() { @@ -1506,8 +1502,6 @@ public UnaryCallSettings.Builder createInstanc } /** Returns the builder for the settings used for calls to createInstance. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder createInstanceOperationSettings() { return createInstanceOperationSettings; @@ -1519,8 +1513,6 @@ public UnaryCallSettings.Builder updateInstanc } /** Returns the builder for the settings used for calls to updateInstance. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder updateInstanceOperationSettings() { return updateInstanceOperationSettings; @@ -1560,8 +1552,6 @@ public UnaryCallSettings.Builder getIamPolicySettin } /** Returns the builder for the settings used for calls to createInstancePartition. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< CreateInstancePartitionRequest, InstancePartition, CreateInstancePartitionMetadata> createInstancePartitionOperationSettings() { @@ -1581,8 +1571,6 @@ public UnaryCallSettings.Builder getIamPolicySettin } /** Returns the builder for the settings used for calls to updateInstancePartition. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< UpdateInstancePartitionRequest, InstancePartition, UpdateInstancePartitionMetadata> updateInstancePartitionOperationSettings() { diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java index d1502689d82..b3e74e9b896 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.spanner.v1.stub.SpannerStubSettings; @@ -234,7 +235,6 @@ public static Builder newBuilder() { } /** Returns a new REST builder for this class. */ - @BetaApi public static Builder newHttpJsonBuilder() { return Builder.createHttpJsonDefault(); } @@ -276,7 +276,6 @@ private static Builder createDefault() { return new Builder(SpannerStubSettings.newBuilder()); } - @BetaApi private static Builder createHttpJsonDefault() { return new Builder(SpannerStubSettings.newHttpJsonBuilder()); } diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java index 6d7cc8d0bc3..dcd0fa448a4 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java @@ -55,6 +55,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java similarity index 96% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java index aa35e6adbb7..4368496c416 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java @@ -16,7 +16,6 @@ package com.google.cloud.spanner.v1.stub; -import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.HttpJsonCallSettings; import com.google.api.gax.httpjson.HttpJsonCallableFactory; import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; @@ -41,7 +40,6 @@ *

This class is for advanced usage. */ @Generated("by gapic-generator-java") -@BetaApi public class HttpJsonSpannerCallableFactory implements HttpJsonStubCallableFactory { @@ -73,8 +71,6 @@ public UnaryCallable createBatchingCa httpJsonCallSettings, callSettings, clientContext); } - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") @Override public OperationCallable createOperationCallable( diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java index 10e6962478d..5ba7eb584af 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java @@ -18,7 +18,6 @@ import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse; -import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.core.BackgroundResourceAggregation; @@ -73,7 +72,6 @@ *

This class is for advanced usage and reflects the underlying API directly. */ @Generated("by gapic-generator-java") -@BetaApi public class HttpJsonSpannerStub extends SpannerStub { private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.admin.database.v1/reflect-config.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.admin.database.v1/reflect-config.json new file mode 100644 index 00000000000..9518d8b2191 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.admin.database.v1/reflect-config.json @@ -0,0 +1,2450 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$LogType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Backup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Backup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Backup$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.BackupInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.BackupInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CopyBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.CreateDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Database", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Database$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.Database$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DatabaseDialect", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DatabaseRole", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DatabaseRole$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DdlStatementActionInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DdlStatementActionInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DeleteBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DeleteBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DropDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.DropDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.EncryptionInfo$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseDdlResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.GetDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListBackupsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabaseRolesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.ListDatabasesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OperationProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OperationProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.RestoreSourceType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.database.v1.UpdateDatabaseRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.admin.instance.v1/reflect-config.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.admin.instance.v1/reflect-config.json new file mode 100644 index 00000000000..a01e9dbb010 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.admin.instance.v1/reflect-config.json @@ -0,0 +1,2315 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$LogType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingLimits", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingLimits$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingTargets", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$AutoscalingTargets$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.AutoscalingConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.CreateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.DeleteInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.GetInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.Instance", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.Instance$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.Instance$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstanceConfig$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstancePartition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstancePartition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.InstancePartition$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ListInstancesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.OperationProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.OperationProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ReplicaInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ReplicaInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.ReplicaInfo$ReplicaType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.admin.instance.v1.UpdateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.v1/reflect-config.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.v1/reflect-config.json new file mode 100644 index 00000000000..04776be1ded --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/resources/META-INF/native-image/com.google.cloud.spanner.v1/reflect-config.json @@ -0,0 +1,2297 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.ListValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.ListValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.NullValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Struct", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Struct$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchCreateSessionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest$MutationGroup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteRequest$MutationGroup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BatchWriteResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BeginTransactionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.BeginTransactionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse$CommitStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CommitResponse$CommitStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CreateSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.CreateSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DeleteSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DeleteSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ExcludeReplicas", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ExcludeReplicas$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$IncludeReplicas", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$IncludeReplicas$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest$Statement", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlRequest$Statement$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteBatchDmlResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$QueryMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$QueryOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ExecuteSqlRequest$QueryOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.GetSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.GetSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeyRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeyRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeySet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.KeySet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ListSessionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Delete", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Delete$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Write", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Mutation$Write$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartialResultSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartialResultSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Partition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Partition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionQueryRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionQueryRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionReadRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionReadRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PartitionResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ChildLink", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ChildLink$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$Kind", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ShortRepresentation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.PlanNode$ShortRepresentation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.QueryPlan", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.QueryPlan$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ReadRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ReadRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RequestOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RequestOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RequestOptions$Priority", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.ResultSetStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RollbackRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.RollbackRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Session", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Session$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType$Field", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.StructType$Field$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Transaction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Transaction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$PartitionedDml", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$PartitionedDml$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadOnly", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadOnly$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadWrite", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadWrite$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionOptions$ReadWrite$ReadLockMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionSelector", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TransactionSelector$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.Type$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TypeAnnotationCode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.spanner.v1.TypeCode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java new file mode 100644 index 00000000000..1fe968db228 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java @@ -0,0 +1,2383 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseRolesPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabasesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.spanner.admin.database.v1.stub.HttpJsonDatabaseAdminStub; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import com.google.spanner.admin.database.v1.Backup; +import com.google.spanner.admin.database.v1.BackupName; +import com.google.spanner.admin.database.v1.Database; +import com.google.spanner.admin.database.v1.DatabaseDialect; +import com.google.spanner.admin.database.v1.DatabaseName; +import com.google.spanner.admin.database.v1.DatabaseRole; +import com.google.spanner.admin.database.v1.EncryptionConfig; +import com.google.spanner.admin.database.v1.EncryptionInfo; +import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse; +import com.google.spanner.admin.database.v1.InstanceName; +import com.google.spanner.admin.database.v1.ListBackupOperationsResponse; +import com.google.spanner.admin.database.v1.ListBackupsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse; +import com.google.spanner.admin.database.v1.ListDatabasesResponse; +import com.google.spanner.admin.database.v1.RestoreInfo; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class DatabaseAdminClientHttpJsonTest { + private static MockHttpService mockService; + private static DatabaseAdminClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonDatabaseAdminStub.getMethodDescriptors(), + DatabaseAdminSettings.getDefaultEndpoint()); + DatabaseAdminSettings settings = + DatabaseAdminSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + DatabaseAdminSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DatabaseAdminClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listDatabasesTest() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabasesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabasesTest2() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabasesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-5262/instances/instance-5262/databases/database-5262"; + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-5262/instances/instance-5262/databases/database-5262"; + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + Database database = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Database actualResponse = client.updateDatabaseAsync(database, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Database database = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateDatabaseAsync(database, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateDatabaseDdlTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateDatabaseDdlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateDatabaseDdlTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateDatabaseDdlExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void dropDatabaseTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + client.dropDatabase(database); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void dropDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void dropDatabaseTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + client.dropDatabase(database); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void dropDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder() + .addAllStatements(new ArrayList()) + .setProtoDescriptors(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseDdlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabaseDdl(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest2() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder() + .addAllStatements(new ArrayList()) + .setProtoDescriptors(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseDdlExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.getDatabaseDdl(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest3() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest3() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest4() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest4() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Backup backup = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Backup actualResponse = client.updateBackup(backup, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Backup backup = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateBackup(backup, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + client.deleteBackup(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + + client.deleteBackup(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest2() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void restoreDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void restoreDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void restoreDatabaseTest3() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest3() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void restoreDatabaseTest4() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest4() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listDatabaseOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseOperationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseOperationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupOperationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupOperationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseRolesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest2() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9347/instances/instance-9347/databases/database-9347"; + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseRolesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9347/instances/instance-9347/databases/database-9347"; + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java new file mode 100644 index 00000000000..b8f56295789 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java @@ -0,0 +1,2186 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseRolesPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabasesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import com.google.spanner.admin.database.v1.Backup; +import com.google.spanner.admin.database.v1.BackupName; +import com.google.spanner.admin.database.v1.CopyBackupRequest; +import com.google.spanner.admin.database.v1.CreateBackupRequest; +import com.google.spanner.admin.database.v1.CreateDatabaseRequest; +import com.google.spanner.admin.database.v1.Database; +import com.google.spanner.admin.database.v1.DatabaseDialect; +import com.google.spanner.admin.database.v1.DatabaseName; +import com.google.spanner.admin.database.v1.DatabaseRole; +import com.google.spanner.admin.database.v1.DeleteBackupRequest; +import com.google.spanner.admin.database.v1.DropDatabaseRequest; +import com.google.spanner.admin.database.v1.EncryptionConfig; +import com.google.spanner.admin.database.v1.EncryptionInfo; +import com.google.spanner.admin.database.v1.GetBackupRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse; +import com.google.spanner.admin.database.v1.GetDatabaseRequest; +import com.google.spanner.admin.database.v1.InstanceName; +import com.google.spanner.admin.database.v1.ListBackupOperationsRequest; +import com.google.spanner.admin.database.v1.ListBackupOperationsResponse; +import com.google.spanner.admin.database.v1.ListBackupsRequest; +import com.google.spanner.admin.database.v1.ListBackupsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseRolesRequest; +import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse; +import com.google.spanner.admin.database.v1.ListDatabasesRequest; +import com.google.spanner.admin.database.v1.ListDatabasesResponse; +import com.google.spanner.admin.database.v1.RestoreDatabaseRequest; +import com.google.spanner.admin.database.v1.RestoreInfo; +import com.google.spanner.admin.database.v1.UpdateBackupRequest; +import com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest; +import com.google.spanner.admin.database.v1.UpdateDatabaseRequest; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class DatabaseAdminClientTest { + private static MockDatabaseAdmin mockDatabaseAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private DatabaseAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockDatabaseAdmin = new MockDatabaseAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockDatabaseAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + DatabaseAdminSettings settings = + DatabaseAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DatabaseAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listDatabasesTest() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabasesRequest actualRequest = ((ListDatabasesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabasesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabasesTest2() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabasesRequest actualRequest = ((ListDatabasesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabasesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(createStatement, actualRequest.getCreateStatement()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(createStatement, actualRequest.getCreateStatement()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseRequest actualRequest = ((GetDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseRequest actualRequest = ((GetDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + Database database = Database.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Database actualResponse = client.updateDatabaseAsync(database, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateDatabaseRequest actualRequest = ((UpdateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + Database database = Database.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateDatabaseAsync(database, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void updateDatabaseDdlTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateDatabaseDdlRequest actualRequest = ((UpdateDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertEquals(statements, actualRequest.getStatementsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateDatabaseDdlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void updateDatabaseDdlTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String database = "database1789464955"; + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateDatabaseDdlRequest actualRequest = ((UpdateDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(statements, actualRequest.getStatementsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateDatabaseDdlExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String database = "database1789464955"; + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void dropDatabaseTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + client.dropDatabase(database); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DropDatabaseRequest actualRequest = ((DropDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void dropDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void dropDatabaseTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String database = "database1789464955"; + + client.dropDatabase(database); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DropDatabaseRequest actualRequest = ((DropDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void dropDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String database = "database1789464955"; + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder() + .addAllStatements(new ArrayList()) + .setProtoDescriptors(ByteString.EMPTY) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseDdlRequest actualRequest = ((GetDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseDdlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabaseDdl(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest2() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder() + .addAllStatements(new ArrayList()) + .setProtoDescriptors(ByteString.EMPTY) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String database = "database1789464955"; + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseDdlRequest actualRequest = ((GetDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseDdlExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String database = "database1789464955"; + client.getDatabaseDdl(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest3() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest4() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBackupRequest actualRequest = ((GetBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBackupRequest actualRequest = ((GetBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + Backup backup = Backup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Backup actualResponse = client.updateBackup(backup, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateBackupRequest actualRequest = ((UpdateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + Backup backup = Backup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateBackup(backup, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + client.deleteBackup(name); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteBackupRequest actualRequest = ((DeleteBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteBackup(name); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteBackupRequest actualRequest = ((DeleteBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupsRequest actualRequest = ((ListBackupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest2() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupsRequest actualRequest = ((ListBackupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void restoreDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup.toString(), actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void restoreDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void restoreDatabaseTest3() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup.toString(), actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void restoreDatabaseTest4() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .setEnableDropProtection(true) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void listDatabaseOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseOperationsRequest actualRequest = + ((ListDatabaseOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseOperationsRequest actualRequest = + ((ListDatabaseOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseOperationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupOperationsRequest actualRequest = + ((ListBackupOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupOperationsRequest actualRequest = + ((ListBackupOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupOperationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseRolesRequest actualRequest = ((ListDatabaseRolesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseRolesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest2() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseRolesRequest actualRequest = ((ListDatabaseRolesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseRolesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java new file mode 100644 index 00000000000..c85497197fe --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockDatabaseAdmin implements MockGrpcService { + private final MockDatabaseAdminImpl serviceImpl; + + public MockDatabaseAdmin() { + serviceImpl = new MockDatabaseAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java new file mode 100644 index 00000000000..f77ad2edbc8 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java @@ -0,0 +1,508 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +import com.google.api.core.BetaApi; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import com.google.spanner.admin.database.v1.Backup; +import com.google.spanner.admin.database.v1.CopyBackupRequest; +import com.google.spanner.admin.database.v1.CreateBackupRequest; +import com.google.spanner.admin.database.v1.CreateDatabaseRequest; +import com.google.spanner.admin.database.v1.Database; +import com.google.spanner.admin.database.v1.DatabaseAdminGrpc.DatabaseAdminImplBase; +import com.google.spanner.admin.database.v1.DeleteBackupRequest; +import com.google.spanner.admin.database.v1.DropDatabaseRequest; +import com.google.spanner.admin.database.v1.GetBackupRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse; +import com.google.spanner.admin.database.v1.GetDatabaseRequest; +import com.google.spanner.admin.database.v1.ListBackupOperationsRequest; +import com.google.spanner.admin.database.v1.ListBackupOperationsResponse; +import com.google.spanner.admin.database.v1.ListBackupsRequest; +import com.google.spanner.admin.database.v1.ListBackupsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseRolesRequest; +import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse; +import com.google.spanner.admin.database.v1.ListDatabasesRequest; +import com.google.spanner.admin.database.v1.ListDatabasesResponse; +import com.google.spanner.admin.database.v1.RestoreDatabaseRequest; +import com.google.spanner.admin.database.v1.UpdateBackupRequest; +import com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest; +import com.google.spanner.admin.database.v1.UpdateDatabaseRequest; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockDatabaseAdminImpl extends DatabaseAdminImplBase { + private List requests; + private Queue responses; + + public MockDatabaseAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listDatabases( + ListDatabasesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListDatabasesResponse) { + requests.add(request); + responseObserver.onNext(((ListDatabasesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListDatabases, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListDatabasesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createDatabase( + CreateDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getDatabase(GetDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Database) { + requests.add(request); + responseObserver.onNext(((Database) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Database.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateDatabase( + UpdateDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateDatabaseDdl( + UpdateDatabaseDdlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateDatabaseDdl, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void dropDatabase(DropDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DropDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getDatabaseDdl( + GetDatabaseDdlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GetDatabaseDdlResponse) { + requests.add(request); + responseObserver.onNext(((GetDatabaseDdlResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetDatabaseDdl, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GetDatabaseDdlResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createBackup( + CreateBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void copyBackup(CopyBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CopyBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getBackup(GetBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Backup) { + requests.add(request); + responseObserver.onNext(((Backup) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Backup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateBackup(UpdateBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Backup) { + requests.add(request); + responseObserver.onNext(((Backup) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Backup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteBackup(DeleteBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listBackups( + ListBackupsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListBackupsResponse) { + requests.add(request); + responseObserver.onNext(((ListBackupsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListBackups, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListBackupsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void restoreDatabase( + RestoreDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RestoreDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listDatabaseOperations( + ListDatabaseOperationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListDatabaseOperationsResponse) { + requests.add(request); + responseObserver.onNext(((ListDatabaseOperationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListDatabaseOperations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListDatabaseOperationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listBackupOperations( + ListBackupOperationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListBackupOperationsResponse) { + requests.add(request); + responseObserver.onNext(((ListBackupOperationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListBackupOperations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListBackupOperationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listDatabaseRoles( + ListDatabaseRolesRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListDatabaseRolesResponse) { + requests.add(request); + responseObserver.onNext(((ListDatabaseRolesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListDatabaseRoles, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListDatabaseRolesResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java new file mode 100644 index 00000000000..99d8138ad93 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java @@ -0,0 +1,2082 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigOperationsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancePartitionOperationsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancePartitionsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.spanner.admin.instance.v1.stub.HttpJsonInstanceAdminStub; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import com.google.spanner.admin.instance.v1.AutoscalingConfig; +import com.google.spanner.admin.instance.v1.Instance; +import com.google.spanner.admin.instance.v1.InstanceConfig; +import com.google.spanner.admin.instance.v1.InstanceConfigName; +import com.google.spanner.admin.instance.v1.InstanceName; +import com.google.spanner.admin.instance.v1.InstancePartition; +import com.google.spanner.admin.instance.v1.InstancePartitionName; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse; +import com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse; +import com.google.spanner.admin.instance.v1.ListInstancesResponse; +import com.google.spanner.admin.instance.v1.ProjectName; +import com.google.spanner.admin.instance.v1.ReplicaInfo; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class InstanceAdminClientHttpJsonTest { + private static MockHttpService mockService; + private static InstanceAdminClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonInstanceAdminStub.getMethodDescriptors(), + InstanceAdminSettings.getDefaultEndpoint()); + InstanceAdminSettings settings = + InstanceAdminSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + InstanceAdminSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = InstanceAdminClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listInstanceConfigsTest() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigsTest2() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockService.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-2353"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceConfig instanceConfig = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + InstanceConfig actualResponse = + client.updateInstanceConfigAsync(instanceConfig, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceConfig instanceConfig = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateInstanceConfigAsync(instanceConfig, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteInstanceConfigTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + client.deleteInstanceConfig(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceConfigTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + + client.deleteInstanceConfig(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigOperationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigOperationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest() throws Exception { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest2() throws Exception { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancePartitionsTest() throws Exception { + InstancePartition responsesElement = InstancePartition.newBuilder().build(); + ListInstancePartitionsResponse expectedResponse = + ListInstancePartitionsResponse.newBuilder() + .setNextPageToken("") + .addAllInstancePartitions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListInstancePartitionsPagedResponse pagedListResponse = client.listInstancePartitions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancePartitionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancePartitionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listInstancePartitions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancePartitionsTest2() throws Exception { + InstancePartition responsesElement = InstancePartition.newBuilder().build(); + ListInstancePartitionsResponse expectedResponse = + ListInstancePartitionsResponse.newBuilder() + .setNextPageToken("") + .addAllInstancePartitions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListInstancePartitionsPagedResponse pagedListResponse = client.listInstancePartitions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancePartitionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancePartitionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listInstancePartitions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3514/instances/instance-3514"; + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3514/instances/instance-3514"; + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-2353"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + Instance instance = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + + Instance actualResponse = client.updateInstanceAsync(instance, fieldMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Instance instance = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + client.updateInstanceAsync(instance, fieldMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteInstanceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + client.deleteInstance(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3514/instances/instance-3514"; + + client.deleteInstance(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3514/instances/instance-3514"; + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-3043/instances/instance-3043"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-3043/instances/instance-3043"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-3043/instances/instance-3043"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-3043/instances/instance-3043"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-3043/instances/instance-3043"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-3043/instances/instance-3043"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstancePartitionTest() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockService.addResponse(expectedResponse); + + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + + InstancePartition actualResponse = client.getInstancePartition(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstancePartitionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + client.getInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstancePartitionTest2() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9266/instances/instance-9266/instancePartitions/instancePartition-9266"; + + InstancePartition actualResponse = client.getInstancePartition(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstancePartitionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9266/instances/instance-9266/instancePartitions/instancePartition-9266"; + client.getInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstancePartitionTest() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstancePartitionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + + InstancePartition actualResponse = + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstancePartitionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createInstancePartitionTest2() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstancePartitionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + + InstancePartition actualResponse = + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstancePartitionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteInstancePartitionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + + client.deleteInstancePartition(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstancePartitionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + client.deleteInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstancePartitionTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9266/instances/instance-9266/instancePartitions/instancePartition-9266"; + + client.deleteInstancePartition(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstancePartitionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9266/instances/instance-9266/instancePartitions/instancePartition-9266"; + client.deleteInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateInstancePartitionTest() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstancePartitionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstancePartition instancePartition = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + + InstancePartition actualResponse = + client.updateInstancePartitionAsync(instancePartition, fieldMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateInstancePartitionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstancePartition instancePartition = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + client.updateInstancePartitionAsync(instancePartition, fieldMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listInstancePartitionOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstancePartitionOperationsResponse expectedResponse = + ListInstancePartitionOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListInstancePartitionOperationsPagedResponse pagedListResponse = + client.listInstancePartitionOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancePartitionOperationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listInstancePartitionOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancePartitionOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstancePartitionOperationsResponse expectedResponse = + ListInstancePartitionOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListInstancePartitionOperationsPagedResponse pagedListResponse = + client.listInstancePartitionOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancePartitionOperationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listInstancePartitionOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java new file mode 100644 index 00000000000..fbd9ca6c40d --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java @@ -0,0 +1,1874 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigOperationsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancePartitionOperationsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancePartitionsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import com.google.spanner.admin.instance.v1.AutoscalingConfig; +import com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.CreateInstanceRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceRequest; +import com.google.spanner.admin.instance.v1.GetInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.GetInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.GetInstanceRequest; +import com.google.spanner.admin.instance.v1.Instance; +import com.google.spanner.admin.instance.v1.InstanceConfig; +import com.google.spanner.admin.instance.v1.InstanceConfigName; +import com.google.spanner.admin.instance.v1.InstanceName; +import com.google.spanner.admin.instance.v1.InstancePartition; +import com.google.spanner.admin.instance.v1.InstancePartitionName; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse; +import com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest; +import com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest; +import com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse; +import com.google.spanner.admin.instance.v1.ListInstancesRequest; +import com.google.spanner.admin.instance.v1.ListInstancesResponse; +import com.google.spanner.admin.instance.v1.ProjectName; +import com.google.spanner.admin.instance.v1.ReplicaInfo; +import com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.UpdateInstanceRequest; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class InstanceAdminClientTest { + private static MockInstanceAdmin mockInstanceAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private InstanceAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockInstanceAdmin = new MockInstanceAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockInstanceAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + InstanceAdminSettings settings = + InstanceAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = InstanceAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listInstanceConfigsTest() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigsRequest actualRequest = ((ListInstanceConfigsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigsTest2() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigsRequest actualRequest = ((ListInstanceConfigsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceConfigRequest actualRequest = ((GetInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceConfigRequest actualRequest = ((GetInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceConfigRequest actualRequest = + ((CreateInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig()); + Assert.assertEquals(instanceConfigId, actualRequest.getInstanceConfigId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceConfigRequest actualRequest = + ((CreateInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig()); + Assert.assertEquals(instanceConfigId, actualRequest.getInstanceConfigId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void updateInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + InstanceConfig actualResponse = + client.updateInstanceConfigAsync(instanceConfig, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateInstanceConfigRequest actualRequest = + ((UpdateInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateInstanceConfigAsync(instanceConfig, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteInstanceConfigTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + client.deleteInstanceConfig(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceConfigRequest actualRequest = + ((DeleteInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceConfigTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstanceConfig(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceConfigRequest actualRequest = + ((DeleteInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigOperationsRequest actualRequest = + ((ListInstanceConfigOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigOperationsRequest actualRequest = + ((ListInstanceConfigOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigOperationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest() throws Exception { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest2() throws Exception { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancePartitionsTest() throws Exception { + InstancePartition responsesElement = InstancePartition.newBuilder().build(); + ListInstancePartitionsResponse expectedResponse = + ListInstancePartitionsResponse.newBuilder() + .setNextPageToken("") + .addAllInstancePartitions(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListInstancePartitionsPagedResponse pagedListResponse = client.listInstancePartitions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancePartitionsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancePartitionsRequest actualRequest = + ((ListInstancePartitionsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancePartitionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listInstancePartitions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancePartitionsTest2() throws Exception { + InstancePartition responsesElement = InstancePartition.newBuilder().build(); + ListInstancePartitionsResponse expectedResponse = + ListInstancePartitionsResponse.newBuilder() + .setNextPageToken("") + .addAllInstancePartitions(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstancePartitionsPagedResponse pagedListResponse = client.listInstancePartitions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancePartitionsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancePartitionsRequest actualRequest = + ((ListInstancePartitionsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancePartitionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstancePartitions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void updateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .setAutoscalingConfig(AutoscalingConfig.newBuilder().build()) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + Instance instance = Instance.newBuilder().build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + + Instance actualResponse = client.updateInstanceAsync(instance, fieldMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateInstanceRequest actualRequest = ((UpdateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(fieldMask, actualRequest.getFieldMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + Instance instance = Instance.newBuilder().build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + client.updateInstanceAsync(instance, fieldMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteInstanceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + client.deleteInstance(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstance(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstancePartitionTest() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + + InstancePartition actualResponse = client.getInstancePartition(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstancePartitionRequest actualRequest = + ((GetInstancePartitionRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstancePartitionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + client.getInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstancePartitionTest2() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + InstancePartition actualResponse = client.getInstancePartition(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstancePartitionRequest actualRequest = + ((GetInstancePartitionRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstancePartitionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstancePartitionTest() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstancePartitionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + + InstancePartition actualResponse = + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstancePartitionRequest actualRequest = + ((CreateInstancePartitionRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(instancePartition, actualRequest.getInstancePartition()); + Assert.assertEquals(instancePartitionId, actualRequest.getInstancePartitionId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstancePartitionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createInstancePartitionTest2() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstancePartitionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + + InstancePartition actualResponse = + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstancePartitionRequest actualRequest = + ((CreateInstancePartitionRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(instancePartition, actualRequest.getInstancePartition()); + Assert.assertEquals(instancePartitionId, actualRequest.getInstancePartitionId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstancePartitionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + String instancePartitionId = "instancePartitionId1364450768"; + client.createInstancePartitionAsync(parent, instancePartition, instancePartitionId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteInstancePartitionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + + client.deleteInstancePartition(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstancePartitionRequest actualRequest = + ((DeleteInstancePartitionRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstancePartitionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstancePartitionName name = + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]"); + client.deleteInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstancePartitionTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstancePartition(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstancePartitionRequest actualRequest = + ((DeleteInstancePartitionRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstancePartitionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstancePartition(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateInstancePartitionTest() throws Exception { + InstancePartition expectedResponse = + InstancePartition.newBuilder() + .setName( + InstancePartitionName.of("[PROJECT]", "[INSTANCE]", "[INSTANCE_PARTITION]") + .toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllReferencingDatabases(new ArrayList()) + .addAllReferencingBackups(new ArrayList()) + .setEtag("etag3123477") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstancePartitionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + + InstancePartition actualResponse = + client.updateInstancePartitionAsync(instancePartition, fieldMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateInstancePartitionRequest actualRequest = + ((UpdateInstancePartitionRequest) actualRequests.get(0)); + + Assert.assertEquals(instancePartition, actualRequest.getInstancePartition()); + Assert.assertEquals(fieldMask, actualRequest.getFieldMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstancePartitionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstancePartition instancePartition = InstancePartition.newBuilder().build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + client.updateInstancePartitionAsync(instancePartition, fieldMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void listInstancePartitionOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstancePartitionOperationsResponse expectedResponse = + ListInstancePartitionOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListInstancePartitionOperationsPagedResponse pagedListResponse = + client.listInstancePartitionOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancePartitionOperationsRequest actualRequest = + ((ListInstancePartitionOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancePartitionOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listInstancePartitionOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancePartitionOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstancePartitionOperationsResponse expectedResponse = + ListInstancePartitionOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstancePartitionOperationsPagedResponse pagedListResponse = + client.listInstancePartitionOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancePartitionOperationsRequest actualRequest = + ((ListInstancePartitionOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancePartitionOperationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstancePartitionOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java new file mode 100644 index 00000000000..28d934fde81 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockInstanceAdmin implements MockGrpcService { + private final MockInstanceAdminImpl serviceImpl; + + public MockInstanceAdmin() { + serviceImpl = new MockInstanceAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java new file mode 100644 index 00000000000..b6f95a3f504 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java @@ -0,0 +1,514 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +import com.google.api.core.BetaApi; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.CreateInstanceRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceRequest; +import com.google.spanner.admin.instance.v1.GetInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.GetInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.GetInstanceRequest; +import com.google.spanner.admin.instance.v1.Instance; +import com.google.spanner.admin.instance.v1.InstanceAdminGrpc.InstanceAdminImplBase; +import com.google.spanner.admin.instance.v1.InstanceConfig; +import com.google.spanner.admin.instance.v1.InstancePartition; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse; +import com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest; +import com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest; +import com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse; +import com.google.spanner.admin.instance.v1.ListInstancesRequest; +import com.google.spanner.admin.instance.v1.ListInstancesResponse; +import com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest; +import com.google.spanner.admin.instance.v1.UpdateInstanceRequest; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockInstanceAdminImpl extends InstanceAdminImplBase { + private List requests; + private Queue responses; + + public MockInstanceAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listInstanceConfigs( + ListInstanceConfigsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstanceConfigsResponse) { + requests.add(request); + responseObserver.onNext(((ListInstanceConfigsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstanceConfigs, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstanceConfigsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getInstanceConfig( + GetInstanceConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof InstanceConfig) { + requests.add(request); + responseObserver.onNext(((InstanceConfig) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + InstanceConfig.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createInstanceConfig( + CreateInstanceConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateInstanceConfig( + UpdateInstanceConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteInstanceConfig( + DeleteInstanceConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstanceConfigOperations( + ListInstanceConfigOperationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstanceConfigOperationsResponse) { + requests.add(request); + responseObserver.onNext(((ListInstanceConfigOperationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstanceConfigOperations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstanceConfigOperationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstances( + ListInstancesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstancesResponse) { + requests.add(request); + responseObserver.onNext(((ListInstancesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstances, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstancesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstancePartitions( + ListInstancePartitionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstancePartitionsResponse) { + requests.add(request); + responseObserver.onNext(((ListInstancePartitionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstancePartitions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstancePartitionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getInstance(GetInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Instance) { + requests.add(request); + responseObserver.onNext(((Instance) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Instance.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createInstance( + CreateInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateInstance( + UpdateInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteInstance( + DeleteInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getInstancePartition( + GetInstancePartitionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof InstancePartition) { + requests.add(request); + responseObserver.onNext(((InstancePartition) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetInstancePartition, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + InstancePartition.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createInstancePartition( + CreateInstancePartitionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateInstancePartition, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteInstancePartition( + DeleteInstancePartitionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteInstancePartition, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateInstancePartition( + UpdateInstancePartitionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateInstancePartition, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstancePartitionOperations( + ListInstancePartitionOperationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstancePartitionOperationsResponse) { + requests.add(request); + responseObserver.onNext(((ListInstancePartitionOperationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstancePartitionOperations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstancePartitionOperationsResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java new file mode 100644 index 00000000000..cc2edb4651c --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockSpanner implements MockGrpcService { + private final MockSpannerImpl serviceImpl; + + public MockSpanner() { + serviceImpl = new MockSpannerImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java new file mode 100644 index 00000000000..0fa8bf2d554 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java @@ -0,0 +1,416 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +import com.google.api.core.BetaApi; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import com.google.spanner.v1.BatchCreateSessionsRequest; +import com.google.spanner.v1.BatchCreateSessionsResponse; +import com.google.spanner.v1.BatchWriteRequest; +import com.google.spanner.v1.BatchWriteResponse; +import com.google.spanner.v1.BeginTransactionRequest; +import com.google.spanner.v1.CommitRequest; +import com.google.spanner.v1.CommitResponse; +import com.google.spanner.v1.CreateSessionRequest; +import com.google.spanner.v1.DeleteSessionRequest; +import com.google.spanner.v1.ExecuteBatchDmlRequest; +import com.google.spanner.v1.ExecuteBatchDmlResponse; +import com.google.spanner.v1.ExecuteSqlRequest; +import com.google.spanner.v1.GetSessionRequest; +import com.google.spanner.v1.ListSessionsRequest; +import com.google.spanner.v1.ListSessionsResponse; +import com.google.spanner.v1.PartialResultSet; +import com.google.spanner.v1.PartitionQueryRequest; +import com.google.spanner.v1.PartitionReadRequest; +import com.google.spanner.v1.PartitionResponse; +import com.google.spanner.v1.ReadRequest; +import com.google.spanner.v1.ResultSet; +import com.google.spanner.v1.RollbackRequest; +import com.google.spanner.v1.Session; +import com.google.spanner.v1.SpannerGrpc.SpannerImplBase; +import com.google.spanner.v1.Transaction; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockSpannerImpl extends SpannerImplBase { + private List requests; + private Queue responses; + + public MockSpannerImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void createSession( + CreateSessionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Session) { + requests.add(request); + responseObserver.onNext(((Session) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateSession, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Session.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void batchCreateSessions( + BatchCreateSessionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof BatchCreateSessionsResponse) { + requests.add(request); + responseObserver.onNext(((BatchCreateSessionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method BatchCreateSessions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + BatchCreateSessionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getSession(GetSessionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Session) { + requests.add(request); + responseObserver.onNext(((Session) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetSession, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Session.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listSessions( + ListSessionsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListSessionsResponse) { + requests.add(request); + responseObserver.onNext(((ListSessionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListSessions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListSessionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteSession(DeleteSessionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteSession, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void executeSql(ExecuteSqlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ResultSet) { + requests.add(request); + responseObserver.onNext(((ResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExecuteSql, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void executeStreamingSql( + ExecuteSqlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartialResultSet) { + requests.add(request); + responseObserver.onNext(((PartialResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExecuteStreamingSql, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartialResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void executeBatchDml( + ExecuteBatchDmlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ExecuteBatchDmlResponse) { + requests.add(request); + responseObserver.onNext(((ExecuteBatchDmlResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExecuteBatchDml, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ExecuteBatchDmlResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void read(ReadRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ResultSet) { + requests.add(request); + responseObserver.onNext(((ResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method Read, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void streamingRead( + ReadRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartialResultSet) { + requests.add(request); + responseObserver.onNext(((PartialResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method StreamingRead, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartialResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void beginTransaction( + BeginTransactionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Transaction) { + requests.add(request); + responseObserver.onNext(((Transaction) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method BeginTransaction, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Transaction.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void commit(CommitRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CommitResponse) { + requests.add(request); + responseObserver.onNext(((CommitResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method Commit, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CommitResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void rollback(RollbackRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method Rollback, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partitionQuery( + PartitionQueryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartitionResponse) { + requests.add(request); + responseObserver.onNext(((PartitionResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartitionQuery, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartitionResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partitionRead( + PartitionReadRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartitionResponse) { + requests.add(request); + responseObserver.onNext(((PartitionResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartitionRead, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartitionResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void batchWrite( + BatchWriteRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof BatchWriteResponse) { + requests.add(request); + responseObserver.onNext(((BatchWriteResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method BatchWrite, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + BatchWriteResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java new file mode 100644 index 00000000000..3b5f106f13f --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java @@ -0,0 +1,1338 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.spanner.v1.stub.HttpJsonSpannerStub; +import com.google.common.collect.Lists; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.ListValue; +import com.google.protobuf.Struct; +import com.google.protobuf.Timestamp; +import com.google.rpc.Status; +import com.google.spanner.v1.BatchCreateSessionsResponse; +import com.google.spanner.v1.CommitResponse; +import com.google.spanner.v1.DatabaseName; +import com.google.spanner.v1.DirectedReadOptions; +import com.google.spanner.v1.ExecuteBatchDmlRequest; +import com.google.spanner.v1.ExecuteBatchDmlResponse; +import com.google.spanner.v1.ExecuteSqlRequest; +import com.google.spanner.v1.KeySet; +import com.google.spanner.v1.ListSessionsResponse; +import com.google.spanner.v1.Mutation; +import com.google.spanner.v1.Partition; +import com.google.spanner.v1.PartitionOptions; +import com.google.spanner.v1.PartitionQueryRequest; +import com.google.spanner.v1.PartitionReadRequest; +import com.google.spanner.v1.PartitionResponse; +import com.google.spanner.v1.ReadRequest; +import com.google.spanner.v1.RequestOptions; +import com.google.spanner.v1.ResultSet; +import com.google.spanner.v1.ResultSetMetadata; +import com.google.spanner.v1.ResultSetStats; +import com.google.spanner.v1.Session; +import com.google.spanner.v1.SessionName; +import com.google.spanner.v1.Transaction; +import com.google.spanner.v1.TransactionOptions; +import com.google.spanner.v1.TransactionSelector; +import com.google.spanner.v1.Type; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class SpannerClientHttpJsonTest { + private static MockHttpService mockService; + private static SpannerClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonSpannerStub.getMethodDescriptors(), SpannerSettings.getDefaultEndpoint()); + SpannerSettings settings = + SpannerSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + SpannerSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = SpannerClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createSessionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createSessionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void batchCreateSessionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest2() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void batchCreateSessionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockService.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSessionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSessionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listSessionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest2() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listSessionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + client.deleteSession(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteSessionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + + client.deleteSession(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteSessionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeSqlTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.executeSql(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void executeSqlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.executeSql(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeStreamingSqlTest() throws Exception {} + + @Test + public void executeStreamingSqlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + } + + @Test + public void executeBatchDmlTest() throws Exception { + ExecuteBatchDmlResponse expectedResponse = + ExecuteBatchDmlResponse.newBuilder() + .addAllResultSets(new ArrayList()) + .setStatus(Status.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + + ExecuteBatchDmlResponse actualResponse = client.executeBatchDml(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void executeBatchDmlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + client.executeBatchDml(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.read(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void readExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.read(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void streamingReadTest() throws Exception {} + + @Test + public void streamingReadExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + } + + @Test + public void beginTransactionTest() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void beginTransactionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void beginTransactionTest2() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void beginTransactionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest2() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest3() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest3() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest4() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest4() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void rollbackExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void rollbackExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionQueryTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionQuery(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void partitionQueryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionQuery(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionReadTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionRead(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void partitionReadExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionRead(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchWriteTest() throws Exception {} + + @Test + public void batchWriteExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java new file mode 100644 index 00000000000..24b774425f6 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java @@ -0,0 +1,1437 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.grpc.testing.MockStreamObserver; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StatusCode; +import com.google.common.collect.Lists; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.ListValue; +import com.google.protobuf.Struct; +import com.google.protobuf.Timestamp; +import com.google.protobuf.Value; +import com.google.rpc.Status; +import com.google.spanner.v1.BatchCreateSessionsRequest; +import com.google.spanner.v1.BatchCreateSessionsResponse; +import com.google.spanner.v1.BatchWriteRequest; +import com.google.spanner.v1.BatchWriteResponse; +import com.google.spanner.v1.BeginTransactionRequest; +import com.google.spanner.v1.CommitRequest; +import com.google.spanner.v1.CommitResponse; +import com.google.spanner.v1.CreateSessionRequest; +import com.google.spanner.v1.DatabaseName; +import com.google.spanner.v1.DeleteSessionRequest; +import com.google.spanner.v1.DirectedReadOptions; +import com.google.spanner.v1.ExecuteBatchDmlRequest; +import com.google.spanner.v1.ExecuteBatchDmlResponse; +import com.google.spanner.v1.ExecuteSqlRequest; +import com.google.spanner.v1.GetSessionRequest; +import com.google.spanner.v1.KeySet; +import com.google.spanner.v1.ListSessionsRequest; +import com.google.spanner.v1.ListSessionsResponse; +import com.google.spanner.v1.Mutation; +import com.google.spanner.v1.PartialResultSet; +import com.google.spanner.v1.Partition; +import com.google.spanner.v1.PartitionOptions; +import com.google.spanner.v1.PartitionQueryRequest; +import com.google.spanner.v1.PartitionReadRequest; +import com.google.spanner.v1.PartitionResponse; +import com.google.spanner.v1.ReadRequest; +import com.google.spanner.v1.RequestOptions; +import com.google.spanner.v1.ResultSet; +import com.google.spanner.v1.ResultSetMetadata; +import com.google.spanner.v1.ResultSetStats; +import com.google.spanner.v1.RollbackRequest; +import com.google.spanner.v1.Session; +import com.google.spanner.v1.SessionName; +import com.google.spanner.v1.Transaction; +import com.google.spanner.v1.TransactionOptions; +import com.google.spanner.v1.TransactionSelector; +import com.google.spanner.v1.Type; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class SpannerClientTest { + private static MockServiceHelper mockServiceHelper; + private static MockSpanner mockSpanner; + private LocalChannelProvider channelProvider; + private SpannerClient client; + + @BeforeClass + public static void startStaticServer() { + mockSpanner = new MockSpanner(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockSpanner)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + SpannerSettings settings = + SpannerSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = SpannerClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockSpanner.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateSessionRequest actualRequest = ((CreateSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createSessionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockSpanner.addResponse(expectedResponse); + + String database = "database1789464955"; + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateSessionRequest actualRequest = ((CreateSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createSessionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String database = "database1789464955"; + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockSpanner.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchCreateSessionsRequest actualRequest = ((BatchCreateSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertEquals(sessionCount, actualRequest.getSessionCount()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void batchCreateSessionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest2() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockSpanner.addResponse(expectedResponse); + + String database = "database1789464955"; + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchCreateSessionsRequest actualRequest = ((BatchCreateSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(sessionCount, actualRequest.getSessionCount()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void batchCreateSessionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String database = "database1789464955"; + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSessionRequest actualRequest = ((GetSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSessionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .setMultiplexed(true) + .build(); + mockSpanner.addResponse(expectedResponse); + + String name = "name3373707"; + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSessionRequest actualRequest = ((GetSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSessionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String name = "name3373707"; + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockSpanner.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSessionsRequest actualRequest = ((ListSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSessionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest2() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockSpanner.addResponse(expectedResponse); + + String database = "database1789464955"; + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSessionsRequest actualRequest = ((ListSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSessionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String database = "database1789464955"; + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + client.deleteSession(name); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSessionRequest actualRequest = ((DeleteSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSessionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteSession(name); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSessionRequest actualRequest = ((DeleteSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSessionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String name = "name3373707"; + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeSqlTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.executeSql(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExecuteSqlRequest actualRequest = ((ExecuteSqlRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getSql(), actualRequest.getSql()); + Assert.assertEquals(request.getParams(), actualRequest.getParams()); + Assert.assertEquals(request.getParamTypesMap(), actualRequest.getParamTypesMap()); + Assert.assertEquals(request.getResumeToken(), actualRequest.getResumeToken()); + Assert.assertEquals(request.getQueryMode(), actualRequest.getQueryMode()); + Assert.assertEquals(request.getPartitionToken(), actualRequest.getPartitionToken()); + Assert.assertEquals(request.getSeqno(), actualRequest.getSeqno()); + Assert.assertEquals(request.getQueryOptions(), actualRequest.getQueryOptions()); + Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions()); + Assert.assertEquals(request.getDirectedReadOptions(), actualRequest.getDirectedReadOptions()); + Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void executeSqlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.executeSql(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeStreamingSqlTest() throws Exception { + PartialResultSet expectedResponse = + PartialResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllValues(new ArrayList()) + .setChunkedValue(true) + .setResumeToken(ByteString.EMPTY) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.executeStreamingSqlCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void executeStreamingSqlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.executeStreamingSqlCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void executeBatchDmlTest() throws Exception { + ExecuteBatchDmlResponse expectedResponse = + ExecuteBatchDmlResponse.newBuilder() + .addAllResultSets(new ArrayList()) + .setStatus(Status.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + + ExecuteBatchDmlResponse actualResponse = client.executeBatchDml(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExecuteBatchDmlRequest actualRequest = ((ExecuteBatchDmlRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getStatementsList(), actualRequest.getStatementsList()); + Assert.assertEquals(request.getSeqno(), actualRequest.getSeqno()); + Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void executeBatchDmlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + client.executeBatchDml(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.read(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadRequest actualRequest = ((ReadRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getTable(), actualRequest.getTable()); + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getColumnsList(), actualRequest.getColumnsList()); + Assert.assertEquals(request.getKeySet(), actualRequest.getKeySet()); + Assert.assertEquals(request.getLimit(), actualRequest.getLimit()); + Assert.assertEquals(request.getResumeToken(), actualRequest.getResumeToken()); + Assert.assertEquals(request.getPartitionToken(), actualRequest.getPartitionToken()); + Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions()); + Assert.assertEquals(request.getDirectedReadOptions(), actualRequest.getDirectedReadOptions()); + Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.read(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void streamingReadTest() throws Exception { + PartialResultSet expectedResponse = + PartialResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllValues(new ArrayList()) + .setChunkedValue(true) + .setResumeToken(ByteString.EMPTY) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.streamingReadCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void streamingReadExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDirectedReadOptions(DirectedReadOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.streamingReadCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void beginTransactionTest() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BeginTransactionRequest actualRequest = ((BeginTransactionRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(options, actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void beginTransactionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void beginTransactionTest2() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BeginTransactionRequest actualRequest = ((BeginTransactionRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(options, actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void beginTransactionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest2() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(singleUseTransaction, actualRequest.getSingleUseTransaction()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest3() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest4() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(singleUseTransaction, actualRequest.getSingleUseTransaction()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackRequest actualRequest = ((RollbackRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void rollbackExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackRequest actualRequest = ((RollbackRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void rollbackExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionQueryTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionQuery(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartitionQueryRequest actualRequest = ((PartitionQueryRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getSql(), actualRequest.getSql()); + Assert.assertEquals(request.getParams(), actualRequest.getParams()); + Assert.assertEquals(request.getParamTypesMap(), actualRequest.getParamTypesMap()); + Assert.assertEquals(request.getPartitionOptions(), actualRequest.getPartitionOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partitionQueryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionQuery(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionReadTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionRead(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartitionReadRequest actualRequest = ((PartitionReadRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getTable(), actualRequest.getTable()); + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getColumnsList(), actualRequest.getColumnsList()); + Assert.assertEquals(request.getKeySet(), actualRequest.getKeySet()); + Assert.assertEquals(request.getPartitionOptions(), actualRequest.getPartitionOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partitionReadExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionRead(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchWriteTest() throws Exception { + BatchWriteResponse expectedResponse = + BatchWriteResponse.newBuilder() + .addAllIndexes(new ArrayList()) + .setStatus(Status.newBuilder().build()) + .setCommitTimestamp(Timestamp.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + BatchWriteRequest request = + BatchWriteRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .addAllMutationGroups(new ArrayList()) + .setExcludeTxnFromChangeStreams(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.batchWriteCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void batchWriteExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + BatchWriteRequest request = + BatchWriteRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .addAllMutationGroups(new ArrayList()) + .setExcludeTxnFromChangeStreams(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.batchWriteCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } +} diff --git a/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java similarity index 56% rename from grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java index d2f6339bae4..7fe039d9293 100644 --- a/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.spanner.admin.database.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Cloud Spanner Database Admin API
  * The Cloud Spanner Database Admin API can be used to:
@@ -37,956 +20,674 @@ public final class DatabaseAdminGrpc {
 
   private DatabaseAdminGrpc() {}
 
-  public static final java.lang.String SERVICE_NAME =
-      "google.spanner.admin.database.v1.DatabaseAdmin";
+  public static final java.lang.String SERVICE_NAME = "google.spanner.admin.database.v1.DatabaseAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabasesRequest,
-          com.google.spanner.admin.database.v1.ListDatabasesResponse>
-      getListDatabasesMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabasesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabases",
       requestType = com.google.spanner.admin.database.v1.ListDatabasesRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabasesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabasesRequest,
-          com.google.spanner.admin.database.v1.ListDatabasesResponse>
-      getListDatabasesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListDatabasesRequest,
-            com.google.spanner.admin.database.v1.ListDatabasesResponse>
-        getListDatabasesMethod;
+  public static io.grpc.MethodDescriptor getListDatabasesMethod() {
+    io.grpc.MethodDescriptor getListDatabasesMethod;
     if ((getListDatabasesMethod = DatabaseAdminGrpc.getListDatabasesMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListDatabasesMethod = DatabaseAdminGrpc.getListDatabasesMethod) == null) {
-          DatabaseAdminGrpc.getListDatabasesMethod =
-              getListDatabasesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabasesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabasesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListDatabases"))
-                      .build();
+          DatabaseAdminGrpc.getListDatabasesMethod = getListDatabasesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabases"))
+              .build();
         }
       }
     }
     return getListDatabasesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CreateDatabaseRequest,
-          com.google.longrunning.Operation>
-      getCreateDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateDatabase",
       requestType = com.google.spanner.admin.database.v1.CreateDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CreateDatabaseRequest,
-          com.google.longrunning.Operation>
-      getCreateDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.CreateDatabaseRequest,
-            com.google.longrunning.Operation>
-        getCreateDatabaseMethod;
+  public static io.grpc.MethodDescriptor getCreateDatabaseMethod() {
+    io.grpc.MethodDescriptor getCreateDatabaseMethod;
     if ((getCreateDatabaseMethod = DatabaseAdminGrpc.getCreateDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCreateDatabaseMethod = DatabaseAdminGrpc.getCreateDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getCreateDatabaseMethod =
-              getCreateDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.CreateDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("CreateDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getCreateDatabaseMethod = getCreateDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CreateDatabase"))
+              .build();
         }
       }
     }
     return getCreateDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseRequest,
-          com.google.spanner.admin.database.v1.Database>
-      getGetDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getGetDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabase",
       requestType = com.google.spanner.admin.database.v1.GetDatabaseRequest.class,
       responseType = com.google.spanner.admin.database.v1.Database.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseRequest,
-          com.google.spanner.admin.database.v1.Database>
-      getGetDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.GetDatabaseRequest,
-            com.google.spanner.admin.database.v1.Database>
-        getGetDatabaseMethod;
+  public static io.grpc.MethodDescriptor getGetDatabaseMethod() {
+    io.grpc.MethodDescriptor getGetDatabaseMethod;
     if ((getGetDatabaseMethod = DatabaseAdminGrpc.getGetDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetDatabaseMethod = DatabaseAdminGrpc.getGetDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getGetDatabaseMethod =
-              getGetDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.GetDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.Database.getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getGetDatabaseMethod = getGetDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.Database.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabase"))
+              .build();
         }
       }
     }
     return getGetDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateDatabaseRequest,
-          com.google.longrunning.Operation>
-      getUpdateDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateDatabase",
       requestType = com.google.spanner.admin.database.v1.UpdateDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateDatabaseRequest,
-          com.google.longrunning.Operation>
-      getUpdateDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequest,
-            com.google.longrunning.Operation>
-        getUpdateDatabaseMethod;
+  public static io.grpc.MethodDescriptor getUpdateDatabaseMethod() {
+    io.grpc.MethodDescriptor getUpdateDatabaseMethod;
     if ((getUpdateDatabaseMethod = DatabaseAdminGrpc.getUpdateDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getUpdateDatabaseMethod = DatabaseAdminGrpc.getUpdateDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getUpdateDatabaseMethod =
-              getUpdateDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.UpdateDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("UpdateDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getUpdateDatabaseMethod = getUpdateDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("UpdateDatabase"))
+              .build();
         }
       }
     }
     return getUpdateDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
-          com.google.longrunning.Operation>
-      getUpdateDatabaseDdlMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateDatabaseDdl",
       requestType = com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
-          com.google.longrunning.Operation>
-      getUpdateDatabaseDdlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
-            com.google.longrunning.Operation>
-        getUpdateDatabaseDdlMethod;
+  public static io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod() {
+    io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod;
     if ((getUpdateDatabaseDdlMethod = DatabaseAdminGrpc.getUpdateDatabaseDdlMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getUpdateDatabaseDdlMethod = DatabaseAdminGrpc.getUpdateDatabaseDdlMethod) == null) {
-          DatabaseAdminGrpc.getUpdateDatabaseDdlMethod =
-              getUpdateDatabaseDdlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabaseDdl"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("UpdateDatabaseDdl"))
-                      .build();
+          DatabaseAdminGrpc.getUpdateDatabaseDdlMethod = getUpdateDatabaseDdlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabaseDdl"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("UpdateDatabaseDdl"))
+              .build();
         }
       }
     }
     return getUpdateDatabaseDdlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
-      getDropDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getDropDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DropDatabase",
       requestType = com.google.spanner.admin.database.v1.DropDatabaseRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
-      getDropDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
-        getDropDatabaseMethod;
+  public static io.grpc.MethodDescriptor getDropDatabaseMethod() {
+    io.grpc.MethodDescriptor getDropDatabaseMethod;
     if ((getDropDatabaseMethod = DatabaseAdminGrpc.getDropDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getDropDatabaseMethod = DatabaseAdminGrpc.getDropDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getDropDatabaseMethod =
-              getDropDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.DropDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("DropDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getDropDatabaseMethod = getDropDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("DropDatabase"))
+              .build();
         }
       }
     }
     return getDropDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
-          com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
-      getGetDatabaseDdlMethod;
+  private static volatile io.grpc.MethodDescriptor getGetDatabaseDdlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabaseDdl",
       requestType = com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class,
       responseType = com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
-          com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
-      getGetDatabaseDdlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
-            com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
-        getGetDatabaseDdlMethod;
+  public static io.grpc.MethodDescriptor getGetDatabaseDdlMethod() {
+    io.grpc.MethodDescriptor getGetDatabaseDdlMethod;
     if ((getGetDatabaseDdlMethod = DatabaseAdminGrpc.getGetDatabaseDdlMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetDatabaseDdlMethod = DatabaseAdminGrpc.getGetDatabaseDdlMethod) == null) {
-          DatabaseAdminGrpc.getGetDatabaseDdlMethod =
-              getGetDatabaseDdlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabaseDdl"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.GetDatabaseDdlRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.GetDatabaseDdlResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("GetDatabaseDdl"))
-                      .build();
+          DatabaseAdminGrpc.getGetDatabaseDdlMethod = getGetDatabaseDdlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabaseDdl"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabaseDdl"))
+              .build();
         }
       }
     }
     return getGetDatabaseDdlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
       requestType = com.google.iam.v1.SetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = DatabaseAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getSetIamPolicyMethod = DatabaseAdminGrpc.getSetIamPolicyMethod) == null) {
-          DatabaseAdminGrpc.getSetIamPolicyMethod =
-              getSetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          DatabaseAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
       requestType = com.google.iam.v1.GetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = DatabaseAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetIamPolicyMethod = DatabaseAdminGrpc.getGetIamPolicyMethod) == null) {
-          DatabaseAdminGrpc.getGetIamPolicyMethod =
-              getGetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          DatabaseAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
       requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
       responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.iam.v1.TestIamPermissionsRequest,
-            com.google.iam.v1.TestIamPermissionsResponse>
-        getTestIamPermissionsMethod;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = DatabaseAdminGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getTestIamPermissionsMethod = DatabaseAdminGrpc.getTestIamPermissionsMethod) == null) {
-          DatabaseAdminGrpc.getTestIamPermissionsMethod =
-              getTestIamPermissionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          DatabaseAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CreateBackupRequest,
-          com.google.longrunning.Operation>
-      getCreateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateBackup",
       requestType = com.google.spanner.admin.database.v1.CreateBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CreateBackupRequest,
-          com.google.longrunning.Operation>
-      getCreateBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.CreateBackupRequest,
-            com.google.longrunning.Operation>
-        getCreateBackupMethod;
+  public static io.grpc.MethodDescriptor getCreateBackupMethod() {
+    io.grpc.MethodDescriptor getCreateBackupMethod;
     if ((getCreateBackupMethod = DatabaseAdminGrpc.getCreateBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCreateBackupMethod = DatabaseAdminGrpc.getCreateBackupMethod) == null) {
-          DatabaseAdminGrpc.getCreateBackupMethod =
-              getCreateBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.CreateBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("CreateBackup"))
-                      .build();
+          DatabaseAdminGrpc.getCreateBackupMethod = getCreateBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CreateBackup"))
+              .build();
         }
       }
     }
     return getCreateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CopyBackupRequest, com.google.longrunning.Operation>
-      getCopyBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getCopyBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CopyBackup",
       requestType = com.google.spanner.admin.database.v1.CopyBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CopyBackupRequest, com.google.longrunning.Operation>
-      getCopyBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.CopyBackupRequest,
-            com.google.longrunning.Operation>
-        getCopyBackupMethod;
+  public static io.grpc.MethodDescriptor getCopyBackupMethod() {
+    io.grpc.MethodDescriptor getCopyBackupMethod;
     if ((getCopyBackupMethod = DatabaseAdminGrpc.getCopyBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCopyBackupMethod = DatabaseAdminGrpc.getCopyBackupMethod) == null) {
-          DatabaseAdminGrpc.getCopyBackupMethod =
-              getCopyBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.CopyBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CopyBackup"))
-                      .build();
+          DatabaseAdminGrpc.getCopyBackupMethod = getCopyBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CopyBackup"))
+              .build();
         }
       }
     }
     return getCopyBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getGetBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getGetBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetBackup",
       requestType = com.google.spanner.admin.database.v1.GetBackupRequest.class,
       responseType = com.google.spanner.admin.database.v1.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getGetBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.GetBackupRequest,
-            com.google.spanner.admin.database.v1.Backup>
-        getGetBackupMethod;
+  public static io.grpc.MethodDescriptor getGetBackupMethod() {
+    io.grpc.MethodDescriptor getGetBackupMethod;
     if ((getGetBackupMethod = DatabaseAdminGrpc.getGetBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetBackupMethod = DatabaseAdminGrpc.getGetBackupMethod) == null) {
-          DatabaseAdminGrpc.getGetBackupMethod =
-              getGetBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.GetBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetBackup"))
-                      .build();
+          DatabaseAdminGrpc.getGetBackupMethod = getGetBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetBackup"))
+              .build();
         }
       }
     }
     return getGetBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getUpdateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateBackup",
       requestType = com.google.spanner.admin.database.v1.UpdateBackupRequest.class,
       responseType = com.google.spanner.admin.database.v1.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getUpdateBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.UpdateBackupRequest,
-            com.google.spanner.admin.database.v1.Backup>
-        getUpdateBackupMethod;
+  public static io.grpc.MethodDescriptor getUpdateBackupMethod() {
+    io.grpc.MethodDescriptor getUpdateBackupMethod;
     if ((getUpdateBackupMethod = DatabaseAdminGrpc.getUpdateBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getUpdateBackupMethod = DatabaseAdminGrpc.getUpdateBackupMethod) == null) {
-          DatabaseAdminGrpc.getUpdateBackupMethod =
-              getUpdateBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.UpdateBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("UpdateBackup"))
-                      .build();
+          DatabaseAdminGrpc.getUpdateBackupMethod = getUpdateBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("UpdateBackup"))
+              .build();
         }
       }
     }
     return getUpdateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
-      getDeleteBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteBackup",
       requestType = com.google.spanner.admin.database.v1.DeleteBackupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
-      getDeleteBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
-        getDeleteBackupMethod;
+  public static io.grpc.MethodDescriptor getDeleteBackupMethod() {
+    io.grpc.MethodDescriptor getDeleteBackupMethod;
     if ((getDeleteBackupMethod = DatabaseAdminGrpc.getDeleteBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getDeleteBackupMethod = DatabaseAdminGrpc.getDeleteBackupMethod) == null) {
-          DatabaseAdminGrpc.getDeleteBackupMethod =
-              getDeleteBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.DeleteBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("DeleteBackup"))
-                      .build();
+          DatabaseAdminGrpc.getDeleteBackupMethod = getDeleteBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("DeleteBackup"))
+              .build();
         }
       }
     }
     return getDeleteBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupsRequest,
-          com.google.spanner.admin.database.v1.ListBackupsResponse>
-      getListBackupsMethod;
+  private static volatile io.grpc.MethodDescriptor getListBackupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackups",
       requestType = com.google.spanner.admin.database.v1.ListBackupsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListBackupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupsRequest,
-          com.google.spanner.admin.database.v1.ListBackupsResponse>
-      getListBackupsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListBackupsRequest,
-            com.google.spanner.admin.database.v1.ListBackupsResponse>
-        getListBackupsMethod;
+  public static io.grpc.MethodDescriptor getListBackupsMethod() {
+    io.grpc.MethodDescriptor getListBackupsMethod;
     if ((getListBackupsMethod = DatabaseAdminGrpc.getListBackupsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListBackupsMethod = DatabaseAdminGrpc.getListBackupsMethod) == null) {
-          DatabaseAdminGrpc.getListBackupsMethod =
-              getListBackupsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListBackupsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListBackupsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackups"))
-                      .build();
+          DatabaseAdminGrpc.getListBackupsMethod = getListBackupsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackups"))
+              .build();
         }
       }
     }
     return getListBackupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
-          com.google.longrunning.Operation>
-      getRestoreDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getRestoreDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RestoreDatabase",
       requestType = com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
-          com.google.longrunning.Operation>
-      getRestoreDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
-            com.google.longrunning.Operation>
-        getRestoreDatabaseMethod;
+  public static io.grpc.MethodDescriptor getRestoreDatabaseMethod() {
+    io.grpc.MethodDescriptor getRestoreDatabaseMethod;
     if ((getRestoreDatabaseMethod = DatabaseAdminGrpc.getRestoreDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getRestoreDatabaseMethod = DatabaseAdminGrpc.getRestoreDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getRestoreDatabaseMethod =
-              getRestoreDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.RestoreDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("RestoreDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getRestoreDatabaseMethod = getRestoreDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("RestoreDatabase"))
+              .build();
         }
       }
     }
     return getRestoreDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
-      getListDatabaseOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabaseOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabaseOperations",
       requestType = com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
-      getListDatabaseOperationsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
-        getListDatabaseOperationsMethod;
-    if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListDatabaseOperationsMethod() {
+    io.grpc.MethodDescriptor getListDatabaseOperationsMethod;
+    if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
-        if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod)
-            == null) {
-          DatabaseAdminGrpc.getListDatabaseOperationsMethod =
-              getListDatabaseOperationsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListDatabaseOperations"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListDatabaseOperations"))
-                      .build();
+        if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod) == null) {
+          DatabaseAdminGrpc.getListDatabaseOperationsMethod = getListDatabaseOperationsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseOperations"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabaseOperations"))
+              .build();
         }
       }
     }
     return getListDatabaseOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
-          com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
-      getListBackupOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor getListBackupOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackupOperations",
       requestType = com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
-          com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
-      getListBackupOperationsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
-            com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
-        getListBackupOperationsMethod;
+  public static io.grpc.MethodDescriptor getListBackupOperationsMethod() {
+    io.grpc.MethodDescriptor getListBackupOperationsMethod;
     if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
-        if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod)
-            == null) {
-          DatabaseAdminGrpc.getListBackupOperationsMethod =
-              getListBackupOperationsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListBackupOperations"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListBackupOperationsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListBackupOperationsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListBackupOperations"))
-                      .build();
+        if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod) == null) {
+          DatabaseAdminGrpc.getListBackupOperationsMethod = getListBackupOperationsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackupOperations"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackupOperations"))
+              .build();
         }
       }
     }
     return getListBackupOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
-      getListDatabaseRolesMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabaseRolesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabaseRoles",
       requestType = com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
-      getListDatabaseRolesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
-            com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
-        getListDatabaseRolesMethod;
+  public static io.grpc.MethodDescriptor getListDatabaseRolesMethod() {
+    io.grpc.MethodDescriptor getListDatabaseRolesMethod;
     if ((getListDatabaseRolesMethod = DatabaseAdminGrpc.getListDatabaseRolesMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListDatabaseRolesMethod = DatabaseAdminGrpc.getListDatabaseRolesMethod) == null) {
-          DatabaseAdminGrpc.getListDatabaseRolesMethod =
-              getListDatabaseRolesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseRoles"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseRolesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseRolesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListDatabaseRoles"))
-                      .build();
+          DatabaseAdminGrpc.getListDatabaseRolesMethod = getListDatabaseRolesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseRoles"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabaseRoles"))
+              .build();
         }
       }
     }
     return getListDatabaseRolesMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static DatabaseAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DatabaseAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DatabaseAdminStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DatabaseAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DatabaseAdminStub(channel, callOptions);
+        }
+      };
     return DatabaseAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static DatabaseAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static DatabaseAdminBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DatabaseAdminBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DatabaseAdminBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DatabaseAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DatabaseAdminBlockingStub(channel, callOptions);
+        }
+      };
     return DatabaseAdminBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static DatabaseAdminFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static DatabaseAdminFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DatabaseAdminFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DatabaseAdminFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DatabaseAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DatabaseAdminFutureStub(channel, callOptions);
+        }
+      };
     return DatabaseAdminFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -999,23 +700,16 @@ public DatabaseAdminFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - default void listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabasesMethod(), responseObserver); + default void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), responseObserver); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1027,31 +721,22 @@ default void listDatabases(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - default void createDatabase( - com.google.spanner.admin.database.v1.CreateDatabaseRequest request, + default void createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDatabaseMethod(), responseObserver); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - default void getDatabase( - com.google.spanner.admin.database.v1.GetDatabaseRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseMethod(), responseObserver); + default void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); } /** - * - * *
      * Updates a Cloud Spanner database. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1086,16 +771,12 @@ default void getDatabase(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - default void updateDatabase( - com.google.spanner.admin.database.v1.UpdateDatabaseRequest request, + default void updateDatabase(com.google.spanner.admin.database.v1.UpdateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseMethod(), responseObserver); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1106,16 +787,12 @@ default void updateDatabase(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - default void updateDatabaseDdl( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, + default void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDatabaseDdlMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseDdlMethod(), responseObserver); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1124,33 +801,24 @@ default void updateDatabaseDdl(
      * after the database has been deleted.
      * 
*/ - default void dropDatabase( - com.google.spanner.admin.database.v1.DropDatabaseRequest request, + default void dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDropDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropDatabaseMethod(), responseObserver); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - default void getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseDdlMethod(), responseObserver); + default void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseDdlMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1160,16 +828,12 @@ default void getDatabaseDdl(
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1180,16 +844,12 @@ default void setIamPolicy(
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1202,17 +862,12 @@ default void getIamPolicy(
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1228,16 +883,12 @@ default void testIamPermissions(
      * of different databases can run concurrently.
      * 
*/ - default void createBackup( - com.google.spanner.admin.database.v1.CreateBackupRequest request, + default void createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1253,73 +904,54 @@ default void createBackup(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - default void copyBackup( - com.google.spanner.admin.database.v1.CopyBackupRequest request, + default void copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void getBackup( - com.google.spanner.admin.database.v1.GetBackupRequest request, + default void getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void updateBackup( - com.google.spanner.admin.database.v1.UpdateBackupRequest request, + default void updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); } /** - * - * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void deleteBackup( - com.google.spanner.admin.database.v1.DeleteBackupRequest request, + default void deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); } /** - * - * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - default void listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); + default void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); } /** - * - * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -1340,16 +972,12 @@ default void listBackups(
      * first restore to complete.
      * 
*/ - default void restoreDatabase( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, + default void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreDatabaseMethod(), responseObserver); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -1361,18 +989,12 @@ default void restoreDatabase(
      * and pending operations.
      * 
*/ - default void listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabaseOperationsMethod(), responseObserver); + default void listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseOperationsMethod(), responseObserver); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -1386,34 +1008,24 @@ default void listDatabaseOperations(
      * from the most recently started operation.
      * 
*/ - default void listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupOperationsMethod(), responseObserver); + default void listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupOperationsMethod(), responseObserver); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - default void listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabaseRolesMethod(), responseObserver); + default void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseRolesMethod(), responseObserver); } } /** * Base class for the server implementation of the service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1423,18 +1035,16 @@ default void listDatabaseRoles(
    *   * restore a database from an existing backup
    * 
*/ - public abstract static class DatabaseAdminImplBase + public static abstract class DatabaseAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return DatabaseAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1446,35 +1056,29 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class DatabaseAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private DatabaseAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected DatabaseAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected DatabaseAdminStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new DatabaseAdminStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public void listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabasesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1486,35 +1090,24 @@ public void listDatabases(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public void createDatabase( - com.google.spanner.admin.database.v1.CreateDatabaseRequest request, + public void createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public void getDatabase( - com.google.spanner.admin.database.v1.GetDatabaseRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a Cloud Spanner database. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1549,18 +1142,13 @@ public void getDatabase(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public void updateDatabase( - com.google.spanner.admin.database.v1.UpdateDatabaseRequest request, + public void updateDatabase(com.google.spanner.admin.database.v1.UpdateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1571,18 +1159,13 @@ public void updateDatabase(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public void updateDatabaseDdl( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, + public void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1591,37 +1174,26 @@ public void updateDatabaseDdl(
      * after the database has been deleted.
      * 
*/ - public void dropDatabase( - com.google.spanner.admin.database.v1.DropDatabaseRequest request, + public void dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public void getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1631,18 +1203,13 @@ public void getDatabaseDdl(
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1653,18 +1220,13 @@ public void setIamPolicy(
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1677,19 +1239,13 @@ public void getIamPolicy(
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1705,18 +1261,13 @@ public void testIamPermissions(
      * of different databases can run concurrently.
      * 
*/ - public void createBackup( - com.google.spanner.admin.database.v1.CreateBackupRequest request, + public void createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1732,81 +1283,59 @@ public void createBackup(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public void copyBackup( - com.google.spanner.admin.database.v1.CopyBackupRequest request, + public void copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void getBackup( - com.google.spanner.admin.database.v1.GetBackupRequest request, + public void getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void updateBackup( - com.google.spanner.admin.database.v1.UpdateBackupRequest request, + public void updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void deleteBackup( - com.google.spanner.admin.database.v1.DeleteBackupRequest request, + public void deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public void listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -1827,18 +1356,13 @@ public void listBackups(
      * first restore to complete.
      * 
*/ - public void restoreDatabase( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, + public void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -1850,20 +1374,13 @@ public void restoreDatabase(
      * and pending operations.
      * 
*/ - public void listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> - responseObserver) { + public void listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -1877,38 +1394,26 @@ public void listDatabaseOperations(
      * from the most recently started operation.
      * 
*/ - public void listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse> - responseObserver) { + public void listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public void listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1920,7 +1425,8 @@ public void listDatabaseRoles(
    */
   public static final class DatabaseAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private DatabaseAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1931,21 +1437,16 @@ protected DatabaseAdminBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request) { + public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1957,28 +1458,22 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public com.google.longrunning.Operation createDatabase( - com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { + public com.google.longrunning.Operation createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public com.google.spanner.admin.database.v1.Database getDatabase( - com.google.spanner.admin.database.v1.GetDatabaseRequest request) { + public com.google.spanner.admin.database.v1.Database getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a Cloud Spanner database. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -2013,15 +1508,12 @@ public com.google.spanner.admin.database.v1.Database getDatabase(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public com.google.longrunning.Operation updateDatabase( - com.google.spanner.admin.database.v1.UpdateDatabaseRequest request) { + public com.google.longrunning.Operation updateDatabase(com.google.spanner.admin.database.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -2032,15 +1524,12 @@ public com.google.longrunning.Operation updateDatabase(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public com.google.longrunning.Operation updateDatabaseDdl( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { + public com.google.longrunning.Operation updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateDatabaseDdlMethod(), getCallOptions(), request); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -2049,30 +1538,24 @@ public com.google.longrunning.Operation updateDatabaseDdl(
      * after the database has been deleted.
      * 
*/ - public com.google.protobuf.Empty dropDatabase( - com.google.spanner.admin.database.v1.DropDatabaseRequest request) { + public com.google.protobuf.Empty dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { + public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseDdlMethod(), getCallOptions(), request); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -2088,8 +1571,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -2106,8 +1587,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -2120,15 +1599,12 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -2144,15 +1620,12 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * of different databases can run concurrently.
      * 
*/ - public com.google.longrunning.Operation createBackup( - com.google.spanner.admin.database.v1.CreateBackupRequest request) { + public com.google.longrunning.Operation createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -2168,69 +1641,54 @@ public com.google.longrunning.Operation createBackup(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public com.google.longrunning.Operation copyBackup( - com.google.spanner.admin.database.v1.CopyBackupRequest request) { + public com.google.longrunning.Operation copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCopyBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.spanner.admin.database.v1.Backup getBackup( - com.google.spanner.admin.database.v1.GetBackupRequest request) { + public com.google.spanner.admin.database.v1.Backup getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.spanner.admin.database.v1.Backup updateBackup( - com.google.spanner.admin.database.v1.UpdateBackupRequest request) { + public com.google.spanner.admin.database.v1.Backup updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.protobuf.Empty deleteBackup( - com.google.spanner.admin.database.v1.DeleteBackupRequest request) { + public com.google.protobuf.Empty deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request) { + public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupsMethod(), getCallOptions(), request); } /** - * - * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -2251,15 +1709,12 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups(
      * first restore to complete.
      * 
*/ - public com.google.longrunning.Operation restoreDatabase( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { + public com.google.longrunning.Operation restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRestoreDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -2271,16 +1726,12 @@ public com.google.longrunning.Operation restoreDatabase(
      * and pending operations.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabaseOperationsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -2294,21 +1745,17 @@ public com.google.longrunning.Operation restoreDatabase(
      * from the most recently started operation.
      * 
*/ - public com.google.spanner.admin.database.v1.ListBackupOperationsResponse listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { + public com.google.spanner.admin.database.v1.ListBackupOperationsResponse listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupOperationsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabaseRolesMethod(), getCallOptions(), request); } @@ -2316,7 +1763,6 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba /** * A stub to allow clients to do ListenableFuture-style rpc calls to service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -2328,7 +1774,8 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba
    */
   public static final class DatabaseAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private DatabaseAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2339,22 +1786,17 @@ protected DatabaseAdminFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListDatabasesResponse> - listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabases( + com.google.spanner.admin.database.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -2366,29 +1808,24 @@ protected DatabaseAdminFutureStub build(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture createDatabase( + com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.Database> - getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture getDatabase( + com.google.spanner.admin.database.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a Cloud Spanner database. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -2423,15 +1860,13 @@ protected DatabaseAdminFutureStub build(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateDatabase(com.google.spanner.admin.database.v1.UpdateDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateDatabase( + com.google.spanner.admin.database.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -2442,15 +1877,13 @@ protected DatabaseAdminFutureStub build(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateDatabaseDdl( + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), request); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -2459,31 +1892,26 @@ protected DatabaseAdminFutureStub build(
      * after the database has been deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture dropDatabase( + com.google.spanner.admin.database.v1.DropDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse> - getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { + public com.google.common.util.concurrent.ListenableFuture getDatabaseDdl( + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), request); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -2493,15 +1921,13 @@ protected DatabaseAdminFutureStub build(
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -2512,15 +1938,13 @@ protected DatabaseAdminFutureStub build(
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -2533,16 +1957,13 @@ protected DatabaseAdminFutureStub build(
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -2558,15 +1979,13 @@ protected DatabaseAdminFutureStub build(
      * of different databases can run concurrently.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture createBackup( + com.google.spanner.admin.database.v1.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -2582,72 +2001,59 @@ protected DatabaseAdminFutureStub build(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture copyBackup( + com.google.spanner.admin.database.v1.CopyBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.Backup> - getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture getBackup( + com.google.spanner.admin.database.v1.GetBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.Backup> - updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateBackup( + com.google.spanner.admin.database.v1.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteBackup( + com.google.spanner.admin.database.v1.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListBackupsResponse> - listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listBackups( + com.google.spanner.admin.database.v1.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); } /** - * - * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -2668,15 +2074,13 @@ protected DatabaseAdminFutureStub build(
      * first restore to complete.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture restoreDatabase( + com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -2688,17 +2092,13 @@ protected DatabaseAdminFutureStub build(
      * and pending operations.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> - listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabaseOperations( + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -2712,24 +2112,19 @@ protected DatabaseAdminFutureStub build(
      * from the most recently started operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse> - listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listBackupOperations( + com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse> - listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabaseRoles( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), request); } @@ -2756,11 +2151,11 @@ protected DatabaseAdminFutureStub build( private static final int METHODID_LIST_BACKUP_OPERATIONS = 18; private static final int METHODID_LIST_DATABASE_ROLES = 19; - 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 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; @@ -2774,120 +2169,84 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_DATABASES: - serviceImpl.listDatabases( - (com.google.spanner.admin.database.v1.ListDatabasesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabasesResponse>) - responseObserver); + serviceImpl.listDatabases((com.google.spanner.admin.database.v1.ListDatabasesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_DATABASE: - serviceImpl.createDatabase( - (com.google.spanner.admin.database.v1.CreateDatabaseRequest) request, + serviceImpl.createDatabase((com.google.spanner.admin.database.v1.CreateDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE: - serviceImpl.getDatabase( - (com.google.spanner.admin.database.v1.GetDatabaseRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getDatabase((com.google.spanner.admin.database.v1.GetDatabaseRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_DATABASE: - serviceImpl.updateDatabase( - (com.google.spanner.admin.database.v1.UpdateDatabaseRequest) request, + serviceImpl.updateDatabase((com.google.spanner.admin.database.v1.UpdateDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_DATABASE_DDL: - serviceImpl.updateDatabaseDdl( - (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) request, + serviceImpl.updateDatabaseDdl((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_DATABASE: - serviceImpl.dropDatabase( - (com.google.spanner.admin.database.v1.DropDatabaseRequest) request, + serviceImpl.dropDatabase((com.google.spanner.admin.database.v1.DropDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE_DDL: - serviceImpl.getDatabaseDdl( - (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>) - responseObserver); + serviceImpl.getDatabaseDdl((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_BACKUP: - serviceImpl.createBackup( - (com.google.spanner.admin.database.v1.CreateBackupRequest) request, + serviceImpl.createBackup((com.google.spanner.admin.database.v1.CreateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPY_BACKUP: - serviceImpl.copyBackup( - (com.google.spanner.admin.database.v1.CopyBackupRequest) request, + serviceImpl.copyBackup((com.google.spanner.admin.database.v1.CopyBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BACKUP: - serviceImpl.getBackup( - (com.google.spanner.admin.database.v1.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getBackup((com.google.spanner.admin.database.v1.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup( - (com.google.spanner.admin.database.v1.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.updateBackup((com.google.spanner.admin.database.v1.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup( - (com.google.spanner.admin.database.v1.DeleteBackupRequest) request, + serviceImpl.deleteBackup((com.google.spanner.admin.database.v1.DeleteBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUPS: - serviceImpl.listBackups( - (com.google.spanner.admin.database.v1.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupsResponse>) - responseObserver); + serviceImpl.listBackups((com.google.spanner.admin.database.v1.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESTORE_DATABASE: - serviceImpl.restoreDatabase( - (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) request, + serviceImpl.restoreDatabase((com.google.spanner.admin.database.v1.RestoreDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DATABASE_OPERATIONS: - serviceImpl.listDatabaseOperations( - (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>) - responseObserver); + serviceImpl.listDatabaseOperations((com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUP_OPERATIONS: - serviceImpl.listBackupOperations( - (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse>) - responseObserver); + serviceImpl.listBackupOperations((com.google.spanner.admin.database.v1.ListBackupOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DATABASE_ROLES: - serviceImpl.listDatabaseRoles( - (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>) - responseObserver); + serviceImpl.listDatabaseRoles((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -2908,136 +2267,150 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabasesRequest, - com.google.spanner.admin.database.v1.ListDatabasesResponse>( - service, METHODID_LIST_DATABASES))) + getListDatabasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabasesRequest, + com.google.spanner.admin.database.v1.ListDatabasesResponse>( + service, METHODID_LIST_DATABASES))) .addMethod( - getCreateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateDatabaseRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_DATABASE))) + getCreateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateDatabaseRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_DATABASE))) .addMethod( - getGetDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetDatabaseRequest, - com.google.spanner.admin.database.v1.Database>(service, METHODID_GET_DATABASE))) + getGetDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetDatabaseRequest, + com.google.spanner.admin.database.v1.Database>( + service, METHODID_GET_DATABASE))) .addMethod( - getUpdateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateDatabaseRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATABASE))) + getUpdateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateDatabaseRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATABASE))) .addMethod( - getUpdateDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATABASE_DDL))) + getUpdateDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATABASE_DDL))) .addMethod( - getDropDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DropDatabaseRequest, - com.google.protobuf.Empty>(service, METHODID_DROP_DATABASE))) + getDropDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DropDatabaseRequest, + com.google.protobuf.Empty>( + service, METHODID_DROP_DATABASE))) .addMethod( - getGetDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest, - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>( - service, METHODID_GET_DATABASE_DDL))) + getGetDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest, + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>( + service, METHODID_GET_DATABASE_DDL))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CopyBackupRequest, - com.google.longrunning.Operation>(service, METHODID_COPY_BACKUP))) + getCopyBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CopyBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_COPY_BACKUP))) .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetBackupRequest, - com.google.spanner.admin.database.v1.Backup>(service, METHODID_GET_BACKUP))) + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetBackupRequest, + com.google.spanner.admin.database.v1.Backup>( + service, METHODID_GET_BACKUP))) .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateBackupRequest, - com.google.spanner.admin.database.v1.Backup>(service, METHODID_UPDATE_BACKUP))) + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateBackupRequest, + com.google.spanner.admin.database.v1.Backup>( + service, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DeleteBackupRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DeleteBackupRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_BACKUP))) .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListBackupsRequest, - com.google.spanner.admin.database.v1.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListBackupsRequest, + com.google.spanner.admin.database.v1.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.RestoreDatabaseRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_DATABASE))) + getRestoreDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.RestoreDatabaseRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_DATABASE))) .addMethod( - getListDatabaseOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest, - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>( - service, METHODID_LIST_DATABASE_OPERATIONS))) + getListDatabaseOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest, + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>( + service, METHODID_LIST_DATABASE_OPERATIONS))) .addMethod( - getListBackupOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListBackupOperationsRequest, - com.google.spanner.admin.database.v1.ListBackupOperationsResponse>( - service, METHODID_LIST_BACKUP_OPERATIONS))) + getListBackupOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListBackupOperationsRequest, + com.google.spanner.admin.database.v1.ListBackupOperationsResponse>( + service, METHODID_LIST_BACKUP_OPERATIONS))) .addMethod( - getListDatabaseRolesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest, - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>( - service, METHODID_LIST_DATABASE_ROLES))) + getListDatabaseRolesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest, + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>( + service, METHODID_LIST_DATABASE_ROLES))) .build(); } - private abstract static class DatabaseAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class DatabaseAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { DatabaseAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -3079,31 +2452,29 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (DatabaseAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DatabaseAdminFileDescriptorSupplier()) - .addMethod(getListDatabasesMethod()) - .addMethod(getCreateDatabaseMethod()) - .addMethod(getGetDatabaseMethod()) - .addMethod(getUpdateDatabaseMethod()) - .addMethod(getUpdateDatabaseDdlMethod()) - .addMethod(getDropDatabaseMethod()) - .addMethod(getGetDatabaseDdlMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getCopyBackupMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getRestoreDatabaseMethod()) - .addMethod(getListDatabaseOperationsMethod()) - .addMethod(getListBackupOperationsMethod()) - .addMethod(getListDatabaseRolesMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DatabaseAdminFileDescriptorSupplier()) + .addMethod(getListDatabasesMethod()) + .addMethod(getCreateDatabaseMethod()) + .addMethod(getGetDatabaseMethod()) + .addMethod(getUpdateDatabaseMethod()) + .addMethod(getUpdateDatabaseDdlMethod()) + .addMethod(getDropDatabaseMethod()) + .addMethod(getGetDatabaseDdlMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getCopyBackupMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getRestoreDatabaseMethod()) + .addMethod(getListDatabaseOperationsMethod()) + .addMethod(getListBackupOperationsMethod()) + .addMethod(getListDatabaseRolesMethod()) + .build(); } } } diff --git a/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java similarity index 62% rename from grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java index 260460319f2..544437186af 100644 --- a/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.spanner.admin.instance.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Cloud Spanner Instance Admin API
  * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -49,997 +32,674 @@ public final class InstanceAdminGrpc {
 
   private InstanceAdminGrpc() {}
 
-  public static final java.lang.String SERVICE_NAME =
-      "google.spanner.admin.instance.v1.InstanceAdmin";
+  public static final java.lang.String SERVICE_NAME = "google.spanner.admin.instance.v1.InstanceAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
-      getListInstanceConfigsMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstanceConfigsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstanceConfigs",
       requestType = com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
       responseType = com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
-      getListInstanceConfigsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
-        getListInstanceConfigsMethod;
+  public static io.grpc.MethodDescriptor getListInstanceConfigsMethod() {
+    io.grpc.MethodDescriptor getListInstanceConfigsMethod;
     if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod)
-            == null) {
-          InstanceAdminGrpc.getListInstanceConfigsMethod =
-              getListInstanceConfigsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListInstanceConfigs"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigs"))
-                      .build();
+        if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod) == null) {
+          InstanceAdminGrpc.getListInstanceConfigsMethod = getListInstanceConfigsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceConfigs"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigs"))
+              .build();
         }
       }
     }
     return getListInstanceConfigsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
-          com.google.spanner.admin.instance.v1.InstanceConfig>
-      getGetInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getGetInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
       responseType = com.google.spanner.admin.instance.v1.InstanceConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
-          com.google.spanner.admin.instance.v1.InstanceConfig>
-      getGetInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
-            com.google.spanner.admin.instance.v1.InstanceConfig>
-        getGetInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getGetInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getGetInstanceConfigMethod;
     if ((getGetInstanceConfigMethod = InstanceAdminGrpc.getGetInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetInstanceConfigMethod = InstanceAdminGrpc.getGetInstanceConfigMethod) == null) {
-          InstanceAdminGrpc.getGetInstanceConfigMethod =
-              getGetInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.InstanceConfig
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("GetInstanceConfig"))
-                      .build();
+          InstanceAdminGrpc.getGetInstanceConfigMethod = getGetInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstanceConfig"))
+              .build();
         }
       }
     }
     return getGetInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
-            com.google.longrunning.Operation>
-        getCreateInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getCreateInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getCreateInstanceConfigMethod;
     if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod)
-            == null) {
-          InstanceAdminGrpc.getCreateInstanceConfigMethod =
-              getCreateInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("CreateInstanceConfig"))
-                      .build();
+        if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod) == null) {
+          InstanceAdminGrpc.getCreateInstanceConfigMethod = getCreateInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("CreateInstanceConfig"))
+              .build();
         }
       }
     }
     return getCreateInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
-            com.google.longrunning.Operation>
-        getUpdateInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getUpdateInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getUpdateInstanceConfigMethod;
     if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod)
-            == null) {
-          InstanceAdminGrpc.getUpdateInstanceConfigMethod =
-              getUpdateInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "UpdateInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("UpdateInstanceConfig"))
-                      .build();
+        if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod) == null) {
+          InstanceAdminGrpc.getUpdateInstanceConfigMethod = getUpdateInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("UpdateInstanceConfig"))
+              .build();
         }
       }
     }
     return getUpdateInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
-          com.google.protobuf.Empty>
-      getDeleteInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
-          com.google.protobuf.Empty>
-      getDeleteInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
-            com.google.protobuf.Empty>
-        getDeleteInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getDeleteInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getDeleteInstanceConfigMethod;
     if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod)
-            == null) {
-          InstanceAdminGrpc.getDeleteInstanceConfigMethod =
-              getDeleteInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "DeleteInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("DeleteInstanceConfig"))
-                      .build();
+        if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod) == null) {
+          InstanceAdminGrpc.getDeleteInstanceConfigMethod = getDeleteInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("DeleteInstanceConfig"))
+              .build();
         }
       }
     }
     return getDeleteInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
-      getListInstanceConfigOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstanceConfigOperations",
       requestType = com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
-      responseType =
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
+      responseType = com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
-      getListInstanceConfigOperationsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
-        getListInstanceConfigOperationsMethod;
-    if ((getListInstanceConfigOperationsMethod =
-            InstanceAdminGrpc.getListInstanceConfigOperationsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod() {
+    io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod;
+    if ((getListInstanceConfigOperationsMethod = InstanceAdminGrpc.getListInstanceConfigOperationsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstanceConfigOperationsMethod =
-                InstanceAdminGrpc.getListInstanceConfigOperationsMethod)
-            == null) {
-          InstanceAdminGrpc.getListInstanceConfigOperationsMethod =
-              getListInstanceConfigOperationsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListInstanceConfigOperations"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1
-                                  .ListInstanceConfigOperationsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1
-                                  .ListInstanceConfigOperationsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigOperations"))
-                      .build();
+        if ((getListInstanceConfigOperationsMethod = InstanceAdminGrpc.getListInstanceConfigOperationsMethod) == null) {
+          InstanceAdminGrpc.getListInstanceConfigOperationsMethod = getListInstanceConfigOperationsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceConfigOperations"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigOperations"))
+              .build();
         }
       }
     }
     return getListInstanceConfigOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancesRequest,
-          com.google.spanner.admin.instance.v1.ListInstancesResponse>
-      getListInstancesMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstancesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstances",
       requestType = com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
       responseType = com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancesRequest,
-          com.google.spanner.admin.instance.v1.ListInstancesResponse>
-      getListInstancesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstancesRequest,
-            com.google.spanner.admin.instance.v1.ListInstancesResponse>
-        getListInstancesMethod;
+  public static io.grpc.MethodDescriptor getListInstancesMethod() {
+    io.grpc.MethodDescriptor getListInstancesMethod;
     if ((getListInstancesMethod = InstanceAdminGrpc.getListInstancesMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getListInstancesMethod = InstanceAdminGrpc.getListInstancesMethod) == null) {
-          InstanceAdminGrpc.getListInstancesMethod =
-              getListInstancesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstancesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstancesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("ListInstances"))
-                      .build();
+          InstanceAdminGrpc.getListInstancesMethod = getListInstancesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstances"))
+              .build();
         }
       }
     }
     return getListInstancesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest,
-          com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse>
-      getListInstancePartitionsMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstancePartitionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstancePartitions",
       requestType = com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.class,
       responseType = com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest,
-          com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse>
-      getListInstancePartitionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest,
-            com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse>
-        getListInstancePartitionsMethod;
-    if ((getListInstancePartitionsMethod = InstanceAdminGrpc.getListInstancePartitionsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListInstancePartitionsMethod() {
+    io.grpc.MethodDescriptor getListInstancePartitionsMethod;
+    if ((getListInstancePartitionsMethod = InstanceAdminGrpc.getListInstancePartitionsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstancePartitionsMethod = InstanceAdminGrpc.getListInstancePartitionsMethod)
-            == null) {
-          InstanceAdminGrpc.getListInstancePartitionsMethod =
-              getListInstancePartitionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListInstancePartitions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("ListInstancePartitions"))
-                      .build();
+        if ((getListInstancePartitionsMethod = InstanceAdminGrpc.getListInstancePartitionsMethod) == null) {
+          InstanceAdminGrpc.getListInstancePartitionsMethod = getListInstancePartitionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstancePartitions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstancePartitions"))
+              .build();
         }
       }
     }
     return getListInstancePartitionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceRequest,
-          com.google.spanner.admin.instance.v1.Instance>
-      getGetInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getGetInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstance",
       requestType = com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
       responseType = com.google.spanner.admin.instance.v1.Instance.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceRequest,
-          com.google.spanner.admin.instance.v1.Instance>
-      getGetInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.GetInstanceRequest,
-            com.google.spanner.admin.instance.v1.Instance>
-        getGetInstanceMethod;
+  public static io.grpc.MethodDescriptor getGetInstanceMethod() {
+    io.grpc.MethodDescriptor getGetInstanceMethod;
     if ((getGetInstanceMethod = InstanceAdminGrpc.getGetInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetInstanceMethod = InstanceAdminGrpc.getGetInstanceMethod) == null) {
-          InstanceAdminGrpc.getGetInstanceMethod =
-              getGetInstanceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.GetInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()))
-                      .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstance"))
-                      .build();
+          InstanceAdminGrpc.getGetInstanceMethod = getGetInstanceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstance"))
+              .build();
         }
       }
     }
     return getGetInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateInstance",
       requestType = com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.CreateInstanceRequest,
-            com.google.longrunning.Operation>
-        getCreateInstanceMethod;
+  public static io.grpc.MethodDescriptor getCreateInstanceMethod() {
+    io.grpc.MethodDescriptor getCreateInstanceMethod;
     if ((getCreateInstanceMethod = InstanceAdminGrpc.getCreateInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getCreateInstanceMethod = InstanceAdminGrpc.getCreateInstanceMethod) == null) {
-          InstanceAdminGrpc.getCreateInstanceMethod =
-              getCreateInstanceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.CreateInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("CreateInstance"))
-                      .build();
+          InstanceAdminGrpc.getCreateInstanceMethod = getCreateInstanceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("CreateInstance"))
+              .build();
         }
       }
     }
     return getCreateInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateInstance",
       requestType = com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
-            com.google.longrunning.Operation>
-        getUpdateInstanceMethod;
+  public static io.grpc.MethodDescriptor getUpdateInstanceMethod() {
+    io.grpc.MethodDescriptor getUpdateInstanceMethod;
     if ((getUpdateInstanceMethod = InstanceAdminGrpc.getUpdateInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getUpdateInstanceMethod = InstanceAdminGrpc.getUpdateInstanceMethod) == null) {
-          InstanceAdminGrpc.getUpdateInstanceMethod =
-              getUpdateInstanceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.UpdateInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("UpdateInstance"))
-                      .build();
+          InstanceAdminGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("UpdateInstance"))
+              .build();
         }
       }
     }
     return getUpdateInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
-      getDeleteInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteInstance",
       requestType = com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
-      getDeleteInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
-        getDeleteInstanceMethod;
+  public static io.grpc.MethodDescriptor getDeleteInstanceMethod() {
+    io.grpc.MethodDescriptor getDeleteInstanceMethod;
     if ((getDeleteInstanceMethod = InstanceAdminGrpc.getDeleteInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getDeleteInstanceMethod = InstanceAdminGrpc.getDeleteInstanceMethod) == null) {
-          InstanceAdminGrpc.getDeleteInstanceMethod =
-              getDeleteInstanceMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.DeleteInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("DeleteInstance"))
-                      .build();
+          InstanceAdminGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("DeleteInstance"))
+              .build();
         }
       }
     }
     return getDeleteInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
       requestType = com.google.iam.v1.SetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = InstanceAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getSetIamPolicyMethod = InstanceAdminGrpc.getSetIamPolicyMethod) == null) {
-          InstanceAdminGrpc.getSetIamPolicyMethod =
-              getSetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          InstanceAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
       requestType = com.google.iam.v1.GetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = InstanceAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetIamPolicyMethod = InstanceAdminGrpc.getGetIamPolicyMethod) == null) {
-          InstanceAdminGrpc.getGetIamPolicyMethod =
-              getGetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          InstanceAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
       requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
       responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.iam.v1.TestIamPermissionsRequest,
-            com.google.iam.v1.TestIamPermissionsResponse>
-        getTestIamPermissionsMethod;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = InstanceAdminGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getTestIamPermissionsMethod = InstanceAdminGrpc.getTestIamPermissionsMethod) == null) {
-          InstanceAdminGrpc.getTestIamPermissionsMethod =
-              getTestIamPermissionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          InstanceAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstancePartitionRequest,
-          com.google.spanner.admin.instance.v1.InstancePartition>
-      getGetInstancePartitionMethod;
+  private static volatile io.grpc.MethodDescriptor getGetInstancePartitionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstancePartition",
       requestType = com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.class,
       responseType = com.google.spanner.admin.instance.v1.InstancePartition.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstancePartitionRequest,
-          com.google.spanner.admin.instance.v1.InstancePartition>
-      getGetInstancePartitionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.GetInstancePartitionRequest,
-            com.google.spanner.admin.instance.v1.InstancePartition>
-        getGetInstancePartitionMethod;
+  public static io.grpc.MethodDescriptor getGetInstancePartitionMethod() {
+    io.grpc.MethodDescriptor getGetInstancePartitionMethod;
     if ((getGetInstancePartitionMethod = InstanceAdminGrpc.getGetInstancePartitionMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getGetInstancePartitionMethod = InstanceAdminGrpc.getGetInstancePartitionMethod)
-            == null) {
-          InstanceAdminGrpc.getGetInstancePartitionMethod =
-              getGetInstancePartitionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "GetInstancePartition"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.GetInstancePartitionRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.InstancePartition
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("GetInstancePartition"))
-                      .build();
+        if ((getGetInstancePartitionMethod = InstanceAdminGrpc.getGetInstancePartitionMethod) == null) {
+          InstanceAdminGrpc.getGetInstancePartitionMethod = getGetInstancePartitionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstancePartition"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstancePartition"))
+              .build();
         }
       }
     }
     return getGetInstancePartitionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest,
-          com.google.longrunning.Operation>
-      getCreateInstancePartitionMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateInstancePartitionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateInstancePartition",
       requestType = com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest,
-          com.google.longrunning.Operation>
-      getCreateInstancePartitionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest,
-            com.google.longrunning.Operation>
-        getCreateInstancePartitionMethod;
-    if ((getCreateInstancePartitionMethod = InstanceAdminGrpc.getCreateInstancePartitionMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getCreateInstancePartitionMethod() {
+    io.grpc.MethodDescriptor getCreateInstancePartitionMethod;
+    if ((getCreateInstancePartitionMethod = InstanceAdminGrpc.getCreateInstancePartitionMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getCreateInstancePartitionMethod = InstanceAdminGrpc.getCreateInstancePartitionMethod)
-            == null) {
-          InstanceAdminGrpc.getCreateInstancePartitionMethod =
-              getCreateInstancePartitionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateInstancePartition"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("CreateInstancePartition"))
-                      .build();
+        if ((getCreateInstancePartitionMethod = InstanceAdminGrpc.getCreateInstancePartitionMethod) == null) {
+          InstanceAdminGrpc.getCreateInstancePartitionMethod = getCreateInstancePartitionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstancePartition"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("CreateInstancePartition"))
+              .build();
         }
       }
     }
     return getCreateInstancePartitionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest,
-          com.google.protobuf.Empty>
-      getDeleteInstancePartitionMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteInstancePartitionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteInstancePartition",
       requestType = com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest,
-          com.google.protobuf.Empty>
-      getDeleteInstancePartitionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest,
-            com.google.protobuf.Empty>
-        getDeleteInstancePartitionMethod;
-    if ((getDeleteInstancePartitionMethod = InstanceAdminGrpc.getDeleteInstancePartitionMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getDeleteInstancePartitionMethod() {
+    io.grpc.MethodDescriptor getDeleteInstancePartitionMethod;
+    if ((getDeleteInstancePartitionMethod = InstanceAdminGrpc.getDeleteInstancePartitionMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getDeleteInstancePartitionMethod = InstanceAdminGrpc.getDeleteInstancePartitionMethod)
-            == null) {
-          InstanceAdminGrpc.getDeleteInstancePartitionMethod =
-              getDeleteInstancePartitionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "DeleteInstancePartition"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("DeleteInstancePartition"))
-                      .build();
+        if ((getDeleteInstancePartitionMethod = InstanceAdminGrpc.getDeleteInstancePartitionMethod) == null) {
+          InstanceAdminGrpc.getDeleteInstancePartitionMethod = getDeleteInstancePartitionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstancePartition"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("DeleteInstancePartition"))
+              .build();
         }
       }
     }
     return getDeleteInstancePartitionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstancePartitionMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateInstancePartitionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateInstancePartition",
       requestType = com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstancePartitionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest,
-            com.google.longrunning.Operation>
-        getUpdateInstancePartitionMethod;
-    if ((getUpdateInstancePartitionMethod = InstanceAdminGrpc.getUpdateInstancePartitionMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getUpdateInstancePartitionMethod() {
+    io.grpc.MethodDescriptor getUpdateInstancePartitionMethod;
+    if ((getUpdateInstancePartitionMethod = InstanceAdminGrpc.getUpdateInstancePartitionMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getUpdateInstancePartitionMethod = InstanceAdminGrpc.getUpdateInstancePartitionMethod)
-            == null) {
-          InstanceAdminGrpc.getUpdateInstancePartitionMethod =
-              getUpdateInstancePartitionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "UpdateInstancePartition"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("UpdateInstancePartition"))
-                      .build();
+        if ((getUpdateInstancePartitionMethod = InstanceAdminGrpc.getUpdateInstancePartitionMethod) == null) {
+          InstanceAdminGrpc.getUpdateInstancePartitionMethod = getUpdateInstancePartitionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstancePartition"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("UpdateInstancePartition"))
+              .build();
         }
       }
     }
     return getUpdateInstancePartitionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest,
-          com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse>
-      getListInstancePartitionOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstancePartitionOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstancePartitionOperations",
-      requestType =
-          com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.class,
-      responseType =
-          com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.class,
+      requestType = com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.class,
+      responseType = com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest,
-          com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse>
-      getListInstancePartitionOperationsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest,
-            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse>
-        getListInstancePartitionOperationsMethod;
-    if ((getListInstancePartitionOperationsMethod =
-            InstanceAdminGrpc.getListInstancePartitionOperationsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListInstancePartitionOperationsMethod() {
+    io.grpc.MethodDescriptor getListInstancePartitionOperationsMethod;
+    if ((getListInstancePartitionOperationsMethod = InstanceAdminGrpc.getListInstancePartitionOperationsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstancePartitionOperationsMethod =
-                InstanceAdminGrpc.getListInstancePartitionOperationsMethod)
-            == null) {
-          InstanceAdminGrpc.getListInstancePartitionOperationsMethod =
-              getListInstancePartitionOperationsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListInstancePartitionOperations"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1
-                                  .ListInstancePartitionOperationsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1
-                                  .ListInstancePartitionOperationsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier(
-                              "ListInstancePartitionOperations"))
-                      .build();
+        if ((getListInstancePartitionOperationsMethod = InstanceAdminGrpc.getListInstancePartitionOperationsMethod) == null) {
+          InstanceAdminGrpc.getListInstancePartitionOperationsMethod = getListInstancePartitionOperationsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstancePartitionOperations"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstancePartitionOperations"))
+              .build();
         }
       }
     }
     return getListInstancePartitionOperationsMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static InstanceAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public InstanceAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new InstanceAdminStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public InstanceAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new InstanceAdminStub(channel, callOptions);
+        }
+      };
     return InstanceAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static InstanceAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static InstanceAdminBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public InstanceAdminBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new InstanceAdminBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public InstanceAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new InstanceAdminBlockingStub(channel, callOptions);
+        }
+      };
     return InstanceAdminBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static InstanceAdminFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static InstanceAdminFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public InstanceAdminFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new InstanceAdminFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public InstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new InstanceAdminFutureStub(channel, callOptions);
+        }
+      };
     return InstanceAdminFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1064,39 +724,26 @@ public InstanceAdminFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - default void listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstanceConfigsMethod(), responseObserver); + default void listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigsMethod(), responseObserver); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - default void getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceConfigMethod(), responseObserver); + default void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1133,16 +780,12 @@ default void getInstanceConfig(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - default void createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, + default void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1181,16 +824,12 @@ default void createInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - default void updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, + default void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -1200,16 +839,12 @@ default void updateInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - default void deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, + default void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -1224,64 +859,42 @@ default void deleteInstanceConfig(
      * from the most recently started operation.
      * 
*/ - default void listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstanceConfigOperationsMethod(), responseObserver); + default void listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigOperationsMethod(), responseObserver); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - default void listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); + default void listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); } /** - * - * *
      * Lists all instance partitions for the given instance.
      * 
*/ - default void listInstancePartitions( - com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancePartitionsMethod(), responseObserver); + default void listInstancePartitions(com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancePartitionsMethod(), responseObserver); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - default void getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); + default void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1312,16 +925,12 @@ default void getInstance(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - default void createInstance( - com.google.spanner.admin.instance.v1.CreateInstanceRequest request, + default void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1357,16 +966,12 @@ default void createInstance(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - default void updateInstance( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, + default void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1377,16 +982,12 @@ default void updateInstance(
      *     is permanently deleted.
      * 
*/ - default void deleteInstance( - com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, + default void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -1394,16 +995,12 @@ default void deleteInstance(
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -1411,16 +1008,12 @@ default void setIamPolicy(
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -1429,32 +1022,22 @@ default void getIamPolicy(
      * empty set of permissions.
      * 
*/ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Gets information about a particular instance partition.
      * 
*/ - default void getInstancePartition( - com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstancePartitionMethod(), responseObserver); + default void getInstancePartition(com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstancePartitionMethod(), responseObserver); } /** - * - * *
      * Creates an instance partition and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1488,16 +1071,12 @@ default void getInstancePartition(
      * successful.
      * 
*/ - default void createInstancePartition( - com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request, + default void createInstancePartition(com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstancePartitionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstancePartitionMethod(), responseObserver); } /** - * - * *
      * Deletes an existing instance partition. Requires that the
      * instance partition is not used by any database or backup and is not the
@@ -1507,16 +1086,12 @@ default void createInstancePartition(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - default void deleteInstancePartition( - com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request, + default void deleteInstancePartition(com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstancePartitionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstancePartitionMethod(), responseObserver); } /** - * - * *
      * Updates an instance partition, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1556,16 +1131,12 @@ default void deleteInstancePartition(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - default void updateInstancePartition( - com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request, + default void updateInstancePartition(com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstancePartitionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstancePartitionMethod(), responseObserver); } /** - * - * *
      * Lists instance partition [long-running
      * operations][google.longrunning.Operation] in the given instance.
@@ -1583,19 +1154,14 @@ default void updateInstancePartition(
      * [parent][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.parent].
      * 
*/ - default void listInstancePartitionOperations( - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancePartitionOperationsMethod(), responseObserver); + default void listInstancePartitionOperations(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancePartitionOperationsMethod(), responseObserver); } } /** * Base class for the server implementation of the service InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1617,18 +1183,16 @@ default void listInstancePartitionOperations(
    * databases in that instance, and their performance may suffer.
    * 
*/ - public abstract static class InstanceAdminImplBase + public static abstract class InstanceAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return InstanceAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1652,53 +1216,40 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class InstanceAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private InstanceAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected InstanceAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected InstanceAdminStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new InstanceAdminStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public void listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> - responseObserver) { + public void listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - public void getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1735,18 +1286,13 @@ public void getInstanceConfig(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public void createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, + public void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1785,18 +1331,13 @@ public void createInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public void updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, + public void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -1806,18 +1347,13 @@ public void updateInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public void deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, + public void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -1832,72 +1368,46 @@ public void deleteInstanceConfig(
      * from the most recently started operation.
      * 
*/ - public void listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> - responseObserver) { + public void listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - public void listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all instance partitions for the given instance.
      * 
*/ - public void listInstancePartitions( - com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse> - responseObserver) { + public void listInstancePartitions(com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancePartitionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstancePartitionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - public void getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1928,18 +1438,13 @@ public void getInstance(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public void createInstance( - com.google.spanner.admin.instance.v1.CreateInstanceRequest request, + public void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1975,18 +1480,13 @@ public void createInstance(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public void updateInstance( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, + public void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1997,18 +1497,13 @@ public void updateInstance(
      *     is permanently deleted.
      * 
*/ - public void deleteInstance( - com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, + public void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -2016,18 +1511,13 @@ public void deleteInstance(
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -2035,18 +1525,13 @@ public void setIamPolicy(
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -2055,36 +1540,24 @@ public void getIamPolicy(
      * empty set of permissions.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about a particular instance partition.
      * 
*/ - public void getInstancePartition( - com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getInstancePartition(com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstancePartitionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetInstancePartitionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an instance partition and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -2118,18 +1591,13 @@ public void getInstancePartition(
      * successful.
      * 
*/ - public void createInstancePartition( - com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request, + public void createInstancePartition(com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstancePartitionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateInstancePartitionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an existing instance partition. Requires that the
      * instance partition is not used by any database or backup and is not the
@@ -2139,18 +1607,13 @@ public void createInstancePartition(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - public void deleteInstancePartition( - com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request, + public void deleteInstancePartition(com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstancePartitionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteInstancePartitionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an instance partition, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -2190,18 +1653,13 @@ public void deleteInstancePartition(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - public void updateInstancePartition( - com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request, + public void updateInstancePartition(com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstancePartitionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateInstancePartitionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists instance partition [long-running
      * operations][google.longrunning.Operation] in the given instance.
@@ -2219,21 +1677,15 @@ public void updateInstancePartition(
      * [parent][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.parent].
      * 
*/ - public void listInstancePartitionOperations( - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse> - responseObserver) { + public void listInstancePartitionOperations(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancePartitionOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstancePartitionOperationsMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -2257,7 +1709,8 @@ public void listInstancePartitionOperations(
    */
   public static final class InstanceAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private InstanceAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2268,34 +1721,26 @@ protected InstanceAdminBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstanceConfigsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { + public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -2332,15 +1777,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public com.google.longrunning.Operation createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { + public com.google.longrunning.Operation createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -2379,15 +1821,12 @@ public com.google.longrunning.Operation createInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.longrunning.Operation updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { + public com.google.longrunning.Operation updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -2397,15 +1836,12 @@ public com.google.longrunning.Operation updateInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.protobuf.Empty deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { + public com.google.protobuf.Empty deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -2420,56 +1856,42 @@ public com.google.protobuf.Empty deleteInstanceConfig(
      * from the most recently started operation.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstanceConfigOperationsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstancesResponse listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request) { + public com.google.spanner.admin.instance.v1.ListInstancesResponse listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstancesMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all instance partitions for the given instance.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse - listInstancePartitions( - com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse listInstancePartitions(com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstancePartitionsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - public com.google.spanner.admin.instance.v1.Instance getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request) { + public com.google.spanner.admin.instance.v1.Instance getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -2500,15 +1922,12 @@ public com.google.spanner.admin.instance.v1.Instance getInstance(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public com.google.longrunning.Operation createInstance( - com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { + public com.google.longrunning.Operation createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -2544,15 +1963,12 @@ public com.google.longrunning.Operation createInstance(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public com.google.longrunning.Operation updateInstance( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { + public com.google.longrunning.Operation updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -2563,15 +1979,12 @@ public com.google.longrunning.Operation updateInstance(
      *     is permanently deleted.
      * 
*/ - public com.google.protobuf.Empty deleteInstance( - com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { + public com.google.protobuf.Empty deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -2585,8 +1998,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -2600,8 +2011,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -2610,28 +2019,22 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * empty set of permissions.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a particular instance partition.
      * 
*/ - public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition( - com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request) { + public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition(com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstancePartitionMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an instance partition and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -2665,15 +2068,12 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti
      * successful.
      * 
*/ - public com.google.longrunning.Operation createInstancePartition( - com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request) { + public com.google.longrunning.Operation createInstancePartition(com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateInstancePartitionMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an existing instance partition. Requires that the
      * instance partition is not used by any database or backup and is not the
@@ -2683,15 +2083,12 @@ public com.google.longrunning.Operation createInstancePartition(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - public com.google.protobuf.Empty deleteInstancePartition( - com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request) { + public com.google.protobuf.Empty deleteInstancePartition(com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstancePartitionMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an instance partition, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -2731,15 +2128,12 @@ public com.google.protobuf.Empty deleteInstancePartition(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - public com.google.longrunning.Operation updateInstancePartition( - com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request) { + public com.google.longrunning.Operation updateInstancePartition(com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateInstancePartitionMethod(), getCallOptions(), request); } /** - * - * *
      * Lists instance partition [long-running
      * operations][google.longrunning.Operation] in the given instance.
@@ -2757,9 +2151,7 @@ public com.google.longrunning.Operation updateInstancePartition(
      * [parent][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.parent].
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - listInstancePartitionOperations( - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse listInstancePartitionOperations(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstancePartitionOperationsMethod(), getCallOptions(), request); } @@ -2767,7 +2159,6 @@ public com.google.longrunning.Operation updateInstancePartition( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -2791,7 +2182,8 @@ public com.google.longrunning.Operation updateInstancePartition(
    */
   public static final class InstanceAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private InstanceAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2802,37 +2194,28 @@ protected InstanceAdminFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> - listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstanceConfigs( + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.InstanceConfig> - getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture getInstanceConfig( + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -2869,16 +2252,13 @@ protected InstanceAdminFutureStub build(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture createInstanceConfig( + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -2917,16 +2297,13 @@ protected InstanceAdminFutureStub build(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateInstanceConfig( + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -2936,16 +2313,13 @@ protected InstanceAdminFutureStub build(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteInstanceConfig( + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -2960,60 +2334,46 @@ protected InstanceAdminFutureStub build(
      * from the most recently started operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> - listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstanceConfigOperations( + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstancesResponse> - listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.spanner.admin.instance.v1.ListInstancesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all instance partitions for the given instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse> - listInstancePartitions( - com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstancePartitions( + com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstancePartitionsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.Instance> - getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.spanner.admin.instance.v1.GetInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -3044,15 +2404,13 @@ protected InstanceAdminFutureStub build(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -3088,15 +2446,13 @@ protected InstanceAdminFutureStub build(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -3107,15 +2463,13 @@ protected InstanceAdminFutureStub build(
      *     is permanently deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -3123,15 +2477,13 @@ protected InstanceAdminFutureStub build(
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -3139,15 +2491,13 @@ protected InstanceAdminFutureStub build(
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -3156,31 +2506,24 @@ protected InstanceAdminFutureStub build(
      * empty set of permissions.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a particular instance partition.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.InstancePartition> - getInstancePartition( - com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request) { + public com.google.common.util.concurrent.ListenableFuture getInstancePartition( + com.google.spanner.admin.instance.v1.GetInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstancePartitionMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an instance partition and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -3214,16 +2557,13 @@ protected InstanceAdminFutureStub build(
      * successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createInstancePartition( - com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request) { + public com.google.common.util.concurrent.ListenableFuture createInstancePartition( + com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateInstancePartitionMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an existing instance partition. Requires that the
      * instance partition is not used by any database or backup and is not the
@@ -3233,16 +2573,13 @@ protected InstanceAdminFutureStub build(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteInstancePartition( - com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteInstancePartition( + com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteInstancePartitionMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an instance partition, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -3282,16 +2619,13 @@ protected InstanceAdminFutureStub build(
      * [name][google.spanner.admin.instance.v1.InstancePartition.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateInstancePartition( - com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateInstancePartition( + com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateInstancePartitionMethod(), getCallOptions()), request); } /** - * - * *
      * Lists instance partition [long-running
      * operations][google.longrunning.Operation] in the given instance.
@@ -3309,13 +2643,10 @@ protected InstanceAdminFutureStub build(
      * [parent][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.parent].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse> - listInstancePartitionOperations( - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstancePartitionOperations( + com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancePartitionOperationsMethod(), getCallOptions()), - request); + getChannel().newCall(getListInstancePartitionOperationsMethod(), getCallOptions()), request); } } @@ -3340,11 +2671,11 @@ protected InstanceAdminFutureStub build( private static final int METHODID_UPDATE_INSTANCE_PARTITION = 18; private static final int METHODID_LIST_INSTANCE_PARTITION_OPERATIONS = 19; - 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 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; @@ -3358,118 +2689,84 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_INSTANCE_CONFIGS: - serviceImpl.listInstanceConfigs( - (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>) - responseObserver); + serviceImpl.listInstanceConfigs((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INSTANCE_CONFIG: - serviceImpl.getInstanceConfig( - (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getInstanceConfig((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_INSTANCE_CONFIG: - serviceImpl.createInstanceConfig( - (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) request, + serviceImpl.createInstanceConfig((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_INSTANCE_CONFIG: - serviceImpl.updateInstanceConfig( - (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) request, + serviceImpl.updateInstanceConfig((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INSTANCE_CONFIG: - serviceImpl.deleteInstanceConfig( - (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) request, + serviceImpl.deleteInstanceConfig((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INSTANCE_CONFIG_OPERATIONS: - serviceImpl.listInstanceConfigOperations( - (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>) - responseObserver); + serviceImpl.listInstanceConfigOperations((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.spanner.admin.instance.v1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancesResponse>) - responseObserver); + serviceImpl.listInstances((com.google.spanner.admin.instance.v1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INSTANCE_PARTITIONS: - serviceImpl.listInstancePartitions( - (com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse>) - responseObserver); + serviceImpl.listInstancePartitions((com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.spanner.admin.instance.v1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getInstance((com.google.spanner.admin.instance.v1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.spanner.admin.instance.v1.CreateInstanceRequest) request, + serviceImpl.createInstance((com.google.spanner.admin.instance.v1.CreateInstanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) request, + serviceImpl.updateInstance((com.google.spanner.admin.instance.v1.UpdateInstanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.spanner.admin.instance.v1.DeleteInstanceRequest) request, + serviceImpl.deleteInstance((com.google.spanner.admin.instance.v1.DeleteInstanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INSTANCE_PARTITION: - serviceImpl.getInstancePartition( - (com.google.spanner.admin.instance.v1.GetInstancePartitionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getInstancePartition((com.google.spanner.admin.instance.v1.GetInstancePartitionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_INSTANCE_PARTITION: - serviceImpl.createInstancePartition( - (com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest) request, + serviceImpl.createInstancePartition((com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INSTANCE_PARTITION: - serviceImpl.deleteInstancePartition( - (com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) request, + serviceImpl.deleteInstancePartition((com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_INSTANCE_PARTITION: - serviceImpl.updateInstancePartition( - (com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) request, + serviceImpl.updateInstancePartition((com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INSTANCE_PARTITION_OPERATIONS: - serviceImpl.listInstancePartitionOperations( - (com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse>) - responseObserver); + serviceImpl.listInstancePartitionOperations((com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -3490,137 +2787,150 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListInstanceConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest, - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>( - service, METHODID_LIST_INSTANCE_CONFIGS))) + getListInstanceConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest, + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>( + service, METHODID_LIST_INSTANCE_CONFIGS))) .addMethod( - getGetInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest, - com.google.spanner.admin.instance.v1.InstanceConfig>( - service, METHODID_GET_INSTANCE_CONFIG))) + getGetInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest, + com.google.spanner.admin.instance.v1.InstanceConfig>( + service, METHODID_GET_INSTANCE_CONFIG))) .addMethod( - getCreateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE_CONFIG))) + getCreateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE_CONFIG))) .addMethod( - getUpdateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE_CONFIG))) + getUpdateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE_CONFIG))) .addMethod( - getDeleteInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_INSTANCE_CONFIG))) + getDeleteInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE_CONFIG))) .addMethod( - getListInstanceConfigOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest, - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>( - service, METHODID_LIST_INSTANCE_CONFIG_OPERATIONS))) + getListInstanceConfigOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest, + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>( + service, METHODID_LIST_INSTANCE_CONFIG_OPERATIONS))) .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstancesRequest, - com.google.spanner.admin.instance.v1.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstancesRequest, + com.google.spanner.admin.instance.v1.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) .addMethod( - getListInstancePartitionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest, - com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse>( - service, METHODID_LIST_INSTANCE_PARTITIONS))) + getListInstancePartitionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest, + com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse>( + service, METHODID_LIST_INSTANCE_PARTITIONS))) .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.GetInstanceRequest, - com.google.spanner.admin.instance.v1.Instance>(service, METHODID_GET_INSTANCE))) + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.GetInstanceRequest, + com.google.spanner.admin.instance.v1.Instance>( + service, METHODID_GET_INSTANCE))) .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE))) .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_INSTANCE))) + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getGetInstancePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.GetInstancePartitionRequest, - com.google.spanner.admin.instance.v1.InstancePartition>( - service, METHODID_GET_INSTANCE_PARTITION))) + getGetInstancePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.GetInstancePartitionRequest, + com.google.spanner.admin.instance.v1.InstancePartition>( + service, METHODID_GET_INSTANCE_PARTITION))) .addMethod( - getCreateInstancePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE_PARTITION))) + getCreateInstancePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE_PARTITION))) .addMethod( - getDeleteInstancePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_INSTANCE_PARTITION))) + getDeleteInstancePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE_PARTITION))) .addMethod( - getUpdateInstancePartitionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE_PARTITION))) + getUpdateInstancePartitionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE_PARTITION))) .addMethod( - getListInstancePartitionOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest, - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse>( - service, METHODID_LIST_INSTANCE_PARTITION_OPERATIONS))) + getListInstancePartitionOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest, + com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse>( + service, METHODID_LIST_INSTANCE_PARTITION_OPERATIONS))) .build(); } - private abstract static class InstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class InstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { InstanceAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -3662,31 +2972,29 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (InstanceAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new InstanceAdminFileDescriptorSupplier()) - .addMethod(getListInstanceConfigsMethod()) - .addMethod(getGetInstanceConfigMethod()) - .addMethod(getCreateInstanceConfigMethod()) - .addMethod(getUpdateInstanceConfigMethod()) - .addMethod(getDeleteInstanceConfigMethod()) - .addMethod(getListInstanceConfigOperationsMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getListInstancePartitionsMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetInstancePartitionMethod()) - .addMethod(getCreateInstancePartitionMethod()) - .addMethod(getDeleteInstancePartitionMethod()) - .addMethod(getUpdateInstancePartitionMethod()) - .addMethod(getListInstancePartitionOperationsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new InstanceAdminFileDescriptorSupplier()) + .addMethod(getListInstanceConfigsMethod()) + .addMethod(getGetInstanceConfigMethod()) + .addMethod(getCreateInstanceConfigMethod()) + .addMethod(getUpdateInstanceConfigMethod()) + .addMethod(getDeleteInstanceConfigMethod()) + .addMethod(getListInstanceConfigOperationsMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getListInstancePartitionsMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetInstancePartitionMethod()) + .addMethod(getCreateInstancePartitionMethod()) + .addMethod(getDeleteInstancePartitionMethod()) + .addMethod(getUpdateInstancePartitionMethod()) + .addMethod(getListInstancePartitionOperationsMethod()) + .build(); } } } diff --git a/grpc-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerExecutorProxyGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerExecutorProxyGrpc.java similarity index 57% rename from grpc-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerExecutorProxyGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerExecutorProxyGrpc.java index c0b46bb0d38..eb2bb50cf64 100644 --- a/grpc-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerExecutorProxyGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerExecutorProxyGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.spanner.executor.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Service that executes SpannerActions asynchronously.
  * 
@@ -32,103 +15,85 @@ public final class SpannerExecutorProxyGrpc { private SpannerExecutorProxyGrpc() {} - public static final java.lang.String SERVICE_NAME = - "google.spanner.executor.v1.SpannerExecutorProxy"; + public static final java.lang.String SERVICE_NAME = "google.spanner.executor.v1.SpannerExecutorProxy"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.spanner.executor.v1.SpannerAsyncActionRequest, - com.google.spanner.executor.v1.SpannerAsyncActionResponse> - getExecuteActionAsyncMethod; + private static volatile io.grpc.MethodDescriptor getExecuteActionAsyncMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExecuteActionAsync", requestType = com.google.spanner.executor.v1.SpannerAsyncActionRequest.class, responseType = com.google.spanner.executor.v1.SpannerAsyncActionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.spanner.executor.v1.SpannerAsyncActionRequest, - com.google.spanner.executor.v1.SpannerAsyncActionResponse> - getExecuteActionAsyncMethod() { - io.grpc.MethodDescriptor< - com.google.spanner.executor.v1.SpannerAsyncActionRequest, - com.google.spanner.executor.v1.SpannerAsyncActionResponse> - getExecuteActionAsyncMethod; - if ((getExecuteActionAsyncMethod = SpannerExecutorProxyGrpc.getExecuteActionAsyncMethod) - == null) { + public static io.grpc.MethodDescriptor getExecuteActionAsyncMethod() { + io.grpc.MethodDescriptor getExecuteActionAsyncMethod; + if ((getExecuteActionAsyncMethod = SpannerExecutorProxyGrpc.getExecuteActionAsyncMethod) == null) { synchronized (SpannerExecutorProxyGrpc.class) { - if ((getExecuteActionAsyncMethod = SpannerExecutorProxyGrpc.getExecuteActionAsyncMethod) - == null) { - SpannerExecutorProxyGrpc.getExecuteActionAsyncMethod = - getExecuteActionAsyncMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteActionAsync")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.spanner.executor.v1.SpannerAsyncActionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.spanner.executor.v1.SpannerAsyncActionResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new SpannerExecutorProxyMethodDescriptorSupplier("ExecuteActionAsync")) - .build(); + if ((getExecuteActionAsyncMethod = SpannerExecutorProxyGrpc.getExecuteActionAsyncMethod) == null) { + SpannerExecutorProxyGrpc.getExecuteActionAsyncMethod = getExecuteActionAsyncMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteActionAsync")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.spanner.executor.v1.SpannerAsyncActionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.spanner.executor.v1.SpannerAsyncActionResponse.getDefaultInstance())) + .setSchemaDescriptor(new SpannerExecutorProxyMethodDescriptorSupplier("ExecuteActionAsync")) + .build(); } } } return getExecuteActionAsyncMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static SpannerExecutorProxyStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SpannerExecutorProxyStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SpannerExecutorProxyStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SpannerExecutorProxyStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SpannerExecutorProxyStub(channel, callOptions); + } + }; return SpannerExecutorProxyStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static SpannerExecutorProxyBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static SpannerExecutorProxyBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SpannerExecutorProxyBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SpannerExecutorProxyBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SpannerExecutorProxyBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SpannerExecutorProxyBlockingStub(channel, callOptions); + } + }; return SpannerExecutorProxyBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static SpannerExecutorProxyFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static SpannerExecutorProxyFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SpannerExecutorProxyFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SpannerExecutorProxyFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SpannerExecutorProxyFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SpannerExecutorProxyFutureStub(channel, callOptions); + } + }; return SpannerExecutorProxyFutureStub.newStub(factory, channel); } /** - * - * *
    * Service that executes SpannerActions asynchronously.
    * 
@@ -136,8 +101,6 @@ public SpannerExecutorProxyFutureStub newStub( public interface AsyncService { /** - * - * *
      * ExecuteActionAsync is a streaming call that starts executing a new Spanner
      * action.
@@ -148,41 +111,36 @@ public interface AsyncService {
      * parallel.
      * 
*/ - default io.grpc.stub.StreamObserver - executeActionAsync( - io.grpc.stub.StreamObserver - responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( - getExecuteActionAsyncMethod(), responseObserver); + default io.grpc.stub.StreamObserver executeActionAsync( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getExecuteActionAsyncMethod(), responseObserver); } } /** * Base class for the server implementation of the service SpannerExecutorProxy. - * *
    * Service that executes SpannerActions asynchronously.
    * 
*/ - public abstract static class SpannerExecutorProxyImplBase + public static abstract class SpannerExecutorProxyImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return SpannerExecutorProxyGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service SpannerExecutorProxy. - * *
    * Service that executes SpannerActions asynchronously.
    * 
*/ public static final class SpannerExecutorProxyStub extends io.grpc.stub.AbstractAsyncStub { - private SpannerExecutorProxyStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private SpannerExecutorProxyStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -193,8 +151,6 @@ protected SpannerExecutorProxyStub build( } /** - * - * *
      * ExecuteActionAsync is a streaming call that starts executing a new Spanner
      * action.
@@ -205,10 +161,8 @@ protected SpannerExecutorProxyStub build(
      * parallel.
      * 
*/ - public io.grpc.stub.StreamObserver - executeActionAsync( - io.grpc.stub.StreamObserver - responseObserver) { + public io.grpc.stub.StreamObserver executeActionAsync( + io.grpc.stub.StreamObserver responseObserver) { return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( getChannel().newCall(getExecuteActionAsyncMethod(), getCallOptions()), responseObserver); } @@ -216,7 +170,6 @@ protected SpannerExecutorProxyStub build( /** * A stub to allow clients to do synchronous rpc calls to service SpannerExecutorProxy. - * *
    * Service that executes SpannerActions asynchronously.
    * 
@@ -237,7 +190,6 @@ protected SpannerExecutorProxyBlockingStub build( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service SpannerExecutorProxy. - * *
    * Service that executes SpannerActions asynchronously.
    * 
@@ -258,11 +210,11 @@ protected SpannerExecutorProxyFutureStub build( private static final int METHODID_EXECUTE_ACTION_ASYNC = 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 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; @@ -286,11 +238,8 @@ public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_EXECUTE_ACTION_ASYNC: - return (io.grpc.stub.StreamObserver) - serviceImpl.executeActionAsync( - (io.grpc.stub.StreamObserver< - com.google.spanner.executor.v1.SpannerAsyncActionResponse>) - responseObserver); + return (io.grpc.stub.StreamObserver) serviceImpl.executeActionAsync( + (io.grpc.stub.StreamObserver) responseObserver); default: throw new AssertionError(); } @@ -300,18 +249,17 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getExecuteActionAsyncMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.spanner.executor.v1.SpannerAsyncActionRequest, - com.google.spanner.executor.v1.SpannerAsyncActionResponse>( - service, METHODID_EXECUTE_ACTION_ASYNC))) + getExecuteActionAsyncMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.spanner.executor.v1.SpannerAsyncActionRequest, + com.google.spanner.executor.v1.SpannerAsyncActionResponse>( + service, METHODID_EXECUTE_ACTION_ASYNC))) .build(); } - private abstract static class SpannerExecutorProxyBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class SpannerExecutorProxyBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { SpannerExecutorProxyBaseDescriptorSupplier() {} @java.lang.Override @@ -353,12 +301,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (SpannerExecutorProxyGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SpannerExecutorProxyFileDescriptorSupplier()) - .addMethod(getExecuteActionAsyncMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new SpannerExecutorProxyFileDescriptorSupplier()) + .addMethod(getExecuteActionAsyncMethod()) + .build(); } } } diff --git a/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java similarity index 60% rename from grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java index ff9ea44f98f..846f1c54be5 100644 --- a/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.spanner.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Cloud Spanner API
  * The Cloud Spanner API can be used to manage sessions and execute
@@ -37,705 +20,547 @@ private SpannerGrpc() {}
   public static final java.lang.String SERVICE_NAME = "google.spanner.v1.Spanner";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
-      getCreateSessionMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateSession",
       requestType = com.google.spanner.v1.CreateSessionRequest.class,
       responseType = com.google.spanner.v1.Session.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
-      getCreateSessionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
-        getCreateSessionMethod;
+  public static io.grpc.MethodDescriptor getCreateSessionMethod() {
+    io.grpc.MethodDescriptor getCreateSessionMethod;
     if ((getCreateSessionMethod = SpannerGrpc.getCreateSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getCreateSessionMethod = SpannerGrpc.getCreateSessionMethod) == null) {
-          SpannerGrpc.getCreateSessionMethod =
-              getCreateSessionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSession"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.CreateSessionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.Session.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("CreateSession"))
-                      .build();
+          SpannerGrpc.getCreateSessionMethod = getCreateSessionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSession"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.CreateSessionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.Session.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("CreateSession"))
+              .build();
         }
       }
     }
     return getCreateSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BatchCreateSessionsRequest,
-          com.google.spanner.v1.BatchCreateSessionsResponse>
-      getBatchCreateSessionsMethod;
+  private static volatile io.grpc.MethodDescriptor getBatchCreateSessionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BatchCreateSessions",
       requestType = com.google.spanner.v1.BatchCreateSessionsRequest.class,
       responseType = com.google.spanner.v1.BatchCreateSessionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BatchCreateSessionsRequest,
-          com.google.spanner.v1.BatchCreateSessionsResponse>
-      getBatchCreateSessionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.BatchCreateSessionsRequest,
-            com.google.spanner.v1.BatchCreateSessionsResponse>
-        getBatchCreateSessionsMethod;
+  public static io.grpc.MethodDescriptor getBatchCreateSessionsMethod() {
+    io.grpc.MethodDescriptor getBatchCreateSessionsMethod;
     if ((getBatchCreateSessionsMethod = SpannerGrpc.getBatchCreateSessionsMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getBatchCreateSessionsMethod = SpannerGrpc.getBatchCreateSessionsMethod) == null) {
-          SpannerGrpc.getBatchCreateSessionsMethod =
-              getBatchCreateSessionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "BatchCreateSessions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BatchCreateSessionsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BatchCreateSessionsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new SpannerMethodDescriptorSupplier("BatchCreateSessions"))
-                      .build();
+          SpannerGrpc.getBatchCreateSessionsMethod = getBatchCreateSessionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateSessions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BatchCreateSessions"))
+              .build();
         }
       }
     }
     return getBatchCreateSessionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>
-      getGetSessionMethod;
+  private static volatile io.grpc.MethodDescriptor getGetSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetSession",
       requestType = com.google.spanner.v1.GetSessionRequest.class,
       responseType = com.google.spanner.v1.Session.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>
-      getGetSessionMethod() {
-    io.grpc.MethodDescriptor
-        getGetSessionMethod;
+  public static io.grpc.MethodDescriptor getGetSessionMethod() {
+    io.grpc.MethodDescriptor getGetSessionMethod;
     if ((getGetSessionMethod = SpannerGrpc.getGetSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getGetSessionMethod = SpannerGrpc.getGetSessionMethod) == null) {
-          SpannerGrpc.getGetSessionMethod =
-              getGetSessionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSession"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.GetSessionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.Session.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("GetSession"))
-                      .build();
+          SpannerGrpc.getGetSessionMethod = getGetSessionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSession"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.GetSessionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.Session.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("GetSession"))
+              .build();
         }
       }
     }
     return getGetSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
-      getListSessionsMethod;
+  private static volatile io.grpc.MethodDescriptor getListSessionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSessions",
       requestType = com.google.spanner.v1.ListSessionsRequest.class,
       responseType = com.google.spanner.v1.ListSessionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
-      getListSessionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
-        getListSessionsMethod;
+  public static io.grpc.MethodDescriptor getListSessionsMethod() {
+    io.grpc.MethodDescriptor getListSessionsMethod;
     if ((getListSessionsMethod = SpannerGrpc.getListSessionsMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getListSessionsMethod = SpannerGrpc.getListSessionsMethod) == null) {
-          SpannerGrpc.getListSessionsMethod =
-              getListSessionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ListSessionsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ListSessionsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ListSessions"))
-                      .build();
+          SpannerGrpc.getListSessionsMethod = getListSessionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ListSessionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ListSessionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ListSessions"))
+              .build();
         }
       }
     }
     return getListSessionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>
-      getDeleteSessionMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteSession",
       requestType = com.google.spanner.v1.DeleteSessionRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>
-      getDeleteSessionMethod() {
-    io.grpc.MethodDescriptor
-        getDeleteSessionMethod;
+  public static io.grpc.MethodDescriptor getDeleteSessionMethod() {
+    io.grpc.MethodDescriptor getDeleteSessionMethod;
     if ((getDeleteSessionMethod = SpannerGrpc.getDeleteSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getDeleteSessionMethod = SpannerGrpc.getDeleteSessionMethod) == null) {
-          SpannerGrpc.getDeleteSessionMethod =
-              getDeleteSessionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSession"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.DeleteSessionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("DeleteSession"))
-                      .build();
+          SpannerGrpc.getDeleteSessionMethod = getDeleteSessionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSession"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.DeleteSessionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("DeleteSession"))
+              .build();
         }
       }
     }
     return getDeleteSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
-      getExecuteSqlMethod;
+  private static volatile io.grpc.MethodDescriptor getExecuteSqlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteSql",
       requestType = com.google.spanner.v1.ExecuteSqlRequest.class,
       responseType = com.google.spanner.v1.ResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
-      getExecuteSqlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
-        getExecuteSqlMethod;
+  public static io.grpc.MethodDescriptor getExecuteSqlMethod() {
+    io.grpc.MethodDescriptor getExecuteSqlMethod;
     if ((getExecuteSqlMethod = SpannerGrpc.getExecuteSqlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteSqlMethod = SpannerGrpc.getExecuteSqlMethod) == null) {
-          SpannerGrpc.getExecuteSqlMethod =
-              getExecuteSqlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteSql"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteSql"))
-                      .build();
+          SpannerGrpc.getExecuteSqlMethod = getExecuteSqlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteSql"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteSql"))
+              .build();
         }
       }
     }
     return getExecuteSqlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
-      getExecuteStreamingSqlMethod;
+  private static volatile io.grpc.MethodDescriptor getExecuteStreamingSqlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteStreamingSql",
       requestType = com.google.spanner.v1.ExecuteSqlRequest.class,
       responseType = com.google.spanner.v1.PartialResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
-      getExecuteStreamingSqlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
-        getExecuteStreamingSqlMethod;
+  public static io.grpc.MethodDescriptor getExecuteStreamingSqlMethod() {
+    io.grpc.MethodDescriptor getExecuteStreamingSqlMethod;
     if ((getExecuteStreamingSqlMethod = SpannerGrpc.getExecuteStreamingSqlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteStreamingSqlMethod = SpannerGrpc.getExecuteStreamingSqlMethod) == null) {
-          SpannerGrpc.getExecuteStreamingSqlMethod =
-              getExecuteStreamingSqlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ExecuteStreamingSql"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new SpannerMethodDescriptorSupplier("ExecuteStreamingSql"))
-                      .build();
+          SpannerGrpc.getExecuteStreamingSqlMethod = getExecuteStreamingSqlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteStreamingSql"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteStreamingSql"))
+              .build();
         }
       }
     }
     return getExecuteStreamingSqlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteBatchDmlRequest,
-          com.google.spanner.v1.ExecuteBatchDmlResponse>
-      getExecuteBatchDmlMethod;
+  private static volatile io.grpc.MethodDescriptor getExecuteBatchDmlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteBatchDml",
       requestType = com.google.spanner.v1.ExecuteBatchDmlRequest.class,
       responseType = com.google.spanner.v1.ExecuteBatchDmlResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteBatchDmlRequest,
-          com.google.spanner.v1.ExecuteBatchDmlResponse>
-      getExecuteBatchDmlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ExecuteBatchDmlRequest,
-            com.google.spanner.v1.ExecuteBatchDmlResponse>
-        getExecuteBatchDmlMethod;
+  public static io.grpc.MethodDescriptor getExecuteBatchDmlMethod() {
+    io.grpc.MethodDescriptor getExecuteBatchDmlMethod;
     if ((getExecuteBatchDmlMethod = SpannerGrpc.getExecuteBatchDmlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteBatchDmlMethod = SpannerGrpc.getExecuteBatchDmlMethod) == null) {
-          SpannerGrpc.getExecuteBatchDmlMethod =
-              getExecuteBatchDmlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteBatchDml"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteBatchDml"))
-                      .build();
+          SpannerGrpc.getExecuteBatchDmlMethod = getExecuteBatchDmlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteBatchDml"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteBatchDml"))
+              .build();
         }
       }
     }
     return getExecuteBatchDmlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>
-      getReadMethod;
+  private static volatile io.grpc.MethodDescriptor getReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Read",
       requestType = com.google.spanner.v1.ReadRequest.class,
       responseType = com.google.spanner.v1.ResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>
-      getReadMethod() {
-    io.grpc.MethodDescriptor
-        getReadMethod;
+  public static io.grpc.MethodDescriptor getReadMethod() {
+    io.grpc.MethodDescriptor getReadMethod;
     if ((getReadMethod = SpannerGrpc.getReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getReadMethod = SpannerGrpc.getReadMethod) == null) {
-          SpannerGrpc.getReadMethod =
-              getReadMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Read"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ReadRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Read"))
-                      .build();
+          SpannerGrpc.getReadMethod = getReadMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Read"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ReadRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Read"))
+              .build();
         }
       }
     }
     return getReadMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
-      getStreamingReadMethod;
+  private static volatile io.grpc.MethodDescriptor getStreamingReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "StreamingRead",
       requestType = com.google.spanner.v1.ReadRequest.class,
       responseType = com.google.spanner.v1.PartialResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
-      getStreamingReadMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
-        getStreamingReadMethod;
+  public static io.grpc.MethodDescriptor getStreamingReadMethod() {
+    io.grpc.MethodDescriptor getStreamingReadMethod;
     if ((getStreamingReadMethod = SpannerGrpc.getStreamingReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getStreamingReadMethod = SpannerGrpc.getStreamingReadMethod) == null) {
-          SpannerGrpc.getStreamingReadMethod =
-              getStreamingReadMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingRead"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ReadRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("StreamingRead"))
-                      .build();
+          SpannerGrpc.getStreamingReadMethod = getStreamingReadMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingRead"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ReadRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("StreamingRead"))
+              .build();
         }
       }
     }
     return getStreamingReadMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
-      getBeginTransactionMethod;
+  private static volatile io.grpc.MethodDescriptor getBeginTransactionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BeginTransaction",
       requestType = com.google.spanner.v1.BeginTransactionRequest.class,
       responseType = com.google.spanner.v1.Transaction.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
-      getBeginTransactionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
-        getBeginTransactionMethod;
+  public static io.grpc.MethodDescriptor getBeginTransactionMethod() {
+    io.grpc.MethodDescriptor getBeginTransactionMethod;
     if ((getBeginTransactionMethod = SpannerGrpc.getBeginTransactionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getBeginTransactionMethod = SpannerGrpc.getBeginTransactionMethod) == null) {
-          SpannerGrpc.getBeginTransactionMethod =
-              getBeginTransactionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BeginTransactionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.Transaction.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BeginTransaction"))
-                      .build();
+          SpannerGrpc.getBeginTransactionMethod = getBeginTransactionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BeginTransactionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.Transaction.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BeginTransaction"))
+              .build();
         }
       }
     }
     return getBeginTransactionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
-      getCommitMethod;
+  private static volatile io.grpc.MethodDescriptor getCommitMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Commit",
       requestType = com.google.spanner.v1.CommitRequest.class,
       responseType = com.google.spanner.v1.CommitResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
-      getCommitMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
-        getCommitMethod;
+  public static io.grpc.MethodDescriptor getCommitMethod() {
+    io.grpc.MethodDescriptor getCommitMethod;
     if ((getCommitMethod = SpannerGrpc.getCommitMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getCommitMethod = SpannerGrpc.getCommitMethod) == null) {
-          SpannerGrpc.getCommitMethod =
-              getCommitMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.CommitRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.CommitResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Commit"))
-                      .build();
+          SpannerGrpc.getCommitMethod = getCommitMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.CommitRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.CommitResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Commit"))
+              .build();
         }
       }
     }
     return getCommitMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>
-      getRollbackMethod;
+  private static volatile io.grpc.MethodDescriptor getRollbackMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Rollback",
       requestType = com.google.spanner.v1.RollbackRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>
-      getRollbackMethod() {
-    io.grpc.MethodDescriptor
-        getRollbackMethod;
+  public static io.grpc.MethodDescriptor getRollbackMethod() {
+    io.grpc.MethodDescriptor getRollbackMethod;
     if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) {
-          SpannerGrpc.getRollbackMethod =
-              getRollbackMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.RollbackRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback"))
-                      .build();
+          SpannerGrpc.getRollbackMethod = getRollbackMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.RollbackRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback"))
+              .build();
         }
       }
     }
     return getRollbackMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionQueryMethod;
+  private static volatile io.grpc.MethodDescriptor getPartitionQueryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PartitionQuery",
       requestType = com.google.spanner.v1.PartitionQueryRequest.class,
       responseType = com.google.spanner.v1.PartitionResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionQueryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
-        getPartitionQueryMethod;
+  public static io.grpc.MethodDescriptor getPartitionQueryMethod() {
+    io.grpc.MethodDescriptor getPartitionQueryMethod;
     if ((getPartitionQueryMethod = SpannerGrpc.getPartitionQueryMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getPartitionQueryMethod = SpannerGrpc.getPartitionQueryMethod) == null) {
-          SpannerGrpc.getPartitionQueryMethod =
-              getPartitionQueryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionQueryRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionQuery"))
-                      .build();
+          SpannerGrpc.getPartitionQueryMethod = getPartitionQueryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionQueryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionQuery"))
+              .build();
         }
       }
     }
     return getPartitionQueryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionReadMethod;
+  private static volatile io.grpc.MethodDescriptor getPartitionReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PartitionRead",
       requestType = com.google.spanner.v1.PartitionReadRequest.class,
       responseType = com.google.spanner.v1.PartitionResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionReadMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
-        getPartitionReadMethod;
+  public static io.grpc.MethodDescriptor getPartitionReadMethod() {
+    io.grpc.MethodDescriptor getPartitionReadMethod;
     if ((getPartitionReadMethod = SpannerGrpc.getPartitionReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getPartitionReadMethod = SpannerGrpc.getPartitionReadMethod) == null) {
-          SpannerGrpc.getPartitionReadMethod =
-              getPartitionReadMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionRead"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionReadRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionRead"))
-                      .build();
+          SpannerGrpc.getPartitionReadMethod = getPartitionReadMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionRead"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionReadRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionRead"))
+              .build();
         }
       }
     }
     return getPartitionReadMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BatchWriteRequest, com.google.spanner.v1.BatchWriteResponse>
-      getBatchWriteMethod;
+  private static volatile io.grpc.MethodDescriptor getBatchWriteMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BatchWrite",
       requestType = com.google.spanner.v1.BatchWriteRequest.class,
       responseType = com.google.spanner.v1.BatchWriteResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BatchWriteRequest, com.google.spanner.v1.BatchWriteResponse>
-      getBatchWriteMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.BatchWriteRequest, com.google.spanner.v1.BatchWriteResponse>
-        getBatchWriteMethod;
+  public static io.grpc.MethodDescriptor getBatchWriteMethod() {
+    io.grpc.MethodDescriptor getBatchWriteMethod;
     if ((getBatchWriteMethod = SpannerGrpc.getBatchWriteMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getBatchWriteMethod = SpannerGrpc.getBatchWriteMethod) == null) {
-          SpannerGrpc.getBatchWriteMethod =
-              getBatchWriteMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchWrite"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BatchWriteRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BatchWriteResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BatchWrite"))
-                      .build();
+          SpannerGrpc.getBatchWriteMethod = getBatchWriteMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchWrite"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BatchWriteRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BatchWriteResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BatchWrite"))
+              .build();
         }
       }
     }
     return getBatchWriteMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static SpannerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public SpannerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new SpannerStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public SpannerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new SpannerStub(channel, callOptions);
+        }
+      };
     return SpannerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static SpannerBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static SpannerBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public SpannerBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new SpannerBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public SpannerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new SpannerBlockingStub(channel, callOptions);
+        }
+      };
     return SpannerBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static SpannerFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static SpannerFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public SpannerFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new SpannerFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public SpannerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new SpannerFutureStub(channel, callOptions);
+        }
+      };
     return SpannerFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -745,8 +570,6 @@ public SpannerFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -766,78 +589,58 @@ public interface AsyncService {
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - default void createSession( - com.google.spanner.v1.CreateSessionRequest request, + default void createSession(com.google.spanner.v1.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSessionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSessionMethod(), responseObserver); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - default void batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateSessionsMethod(), responseObserver); + default void batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateSessionsMethod(), responseObserver); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - default void getSession( - com.google.spanner.v1.GetSessionRequest request, + default void getSession(com.google.spanner.v1.GetSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSessionMethod(), responseObserver); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - default void listSessions( - com.google.spanner.v1.ListSessionsRequest request, + default void listSessions(com.google.spanner.v1.ListSessionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSessionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSessionsMethod(), responseObserver); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - default void deleteSession( - com.google.spanner.v1.DeleteSessionRequest request, + default void deleteSession(com.google.spanner.v1.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteSessionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSessionMethod(), responseObserver); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -852,15 +655,12 @@ default void deleteSession(
      * instead.
      * 
*/ - default void executeSql( - com.google.spanner.v1.ExecuteSqlRequest request, + default void executeSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteSqlMethod(), responseObserver); } /** - * - * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the
      * result set as a stream. Unlike
@@ -869,16 +669,12 @@ default void executeSql(
      * result set can exceed 100 MiB, and no column value can exceed 10 MiB.
      * 
*/ - default void executeStreamingSql( - com.google.spanner.v1.ExecuteSqlRequest request, + default void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExecuteStreamingSqlMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteStreamingSqlMethod(), responseObserver); } /** - * - * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -892,17 +688,12 @@ default void executeStreamingSql(
      * are not executed.
      * 
*/ - default void executeBatchDml( - com.google.spanner.v1.ExecuteBatchDmlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExecuteBatchDmlMethod(), responseObserver); + default void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteBatchDmlMethod(), responseObserver); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -918,15 +709,12 @@ default void executeBatchDml(
      * [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
      * 
*/ - default void read( - com.google.spanner.v1.ReadRequest request, + default void read(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadMethod(), responseObserver); } /** - * - * *
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set
      * as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no
@@ -935,16 +723,12 @@ default void read(
      * 10 MiB.
      * 
*/ - default void streamingRead( - com.google.spanner.v1.ReadRequest request, + default void streamingRead(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStreamingReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamingReadMethod(), responseObserver); } /** - * - * *
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read],
@@ -953,16 +737,12 @@ default void streamingRead(
      * side-effect.
      * 
*/ - default void beginTransaction( - com.google.spanner.v1.BeginTransactionRequest request, + default void beginTransaction(com.google.spanner.v1.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBeginTransactionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBeginTransactionMethod(), responseObserver); } /** - * - * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -978,15 +758,12 @@ default void beginTransaction(
      * state of things as they are now.
      * 
*/ - default void commit( - com.google.spanner.v1.CommitRequest request, + default void commit(com.google.spanner.v1.CommitRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); } /** - * - * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -998,15 +775,12 @@ default void commit(
      * found. `Rollback` never returns `ABORTED`.
      * 
*/ - default void rollback( - com.google.spanner.v1.RollbackRequest request, + default void rollback(com.google.spanner.v1.RollbackRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1021,16 +795,12 @@ default void rollback(
      * the whole operation must be restarted from the beginning.
      * 
*/ - default void partitionQuery( - com.google.spanner.v1.PartitionQueryRequest request, + default void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartitionQueryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionQueryMethod(), responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1047,16 +817,12 @@ default void partitionQuery(
      * the whole operation must be restarted from the beginning.
      * 
*/ - default void partitionRead( - com.google.spanner.v1.PartitionReadRequest request, + default void partitionRead(com.google.spanner.v1.PartitionReadRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartitionReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionReadMethod(), responseObserver); } /** - * - * *
      * Batches the supplied mutation groups in a collection of efficient
      * transactions. All mutations in a group are committed atomically. However,
@@ -1074,8 +840,7 @@ default void partitionRead(
      * idempotent to avoid this issue.
      * 
*/ - default void batchWrite( - com.google.spanner.v1.BatchWriteRequest request, + default void batchWrite(com.google.spanner.v1.BatchWriteRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); } @@ -1083,43 +848,42 @@ default void batchWrite( /** * Base class for the server implementation of the service Spanner. - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public abstract static class SpannerImplBase implements io.grpc.BindableService, AsyncService { + public static abstract class SpannerImplBase + implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return SpannerGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Spanner. - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public static final class SpannerStub extends io.grpc.stub.AbstractAsyncStub { - private SpannerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class SpannerStub + extends io.grpc.stub.AbstractAsyncStub { + private SpannerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected SpannerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected SpannerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new SpannerStub(channel, callOptions); } /** - * - * *
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1139,87 +903,63 @@ protected SpannerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOpt
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public void createSession( - com.google.spanner.v1.CreateSessionRequest request, + public void createSession(com.google.spanner.v1.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSessionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public void batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public void getSession( - com.google.spanner.v1.GetSessionRequest request, + public void getSession(com.google.spanner.v1.GetSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetSessionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - public void listSessions( - com.google.spanner.v1.ListSessionsRequest request, + public void listSessions(com.google.spanner.v1.ListSessionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSessionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListSessionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public void deleteSession( - com.google.spanner.v1.DeleteSessionRequest request, + public void deleteSession(com.google.spanner.v1.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1234,16 +974,13 @@ public void deleteSession(
      * instead.
      * 
*/ - public void executeSql( - com.google.spanner.v1.ExecuteSqlRequest request, + public void executeSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteSqlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the
      * result set as a stream. Unlike
@@ -1252,18 +989,13 @@ public void executeSql(
      * result set can exceed 100 MiB, and no column value can exceed 10 MiB.
      * 
*/ - public void executeStreamingSql( - com.google.spanner.v1.ExecuteSqlRequest request, + public void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getExecuteStreamingSqlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExecuteStreamingSqlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1277,19 +1009,13 @@ public void executeStreamingSql(
      * are not executed.
      * 
*/ - public void executeBatchDml( - com.google.spanner.v1.ExecuteBatchDmlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -1305,16 +1031,13 @@ public void executeBatchDml(
      * [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
      * 
*/ - public void read( - com.google.spanner.v1.ReadRequest request, + public void read(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getReadMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set
      * as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no
@@ -1323,18 +1046,13 @@ public void read(
      * 10 MiB.
      * 
*/ - public void streamingRead( - com.google.spanner.v1.ReadRequest request, + public void streamingRead(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getStreamingReadMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getStreamingReadMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read],
@@ -1343,18 +1061,13 @@ public void streamingRead(
      * side-effect.
      * 
*/ - public void beginTransaction( - com.google.spanner.v1.BeginTransactionRequest request, + public void beginTransaction(com.google.spanner.v1.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1370,16 +1083,13 @@ public void beginTransaction(
      * state of things as they are now.
      * 
*/ - public void commit( - com.google.spanner.v1.CommitRequest request, + public void commit(com.google.spanner.v1.CommitRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1391,16 +1101,13 @@ public void commit(
      * found. `Rollback` never returns `ABORTED`.
      * 
*/ - public void rollback( - com.google.spanner.v1.RollbackRequest request, + public void rollback(com.google.spanner.v1.RollbackRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRollbackMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1415,18 +1122,13 @@ public void rollback(
      * the whole operation must be restarted from the beginning.
      * 
*/ - public void partitionQuery( - com.google.spanner.v1.PartitionQueryRequest request, + public void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1443,18 +1145,13 @@ public void partitionQuery(
      * the whole operation must be restarted from the beginning.
      * 
*/ - public void partitionRead( - com.google.spanner.v1.PartitionReadRequest request, + public void partitionRead(com.google.spanner.v1.PartitionReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionReadMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getPartitionReadMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Batches the supplied mutation groups in a collection of efficient
      * transactions. All mutations in a group are committed atomically. However,
@@ -1472,8 +1169,7 @@ public void partitionRead(
      * idempotent to avoid this issue.
      * 
*/ - public void batchWrite( - com.google.spanner.v1.BatchWriteRequest request, + public void batchWrite(com.google.spanner.v1.BatchWriteRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request, responseObserver); @@ -1482,7 +1178,6 @@ public void batchWrite( /** * A stub to allow clients to do synchronous rpc calls to service Spanner. - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -1491,18 +1186,18 @@ public void batchWrite(
    */
   public static final class SpannerBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private SpannerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private SpannerBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected SpannerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected SpannerBlockingStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new SpannerBlockingStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1522,73 +1217,58 @@ protected SpannerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public com.google.spanner.v1.Session createSession( - com.google.spanner.v1.CreateSessionRequest request) { + public com.google.spanner.v1.Session createSession(com.google.spanner.v1.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateSessionMethod(), getCallOptions(), request); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public com.google.spanner.v1.BatchCreateSessionsResponse batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request) { + public com.google.spanner.v1.BatchCreateSessionsResponse batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateSessionsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public com.google.spanner.v1.Session getSession( - com.google.spanner.v1.GetSessionRequest request) { + public com.google.spanner.v1.Session getSession(com.google.spanner.v1.GetSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSessionMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - public com.google.spanner.v1.ListSessionsResponse listSessions( - com.google.spanner.v1.ListSessionsRequest request) { + public com.google.spanner.v1.ListSessionsResponse listSessions(com.google.spanner.v1.ListSessionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSessionsMethod(), getCallOptions(), request); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public com.google.protobuf.Empty deleteSession( - com.google.spanner.v1.DeleteSessionRequest request) { + public com.google.protobuf.Empty deleteSession(com.google.spanner.v1.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSessionMethod(), getCallOptions(), request); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1603,15 +1283,12 @@ public com.google.protobuf.Empty deleteSession(
      * instead.
      * 
*/ - public com.google.spanner.v1.ResultSet executeSql( - com.google.spanner.v1.ExecuteSqlRequest request) { + public com.google.spanner.v1.ResultSet executeSql(com.google.spanner.v1.ExecuteSqlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteSqlMethod(), getCallOptions(), request); } /** - * - * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the
      * result set as a stream. Unlike
@@ -1627,8 +1304,6 @@ public java.util.Iterator executeStreami
     }
 
     /**
-     *
-     *
      * 
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1642,15 +1317,12 @@ public java.util.Iterator executeStreami
      * are not executed.
      * 
*/ - public com.google.spanner.v1.ExecuteBatchDmlResponse executeBatchDml( - com.google.spanner.v1.ExecuteBatchDmlRequest request) { + public com.google.spanner.v1.ExecuteBatchDmlResponse executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteBatchDmlMethod(), getCallOptions(), request); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -1672,8 +1344,6 @@ public com.google.spanner.v1.ResultSet read(com.google.spanner.v1.ReadRequest re
     }
 
     /**
-     *
-     *
      * 
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set
      * as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no
@@ -1689,8 +1359,6 @@ public java.util.Iterator streamingRead(
     }
 
     /**
-     *
-     *
      * 
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read],
@@ -1699,15 +1367,12 @@ public java.util.Iterator streamingRead(
      * side-effect.
      * 
*/ - public com.google.spanner.v1.Transaction beginTransaction( - com.google.spanner.v1.BeginTransactionRequest request) { + public com.google.spanner.v1.Transaction beginTransaction(com.google.spanner.v1.BeginTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBeginTransactionMethod(), getCallOptions(), request); } /** - * - * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1723,15 +1388,12 @@ public com.google.spanner.v1.Transaction beginTransaction(
      * state of things as they are now.
      * 
*/ - public com.google.spanner.v1.CommitResponse commit( - com.google.spanner.v1.CommitRequest request) { + public com.google.spanner.v1.CommitResponse commit(com.google.spanner.v1.CommitRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCommitMethod(), getCallOptions(), request); } /** - * - * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1749,8 +1411,6 @@ public com.google.protobuf.Empty rollback(com.google.spanner.v1.RollbackRequest
     }
 
     /**
-     *
-     *
      * 
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1765,15 +1425,12 @@ public com.google.protobuf.Empty rollback(com.google.spanner.v1.RollbackRequest
      * the whole operation must be restarted from the beginning.
      * 
*/ - public com.google.spanner.v1.PartitionResponse partitionQuery( - com.google.spanner.v1.PartitionQueryRequest request) { + public com.google.spanner.v1.PartitionResponse partitionQuery(com.google.spanner.v1.PartitionQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPartitionQueryMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1790,15 +1447,12 @@ public com.google.spanner.v1.PartitionResponse partitionQuery(
      * the whole operation must be restarted from the beginning.
      * 
*/ - public com.google.spanner.v1.PartitionResponse partitionRead( - com.google.spanner.v1.PartitionReadRequest request) { + public com.google.spanner.v1.PartitionResponse partitionRead(com.google.spanner.v1.PartitionReadRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPartitionReadMethod(), getCallOptions(), request); } /** - * - * *
      * Batches the supplied mutation groups in a collection of efficient
      * transactions. All mutations in a group are committed atomically. However,
@@ -1825,7 +1479,6 @@ public java.util.Iterator batchWrite(
 
   /**
    * A stub to allow clients to do ListenableFuture-style rpc calls to service Spanner.
-   *
    * 
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -1834,18 +1487,18 @@ public java.util.Iterator batchWrite(
    */
   public static final class SpannerFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private SpannerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private SpannerFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected SpannerFutureStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new SpannerFutureStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1865,75 +1518,63 @@ protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createSession(com.google.spanner.v1.CreateSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture createSession( + com.google.spanner.v1.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.v1.BatchCreateSessionsResponse> - batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchCreateSessions( + com.google.spanner.v1.BatchCreateSessionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getSession(com.google.spanner.v1.GetSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture getSession( + com.google.spanner.v1.GetSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSessionMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.v1.ListSessionsResponse> - listSessions(com.google.spanner.v1.ListSessionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listSessions( + com.google.spanner.v1.ListSessionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSessionsMethod(), getCallOptions()), request); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteSession(com.google.spanner.v1.DeleteSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteSession( + com.google.spanner.v1.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1948,15 +1589,13 @@ protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * instead.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - executeSql(com.google.spanner.v1.ExecuteSqlRequest request) { + public com.google.common.util.concurrent.ListenableFuture executeSql( + com.google.spanner.v1.ExecuteSqlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteSqlMethod(), getCallOptions()), request); } /** - * - * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1970,16 +1609,13 @@ protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * are not executed.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.v1.ExecuteBatchDmlResponse> - executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request) { + public com.google.common.util.concurrent.ListenableFuture executeBatchDml( + com.google.spanner.v1.ExecuteBatchDmlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), request); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -2002,8 +1638,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read],
@@ -2012,15 +1646,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        beginTransaction(com.google.spanner.v1.BeginTransactionRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture beginTransaction(
+        com.google.spanner.v1.BeginTransactionRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -2036,15 +1668,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        commit(com.google.spanner.v1.CommitRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture commit(
+        com.google.spanner.v1.CommitRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCommitMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -2063,8 +1693,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -2079,16 +1707,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.spanner.v1.PartitionResponse>
-        partitionQuery(com.google.spanner.v1.PartitionQueryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture partitionQuery(
+        com.google.spanner.v1.PartitionQueryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -2105,9 +1730,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.spanner.v1.PartitionResponse>
-        partitionRead(com.google.spanner.v1.PartitionReadRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture partitionRead(
+        com.google.spanner.v1.PartitionReadRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPartitionReadMethod(), getCallOptions()), request);
     }
@@ -2130,11 +1754,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  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;
 
@@ -2148,92 +1772,68 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_SESSION:
-          serviceImpl.createSession(
-              (com.google.spanner.v1.CreateSessionRequest) request,
+          serviceImpl.createSession((com.google.spanner.v1.CreateSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_CREATE_SESSIONS:
-          serviceImpl.batchCreateSessions(
-              (com.google.spanner.v1.BatchCreateSessionsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.batchCreateSessions((com.google.spanner.v1.BatchCreateSessionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_SESSION:
-          serviceImpl.getSession(
-              (com.google.spanner.v1.GetSessionRequest) request,
+          serviceImpl.getSession((com.google.spanner.v1.GetSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_SESSIONS:
-          serviceImpl.listSessions(
-              (com.google.spanner.v1.ListSessionsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listSessions((com.google.spanner.v1.ListSessionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_SESSION:
-          serviceImpl.deleteSession(
-              (com.google.spanner.v1.DeleteSessionRequest) request,
+          serviceImpl.deleteSession((com.google.spanner.v1.DeleteSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_SQL:
-          serviceImpl.executeSql(
-              (com.google.spanner.v1.ExecuteSqlRequest) request,
+          serviceImpl.executeSql((com.google.spanner.v1.ExecuteSqlRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_STREAMING_SQL:
-          serviceImpl.executeStreamingSql(
-              (com.google.spanner.v1.ExecuteSqlRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.executeStreamingSql((com.google.spanner.v1.ExecuteSqlRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_BATCH_DML:
-          serviceImpl.executeBatchDml(
-              (com.google.spanner.v1.ExecuteBatchDmlRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.executeBatchDml((com.google.spanner.v1.ExecuteBatchDmlRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_READ:
-          serviceImpl.read(
-              (com.google.spanner.v1.ReadRequest) request,
+          serviceImpl.read((com.google.spanner.v1.ReadRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_STREAMING_READ:
-          serviceImpl.streamingRead(
-              (com.google.spanner.v1.ReadRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.streamingRead((com.google.spanner.v1.ReadRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BEGIN_TRANSACTION:
-          serviceImpl.beginTransaction(
-              (com.google.spanner.v1.BeginTransactionRequest) request,
+          serviceImpl.beginTransaction((com.google.spanner.v1.BeginTransactionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_COMMIT:
-          serviceImpl.commit(
-              (com.google.spanner.v1.CommitRequest) request,
+          serviceImpl.commit((com.google.spanner.v1.CommitRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_ROLLBACK:
-          serviceImpl.rollback(
-              (com.google.spanner.v1.RollbackRequest) request,
+          serviceImpl.rollback((com.google.spanner.v1.RollbackRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PARTITION_QUERY:
-          serviceImpl.partitionQuery(
-              (com.google.spanner.v1.PartitionQueryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.partitionQuery((com.google.spanner.v1.PartitionQueryRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PARTITION_READ:
-          serviceImpl.partitionRead(
-              (com.google.spanner.v1.PartitionReadRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.partitionRead((com.google.spanner.v1.PartitionReadRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_WRITE:
-          serviceImpl.batchWrite(
-              (com.google.spanner.v1.BatchWriteRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.batchWrite((com.google.spanner.v1.BatchWriteRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -2254,110 +1854,122 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-            getCreateSessionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>(
-                    service, METHODID_CREATE_SESSION)))
+          getCreateSessionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.CreateSessionRequest,
+              com.google.spanner.v1.Session>(
+                service, METHODID_CREATE_SESSION)))
         .addMethod(
-            getBatchCreateSessionsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.BatchCreateSessionsRequest,
-                    com.google.spanner.v1.BatchCreateSessionsResponse>(
-                    service, METHODID_BATCH_CREATE_SESSIONS)))
+          getBatchCreateSessionsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.BatchCreateSessionsRequest,
+              com.google.spanner.v1.BatchCreateSessionsResponse>(
+                service, METHODID_BATCH_CREATE_SESSIONS)))
         .addMethod(
-            getGetSessionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>(
-                    service, METHODID_GET_SESSION)))
+          getGetSessionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.GetSessionRequest,
+              com.google.spanner.v1.Session>(
+                service, METHODID_GET_SESSION)))
         .addMethod(
-            getListSessionsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ListSessionsRequest,
-                    com.google.spanner.v1.ListSessionsResponse>(service, METHODID_LIST_SESSIONS)))
+          getListSessionsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ListSessionsRequest,
+              com.google.spanner.v1.ListSessionsResponse>(
+                service, METHODID_LIST_SESSIONS)))
         .addMethod(
-            getDeleteSessionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>(
-                    service, METHODID_DELETE_SESSION)))
+          getDeleteSessionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.DeleteSessionRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_DELETE_SESSION)))
         .addMethod(
-            getExecuteSqlMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>(
-                    service, METHODID_EXECUTE_SQL)))
+          getExecuteSqlMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ExecuteSqlRequest,
+              com.google.spanner.v1.ResultSet>(
+                service, METHODID_EXECUTE_SQL)))
         .addMethod(
-            getExecuteStreamingSqlMethod(),
-            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ExecuteSqlRequest,
-                    com.google.spanner.v1.PartialResultSet>(
-                    service, METHODID_EXECUTE_STREAMING_SQL)))
+          getExecuteStreamingSqlMethod(),
+          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ExecuteSqlRequest,
+              com.google.spanner.v1.PartialResultSet>(
+                service, METHODID_EXECUTE_STREAMING_SQL)))
         .addMethod(
-            getExecuteBatchDmlMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ExecuteBatchDmlRequest,
-                    com.google.spanner.v1.ExecuteBatchDmlResponse>(
-                    service, METHODID_EXECUTE_BATCH_DML)))
+          getExecuteBatchDmlMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ExecuteBatchDmlRequest,
+              com.google.spanner.v1.ExecuteBatchDmlResponse>(
+                service, METHODID_EXECUTE_BATCH_DML)))
         .addMethod(
-            getReadMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>(
-                    service, METHODID_READ)))
+          getReadMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ReadRequest,
+              com.google.spanner.v1.ResultSet>(
+                service, METHODID_READ)))
         .addMethod(
-            getStreamingReadMethod(),
-            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>(
-                    service, METHODID_STREAMING_READ)))
+          getStreamingReadMethod(),
+          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ReadRequest,
+              com.google.spanner.v1.PartialResultSet>(
+                service, METHODID_STREAMING_READ)))
         .addMethod(
-            getBeginTransactionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.BeginTransactionRequest,
-                    com.google.spanner.v1.Transaction>(service, METHODID_BEGIN_TRANSACTION)))
+          getBeginTransactionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.BeginTransactionRequest,
+              com.google.spanner.v1.Transaction>(
+                service, METHODID_BEGIN_TRANSACTION)))
         .addMethod(
-            getCommitMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>(
-                    service, METHODID_COMMIT)))
+          getCommitMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.CommitRequest,
+              com.google.spanner.v1.CommitResponse>(
+                service, METHODID_COMMIT)))
         .addMethod(
-            getRollbackMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>(
-                    service, METHODID_ROLLBACK)))
+          getRollbackMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.RollbackRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_ROLLBACK)))
         .addMethod(
-            getPartitionQueryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.PartitionQueryRequest,
-                    com.google.spanner.v1.PartitionResponse>(service, METHODID_PARTITION_QUERY)))
+          getPartitionQueryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.PartitionQueryRequest,
+              com.google.spanner.v1.PartitionResponse>(
+                service, METHODID_PARTITION_QUERY)))
         .addMethod(
-            getPartitionReadMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.PartitionReadRequest,
-                    com.google.spanner.v1.PartitionResponse>(service, METHODID_PARTITION_READ)))
+          getPartitionReadMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.PartitionReadRequest,
+              com.google.spanner.v1.PartitionResponse>(
+                service, METHODID_PARTITION_READ)))
         .addMethod(
-            getBatchWriteMethod(),
-            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.BatchWriteRequest,
-                    com.google.spanner.v1.BatchWriteResponse>(service, METHODID_BATCH_WRITE)))
+          getBatchWriteMethod(),
+          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+            new MethodHandlers<
+              com.google.spanner.v1.BatchWriteRequest,
+              com.google.spanner.v1.BatchWriteResponse>(
+                service, METHODID_BATCH_WRITE)))
         .build();
   }
 
-  private abstract static class SpannerBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class SpannerBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     SpannerBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2371,11 +1983,13 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor()
     }
   }
 
-  private static final class SpannerFileDescriptorSupplier extends SpannerBaseDescriptorSupplier {
+  private static final class SpannerFileDescriptorSupplier
+      extends SpannerBaseDescriptorSupplier {
     SpannerFileDescriptorSupplier() {}
   }
 
-  private static final class SpannerMethodDescriptorSupplier extends SpannerBaseDescriptorSupplier
+  private static final class SpannerMethodDescriptorSupplier
+      extends SpannerBaseDescriptorSupplier
       implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
     private final java.lang.String methodName;
 
@@ -2397,27 +2011,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (SpannerGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new SpannerFileDescriptorSupplier())
-                      .addMethod(getCreateSessionMethod())
-                      .addMethod(getBatchCreateSessionsMethod())
-                      .addMethod(getGetSessionMethod())
-                      .addMethod(getListSessionsMethod())
-                      .addMethod(getDeleteSessionMethod())
-                      .addMethod(getExecuteSqlMethod())
-                      .addMethod(getExecuteStreamingSqlMethod())
-                      .addMethod(getExecuteBatchDmlMethod())
-                      .addMethod(getReadMethod())
-                      .addMethod(getStreamingReadMethod())
-                      .addMethod(getBeginTransactionMethod())
-                      .addMethod(getCommitMethod())
-                      .addMethod(getRollbackMethod())
-                      .addMethod(getPartitionQueryMethod())
-                      .addMethod(getPartitionReadMethod())
-                      .addMethod(getBatchWriteMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new SpannerFileDescriptorSupplier())
+              .addMethod(getCreateSessionMethod())
+              .addMethod(getBatchCreateSessionsMethod())
+              .addMethod(getGetSessionMethod())
+              .addMethod(getListSessionsMethod())
+              .addMethod(getDeleteSessionMethod())
+              .addMethod(getExecuteSqlMethod())
+              .addMethod(getExecuteStreamingSqlMethod())
+              .addMethod(getExecuteBatchDmlMethod())
+              .addMethod(getReadMethod())
+              .addMethod(getStreamingReadMethod())
+              .addMethod(getBeginTransactionMethod())
+              .addMethod(getCommitMethod())
+              .addMethod(getRollbackMethod())
+              .addMethod(getPartitionQueryMethod())
+              .addMethod(getPartitionReadMethod())
+              .addMethod(getBatchWriteMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
similarity index 73%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
index 2e53c120215..a4e3861e849 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
@@ -20,67 +5,62 @@
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * A backup of a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.Backup} */ -public final class Backup extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Backup extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.Backup) BackupOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Backup() { database_ = ""; name_ = ""; state_ = 0; - referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + referencingDatabases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); databaseDialect_ = 0; - referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); + referencingBackups_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Backup.class, - com.google.spanner.admin.database.v1.Backup.Builder.class); + com.google.spanner.admin.database.v1.Backup.class, com.google.spanner.admin.database.v1.Backup.Builder.class); } /** - * - * *
    * Indicates the current state of the backup.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -89,8 +69,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The pending backup is still being created. Operations on the
      * backup may fail with `FAILED_PRECONDITION` in this state.
@@ -100,8 +78,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -113,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not specified.
      * 
@@ -123,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The pending backup is still being created. Operations on the
      * backup may fail with `FAILED_PRECONDITION` in this state.
@@ -134,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -144,6 +114,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,49 +139,49 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return READY; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return READY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.spanner.admin.database.v1.Backup.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -229,12 +200,9 @@ private State(int value) { private int bitField0_; public static final int DATABASE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -244,7 +212,6 @@ private State(int value) {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -253,15 +220,14 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -271,15 +237,16 @@ public java.lang.String getDatabase() {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -290,8 +257,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int VERSION_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp versionTime_; /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -300,7 +265,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -308,8 +272,6 @@ public boolean hasVersionTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -318,7 +280,6 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return The versionTime. */ @java.lang.Override @@ -326,8 +287,6 @@ public com.google.protobuf.Timestamp getVersionTime() { return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -345,8 +304,6 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
   public static final int EXPIRE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp expireTime_;
   /**
-   *
-   *
    * 
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -357,7 +314,6 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -365,8 +321,6 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -377,7 +331,6 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return The expireTime. */ @java.lang.Override @@ -385,8 +338,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -404,12 +355,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -427,7 +375,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -436,15 +383,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -462,15 +408,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -481,17 +428,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -499,17 +442,13 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -517,16 +456,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -536,14 +472,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 5; private long sizeBytes_ = 0L; /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -554,50 +487,34 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.Backup.State getState() { - com.google.spanner.admin.database.v1.Backup.State result = - com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); + @java.lang.Override public com.google.spanner.admin.database.v1.Backup.State getState() { + com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; } public static final int REFERENCING_DATABASES_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -608,18 +525,14 @@ public com.google.spanner.admin.database.v1.Backup.State getState() {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList + getReferencingDatabasesList() { return referencingDatabases_; } /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -630,18 +543,13 @@ public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -652,10 +560,7 @@ public int getReferencingDatabasesCount() {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -663,8 +568,6 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -675,30 +578,23 @@ public java.lang.String getReferencingDatabases(int index) {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; private com.google.spanner.admin.database.v1.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -706,91 +602,60 @@ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int databaseDialect_ = 0; /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } public static final int REFERENCING_BACKUPS_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -801,18 +666,14 @@ public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect()
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList + getReferencingBackupsList() { return referencingBackups_; } /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -823,18 +684,13 @@ public com.google.protobuf.ProtocolStringList getReferencingBackupsList() {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -845,10 +701,7 @@ public int getReferencingBackupsCount() {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -856,8 +709,6 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -868,22 +719,18 @@ public java.lang.String getReferencingBackups(int index) {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString + getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } public static final int MAX_EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp maxExpireTime_; /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -892,10 +739,7 @@ public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) {
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the maxExpireTime field is set. */ @java.lang.Override @@ -903,8 +747,6 @@ public boolean hasMaxExpireTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -913,21 +755,14 @@ public boolean hasMaxExpireTime() {
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The maxExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMaxExpireTime() { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -936,19 +771,14 @@ public com.google.protobuf.Timestamp getMaxExpireTime() {
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -960,7 +790,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -980,8 +811,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeEnum(6, state_); } for (int i = 0; i < referencingDatabases_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 7, referencingDatabases_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, referencingDatabases_.getRaw(i)); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(8, getEncryptionInfo()); @@ -989,9 +819,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getVersionTime()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { output.writeEnum(10, databaseDialect_); } for (int i = 0; i < referencingBackups_.size(); i++) { @@ -1016,16 +844,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpireTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, sizeBytes_); } if (state_ != com.google.spanner.admin.database.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } { int dataSize = 0; @@ -1036,15 +868,16 @@ public int getSerializedSize() { size += 1 * getReferencingDatabasesList().size(); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEncryptionInfo()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getVersionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getVersionTime()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, databaseDialect_); + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, databaseDialect_); } { int dataSize = 0; @@ -1055,7 +888,8 @@ public int getSerializedSize() { size += 1 * getReferencingBackupsList().size(); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getMaxExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getMaxExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1065,40 +899,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.Backup)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.Backup other = - (com.google.spanner.admin.database.v1.Backup) obj; + com.google.spanner.admin.database.v1.Backup other = (com.google.spanner.admin.database.v1.Backup) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (hasVersionTime() != other.hasVersionTime()) return false; if (hasVersionTime()) { - if (!getVersionTime().equals(other.getVersionTime())) return false; + if (!getVersionTime() + .equals(other.getVersionTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (getSizeBytes() != other.getSizeBytes()) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (state_ != other.state_) return false; - if (!getReferencingDatabasesList().equals(other.getReferencingDatabasesList())) return false; + if (!getReferencingDatabasesList() + .equals(other.getReferencingDatabasesList())) return false; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (databaseDialect_ != other.databaseDialect_) return false; - if (!getReferencingBackupsList().equals(other.getReferencingBackupsList())) return false; + if (!getReferencingBackupsList() + .equals(other.getReferencingBackupsList())) return false; if (hasMaxExpireTime() != other.hasMaxExpireTime()) return false; if (hasMaxExpireTime()) { - if (!getMaxExpireTime().equals(other.getMaxExpireTime())) return false; + if (!getMaxExpireTime() + .equals(other.getMaxExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1128,7 +971,8 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; if (getReferencingDatabasesCount() > 0) { @@ -1154,127 +998,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Backup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Backup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Backup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Backup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Backup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.Backup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Backup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.Backup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.Backup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Backup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.Backup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.Backup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A backup of a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.Backup} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.Backup) com.google.spanner.admin.database.v1.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Backup.class, - com.google.spanner.admin.database.v1.Backup.Builder.class); + com.google.spanner.admin.database.v1.Backup.class, com.google.spanner.admin.database.v1.Backup.Builder.class); } // Construct using com.google.spanner.admin.database.v1.Backup.newBuilder() @@ -1282,13 +1119,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getVersionTimeFieldBuilder(); getExpireTimeFieldBuilder(); getCreateTimeFieldBuilder(); @@ -1296,7 +1134,6 @@ private void maybeForceBuilderInitialization() { getMaxExpireTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1320,14 +1157,16 @@ public Builder clear() { } sizeBytes_ = 0L; state_ = 0; - referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); + referencingDatabases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); encryptionInfo_ = null; if (encryptionInfoBuilder_ != null) { encryptionInfoBuilder_.dispose(); encryptionInfoBuilder_ = null; } databaseDialect_ = 0; - referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); + referencingBackups_ = + com.google.protobuf.LazyStringArrayList.emptyList(); maxExpireTime_ = null; if (maxExpireTimeBuilder_ != null) { maxExpireTimeBuilder_.dispose(); @@ -1337,9 +1176,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override @@ -1358,11 +1197,8 @@ public com.google.spanner.admin.database.v1.Backup build() { @java.lang.Override public com.google.spanner.admin.database.v1.Backup buildPartial() { - com.google.spanner.admin.database.v1.Backup result = - new com.google.spanner.admin.database.v1.Backup(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.Backup result = new com.google.spanner.admin.database.v1.Backup(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1374,19 +1210,24 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionTime_ = - versionTimeBuilder_ == null ? versionTime_ : versionTimeBuilder_.build(); + result.versionTime_ = versionTimeBuilder_ == null + ? versionTime_ + : versionTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { @@ -1400,8 +1241,9 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { result.referencingDatabases_ = referencingDatabases_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000200) != 0)) { @@ -1412,8 +1254,9 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { result.referencingBackups_ = referencingBackups_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.maxExpireTime_ = - maxExpireTimeBuilder_ == null ? maxExpireTime_ : maxExpireTimeBuilder_.build(); + result.maxExpireTime_ = maxExpireTimeBuilder_ == null + ? maxExpireTime_ + : maxExpireTimeBuilder_.build(); to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; @@ -1423,39 +1266,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.Backup) { - return mergeFrom((com.google.spanner.admin.database.v1.Backup) other); + return mergeFrom((com.google.spanner.admin.database.v1.Backup)other); } else { super.mergeFrom(other); return this; @@ -1544,87 +1386,84 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 48: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureReferencingDatabasesIsMutable(); - referencingDatabases_.add(s); - break; - } // case 58 - case 66: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 66 - case 74: - { - input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 74 - case 80: - { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureReferencingBackupsIsMutable(); - referencingBackups_.add(s); - break; - } // case 90 - case 98: - { - input.readMessage(getMaxExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 18: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 48: { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureReferencingDatabasesIsMutable(); + referencingDatabases_.add(s); + break; + } // case 58 + case 66: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 74: { + input.readMessage( + getVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 80: { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + ensureReferencingBackupsIsMutable(); + referencingBackups_.add(s); + break; + } // case 90 + case 98: { + input.readMessage( + getMaxExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + 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) { @@ -1634,13 +1473,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1650,13 +1486,13 @@ public Builder mergeFrom(
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1665,8 +1501,6 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1676,14 +1510,15 @@ public java.lang.String getDatabase() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -1691,8 +1526,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1702,22 +1535,18 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1727,7 +1556,6 @@ public Builder setDatabase(java.lang.String value) {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -1737,8 +1565,6 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1748,14 +1574,12 @@ public Builder clearDatabase() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1765,13 +1589,8 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp versionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - versionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> versionTimeBuilder_; /** - * - * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1780,15 +1599,12 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1797,21 +1613,16 @@ public boolean hasVersionTime() {
      * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return The versionTime. */ public com.google.protobuf.Timestamp getVersionTime() { if (versionTimeBuilder_ == null) { - return versionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : versionTime_; + return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } else { return versionTimeBuilder_.getMessage(); } } /** - * - * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1835,8 +1646,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1846,7 +1655,8 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp version_time = 9;
      */
-    public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setVersionTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (versionTimeBuilder_ == null) {
         versionTime_ = builderForValue.build();
       } else {
@@ -1857,8 +1667,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1870,9 +1678,9 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
      */
     public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && versionTime_ != null
-            && versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          versionTime_ != null &&
+          versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getVersionTimeBuilder().mergeFrom(value);
         } else {
           versionTime_ = value;
@@ -1887,8 +1695,6 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1909,8 +1715,6 @@ public Builder clearVersionTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1926,8 +1730,6 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1941,14 +1743,11 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
       if (versionTimeBuilder_ != null) {
         return versionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return versionTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : versionTime_;
+        return versionTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1959,17 +1758,14 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * .google.protobuf.Timestamp version_time = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getVersionTimeFieldBuilder() {
       if (versionTimeBuilder_ == null) {
-        versionTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getVersionTime(), getParentForChildren(), isClean());
+        versionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getVersionTime(),
+                getParentForChildren(),
+                isClean());
         versionTime_ = null;
       }
       return versionTimeBuilder_;
@@ -1977,13 +1773,8 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp expireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        expireTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_;
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1994,15 +1785,12 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2013,21 +1801,16 @@ public boolean hasExpireTime() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2053,8 +1836,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2066,7 +1847,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 3;
      */
-    public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (expireTimeBuilder_ == null) {
         expireTime_ = builderForValue.build();
       } else {
@@ -2077,8 +1859,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2092,9 +1872,9 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && expireTime_ != null
-            && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          expireTime_ != null &&
+          expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getExpireTimeBuilder().mergeFrom(value);
         } else {
           expireTime_ = value;
@@ -2109,8 +1889,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2133,8 +1911,6 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2152,8 +1928,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2169,14 +1943,11 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
       if (expireTimeBuilder_ != null) {
         return expireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return expireTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : expireTime_;
+        return expireTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2189,17 +1960,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getExpireTimeFieldBuilder() {
       if (expireTimeBuilder_ == null) {
-        expireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getExpireTime(), getParentForChildren(), isClean());
+        expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getExpireTime(),
+                getParentForChildren(),
+                isClean());
         expireTime_ = null;
       }
       return expireTimeBuilder_;
@@ -2207,8 +1975,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2226,13 +1992,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2241,8 +2007,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2260,14 +2024,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2275,8 +2040,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2294,22 +2057,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2327,7 +2086,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2337,8 +2095,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2356,14 +2112,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000008; @@ -2373,64 +2127,45 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2446,19 +2181,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2469,23 +2201,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2500,17 +2228,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2523,17 +2247,13 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -2541,67 +2261,52 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2609,14 +2314,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -2628,14 +2330,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -2647,33 +2346,22 @@ public Builder clearSizeBytes() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2684,37 +2372,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup.State getState() { - com.google.spanner.admin.database.v1.Backup.State result = - com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); + return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2728,16 +2403,11 @@ public Builder setState(com.google.spanner.admin.database.v1.Backup.State value) return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2749,7 +2419,6 @@ public Builder clearState() { private com.google.protobuf.LazyStringArrayList referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureReferencingDatabasesIsMutable() { if (!referencingDatabases_.isModifiable()) { referencingDatabases_ = new com.google.protobuf.LazyStringArrayList(referencingDatabases_); @@ -2757,8 +2426,6 @@ private void ensureReferencingDatabasesIsMutable() { bitField0_ |= 0x00000080; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2769,19 +2436,15 @@ private void ensureReferencingDatabasesIsMutable() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList + getReferencingDatabasesList() { referencingDatabases_.makeImmutable(); return referencingDatabases_; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2792,18 +2455,13 @@ public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2814,10 +2472,7 @@ public int getReferencingDatabasesCount() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -2825,8 +2480,6 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2837,19 +2490,15 @@ public java.lang.String getReferencingDatabases(int index) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2860,18 +2509,14 @@ public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The referencingDatabases to set. * @return This builder for chaining. */ - public Builder setReferencingDatabases(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferencingDatabases( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingDatabasesIsMutable(); referencingDatabases_.set(index, value); bitField0_ |= 0x00000080; @@ -2879,8 +2524,6 @@ public Builder setReferencingDatabases(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2891,17 +2534,13 @@ public Builder setReferencingDatabases(int index, java.lang.String value) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabases(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingDatabases( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); bitField0_ |= 0x00000080; @@ -2909,8 +2548,6 @@ public Builder addReferencingDatabases(java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2921,23 +2558,20 @@ public Builder addReferencingDatabases(java.lang.String value) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param values The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addAllReferencingDatabases(java.lang.Iterable values) { + public Builder addAllReferencingDatabases( + java.lang.Iterable values) { ensureReferencingDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingDatabases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, referencingDatabases_); bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2948,22 +2582,17 @@ public Builder addAllReferencingDatabases(java.lang.Iterable v
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearReferencingDatabases() { - referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080); - ; + referencingDatabases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2974,17 +2603,13 @@ public Builder clearReferencingDatabases() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes of the referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingDatabasesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); @@ -2995,58 +2620,39 @@ public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value private com.google.spanner.admin.database.v1.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -3062,15 +2668,11 @@ public Builder setEncryptionInfo(com.google.spanner.admin.database.v1.Encryption return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -3084,22 +2686,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -3114,15 +2711,11 @@ public Builder mergeEncryptionInfo(com.google.spanner.admin.database.v1.Encrypti return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3135,15 +2728,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000100; @@ -3151,49 +2740,36 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder - getEncryptionInfoOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -3201,33 +2777,22 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption private int databaseDialect_ = 0; /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -3238,37 +2803,24 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -3282,16 +2834,11 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -3303,7 +2850,6 @@ public Builder clearDatabaseDialect() { private com.google.protobuf.LazyStringArrayList referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureReferencingBackupsIsMutable() { if (!referencingBackups_.isModifiable()) { referencingBackups_ = new com.google.protobuf.LazyStringArrayList(referencingBackups_); @@ -3311,8 +2857,6 @@ private void ensureReferencingBackupsIsMutable() { bitField0_ |= 0x00000400; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3323,19 +2867,15 @@ private void ensureReferencingBackupsIsMutable() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList + getReferencingBackupsList() { referencingBackups_.makeImmutable(); return referencingBackups_; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3346,18 +2886,13 @@ public com.google.protobuf.ProtocolStringList getReferencingBackupsList() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3368,10 +2903,7 @@ public int getReferencingBackupsCount() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -3379,8 +2911,6 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3391,19 +2921,15 @@ public java.lang.String getReferencingBackups(int index) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString + getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3414,18 +2940,14 @@ public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The referencingBackups to set. * @return This builder for chaining. */ - public Builder setReferencingBackups(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferencingBackups( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingBackupsIsMutable(); referencingBackups_.set(index, value); bitField0_ |= 0x00000400; @@ -3433,8 +2955,6 @@ public Builder setReferencingBackups(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3445,17 +2965,13 @@ public Builder setReferencingBackups(int index, java.lang.String value) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackups(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingBackups( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); bitField0_ |= 0x00000400; @@ -3463,8 +2979,6 @@ public Builder addReferencingBackups(java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3475,23 +2989,20 @@ public Builder addReferencingBackups(java.lang.String value) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param values The referencingBackups to add. * @return This builder for chaining. */ - public Builder addAllReferencingBackups(java.lang.Iterable values) { + public Builder addAllReferencingBackups( + java.lang.Iterable values) { ensureReferencingBackupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingBackups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, referencingBackups_); bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3502,22 +3013,17 @@ public Builder addAllReferencingBackups(java.lang.Iterable val
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearReferencingBackups() { - referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); - ; + referencingBackups_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400);; onChanged(); return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3528,17 +3034,13 @@ public Builder clearReferencingBackups() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes of the referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingBackupsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); @@ -3549,13 +3051,8 @@ public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) private com.google.protobuf.Timestamp maxExpireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - maxExpireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> maxExpireTimeBuilder_; /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3564,18 +3061,13 @@ public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value)
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the maxExpireTime field is set. */ public boolean hasMaxExpireTime() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3584,24 +3076,17 @@ public boolean hasMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The maxExpireTime. */ public com.google.protobuf.Timestamp getMaxExpireTime() { if (maxExpireTimeBuilder_ == null) { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } else { return maxExpireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3610,9 +3095,7 @@ public com.google.protobuf.Timestamp getMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) { if (maxExpireTimeBuilder_ == null) { @@ -3628,8 +3111,6 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3638,11 +3119,10 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMaxExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMaxExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (maxExpireTimeBuilder_ == null) { maxExpireTime_ = builderForValue.build(); } else { @@ -3653,8 +3133,6 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3663,15 +3141,13 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp.Builder builderFor
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) { if (maxExpireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && maxExpireTime_ != null - && maxExpireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + maxExpireTime_ != null && + maxExpireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMaxExpireTimeBuilder().mergeFrom(value); } else { maxExpireTime_ = value; @@ -3686,8 +3162,6 @@ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3696,9 +3170,7 @@ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMaxExpireTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3711,8 +3183,6 @@ public Builder clearMaxExpireTime() { return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3721,9 +3191,7 @@ public Builder clearMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() { bitField0_ |= 0x00000800; @@ -3731,8 +3199,6 @@ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() { return getMaxExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3741,22 +3207,17 @@ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { if (maxExpireTimeBuilder_ != null) { return maxExpireTimeBuilder_.getMessageOrBuilder(); } else { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3765,29 +3226,24 @@ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getMaxExpireTimeFieldBuilder() { if (maxExpireTimeBuilder_ == null) { - maxExpireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getMaxExpireTime(), getParentForChildren(), isClean()); + maxExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMaxExpireTime(), + getParentForChildren(), + isClean()); maxExpireTime_ = null; } return maxExpireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3797,12 +3253,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.Backup) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.Backup) private static final com.google.spanner.admin.database.v1.Backup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.Backup(); } @@ -3811,27 +3267,27 @@ public static com.google.spanner.admin.database.v1.Backup getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Backup 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Backup 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; @@ -3846,4 +3302,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java index d8c35b5b084..5fe6e26bd30 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Information about a backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.BackupInfo} */ -public final class BackupInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BackupInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.BackupInfo) BackupInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BackupInfo.newBuilder() to construct. private BackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BackupInfo() { backup_ = ""; sourceDatabase_ = ""; @@ -45,39 +27,34 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.BackupInfo.class, - com.google.spanner.admin.database.v1.BackupInfo.Builder.class); + com.google.spanner.admin.database.v1.BackupInfo.class, com.google.spanner.admin.database.v1.BackupInfo.Builder.class); } private int bitField0_; public static final int BACKUP_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backup_ = ""; /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; } } /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = backup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backup_ = b; return b; } else { @@ -119,8 +96,6 @@ public com.google.protobuf.ByteString getBackupBytes() { public static final int VERSION_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp versionTime_; /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -130,7 +105,6 @@ public com.google.protobuf.ByteString getBackupBytes() {
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -138,8 +112,6 @@ public boolean hasVersionTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -149,7 +121,6 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return The versionTime. */ @java.lang.Override @@ -157,8 +128,6 @@ public com.google.protobuf.Timestamp getVersionTime() { return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -177,15 +146,12 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -193,15 +159,12 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -209,8 +172,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
@@ -224,18 +185,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   }
 
   public static final int SOURCE_DATABASE_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sourceDatabase_ = "";
   /**
-   *
-   *
    * 
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The sourceDatabase. */ @java.lang.Override @@ -244,29 +201,29 @@ public java.lang.String getSourceDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceDatabase_ = s; return s; } } /** - * - * *
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceDatabaseBytes() { + public com.google.protobuf.ByteString + getSourceDatabaseBytes() { java.lang.Object ref = sourceDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceDatabase_ = b; return b; } else { @@ -275,7 +232,6 @@ public com.google.protobuf.ByteString getSourceDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +243,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backup_); } @@ -313,13 +270,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, backup_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceDatabase_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceDatabase_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getVersionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getVersionTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -329,24 +288,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.BackupInfo)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.BackupInfo other = - (com.google.spanner.admin.database.v1.BackupInfo) obj; + com.google.spanner.admin.database.v1.BackupInfo other = (com.google.spanner.admin.database.v1.BackupInfo) obj; - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; if (hasVersionTime() != other.hasVersionTime()) return false; if (hasVersionTime()) { - if (!getVersionTime().equals(other.getVersionTime())) return false; + if (!getVersionTime() + .equals(other.getVersionTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (!getSourceDatabase().equals(other.getSourceDatabase())) return false; + if (!getSourceDatabase() + .equals(other.getSourceDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -375,127 +337,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.BackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.BackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.BackupInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.BackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a backup.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.BackupInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.BackupInfo) com.google.spanner.admin.database.v1.BackupInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.BackupInfo.class, - com.google.spanner.admin.database.v1.BackupInfo.Builder.class); + com.google.spanner.admin.database.v1.BackupInfo.class, com.google.spanner.admin.database.v1.BackupInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.BackupInfo.newBuilder() @@ -503,18 +458,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getVersionTimeFieldBuilder(); getCreateTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -535,9 +490,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override @@ -556,11 +511,8 @@ public com.google.spanner.admin.database.v1.BackupInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo buildPartial() { - com.google.spanner.admin.database.v1.BackupInfo result = - new com.google.spanner.admin.database.v1.BackupInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.BackupInfo result = new com.google.spanner.admin.database.v1.BackupInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -572,12 +524,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.BackupInfo resul } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionTime_ = - versionTimeBuilder_ == null ? versionTime_ : versionTimeBuilder_.build(); + result.versionTime_ = versionTimeBuilder_ == null + ? versionTime_ + : versionTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -590,39 +545,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.BackupInfo resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.BackupInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.BackupInfo) other); + return mergeFrom((com.google.spanner.admin.database.v1.BackupInfo)other); } else { super.mergeFrom(other); return this; @@ -630,8 +584,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.BackupInfo other) { - if (other == com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) return this; if (!other.getBackup().isEmpty()) { backup_ = other.backup_; bitField0_ |= 0x00000001; @@ -674,37 +627,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - sourceDatabase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + backup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + sourceDatabase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + input.readMessage( + getVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + 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) { @@ -714,25 +666,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backup_ = ""; /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ public java.lang.String getBackup() { java.lang.Object ref = backup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; @@ -741,21 +690,20 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = backup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backup_ = b; return b; } else { @@ -763,35 +711,28 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backup_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -801,21 +742,17 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backup_ = value; bitField0_ |= 0x00000001; @@ -825,13 +762,8 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp versionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - versionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> versionTimeBuilder_; /** - * - * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -841,15 +773,12 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -859,21 +788,16 @@ public boolean hasVersionTime() {
      * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return The versionTime. */ public com.google.protobuf.Timestamp getVersionTime() { if (versionTimeBuilder_ == null) { - return versionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : versionTime_; + return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } else { return versionTimeBuilder_.getMessage(); } } /** - * - * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -898,8 +822,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -910,7 +832,8 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp version_time = 4;
      */
-    public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setVersionTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (versionTimeBuilder_ == null) {
         versionTime_ = builderForValue.build();
       } else {
@@ -921,8 +844,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -935,9 +856,9 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
      */
     public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && versionTime_ != null
-            && versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          versionTime_ != null &&
+          versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getVersionTimeBuilder().mergeFrom(value);
         } else {
           versionTime_ = value;
@@ -952,8 +873,6 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -975,8 +894,6 @@ public Builder clearVersionTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -993,8 +910,6 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -1009,14 +924,11 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
       if (versionTimeBuilder_ != null) {
         return versionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return versionTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : versionTime_;
+        return versionTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -1028,17 +940,14 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * .google.protobuf.Timestamp version_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getVersionTimeFieldBuilder() {
       if (versionTimeBuilder_ == null) {
-        versionTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getVersionTime(), getParentForChildren(), isClean());
+        versionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getVersionTime(),
+                getParentForChildren(),
+                isClean());
         versionTime_ = null;
       }
       return versionTimeBuilder_;
@@ -1046,49 +955,36 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1110,8 +1006,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1119,7 +1013,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 2;
      */
-    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
       } else {
@@ -1130,8 +1025,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1141,9 +1034,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && createTime_ != null
-            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          createTime_ != null &&
+          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -1158,8 +1051,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1178,8 +1069,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1193,8 +1082,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1206,14 +1093,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : createTime_;
+        return createTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1222,17 +1106,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCreateTimeFieldBuilder() {
       if (createTimeBuilder_ == null) {
-        createTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCreateTime(), getParentForChildren(), isClean());
+        createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCreateTime(),
+                getParentForChildren(),
+                isClean());
         createTime_ = null;
       }
       return createTimeBuilder_;
@@ -1240,20 +1121,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private java.lang.Object sourceDatabase_ = "";
     /**
-     *
-     *
      * 
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The sourceDatabase. */ public java.lang.String getSourceDatabase() { java.lang.Object ref = sourceDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceDatabase_ = s; return s; @@ -1262,21 +1141,20 @@ public java.lang.String getSourceDatabase() { } } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceDatabase. */ - public com.google.protobuf.ByteString getSourceDatabaseBytes() { + public com.google.protobuf.ByteString + getSourceDatabaseBytes() { java.lang.Object ref = sourceDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceDatabase_ = b; return b; } else { @@ -1284,35 +1162,28 @@ public com.google.protobuf.ByteString getSourceDatabaseBytes() { } } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @param value The sourceDatabase to set. * @return This builder for chaining. */ - public Builder setSourceDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceDatabase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearSourceDatabase() { @@ -1322,30 +1193,26 @@ public Builder clearSourceDatabase() { return this; } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for sourceDatabase to set. * @return This builder for chaining. */ - public Builder setSourceDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceDatabase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1355,12 +1222,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.BackupInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.BackupInfo) private static final com.google.spanner.admin.database.v1.BackupInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.BackupInfo(); } @@ -1369,27 +1236,27 @@ public static com.google.spanner.admin.database.v1.BackupInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupInfo 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupInfo 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; @@ -1404,4 +1271,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.BackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java similarity index 80% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java index 6aa3731f217..97d54ba2149 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface BackupInfoOrBuilder - extends +public interface BackupInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.BackupInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ java.lang.String getBackup(); /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -61,13 +38,10 @@ public interface BackupInfoOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return Whether the versionTime field is set. */ boolean hasVersionTime(); /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -77,13 +51,10 @@ public interface BackupInfoOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return The versionTime. */ com.google.protobuf.Timestamp getVersionTime(); /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -97,34 +68,26 @@ public interface BackupInfoOrBuilder
   com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
@@ -135,27 +98,22 @@ public interface BackupInfoOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The sourceDatabase. */ java.lang.String getSourceDatabase(); /** - * - * *
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceDatabase. */ - com.google.protobuf.ByteString getSourceDatabaseBytes(); + com.google.protobuf.ByteString + getSourceDatabaseBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java index 3a51c8dbecb..094b169765d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface BackupOrBuilder - extends +public interface BackupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.Backup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -36,13 +18,10 @@ public interface BackupOrBuilder
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -52,14 +31,12 @@ public interface BackupOrBuilder
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -68,13 +45,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return Whether the versionTime field is set. */ boolean hasVersionTime(); /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -83,13 +57,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return The versionTime. */ com.google.protobuf.Timestamp getVersionTime(); /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -102,8 +73,6 @@ public interface BackupOrBuilder
   com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -114,13 +83,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -131,13 +97,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -152,8 +115,6 @@ public interface BackupOrBuilder
   com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -171,13 +132,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -195,100 +153,74 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.database.v1.Backup.State getState(); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -299,16 +231,12 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingDatabases. */ - java.util.List getReferencingDatabasesList(); + java.util.List + getReferencingDatabasesList(); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -319,16 +247,11 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingDatabases. */ int getReferencingDatabasesCount(); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -339,17 +262,12 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ java.lang.String getReferencingDatabases(int index); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -360,88 +278,60 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - com.google.protobuf.ByteString getReferencingDatabasesBytes(int index); + com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -452,16 +342,12 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingBackups. */ - java.util.List getReferencingBackupsList(); + java.util.List + getReferencingBackupsList(); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -472,16 +358,11 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingBackups. */ int getReferencingBackupsCount(); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -492,17 +373,12 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingBackups at the given index. */ java.lang.String getReferencingBackups(int index); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -513,18 +389,14 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - com.google.protobuf.ByteString getReferencingBackupsBytes(int index); + com.google.protobuf.ByteString + getReferencingBackupsBytes(int index); /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -533,16 +405,11 @@ public interface BackupOrBuilder
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the maxExpireTime field is set. */ boolean hasMaxExpireTime(); /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -551,16 +418,11 @@ public interface BackupOrBuilder
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The maxExpireTime. */ com.google.protobuf.Timestamp getMaxExpireTime(); /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -569,9 +431,7 @@ public interface BackupOrBuilder
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java new file mode 100644 index 00000000000..b8646d17af8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java @@ -0,0 +1,325 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public final class BackupProto { + private BackupProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_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-google/spanner/admin/database/v1/backu" + + "p.proto\022 google.spanner.admin.database.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032#google/longrunnin" + + "g/operations.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\032-google/spanner/admin/database/v1/" + + "common.proto\"\303\006\n\006Backup\0226\n\010database\030\002 \001(" + + "\tB$\372A!\n\037spanner.googleapis.com/Database\022" + + "0\n\014version_time\030\t \001(\0132\032.google.protobuf." + + "Timestamp\022/\n\013expire_time\030\003 \001(\0132\032.google." + + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\0224\n\013crea" + + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022\027\n\nsize_bytes\030\005 \001(\003B\003\340A\003\022B\n\005state" + + "\030\006 \001(\0162..google.spanner.admin.database.v" + + "1.Backup.StateB\003\340A\003\022F\n\025referencing_datab" + + "ases\030\007 \003(\tB\'\340A\003\372A!\n\037spanner.googleapis.c" + + "om/Database\022N\n\017encryption_info\030\010 \001(\01320.g" + + "oogle.spanner.admin.database.v1.Encrypti" + + "onInfoB\003\340A\003\022P\n\020database_dialect\030\n \001(\01621." + + "google.spanner.admin.database.v1.Databas" + + "eDialectB\003\340A\003\022B\n\023referencing_backups\030\013 \003" + + "(\tB%\340A\003\372A\037\n\035spanner.googleapis.com/Backu" + + "p\0228\n\017max_expire_time\030\014 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\"7\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:\\\352A" + + "Y\n\035spanner.googleapis.com/Backup\0228projec" + + "ts/{project}/instances/{instance}/backup" + + "s/{backup}\"\205\002\n\023CreateBackupRequest\0227\n\006pa" + + "rent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.c" + + "om/Instance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022=\n\006b" + + "ackup\030\003 \001(\0132(.google.spanner.admin.datab" + + "ase.v1.BackupB\003\340A\002\022^\n\021encryption_config\030" + + "\004 \001(\0132>.google.spanner.admin.database.v1" + + ".CreateBackupEncryptionConfigB\003\340A\001\"\370\001\n\024C" + + "reateBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035" + + "spanner.googleapis.com/Backup\0226\n\010databas" + + "e\030\002 \001(\tB$\372A!\n\037spanner.googleapis.com/Dat" + + "abase\022E\n\010progress\030\003 \001(\01323.google.spanner" + + ".admin.database.v1.OperationProgress\022/\n\013" + + "cancel_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stamp\"\266\002\n\021CopyBackupRequest\0227\n\006parent\030\001 " + + "\001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Inst" + + "ance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022<\n\rsource_b" + + "ackup\030\003 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis." + + "com/Backup\0224\n\013expire_time\030\004 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\002\022\\\n\021encryption_c" + + "onfig\030\005 \001(\0132<.google.spanner.admin.datab" + + "ase.v1.CopyBackupEncryptionConfigB\003\340A\001\"\371" + + "\001\n\022CopyBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037" + + "\n\035spanner.googleapis.com/Backup\0229\n\rsourc" + + "e_backup\030\002 \001(\tB\"\372A\037\n\035spanner.googleapis." + + "com/Backup\022E\n\010progress\030\003 \001(\01323.google.sp" + + "anner.admin.database.v1.OperationProgres" + + "s\022/\n\013cancel_time\030\004 \001(\0132\032.google.protobuf" + + ".Timestamp\"\212\001\n\023UpdateBackupRequest\022=\n\006ba" + + "ckup\030\001 \001(\0132(.google.spanner.admin.databa" + + "se.v1.BackupB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMaskB\003\340A\002\"G\n\020GetBa" + + "ckupRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spann" + + "er.googleapis.com/Backup\"J\n\023DeleteBackup" + + "Request\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.g" + + "oogleapis.com/Backup\"\204\001\n\022ListBackupsRequ" + + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.goo" + + "gleapis.com/Instance\022\016\n\006filter\030\002 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"i\n\023L" + + "istBackupsResponse\0229\n\007backups\030\001 \003(\0132(.go" + + "ogle.spanner.admin.database.v1.Backup\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\215\001\n\033ListBackupOpe" + + "rationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037" + + "spanner.googleapis.com/Instance\022\016\n\006filte" + + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" + + "\030\004 \001(\t\"j\n\034ListBackupOperationsResponse\0221" + + "\n\noperations\030\001 \003(\0132\035.google.longrunning." + + "Operation\022\027\n\017next_page_token\030\002 \001(\t\"\342\001\n\nB" + + "ackupInfo\0222\n\006backup\030\001 \001(\tB\"\372A\037\n\035spanner." + + "googleapis.com/Backup\0220\n\014version_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022=\n\017source_database\030\003 \001(\tB$\372A!\n\037spanner." + + "googleapis.com/Database\"\335\002\n\034CreateBackup" + + "EncryptionConfig\022k\n\017encryption_type\030\001 \001(" + + "\0162M.google.spanner.admin.database.v1.Cre" + + "ateBackupEncryptionConfig.EncryptionType" + + "B\003\340A\002\022?\n\014kms_key_name\030\002 \001(\tB)\340A\001\372A#\n!clo" + + "udkms.googleapis.com/CryptoKey\"\216\001\n\016Encry" + + "ptionType\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED" + + "\020\000\022\033\n\027USE_DATABASE_ENCRYPTION\020\001\022\035\n\031GOOGL" + + "E_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_MANAG" + + "ED_ENCRYPTION\020\003\"\351\002\n\032CopyBackupEncryption" + + "Config\022i\n\017encryption_type\030\001 \001(\0162K.google" + + ".spanner.admin.database.v1.CopyBackupEnc" + + "ryptionConfig.EncryptionTypeB\003\340A\002\022?\n\014kms" + + "_key_name\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.google" + + "apis.com/CryptoKey\"\236\001\n\016EncryptionType\022\037\n" + + "\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022+\n\'USE_CO" + + "NFIG_DEFAULT_OR_BACKUP_ENCRYPTION\020\001\022\035\n\031G" + + "OOGLE_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_M" + + "ANAGED_ENCRYPTION\020\003B\375\001\n$com.google.spann" + + "er.admin.database.v1B\013BackupProtoP\001ZFclo" + + "ud.google.com/go/spanner/admin/database/" + + "apiv1/databasepb;databasepb\252\002&Google.Clo" + + "ud.Spanner.Admin.Database.V1\312\002&Google\\Cl" + + "oud\\Spanner\\Admin\\Database\\V1\352\002+Google::" + + "Cloud::Spanner::Admin::Database::V1b\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_Backup_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_Backup_descriptor, + new java.lang.String[] { "Database", "VersionTime", "ExpireTime", "Name", "CreateTime", "SizeBytes", "State", "ReferencingDatabases", "EncryptionInfo", "DatabaseDialect", "ReferencingBackups", "MaxExpireTime", }); + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "Backup", "EncryptionConfig", }); + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor, + new java.lang.String[] { "Name", "Database", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "SourceBackup", "ExpireTime", "EncryptionConfig", }); + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor, + new java.lang.String[] { "Name", "SourceBackup", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor, + new java.lang.String[] { "Backup", "UpdateMask", }); + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor, + new java.lang.String[] { "Backups", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor, + new java.lang.String[] { "Operations", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor, + new java.lang.String[] { "Backup", "VersionTime", "CreateTime", "SourceDatabase", }); + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyName", }); + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyName", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java new file mode 100644 index 00000000000..120c0a20cbd --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java @@ -0,0 +1,118 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/common.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public final class CommonProto { + private CommonProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_EncryptionInfo_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-google/spanner/admin/database/v1/commo" + + "n.proto\022 google.spanner.admin.database.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032\037google/protobuf/t" + + "imestamp.proto\032\027google/rpc/status.proto\"" + + "\213\001\n\021OperationProgress\022\030\n\020progress_percen" + + "t\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.Timestamp\"P\n\020EncryptionConfi" + + "g\022<\n\014kms_key_name\030\002 \001(\tB&\372A#\n!cloudkms.g" + + "oogleapis.com/CryptoKey\"\302\002\n\016EncryptionIn" + + "fo\022S\n\017encryption_type\030\003 \001(\01625.google.spa" + + "nner.admin.database.v1.EncryptionInfo.Ty" + + "peB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.goo" + + "gle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version\030\002" + + " \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Cr" + + "yptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPECIFI" + + "ED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033C" + + "USTOMER_MANAGED_ENCRYPTION\020\002*\\\n\017Database" + + "Dialect\022 \n\034DATABASE_DIALECT_UNSPECIFIED\020" + + "\000\022\027\n\023GOOGLE_STANDARD_SQL\020\001\022\016\n\nPOSTGRESQL" + + "\020\002B\242\004\n$com.google.spanner.admin.database" + + ".v1B\013CommonProtoP\001ZFcloud.google.com/go/" + + "spanner/admin/database/apiv1/databasepb;" + + "databasepb\252\002&Google.Cloud.Spanner.Admin." + + "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" + + "\\Database\\V1\352\002+Google::Cloud::Spanner::A" + + "dmin::Database::V1\352Ax\n!cloudkms.googleap" + + "is.com/CryptoKey\022Sprojects/{project}/loc" + + "ations/{location}/keyRings/{key_ring}/cr" + + "yptoKeys/{crypto_key}\352A\246\001\n(cloudkms.goog" + + "leapis.com/CryptoKeyVersion\022zprojects/{p" + + "roject}/locations/{location}/keyRings/{k" + + "ey_ring}/cryptoKeys/{crypto_key}/cryptoK" + + "eyVersions/{crypto_key_version}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor, + new java.lang.String[] { "ProgressPercent", "StartTime", "EndTime", }); + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "EncryptionStatus", "KmsKeyVersion", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java index be4686b9636..9540e4e70e5 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for the copied backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig} */ -public final class CopyBackupEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CopyBackupEncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) CopyBackupEncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CopyBackupEncryptionConfig.newBuilder() to construct. private CopyBackupEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CopyBackupEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -45,39 +27,34 @@ private CopyBackupEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CopyBackupEncryptionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); } /** - * - * *
    * Encryption types for the backup.
    * 
* - * Protobuf enum {@code - * google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType} + * Protobuf enum {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. Do not use.
      * 
@@ -86,8 +63,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]
      * when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified.
@@ -99,8 +74,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -109,8 +82,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_DEFAULT_ENCRYPTION(2), /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -123,8 +94,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Do not use.
      * 
@@ -133,8 +102,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]
      * when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified.
@@ -146,8 +113,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -156,8 +121,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -167,6 +130,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -191,53 +155,50 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
-        case 2:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
+        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3: return CUSTOMER_MANAGED_ENCRYPTION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EncryptionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EncryptionType findValueByNumber(int number) {
+              return EncryptionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EncryptionType findValueByNumber(int number) {
-            return EncryptionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EncryptionType[] VALUES = values();
 
-    public static EncryptionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EncryptionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -257,54 +218,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -313,10 +253,7 @@ public int getEncryptionTypeValue() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ @java.lang.Override @@ -325,15 +262,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -342,18 +278,17 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -362,7 +297,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -374,11 +308,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -393,11 +325,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -410,16 +340,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other = - (com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) obj; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other = (com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -441,136 +371,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption configuration for the copied backup.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -581,14 +506,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance(); } @@ -603,17 +527,13 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig build() { @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = - new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result) { + private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -627,50 +547,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other) { - if (other - == com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other) { + if (other == com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -705,25 +621,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + kmsKeyName_ = 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) { @@ -733,38 +646,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -775,45 +676,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -823,16 +707,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -844,8 +723,6 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -854,16 +731,14 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -872,8 +747,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -882,17 +755,16 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -900,8 +772,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -910,25 +780,19 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -937,10 +801,7 @@ public Builder setKmsKeyName(java.lang.String value) {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -950,8 +811,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -960,26 +819,22 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -989,43 +844,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) - private static final com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupEncryptionConfig 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupEncryptionConfig 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; @@ -1037,8 +890,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java index 1054af9a00c..395757ad680 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java @@ -1,62 +1,33 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface CopyBackupEncryptionConfigOrBuilder - extends +public interface CopyBackupEncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - getEncryptionType(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -65,16 +36,11 @@ public interface CopyBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -83,11 +49,9 @@ public interface CopyBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java index 0343cb71996..10b14d60511 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the google.longrunning.Operation returned by
  * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupMetadata}
  */
-public final class CopyBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CopyBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupMetadata)
     CopyBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CopyBackupMetadata.newBuilder() to construct.
   private CopyBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CopyBackupMetadata() {
     name_ = "";
     sourceBackup_ = "";
@@ -46,33 +28,29 @@ private CopyBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CopyBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CopyBackupMetadata.class,
-            com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CopyBackupMetadata.class, com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -80,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -89,15 +66,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -105,15 +81,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +99,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -135,7 +109,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The sourceBackup. */ @java.lang.Override @@ -144,15 +117,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -160,15 +132,16 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -179,15 +152,12 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int PROGRESS_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -195,26 +165,19 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -224,16 +187,12 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -250,7 +209,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -258,8 +216,6 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -276,7 +232,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ @java.lang.Override @@ -284,8 +239,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -309,7 +262,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -321,7 +273,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  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_);
     }
@@ -350,10 +303,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceBackup_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getProgress());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCancelTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCancelTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -363,23 +318,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.CopyBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.CopyBackupMetadata other =
-        (com.google.spanner.admin.database.v1.CopyBackupMetadata) obj;
+    com.google.spanner.admin.database.v1.CopyBackupMetadata other = (com.google.spanner.admin.database.v1.CopyBackupMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getSourceBackup().equals(other.getSourceBackup())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getSourceBackup()
+        .equals(other.getSourceBackup())) return false;
     if (hasProgress() != other.hasProgress()) return false;
     if (hasProgress()) {
-      if (!getProgress().equals(other.getProgress())) return false;
+      if (!getProgress()
+          .equals(other.getProgress())) return false;
     }
     if (hasCancelTime() != other.hasCancelTime()) return false;
     if (hasCancelTime()) {
-      if (!getCancelTime().equals(other.getCancelTime())) return false;
+      if (!getCancelTime()
+          .equals(other.getCancelTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -410,104 +368,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.database.v1.CopyBackupMetadata prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the google.longrunning.Operation returned by
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
@@ -515,23 +467,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupMetadata)
       com.google.spanner.admin.database.v1.CopyBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CopyBackupMetadata.class,
-              com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CopyBackupMetadata.class, com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.CopyBackupMetadata.newBuilder()
@@ -539,18 +489,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getProgressFieldBuilder();
         getCancelTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -571,9 +521,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -592,11 +542,8 @@ public com.google.spanner.admin.database.v1.CopyBackupMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CopyBackupMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CopyBackupMetadata result =
-          new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.CopyBackupMetadata result = new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -611,11 +558,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupMetada
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -625,39 +576,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupMetada
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CopyBackupMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -665,8 +615,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CopyBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.CopyBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -709,37 +658,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                sourceBackup_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              sourceBackup_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -749,13 +697,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -763,13 +708,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -778,8 +723,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -787,14 +730,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -802,8 +746,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -811,22 +753,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -834,7 +772,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -844,8 +781,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -853,14 +788,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -870,8 +803,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -879,13 +810,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -894,8 +825,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -903,14 +832,15 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -918,8 +848,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -927,22 +855,18 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -950,7 +874,6 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -960,8 +883,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -969,14 +890,12 @@ public Builder clearSourceBackup() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000002; @@ -986,49 +905,36 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1050,8 +956,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1071,8 +975,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1082,10 +984,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1100,8 +1001,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1120,8 +1019,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1135,8 +1032,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1148,14 +1043,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1164,17 +1056,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1182,13 +1071,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1205,15 +1089,12 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1230,21 +1111,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1276,8 +1152,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1295,7 +1169,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 4;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1306,8 +1181,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1327,9 +1200,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1344,8 +1217,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1374,8 +1245,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1399,8 +1268,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1422,14 +1289,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1448,24 +1312,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1475,12 +1336,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupMetadata)
   private static final com.google.spanner.admin.database.v1.CopyBackupMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupMetadata();
   }
@@ -1489,27 +1350,27 @@ public static com.google.spanner.admin.database.v1.CopyBackupMetadata getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CopyBackupMetadata 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CopyBackupMetadata 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;
@@ -1524,4 +1385,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.CopyBackupMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
index f5cb5f5501b..b3475ff6f49 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.database.v1;
 
-public interface CopyBackupMetadataOrBuilder
-    extends
+public interface CopyBackupMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -34,13 +16,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -48,14 +27,12 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -63,13 +40,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -77,40 +51,32 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -121,8 +87,6 @@ public interface CopyBackupMetadataOrBuilder
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -139,13 +103,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -162,13 +123,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
similarity index 70%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
index cb0a37356b8..91117bb43c7 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
@@ -20,24 +5,21 @@
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupRequest} */ -public final class CopyBackupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CopyBackupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupRequest) CopyBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CopyBackupRequest.newBuilder() to construct. private CopyBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CopyBackupRequest() { parent_ = ""; backupId_ = ""; @@ -46,42 +28,35 @@ private CopyBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CopyBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupRequest.class, - com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupRequest.class, com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -137,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -146,15 +115,14 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -162,15 +130,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -179,12 +148,9 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -194,10 +160,7 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ @java.lang.Override @@ -206,15 +169,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -224,18 +186,17 @@ public java.lang.String getSourceBackup() {
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -246,8 +207,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -256,9 +215,7 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -266,8 +223,6 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -276,9 +231,7 @@ public boolean hasExpireTime() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ @java.lang.Override @@ -286,8 +239,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -296,8 +247,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -307,8 +257,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -317,10 +265,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -328,8 +273,6 @@ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -338,21 +281,14 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -361,20 +297,14 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryp
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +316,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -421,10 +352,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceBackup_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExpireTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -434,24 +367,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.CopyBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CopyBackupRequest other = - (com.google.spanner.admin.database.v1.CopyBackupRequest) obj; + com.google.spanner.admin.database.v1.CopyBackupRequest other = (com.google.spanner.admin.database.v1.CopyBackupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -484,127 +421,119 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CopyBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupRequest) com.google.spanner.admin.database.v1.CopyBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupRequest.class, - com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupRequest.class, com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CopyBackupRequest.newBuilder() @@ -612,18 +541,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getExpireTimeFieldBuilder(); getEncryptionConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -645,9 +574,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override @@ -666,11 +595,8 @@ public com.google.spanner.admin.database.v1.CopyBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.CopyBackupRequest result = - new com.google.spanner.admin.database.v1.CopyBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CopyBackupRequest result = new com.google.spanner.admin.database.v1.CopyBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -688,12 +614,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupReques } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -703,39 +632,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CopyBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -743,8 +671,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -792,44 +719,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getEncryptionConfigFieldBuilder().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) { @@ -839,28 +763,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -869,24 +788,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -894,41 +810,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -938,24 +843,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -965,8 +864,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -974,13 +871,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -989,8 +886,6 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -998,14 +893,15 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -1013,8 +909,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1022,22 +916,18 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1045,7 +935,6 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -1055,8 +944,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1064,14 +951,12 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -1081,8 +966,6 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1092,16 +975,14 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1110,8 +991,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1121,17 +1000,16 @@ public java.lang.String getSourceBackup() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1139,8 +1017,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1150,25 +1026,19 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1178,10 +1048,7 @@ public Builder setSourceBackup(java.lang.String value) {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1191,8 +1058,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1202,17 +1067,13 @@ public Builder clearSourceBackup() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000004; @@ -1222,13 +1083,8 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1237,17 +1093,13 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1256,23 +1108,17 @@ public boolean hasExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1281,8 +1127,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1298,8 +1143,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1308,10 +1151,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1322,8 +1165,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1332,14 +1173,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1354,8 +1194,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1364,8 +1202,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1378,8 +1215,6 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1388,8 +1223,7 @@ public Builder clearExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1397,8 +1231,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1407,21 +1239,17 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1430,21 +1258,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -1452,13 +1276,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1467,18 +1286,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1487,24 +1301,17 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1513,12 +1320,9 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryp
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1532,8 +1336,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1542,9 +1344,7 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder builderForValue) { @@ -1558,8 +1358,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1568,18 +1366,13 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1594,8 +1387,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1604,9 +1395,7 @@ public Builder mergeEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1619,8 +1408,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1629,19 +1416,14 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1650,23 +1432,17 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1675,29 +1451,24 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1707,12 +1478,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupRequest) private static final com.google.spanner.admin.database.v1.CopyBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupRequest(); } @@ -1721,27 +1492,27 @@ public static com.google.spanner.admin.database.v1.CopyBackupRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupRequest 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; @@ -1756,4 +1527,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CopyBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java index 9a2022a3e7e..3a5f30e917b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface CopyBackupRequestOrBuilder - extends +public interface CopyBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -65,13 +38,10 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -79,14 +49,12 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -96,16 +64,11 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -115,17 +78,13 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -134,15 +93,11 @@ public interface CopyBackupRequestOrBuilder
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -151,15 +106,11 @@ public interface CopyBackupRequestOrBuilder
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -168,14 +119,11 @@ public interface CopyBackupRequestOrBuilder
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -184,16 +132,11 @@ public interface CopyBackupRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -202,16 +145,11 @@ public interface CopyBackupRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -220,10 +158,7 @@ public interface CopyBackupRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java index 19d1bd405a1..86c72bc16fc 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for the backup to create.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig} */ -public final class CreateBackupEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateBackupEncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) CreateBackupEncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateBackupEncryptionConfig.newBuilder() to construct. private CreateBackupEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateBackupEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -45,39 +27,34 @@ private CreateBackupEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupEncryptionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); } /** - * - * *
    * Encryption types for the backup.
    * 
* - * Protobuf enum {@code - * google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType} + * Protobuf enum {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. Do not use.
      * 
@@ -86,8 +63,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Use the same encryption configuration as the database. This is the
      * default option when
@@ -100,8 +75,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     USE_DATABASE_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -110,8 +83,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_DEFAULT_ENCRYPTION(2), /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -124,8 +95,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Do not use.
      * 
@@ -134,8 +103,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use the same encryption configuration as the database. This is the
      * default option when
@@ -148,8 +115,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USE_DATABASE_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -158,8 +123,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -169,6 +132,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -193,53 +157,50 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return USE_DATABASE_ENCRYPTION;
-        case 2:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return USE_DATABASE_ENCRYPTION;
+        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3: return CUSTOMER_MANAGED_ENCRYPTION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EncryptionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EncryptionType findValueByNumber(int number) {
+              return EncryptionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EncryptionType findValueByNumber(int number) {
-            return EncryptionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EncryptionType[] VALUES = values();
 
-    public static EncryptionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EncryptionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -259,54 +220,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -315,10 +255,7 @@ public int getEncryptionTypeValue() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ @java.lang.Override @@ -327,15 +264,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -344,18 +280,17 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -364,7 +299,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -376,11 +310,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -395,11 +327,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -412,16 +342,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other = - (com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) obj; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other = (com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -443,138 +373,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - 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 com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig 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 com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption configuration for the backup to create.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); } - // Construct using - // com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder() - private Builder() {} + // Construct using com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -585,14 +508,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance(); } @@ -607,17 +529,13 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig build() @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = - new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result) { + private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -631,50 +549,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other) { - if (other - == com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other) { + if (other == com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -709,25 +623,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + kmsKeyName_ = 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) { @@ -737,38 +648,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -779,45 +678,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -827,16 +709,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -848,8 +725,6 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -858,16 +733,14 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -876,8 +749,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -886,17 +757,16 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -904,8 +774,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -914,25 +782,19 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -941,10 +803,7 @@ public Builder setKmsKeyName(java.lang.String value) {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -954,8 +813,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -964,26 +821,22 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -993,43 +846,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) - private static final com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupEncryptionConfig 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupEncryptionConfig 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; @@ -1041,8 +892,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java index d9db127641b..162f5f0ece7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java @@ -1,62 +1,33 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface CreateBackupEncryptionConfigOrBuilder - extends +public interface CreateBackupEncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - getEncryptionType(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -65,16 +36,11 @@ public interface CreateBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -83,11 +49,9 @@ public interface CreateBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java similarity index 76% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java index 702f5f11ebd..48fa3b60159 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupMetadata}
  */
-public final class CreateBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateBackupMetadata)
     CreateBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateBackupMetadata.newBuilder() to construct.
   private CreateBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateBackupMetadata() {
     name_ = "";
     database_ = "";
@@ -46,39 +28,34 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CreateBackupMetadata.class,
-            com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CreateBackupMetadata.class, com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -118,18 +95,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DATABASE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -138,29 +111,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -171,15 +144,12 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int PROGRESS_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -187,26 +157,19 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -216,16 +179,12 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -242,7 +201,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -250,8 +208,6 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -268,7 +224,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ @java.lang.Override @@ -276,8 +231,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -301,7 +254,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,7 +265,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  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_);
     }
@@ -342,10 +295,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getProgress());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCancelTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCancelTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -355,23 +310,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.CreateBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.CreateBackupMetadata other =
-        (com.google.spanner.admin.database.v1.CreateBackupMetadata) obj;
+    com.google.spanner.admin.database.v1.CreateBackupMetadata other = (com.google.spanner.admin.database.v1.CreateBackupMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDatabase().equals(other.getDatabase())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDatabase()
+        .equals(other.getDatabase())) return false;
     if (hasProgress() != other.hasProgress()) return false;
     if (hasProgress()) {
-      if (!getProgress().equals(other.getProgress())) return false;
+      if (!getProgress()
+          .equals(other.getProgress())) return false;
     }
     if (hasCancelTime() != other.hasCancelTime()) return false;
     if (hasCancelTime()) {
-      if (!getCancelTime().equals(other.getCancelTime())) return false;
+      if (!getCancelTime()
+          .equals(other.getCancelTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -402,104 +360,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.database.v1.CreateBackupMetadata prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateBackupMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the operation returned by
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
@@ -507,23 +459,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateBackupMetadata)
       com.google.spanner.admin.database.v1.CreateBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CreateBackupMetadata.class,
-              com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CreateBackupMetadata.class, com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.CreateBackupMetadata.newBuilder()
@@ -531,18 +481,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getProgressFieldBuilder();
         getCancelTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -563,9 +513,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -584,11 +534,8 @@ public com.google.spanner.admin.database.v1.CreateBackupMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CreateBackupMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CreateBackupMetadata result =
-          new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.CreateBackupMetadata result = new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -603,11 +550,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupMeta
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -617,39 +568,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupMeta
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CreateBackupMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -657,8 +607,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CreateBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.CreateBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -701,37 +650,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -741,25 +689,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -768,21 +713,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -790,35 +734,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -828,21 +765,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -852,20 +785,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object database_ = ""; /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -874,21 +805,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -896,35 +826,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -934,21 +857,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000002; @@ -958,49 +877,36 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1022,8 +928,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1043,8 +947,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1054,10 +956,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1072,8 +973,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1092,8 +991,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1107,8 +1004,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1120,14 +1015,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1136,17 +1028,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1154,13 +1043,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1177,15 +1061,12 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1202,21 +1083,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1248,8 +1124,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1267,7 +1141,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 4;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1278,8 +1153,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1299,9 +1172,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1316,8 +1189,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1346,8 +1217,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1371,8 +1240,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1394,14 +1261,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1420,24 +1284,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1447,12 +1308,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupMetadata)
   private static final com.google.spanner.admin.database.v1.CreateBackupMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupMetadata();
   }
@@ -1461,27 +1322,27 @@ public static com.google.spanner.admin.database.v1.CreateBackupMetadata getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CreateBackupMetadata 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateBackupMetadata 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;
@@ -1496,4 +1357,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.CreateBackupMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
similarity index 85%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
index c59449fe7b4..4e1e0007b62 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
@@ -1,108 +1,74 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.database.v1;
 
-public interface CreateBackupMetadataOrBuilder
-    extends
+public interface CreateBackupMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -113,8 +79,6 @@ public interface CreateBackupMetadataOrBuilder
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -131,13 +95,10 @@ public interface CreateBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -154,13 +115,10 @@ public interface CreateBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
similarity index 65%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
index 3c20d5eaa3f..24a1d56461a 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
@@ -20,24 +5,21 @@
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupRequest} */ -public final class CreateBackupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateBackupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateBackupRequest) CreateBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateBackupRequest.newBuilder() to construct. private CreateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateBackupRequest() { parent_ = ""; backupId_ = ""; @@ -45,33 +27,29 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupRequest.class, - com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupRequest.class, com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -131,12 +104,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` appended to
    * `parent` forms the full backup name of the form
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` appended to
    * `parent` forms the full backup name of the form
@@ -169,15 +137,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -188,16 +157,11 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.Backup backup_; /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -205,47 +169,32 @@ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup getBackup() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -254,10 +203,7 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -265,8 +211,6 @@ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -275,21 +219,14 @@ public boolean hasEncryptionConfig() {
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -298,20 +235,14 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -352,10 +284,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, backupId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBackup()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -365,23 +299,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.CreateBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateBackupRequest other = - (com.google.spanner.admin.database.v1.CreateBackupRequest) obj; + com.google.spanner.admin.database.v1.CreateBackupRequest other = (com.google.spanner.admin.database.v1.CreateBackupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; } if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -412,127 +349,119 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CreateBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateBackupRequest) com.google.spanner.admin.database.v1.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupRequest.class, - com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupRequest.class, com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CreateBackupRequest.newBuilder() @@ -540,18 +469,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBackupFieldBuilder(); getEncryptionConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override @@ -593,11 +522,8 @@ public com.google.spanner.admin.database.v1.CreateBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.CreateBackupRequest result = - new com.google.spanner.admin.database.v1.CreateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CreateBackupRequest result = new com.google.spanner.admin.database.v1.CreateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -612,12 +538,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupRequ } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -627,39 +556,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -667,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -711,38 +638,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -752,13 +677,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -768,16 +690,14 @@ public Builder mergeFrom(
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -786,8 +706,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -797,17 +715,16 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -815,8 +732,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -826,25 +741,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -854,10 +763,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -867,8 +773,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -878,17 +782,13 @@ public Builder clearParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -898,8 +798,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -907,13 +805,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -922,8 +820,6 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -931,14 +827,15 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -946,8 +843,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -955,22 +850,18 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -978,7 +869,6 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -988,8 +878,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -997,14 +885,12 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -1014,58 +900,39 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> - backupBuilder_; + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.spanner.admin.database.v1.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { @@ -1081,17 +948,14 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1102,21 +966,17 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1131,15 +991,11 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1152,15 +1008,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1168,48 +1020,36 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1217,13 +1057,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() private com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1232,18 +1067,13 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1252,24 +1082,17 @@ public boolean hasEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1278,12 +1101,9 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1297,8 +1117,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1307,9 +1125,7 @@ public Builder setEncryptionConfig(
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder builderForValue) { @@ -1323,8 +1139,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1333,18 +1147,13 @@ public Builder setEncryptionConfig(
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1359,8 +1168,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1369,9 +1176,7 @@ public Builder mergeEncryptionConfig(
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1384,8 +1189,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1394,19 +1197,14 @@ public Builder clearEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1415,23 +1213,17 @@ public Builder clearEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1440,29 +1232,24 @@ public Builder clearEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1259,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupRequest) private static final com.google.spanner.admin.database.v1.CreateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupRequest(); } @@ -1486,27 +1273,27 @@ public static com.google.spanner.admin.database.v1.CreateBackupRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupRequest 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; @@ -1521,4 +1308,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java index 43381990f80..80e9f4cdded 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface CreateBackupRequestOrBuilder - extends +public interface CreateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -36,16 +18,11 @@ public interface CreateBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -55,17 +32,13 @@ public interface CreateBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` appended to
    * `parent` forms the full backup name of the form
@@ -73,13 +46,10 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` appended to
    * `parent` forms the full backup name of the form
@@ -87,55 +57,39 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.spanner.admin.database.v1.Backup getBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -144,16 +98,11 @@ public interface CreateBackupRequestOrBuilder
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -162,16 +111,11 @@ public interface CreateBackupRequestOrBuilder
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -180,10 +124,7 @@ public interface CreateBackupRequestOrBuilder
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java similarity index 67% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java index 968049a4ce0..9d11d3c17ab 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
@@ -29,54 +12,48 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseMetadata}
  */
-public final class CreateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateDatabaseMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateDatabaseMetadata)
     CreateDatabaseMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateDatabaseMetadata.newBuilder() to construct.
   private CreateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateDatabaseMetadata() {
     database_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateDatabaseMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class,
-            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class, com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -116,7 +93,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -152,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.CreateDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateDatabaseMetadata other = - (com.google.spanner.admin.database.v1.CreateDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.CreateDatabaseMetadata other = (com.google.spanner.admin.database.v1.CreateDatabaseMetadata) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -180,104 +157,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CreateDatabaseMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
@@ -285,32 +256,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateDatabaseMetadata)
       com.google.spanner.admin.database.v1.CreateDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class,
-              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class, com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.CreateDatabaseMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +292,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -341,11 +313,8 @@ public com.google.spanner.admin.database.v1.CreateDatabaseMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CreateDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result =
-          new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result = new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -361,39 +330,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseMe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CreateDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -401,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CreateDatabaseMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.CreateDatabaseMetadata.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -434,19 +401,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = 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) {
@@ -456,25 +421,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -483,21 +445,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -505,35 +466,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -543,30 +497,26 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -576,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateDatabaseMetadata) private static final com.google.spanner.admin.database.v1.CreateDatabaseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(); } @@ -590,27 +540,27 @@ public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatabaseMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseMetadata 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; @@ -625,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java similarity index 51% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java index 4a74cfa4e5f..a8045b229fa 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java @@ -1,51 +1,30 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface CreateDatabaseMetadataOrBuilder - extends +public interface CreateDatabaseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java similarity index 71% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java index 8059b3ae53e..fa4c4e24ebb 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,70 +5,61 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} */ -public final class CreateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateDatabaseRequest) CreateDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDatabaseRequest.newBuilder() to construct. private CreateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDatabaseRequest() { parent_ = ""; createStatement_ = ""; - extraStatements_ = com.google.protobuf.LazyStringArrayList.emptyList(); + extraStatements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); databaseDialect_ = 0; protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDatabaseRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, - com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,12 +100,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CREATE_STATEMENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object createStatement_ = ""; /** - * - * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -141,7 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The createStatement. */ @java.lang.Override @@ -150,15 +120,14 @@ public java.lang.String getCreateStatement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createStatement_ = s; return s; } } /** - * - * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -168,15 +137,16 @@ public java.lang.String getCreateStatement() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for createStatement. */ @java.lang.Override - public com.google.protobuf.ByteString getCreateStatementBytes() { + public com.google.protobuf.ByteString + getCreateStatementBytes() { java.lang.Object ref = createStatement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createStatement_ = b; return b; } else { @@ -185,13 +155,10 @@ public com.google.protobuf.ByteString getCreateStatementBytes() { } public static final int EXTRA_STATEMENTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList extraStatements_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -200,15 +167,13 @@ public com.google.protobuf.ByteString getCreateStatementBytes() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the extraStatements. */ - public com.google.protobuf.ProtocolStringList getExtraStatementsList() { + public com.google.protobuf.ProtocolStringList + getExtraStatementsList() { return extraStatements_; } /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -217,15 +182,12 @@ public com.google.protobuf.ProtocolStringList getExtraStatementsList() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of extraStatements. */ public int getExtraStatementsCount() { return extraStatements_.size(); } /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -234,7 +196,6 @@ public int getExtraStatementsCount() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The extraStatements at the given index. */ @@ -242,8 +203,6 @@ public java.lang.String getExtraStatements(int index) { return extraStatements_.get(index); } /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -252,29 +211,24 @@ public java.lang.String getExtraStatements(int index) {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - public com.google.protobuf.ByteString getExtraStatementsBytes(int index) { + public com.google.protobuf.ByteString + getExtraStatementsBytes(int index) { return extraStatements_.getByteString(index); } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -282,93 +236,62 @@ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int DATABASE_DIALECT_FIELD_NUMBER = 5; private int databaseDialect_ = 0; /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseDialect. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } public static final int PROTO_DESCRIPTORS_FIELD_NUMBER = 6; private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in
    * 'extra_statements' above.
@@ -388,7 +311,6 @@ public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect()
    * 
* * bytes proto_descriptors = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The protoDescriptors. */ @java.lang.Override @@ -397,7 +319,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,7 +330,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -422,9 +344,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getEncryptionConfig()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { output.writeEnum(5, databaseDialect_); } if (!protoDescriptors_.isEmpty()) { @@ -454,15 +374,16 @@ public int getSerializedSize() { size += 1 * getExtraStatementsList().size(); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionConfig()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, databaseDialect_); + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, databaseDialect_); } if (!protoDescriptors_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, protoDescriptors_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, protoDescriptors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -472,23 +393,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.CreateDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateDatabaseRequest other = - (com.google.spanner.admin.database.v1.CreateDatabaseRequest) obj; + com.google.spanner.admin.database.v1.CreateDatabaseRequest other = (com.google.spanner.admin.database.v1.CreateDatabaseRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getCreateStatement().equals(other.getCreateStatement())) return false; - if (!getExtraStatementsList().equals(other.getExtraStatementsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getCreateStatement() + .equals(other.getCreateStatement())) return false; + if (!getExtraStatementsList() + .equals(other.getExtraStatementsList())) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (databaseDialect_ != other.databaseDialect_) return false; - if (!getProtoDescriptors().equals(other.getProtoDescriptors())) return false; + if (!getProtoDescriptors() + .equals(other.getProtoDescriptors())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -522,127 +447,119 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CreateDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateDatabaseRequest) com.google.spanner.admin.database.v1.CreateDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, - com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CreateDatabaseRequest.newBuilder() @@ -650,24 +567,25 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEncryptionConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; createStatement_ = ""; - extraStatements_ = com.google.protobuf.LazyStringArrayList.emptyList(); + extraStatements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); encryptionConfig_ = null; if (encryptionConfigBuilder_ != null) { encryptionConfigBuilder_.dispose(); @@ -679,9 +597,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override @@ -700,11 +618,8 @@ public com.google.spanner.admin.database.v1.CreateDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CreateDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.CreateDatabaseRequest result = - new com.google.spanner.admin.database.v1.CreateDatabaseRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CreateDatabaseRequest result = new com.google.spanner.admin.database.v1.CreateDatabaseRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -723,8 +638,9 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseRe } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -740,39 +656,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -780,8 +695,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -837,51 +751,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - createStatement_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExtraStatementsIsMutable(); - extraStatements_.add(s); - break; - } // case 26 - case 34: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - protoDescriptors_ = input.readBytes(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + createStatement_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExtraStatementsIsMutable(); + extraStatements_.add(s); + break; + } // case 26 + case 34: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + protoDescriptors_ = input.readBytes(); + bitField0_ |= 0x00000020; + break; + } // case 50 + 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) { @@ -891,28 +799,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -921,24 +824,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -946,41 +846,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -990,24 +879,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1017,8 +900,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object createStatement_ = ""; /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1028,13 +909,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The createStatement. */ public java.lang.String getCreateStatement() { java.lang.Object ref = createStatement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createStatement_ = s; return s; @@ -1043,8 +924,6 @@ public java.lang.String getCreateStatement() { } } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1054,14 +933,15 @@ public java.lang.String getCreateStatement() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for createStatement. */ - public com.google.protobuf.ByteString getCreateStatementBytes() { + public com.google.protobuf.ByteString + getCreateStatementBytes() { java.lang.Object ref = createStatement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createStatement_ = b; return b; } else { @@ -1069,8 +949,6 @@ public com.google.protobuf.ByteString getCreateStatementBytes() { } } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1080,22 +958,18 @@ public com.google.protobuf.ByteString getCreateStatementBytes() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The createStatement to set. * @return This builder for chaining. */ - public Builder setCreateStatement(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreateStatement( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } createStatement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1105,7 +979,6 @@ public Builder setCreateStatement(java.lang.String value) {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCreateStatement() { @@ -1115,8 +988,6 @@ public Builder clearCreateStatement() { return this; } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1126,14 +997,12 @@ public Builder clearCreateStatement() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for createStatement to set. * @return This builder for chaining. */ - public Builder setCreateStatementBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreateStatementBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); createStatement_ = value; bitField0_ |= 0x00000002; @@ -1143,7 +1012,6 @@ public Builder setCreateStatementBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList extraStatements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureExtraStatementsIsMutable() { if (!extraStatements_.isModifiable()) { extraStatements_ = new com.google.protobuf.LazyStringArrayList(extraStatements_); @@ -1151,8 +1019,6 @@ private void ensureExtraStatementsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1161,16 +1027,14 @@ private void ensureExtraStatementsIsMutable() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the extraStatements. */ - public com.google.protobuf.ProtocolStringList getExtraStatementsList() { + public com.google.protobuf.ProtocolStringList + getExtraStatementsList() { extraStatements_.makeImmutable(); return extraStatements_; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1179,15 +1043,12 @@ public com.google.protobuf.ProtocolStringList getExtraStatementsList() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of extraStatements. */ public int getExtraStatementsCount() { return extraStatements_.size(); } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1196,7 +1057,6 @@ public int getExtraStatementsCount() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The extraStatements at the given index. */ @@ -1204,8 +1064,6 @@ public java.lang.String getExtraStatements(int index) { return extraStatements_.get(index); } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1214,16 +1072,14 @@ public java.lang.String getExtraStatements(int index) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - public com.google.protobuf.ByteString getExtraStatementsBytes(int index) { + public com.google.protobuf.ByteString + getExtraStatementsBytes(int index) { return extraStatements_.getByteString(index); } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1232,15 +1088,13 @@ public com.google.protobuf.ByteString getExtraStatementsBytes(int index) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The extraStatements to set. * @return This builder for chaining. */ - public Builder setExtraStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExtraStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,8 +1102,6 @@ public Builder setExtraStatements(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1258,14 +1110,12 @@ public Builder setExtraStatements(int index, java.lang.String value) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The extraStatements to add. * @return This builder for chaining. */ - public Builder addExtraStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExtraStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.add(value); bitField0_ |= 0x00000004; @@ -1273,8 +1123,6 @@ public Builder addExtraStatements(java.lang.String value) { return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1283,20 +1131,19 @@ public Builder addExtraStatements(java.lang.String value) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The extraStatements to add. * @return This builder for chaining. */ - public Builder addAllExtraStatements(java.lang.Iterable values) { + public Builder addAllExtraStatements( + java.lang.Iterable values) { ensureExtraStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, extraStatements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, extraStatements_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1305,19 +1152,16 @@ public Builder addAllExtraStatements(java.lang.Iterable values
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExtraStatements() { - extraStatements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + extraStatements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1326,14 +1170,12 @@ public Builder clearExtraStatements() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the extraStatements to add. * @return This builder for chaining. */ - public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExtraStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureExtraStatementsIsMutable(); extraStatements_.add(value); @@ -1344,67 +1186,47 @@ public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1418,17 +1240,13 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.EncryptionConfig.Builder builderForValue) { @@ -1442,25 +1260,19 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1475,17 +1287,13 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1498,72 +1306,54 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.EncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -1571,33 +1361,22 @@ public Builder clearEncryptionConfig() { private int databaseDialect_ = 0; /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -1608,37 +1387,24 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -1652,16 +1418,11 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -1673,8 +1434,6 @@ public Builder clearDatabaseDialect() { private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in
      * 'extra_statements' above.
@@ -1694,7 +1453,6 @@ public Builder clearDatabaseDialect() {
      * 
* * bytes proto_descriptors = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The protoDescriptors. */ @java.lang.Override @@ -1702,8 +1460,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { return protoDescriptors_; } /** - * - * *
      * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in
      * 'extra_statements' above.
@@ -1723,22 +1479,17 @@ public com.google.protobuf.ByteString getProtoDescriptors() {
      * 
* * bytes proto_descriptors = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The protoDescriptors to set. * @return This builder for chaining. */ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } protoDescriptors_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in
      * 'extra_statements' above.
@@ -1758,7 +1509,6 @@ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) {
      * 
* * bytes proto_descriptors = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearProtoDescriptors() { @@ -1767,9 +1517,9 @@ public Builder clearProtoDescriptors() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1779,12 +1529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateDatabaseRequest) private static final com.google.spanner.admin.database.v1.CreateDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateDatabaseRequest(); } @@ -1793,27 +1543,27 @@ public static com.google.spanner.admin.database.v1.CreateDatabaseRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatabaseRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseRequest 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; @@ -1828,4 +1578,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java index 61caab08428..fca864af4e5 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface CreateDatabaseRequestOrBuilder - extends +public interface CreateDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -67,13 +40,10 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The createStatement. */ java.lang.String getCreateStatement(); /** - * - * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -83,14 +53,12 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for createStatement. */ - com.google.protobuf.ByteString getCreateStatementBytes(); + com.google.protobuf.ByteString + getCreateStatementBytes(); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -99,13 +67,11 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the extraStatements. */ - java.util.List getExtraStatementsList(); + java.util.List + getExtraStatementsList(); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -114,13 +80,10 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of extraStatements. */ int getExtraStatementsCount(); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -129,14 +92,11 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The extraStatements at the given index. */ java.lang.String getExtraStatements(int index); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -145,91 +105,65 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - com.google.protobuf.ByteString getExtraStatementsBytes(int index); + com.google.protobuf.ByteString + getExtraStatementsBytes(int index); /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); /** - * - * *
    * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in
    * 'extra_statements' above.
@@ -249,7 +183,6 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * bytes proto_descriptors = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The protoDescriptors. */ com.google.protobuf.ByteString getProtoDescriptors(); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java index 2842ec2b468..bdd0b6e7007 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * A Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.Database} */ -public final class Database extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Database extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.Database) DatabaseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Database.newBuilder() to construct. private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Database() { name_ = ""; state_ = 0; @@ -49,38 +31,34 @@ private Database() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Database(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Database.class, - com.google.spanner.admin.database.v1.Database.Builder.class); + com.google.spanner.admin.database.v1.Database.class, com.google.spanner.admin.database.v1.Database.Builder.class); } /** - * - * *
    * Indicates the current state of the database.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.Database.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -89,8 +67,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The database is still being created. Operations on the database may fail
      * with `FAILED_PRECONDITION` in this state.
@@ -100,8 +76,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The database is fully created and ready for use.
      * 
@@ -110,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(2), /** - * - * *
      * The database is fully created and ready for use, but is still
      * being optimized for performance and cannot handle full load.
@@ -130,8 +102,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -140,8 +110,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The database is still being created. Operations on the database may fail
      * with `FAILED_PRECONDITION` in this state.
@@ -151,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The database is fully created and ready for use.
      * 
@@ -161,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; /** - * - * *
      * The database is fully created and ready for use, but is still
      * being optimized for performance and cannot handle full load.
@@ -178,6 +142,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_OPTIMIZING_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -202,51 +167,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return CREATING;
-        case 2:
-          return READY;
-        case 3:
-          return READY_OPTIMIZING;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        case 3: return READY_OPTIMIZING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.spanner.admin.database.v1.Database.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -265,12 +229,9 @@ private State(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -280,7 +241,6 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -289,15 +249,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -307,15 +266,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -326,56 +286,37 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** - * - * *
    * Output only. The current database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.Database.State getState() { - com.google.spanner.admin.database.v1.Database.State result = - com.google.spanner.admin.database.v1.Database.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.Database.State getState() { + com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.forNumber(state_); + return result == null ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -383,15 +324,11 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -399,14 +336,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -416,17 +350,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int RESTORE_INFO_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.RestoreInfo restoreInfo_; /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ @java.lang.Override @@ -434,49 +363,34 @@ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo() { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -484,10 +398,7 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -495,8 +406,6 @@ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -504,21 +413,14 @@ public boolean hasEncryptionConfig() {
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -526,25 +428,17 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private java.util.List encryptionInfo_; /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -557,18 +451,13 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getEncryptionInfoList() { + public java.util.List getEncryptionInfoList() { return encryptionInfo_; } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -581,18 +470,14 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getEncryptionInfoOrBuilderList() { return encryptionInfo_; } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -605,17 +490,13 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getEncryptionInfoCount() { return encryptionInfo_.size(); } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -628,17 +509,13 @@ public int getEncryptionInfoCount() {
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index) { return encryptionInfo_.get(index); } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -651,9 +528,7 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( @@ -662,12 +537,9 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio } public static final int VERSION_RETENTION_PERIOD_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object versionRetentionPeriod_ = ""; /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -677,7 +549,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The versionRetentionPeriod. */ @java.lang.Override @@ -686,15 +557,14 @@ public java.lang.String getVersionRetentionPeriod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionRetentionPeriod_ = s; return s; } } /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -704,15 +574,16 @@ public java.lang.String getVersionRetentionPeriod() {
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for versionRetentionPeriod. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { + public com.google.protobuf.ByteString + getVersionRetentionPeriodBytes() { java.lang.Object ref = versionRetentionPeriod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionRetentionPeriod_ = b; return b; } else { @@ -723,8 +594,6 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { public static final int EARLIEST_VERSION_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp earliestVersionTime_; /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -733,10 +602,7 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() {
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestVersionTime field is set. */ @java.lang.Override @@ -744,8 +610,6 @@ public boolean hasEarliestVersionTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -754,21 +618,14 @@ public boolean hasEarliestVersionTime() {
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestVersionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestVersionTime() { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -777,24 +634,17 @@ public com.google.protobuf.Timestamp getEarliestVersionTime() {
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } public static final int DEFAULT_LEADER_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object defaultLeader_ = ""; /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -805,7 +655,6 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultLeader. */ @java.lang.Override @@ -814,15 +663,14 @@ public java.lang.String getDefaultLeader() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLeader_ = s; return s; } } /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -833,15 +681,16 @@ public java.lang.String getDefaultLeader() {
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for defaultLeader. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultLeaderBytes() { + public com.google.protobuf.ByteString + getDefaultLeaderBytes() { java.lang.Object ref = defaultLeader_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultLeader_ = b; return b; } else { @@ -852,56 +701,38 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() { public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int databaseDialect_ = 0; /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } public static final int ENABLE_DROP_PROTECTION_FIELD_NUMBER = 11; private boolean enableDropProtection_ = false; /** - * - * *
    * Whether drop protection is enabled for this database. Defaults to false,
    * if not set.
    * 
* * bool enable_drop_protection = 11; - * * @return The enableDropProtection. */ @java.lang.Override @@ -912,15 +743,12 @@ public boolean getEnableDropProtection() { public static final int RECONCILING_FIELD_NUMBER = 12; private boolean reconciling_ = false; /** - * - * *
    * Output only. If true, the database is being updated. If false, there are no
    * ongoing update operations for the database.
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -929,7 +757,6 @@ public boolean getReconciling() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -941,12 +768,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } - if (state_ - != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -970,9 +797,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLeader_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, defaultLeader_); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { output.writeEnum(10, databaseDialect_); } if (enableDropProtection_ != false) { @@ -993,41 +818,47 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (state_ - != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + if (state_ != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRestoreInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRestoreInfo()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEncryptionConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionRetentionPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, versionRetentionPeriod_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEarliestVersionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getEarliestVersionTime()); } for (int i = 0; i < encryptionInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, encryptionInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, encryptionInfo_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLeader_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, defaultLeader_); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, databaseDialect_); + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, databaseDialect_); } if (enableDropProtection_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, enableDropProtection_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, enableDropProtection_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, reconciling_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1037,38 +868,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.Database)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.Database other = - (com.google.spanner.admin.database.v1.Database) obj; + com.google.spanner.admin.database.v1.Database other = (com.google.spanner.admin.database.v1.Database) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasRestoreInfo() != other.hasRestoreInfo()) return false; if (hasRestoreInfo()) { - if (!getRestoreInfo().equals(other.getRestoreInfo())) return false; + if (!getRestoreInfo() + .equals(other.getRestoreInfo())) return false; } if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } - if (!getEncryptionInfoList().equals(other.getEncryptionInfoList())) return false; - if (!getVersionRetentionPeriod().equals(other.getVersionRetentionPeriod())) return false; + if (!getEncryptionInfoList() + .equals(other.getEncryptionInfoList())) return false; + if (!getVersionRetentionPeriod() + .equals(other.getVersionRetentionPeriod())) return false; if (hasEarliestVersionTime() != other.hasEarliestVersionTime()) return false; if (hasEarliestVersionTime()) { - if (!getEarliestVersionTime().equals(other.getEarliestVersionTime())) return false; + if (!getEarliestVersionTime() + .equals(other.getEarliestVersionTime())) return false; } - if (!getDefaultLeader().equals(other.getDefaultLeader())) return false; + if (!getDefaultLeader() + .equals(other.getDefaultLeader())) return false; if (databaseDialect_ != other.databaseDialect_) return false; - if (getEnableDropProtection() != other.getEnableDropProtection()) return false; - if (getReconciling() != other.getReconciling()) return false; + if (getEnableDropProtection() + != other.getEnableDropProtection()) return false; + if (getReconciling() + != other.getReconciling()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1111,135 +951,130 @@ public int hashCode() { hash = (37 * hash) + DATABASE_DIALECT_FIELD_NUMBER; hash = (53 * hash) + databaseDialect_; hash = (37 * hash) + ENABLE_DROP_PROTECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableDropProtection()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableDropProtection()); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.admin.database.v1.Database parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.Database parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.Database prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.Database} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.Database) com.google.spanner.admin.database.v1.DatabaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Database.class, - com.google.spanner.admin.database.v1.Database.Builder.class); + com.google.spanner.admin.database.v1.Database.class, com.google.spanner.admin.database.v1.Database.Builder.class); } // Construct using com.google.spanner.admin.database.v1.Database.newBuilder() @@ -1247,13 +1082,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getRestoreInfoFieldBuilder(); getEncryptionConfigFieldBuilder(); @@ -1261,7 +1097,6 @@ private void maybeForceBuilderInitialization() { getEarliestVersionTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1304,9 +1139,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override @@ -1325,12 +1160,9 @@ public com.google.spanner.admin.database.v1.Database build() { @java.lang.Override public com.google.spanner.admin.database.v1.Database buildPartial() { - com.google.spanner.admin.database.v1.Database result = - new com.google.spanner.admin.database.v1.Database(this); + com.google.spanner.admin.database.v1.Database result = new com.google.spanner.admin.database.v1.Database(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1357,27 +1189,30 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Database result) } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.restoreInfo_ = - restoreInfoBuilder_ == null ? restoreInfo_ : restoreInfoBuilder_.build(); + result.restoreInfo_ = restoreInfoBuilder_ == null + ? restoreInfo_ + : restoreInfoBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000040) != 0)) { result.versionRetentionPeriod_ = versionRetentionPeriod_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.earliestVersionTime_ = - earliestVersionTimeBuilder_ == null - ? earliestVersionTime_ - : earliestVersionTimeBuilder_.build(); + result.earliestVersionTime_ = earliestVersionTimeBuilder_ == null + ? earliestVersionTime_ + : earliestVersionTimeBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000100) != 0)) { @@ -1399,39 +1234,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Database result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.Database) { - return mergeFrom((com.google.spanner.admin.database.v1.Database) other); + return mergeFrom((com.google.spanner.admin.database.v1.Database)other); } else { super.mergeFrom(other); return this; @@ -1475,10 +1309,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.Database other) { encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000020); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEncryptionInfoFieldBuilder() - : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEncryptionInfoFieldBuilder() : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1532,95 +1365,88 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - versionRetentionPeriod_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: - { - input.readMessage( - getEarliestVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - com.google.spanner.admin.database.v1.EncryptionInfo m = - input.readMessage( - com.google.spanner.admin.database.v1.EncryptionInfo.parser(), - extensionRegistry); - if (encryptionInfoBuilder_ == null) { - ensureEncryptionInfoIsMutable(); - encryptionInfo_.add(m); - } else { - encryptionInfoBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: - { - defaultLeader_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: - { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: - { - enableDropProtection_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 96: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000800; - break; - } // case 96 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getRestoreInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + versionRetentionPeriod_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: { + input.readMessage( + getEarliestVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + com.google.spanner.admin.database.v1.EncryptionInfo m = + input.readMessage( + com.google.spanner.admin.database.v1.EncryptionInfo.parser(), + extensionRegistry); + if (encryptionInfoBuilder_ == null) { + ensureEncryptionInfoIsMutable(); + encryptionInfo_.add(m); + } else { + encryptionInfoBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: { + defaultLeader_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + enableDropProtection_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 96: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 96 + 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) { @@ -1630,13 +1456,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1646,13 +1469,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1661,8 +1484,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1672,14 +1493,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1687,8 +1509,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1698,22 +1518,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1723,7 +1539,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1733,8 +1548,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1744,14 +1557,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1761,33 +1572,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1798,37 +1598,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.database.v1.Database.State getState() { - com.google.spanner.admin.database.v1.Database.State result = - com.google.spanner.admin.database.v1.Database.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.forNumber(state_); + return result == null ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1842,16 +1629,11 @@ public Builder setState(com.google.spanner.admin.database.v1.Database.State valu return this; } /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -1863,58 +1645,39 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1930,17 +1693,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1951,21 +1711,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1980,15 +1736,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2001,15 +1753,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -2017,48 +1765,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2066,61 +1802,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.spanner.admin.database.v1.RestoreInfo restoreInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, - com.google.spanner.admin.database.v1.RestoreInfo.Builder, - com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> - restoreInfoBuilder_; + com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> restoreInfoBuilder_; /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ public com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo() { if (restoreInfoBuilder_ == null) { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } else { return restoreInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo value) { if (restoreInfoBuilder_ == null) { @@ -2136,16 +1853,12 @@ public Builder setRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo v return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo( com.google.spanner.admin.database.v1.RestoreInfo.Builder builderForValue) { @@ -2159,23 +1872,18 @@ public Builder setRestoreInfo( return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo value) { if (restoreInfoBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && restoreInfo_ != null - && restoreInfo_ - != com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + restoreInfo_ != null && + restoreInfo_ != com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) { getRestoreInfoBuilder().mergeFrom(value); } else { restoreInfo_ = value; @@ -2190,16 +1898,12 @@ public Builder mergeRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRestoreInfo() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2212,16 +1916,12 @@ public Builder clearRestoreInfo() { return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.RestoreInfo.Builder getRestoreInfoBuilder() { bitField0_ |= 0x00000008; @@ -2229,50 +1929,38 @@ public com.google.spanner.admin.database.v1.RestoreInfo.Builder getRestoreInfoBu return getRestoreInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { if (restoreInfoBuilder_ != null) { return restoreInfoBuilder_.getMessageOrBuilder(); } else { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? + com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, - com.google.spanner.admin.database.v1.RestoreInfo.Builder, - com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> + com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> getRestoreInfoFieldBuilder() { if (restoreInfoBuilder_ == null) { - restoreInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, - com.google.spanner.admin.database.v1.RestoreInfo.Builder, - com.google.spanner.admin.database.v1.RestoreInfoOrBuilder>( - getRestoreInfo(), getParentForChildren(), isClean()); + restoreInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder>( + getRestoreInfo(), + getParentForChildren(), + isClean()); restoreInfo_ = null; } return restoreInfoBuilder_; @@ -2280,13 +1968,8 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2294,18 +1977,13 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2313,24 +1991,17 @@ public boolean hasEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2338,12 +2009,9 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2357,8 +2025,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2366,9 +2032,7 @@ public Builder setEncryptionConfig(
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.EncryptionConfig.Builder builderForValue) { @@ -2382,8 +2046,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2391,17 +2053,13 @@ public Builder setEncryptionConfig(
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -2416,8 +2074,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2425,9 +2081,7 @@ public Builder mergeEncryptionConfig(
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2440,8 +2094,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2449,19 +2101,14 @@ public Builder clearEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.spanner.admin.database.v1.EncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2469,23 +2116,17 @@ public Builder clearEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2493,48 +2134,35 @@ public Builder clearEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - encryptionInfo_ = - new java.util.ArrayList( - encryptionInfo_); + encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2547,12 +2175,9 @@ private void ensureEncryptionInfoIsMutable() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoList() { + public java.util.List getEncryptionInfoList() { if (encryptionInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(encryptionInfo_); } else { @@ -2560,8 +2185,6 @@ private void ensureEncryptionInfoIsMutable() { } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2574,9 +2197,7 @@ private void ensureEncryptionInfoIsMutable() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getEncryptionInfoCount() { if (encryptionInfoBuilder_ == null) { @@ -2586,8 +2207,6 @@ public int getEncryptionInfoCount() { } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2600,9 +2219,7 @@ public int getEncryptionInfoCount() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -2612,8 +2229,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2626,9 +2241,7 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo value) { @@ -2645,8 +2258,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2659,9 +2270,7 @@ public Builder setEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2675,8 +2284,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2689,9 +2296,7 @@ public Builder setEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2707,8 +2312,6 @@ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.Encryption return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2721,9 +2324,7 @@ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.Encryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo value) { @@ -2740,8 +2341,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2754,9 +2353,7 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2770,8 +2367,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2784,9 +2379,7 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2800,8 +2393,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2814,15 +2405,14 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllEncryptionInfo( java.lang.Iterable values) { if (encryptionInfoBuilder_ == null) { ensureEncryptionInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, encryptionInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, encryptionInfo_); onChanged(); } else { encryptionInfoBuilder_.addAllMessages(values); @@ -2830,8 +2420,6 @@ public Builder addAllEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2844,9 +2432,7 @@ public Builder addAllEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { if (encryptionInfoBuilder_ == null) { @@ -2859,8 +2445,6 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2873,9 +2457,7 @@ public Builder clearEncryptionInfo() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -2888,8 +2470,6 @@ public Builder removeEncryptionInfo(int index) { return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2902,17 +2482,13 @@ public Builder removeEncryptionInfo(int index) {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryptionInfoBuilder( int index) { return getEncryptionInfoFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2925,21 +2501,16 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index) { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_.get(index); - } else { + return encryptionInfo_.get(index); } else { return encryptionInfoBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2952,12 +2523,10 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoOrBuilderList() { + public java.util.List + getEncryptionInfoOrBuilderList() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilderList(); } else { @@ -2965,8 +2534,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2979,17 +2546,13 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryptionInfoBuilder() { - return getEncryptionInfoFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -3002,19 +2565,14 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryptionInfoBuilder( int index) { - return getEncryptionInfoFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -3027,26 +2585,18 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoBuilderList() { + public java.util.List + getEncryptionInfoBuilderList() { return getEncryptionInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( + encryptionInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( encryptionInfo_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -3058,8 +2608,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption private java.lang.Object versionRetentionPeriod_ = ""; /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -3068,15 +2616,14 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The versionRetentionPeriod. */ public java.lang.String getVersionRetentionPeriod() { java.lang.Object ref = versionRetentionPeriod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionRetentionPeriod_ = s; return s; @@ -3085,8 +2632,6 @@ public java.lang.String getVersionRetentionPeriod() { } } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -3095,16 +2640,16 @@ public java.lang.String getVersionRetentionPeriod() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for versionRetentionPeriod. */ - public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { + public com.google.protobuf.ByteString + getVersionRetentionPeriodBytes() { java.lang.Object ref = versionRetentionPeriod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionRetentionPeriod_ = b; return b; } else { @@ -3112,8 +2657,6 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { } } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -3122,24 +2665,19 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The versionRetentionPeriod to set. * @return This builder for chaining. */ - public Builder setVersionRetentionPeriod(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionRetentionPeriod( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } versionRetentionPeriod_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -3148,9 +2686,7 @@ public Builder setVersionRetentionPeriod(java.lang.String value) {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearVersionRetentionPeriod() { @@ -3160,8 +2696,6 @@ public Builder clearVersionRetentionPeriod() { return this; } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -3170,16 +2704,13 @@ public Builder clearVersionRetentionPeriod() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for versionRetentionPeriod to set. * @return This builder for chaining. */ - public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionRetentionPeriodBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionRetentionPeriod_ = value; bitField0_ |= 0x00000040; @@ -3189,13 +2720,8 @@ public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString val private com.google.protobuf.Timestamp earliestVersionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestVersionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestVersionTimeBuilder_; /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3204,18 +2730,13 @@ public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString val
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestVersionTime field is set. */ public boolean hasEarliestVersionTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3224,24 +2745,17 @@ public boolean hasEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestVersionTime. */ public com.google.protobuf.Timestamp getEarliestVersionTime() { if (earliestVersionTimeBuilder_ == null) { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } else { return earliestVersionTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3250,9 +2764,7 @@ public com.google.protobuf.Timestamp getEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) { if (earliestVersionTimeBuilder_ == null) { @@ -3268,8 +2780,6 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3278,11 +2788,10 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEarliestVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestVersionTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestVersionTimeBuilder_ == null) { earliestVersionTime_ = builderForValue.build(); } else { @@ -3293,8 +2802,6 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp.Builder buil return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3303,15 +2810,13 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp.Builder buil
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) { if (earliestVersionTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && earliestVersionTime_ != null - && earliestVersionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + earliestVersionTime_ != null && + earliestVersionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestVersionTimeBuilder().mergeFrom(value); } else { earliestVersionTime_ = value; @@ -3326,8 +2831,6 @@ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3336,9 +2839,7 @@ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEarliestVersionTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3351,8 +2852,6 @@ public Builder clearEarliestVersionTime() { return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3361,9 +2860,7 @@ public Builder clearEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() { bitField0_ |= 0x00000080; @@ -3371,8 +2868,6 @@ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() { return getEarliestVersionTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3381,22 +2876,17 @@ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { if (earliestVersionTimeBuilder_ != null) { return earliestVersionTimeBuilder_.getMessageOrBuilder(); } else { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3405,22 +2895,17 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEarliestVersionTimeFieldBuilder() { if (earliestVersionTimeBuilder_ == null) { - earliestVersionTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEarliestVersionTime(), getParentForChildren(), isClean()); + earliestVersionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEarliestVersionTime(), + getParentForChildren(), + isClean()); earliestVersionTime_ = null; } return earliestVersionTimeBuilder_; @@ -3428,8 +2913,6 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() private java.lang.Object defaultLeader_ = ""; /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3440,13 +2923,13 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultLeader. */ public java.lang.String getDefaultLeader() { java.lang.Object ref = defaultLeader_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLeader_ = s; return s; @@ -3455,8 +2938,6 @@ public java.lang.String getDefaultLeader() { } } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3467,14 +2948,15 @@ public java.lang.String getDefaultLeader() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for defaultLeader. */ - public com.google.protobuf.ByteString getDefaultLeaderBytes() { + public com.google.protobuf.ByteString + getDefaultLeaderBytes() { java.lang.Object ref = defaultLeader_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultLeader_ = b; return b; } else { @@ -3482,8 +2964,6 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() { } } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3494,22 +2974,18 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The defaultLeader to set. * @return This builder for chaining. */ - public Builder setDefaultLeader(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultLeader( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultLeader_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3520,7 +2996,6 @@ public Builder setDefaultLeader(java.lang.String value) {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDefaultLeader() { @@ -3530,8 +3005,6 @@ public Builder clearDefaultLeader() { return this; } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3542,14 +3015,12 @@ public Builder clearDefaultLeader() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for defaultLeader to set. * @return This builder for chaining. */ - public Builder setDefaultLeaderBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultLeaderBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultLeader_ = value; bitField0_ |= 0x00000100; @@ -3559,33 +3030,22 @@ public Builder setDefaultLeaderBytes(com.google.protobuf.ByteString value) { private int databaseDialect_ = 0; /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -3596,37 +3056,24 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -3640,16 +3087,11 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -3659,17 +3101,14 @@ public Builder clearDatabaseDialect() { return this; } - private boolean enableDropProtection_; + private boolean enableDropProtection_ ; /** - * - * *
      * Whether drop protection is enabled for this database. Defaults to false,
      * if not set.
      * 
* * bool enable_drop_protection = 11; - * * @return The enableDropProtection. */ @java.lang.Override @@ -3677,15 +3116,12 @@ public boolean getEnableDropProtection() { return enableDropProtection_; } /** - * - * *
      * Whether drop protection is enabled for this database. Defaults to false,
      * if not set.
      * 
* * bool enable_drop_protection = 11; - * * @param value The enableDropProtection to set. * @return This builder for chaining. */ @@ -3697,15 +3133,12 @@ public Builder setEnableDropProtection(boolean value) { return this; } /** - * - * *
      * Whether drop protection is enabled for this database. Defaults to false,
      * if not set.
      * 
* * bool enable_drop_protection = 11; - * * @return This builder for chaining. */ public Builder clearEnableDropProtection() { @@ -3715,17 +3148,14 @@ public Builder clearEnableDropProtection() { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If true, the database is being updated. If false, there are no
      * ongoing update operations for the database.
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -3733,15 +3163,12 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If true, the database is being updated. If false, there are no
      * ongoing update operations for the database.
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -3753,15 +3180,12 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If true, the database is being updated. If false, there are no
      * ongoing update operations for the database.
      * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3770,9 +3194,9 @@ public Builder clearReconciling() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3782,12 +3206,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.Database) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.Database) private static final com.google.spanner.admin.database.v1.Database DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.Database(); } @@ -3796,27 +3220,27 @@ public static com.google.spanner.admin.database.v1.Database getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Database 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; @@ -3831,4 +3255,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.Database getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java similarity index 67% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java index 93cb88c18d1..ce84b002ce7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto @@ -20,18 +5,15 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Indicates the dialect type of a database.
  * 
* * Protobuf enum {@code google.spanner.admin.database.v1.DatabaseDialect} */ -public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseDialect + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value. This value will create a database with the
    * GOOGLE_STANDARD_SQL dialect.
@@ -41,8 +23,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum {
    */
   DATABASE_DIALECT_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Google standard SQL.
    * 
@@ -51,8 +31,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_STANDARD_SQL(1), /** - * - * *
    * PostgreSQL supported SQL.
    * 
@@ -64,8 +42,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value. This value will create a database with the
    * GOOGLE_STANDARD_SQL dialect.
@@ -75,8 +51,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DATABASE_DIALECT_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Google standard SQL.
    * 
@@ -85,8 +59,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_STANDARD_SQL_VALUE = 1; /** - * - * *
    * PostgreSQL supported SQL.
    * 
@@ -95,6 +67,7 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRESQL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,49 +92,49 @@ public static DatabaseDialect valueOf(int value) { */ public static DatabaseDialect forNumber(int value) { switch (value) { - case 0: - return DATABASE_DIALECT_UNSPECIFIED; - case 1: - return GOOGLE_STANDARD_SQL; - case 2: - return POSTGRESQL; - default: - return null; + case 0: return DATABASE_DIALECT_UNSPECIFIED; + case 1: return GOOGLE_STANDARD_SQL; + case 2: return POSTGRESQL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseDialect findValueByNumber(int number) { - return DatabaseDialect.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DatabaseDialect> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseDialect findValueByNumber(int number) { + return DatabaseDialect.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.spanner.admin.database.v1.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final DatabaseDialect[] VALUES = values(); - public static DatabaseDialect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseDialect valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -177,3 +150,4 @@ private DatabaseDialect(int value) { // @@protoc_insertion_point(enum_scope:google.spanner.admin.database.v1.DatabaseDialect) } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java similarity index 74% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java index 72c3d2e2ba5..4f275d8ac26 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface DatabaseOrBuilder - extends +public interface DatabaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.Database) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -36,13 +18,10 @@ public interface DatabaseOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -52,125 +31,88 @@ public interface DatabaseOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The current database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.database.v1.Database.State getState(); /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ boolean hasRestoreInfo(); /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo(); /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -178,16 +120,11 @@ public interface DatabaseOrBuilder
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -195,16 +132,11 @@ public interface DatabaseOrBuilder
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -212,15 +144,11 @@ public interface DatabaseOrBuilder
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -233,14 +161,11 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getEncryptionInfoList(); + java.util.List + getEncryptionInfoList(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -253,14 +178,10 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -273,14 +194,10 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getEncryptionInfoCount(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -293,15 +210,11 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getEncryptionInfoOrBuilderList(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -314,16 +227,12 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index); /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -333,13 +242,10 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The versionRetentionPeriod. */ java.lang.String getVersionRetentionPeriod(); /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -349,14 +255,12 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for versionRetentionPeriod. */ - com.google.protobuf.ByteString getVersionRetentionPeriodBytes(); + com.google.protobuf.ByteString + getVersionRetentionPeriodBytes(); /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -365,16 +269,11 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestVersionTime field is set. */ boolean hasEarliestVersionTime(); /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -383,16 +282,11 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestVersionTime. */ com.google.protobuf.Timestamp getEarliestVersionTime(); /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -401,15 +295,11 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder(); /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -420,13 +310,10 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultLeader. */ java.lang.String getDefaultLeader(); /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -437,64 +324,48 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for defaultLeader. */ - com.google.protobuf.ByteString getDefaultLeaderBytes(); + com.google.protobuf.ByteString + getDefaultLeaderBytes(); /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); /** - * - * *
    * Whether drop protection is enabled for this database. Defaults to false,
    * if not set.
    * 
* * bool enable_drop_protection = 11; - * * @return The enableDropProtection. */ boolean getEnableDropProtection(); /** - * - * *
    * Output only. If true, the database is being updated. If false, there are no
    * ongoing update operations for the database.
    * 
* * bool reconciling = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java similarity index 69% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java index c3b65f4705e..1fd8f1f08ac 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,56 +5,49 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * A Cloud Spanner database role.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DatabaseRole} */ -public final class DatabaseRole extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DatabaseRole extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DatabaseRole) DatabaseRoleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DatabaseRole.newBuilder() to construct. private DatabaseRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatabaseRole() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatabaseRole(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DatabaseRole.class, - com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); + com.google.spanner.admin.database.v1.DatabaseRole.class, com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -79,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -88,15 +65,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -106,15 +82,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -159,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DatabaseRole)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DatabaseRole other = - (com.google.spanner.admin.database.v1.DatabaseRole) obj; + com.google.spanner.admin.database.v1.DatabaseRole other = (com.google.spanner.admin.database.v1.DatabaseRole) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,135 +164,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.DatabaseRole prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Spanner database role.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DatabaseRole} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DatabaseRole) com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DatabaseRole.class, - com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); + com.google.spanner.admin.database.v1.DatabaseRole.class, com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); } // Construct using com.google.spanner.admin.database.v1.DatabaseRole.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +298,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override @@ -346,11 +319,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole build() { @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseRole buildPartial() { - com.google.spanner.admin.database.v1.DatabaseRole result = - new com.google.spanner.admin.database.v1.DatabaseRole(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.DatabaseRole result = new com.google.spanner.admin.database.v1.DatabaseRole(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -366,39 +336,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DatabaseRole res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.DatabaseRole) { - return mergeFrom((com.google.spanner.admin.database.v1.DatabaseRole) other); + return mergeFrom((com.google.spanner.admin.database.v1.DatabaseRole)other); } else { super.mergeFrom(other); return this; @@ -406,8 +375,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DatabaseRole other) { - if (other == com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -439,19 +407,17 @@ public Builder mergeFrom( 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: + 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) { @@ -461,13 +427,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -477,13 +440,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -492,8 +455,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -503,14 +464,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,8 +480,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -529,22 +489,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -554,7 +510,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -564,8 +519,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -575,23 +528,21 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DatabaseRole) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DatabaseRole) private static final com.google.spanner.admin.database.v1.DatabaseRole DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DatabaseRole(); } @@ -615,27 +566,27 @@ public static com.google.spanner.admin.database.v1.DatabaseRole getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseRole 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseRole 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; @@ -650,4 +601,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DatabaseRole getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java similarity index 65% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java index 512a0227136..fcb07d4acfe 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface DatabaseRoleOrBuilder - extends +public interface DatabaseRoleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DatabaseRole) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -36,13 +18,10 @@ public interface DatabaseRoleOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -52,8 +31,8 @@ public interface DatabaseRoleOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfo.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfo.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfo.java index 38f1b7e775c..190e9d249e5 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Action information extracted from a DDL statement. This proto is used to
  * display the brief info of the DDL statement for the operation
@@ -30,57 +13,52 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.DdlStatementActionInfo}
  */
-public final class DdlStatementActionInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DdlStatementActionInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DdlStatementActionInfo)
     DdlStatementActionInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DdlStatementActionInfo.newBuilder() to construct.
   private DdlStatementActionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DdlStatementActionInfo() {
     action_ = "";
     entityType_ = "";
-    entityNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    entityNames_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DdlStatementActionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.DdlStatementActionInfo.class,
-            com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder.class);
+            com.google.spanner.admin.database.v1.DdlStatementActionInfo.class, com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder.class);
   }
 
   public static final int ACTION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object action_ = "";
   /**
-   *
-   *
    * 
    * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
    * This field is a non-empty string.
    * 
* * string action = 1; - * * @return The action. */ @java.lang.Override @@ -89,30 +67,30 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** - * - * *
    * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
    * This field is a non-empty string.
    * 
* * string action = 1; - * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -121,12 +99,9 @@ public com.google.protobuf.ByteString getActionBytes() { } public static final int ENTITY_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object entityType_ = ""; /** - * - * *
    * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
    * This field can be empty string for some DDL statement,
@@ -134,7 +109,6 @@ public com.google.protobuf.ByteString getActionBytes() {
    * 
* * string entity_type = 2; - * * @return The entityType. */ @java.lang.Override @@ -143,15 +117,14 @@ public java.lang.String getEntityType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entityType_ = s; return s; } } /** - * - * *
    * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
    * This field can be empty string for some DDL statement,
@@ -159,15 +132,16 @@ public java.lang.String getEntityType() {
    * 
* * string entity_type = 2; - * * @return The bytes for entityType. */ @java.lang.Override - public com.google.protobuf.ByteString getEntityTypeBytes() { + public com.google.protobuf.ByteString + getEntityTypeBytes() { java.lang.Object ref = entityType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entityType_ = b; return b; } else { @@ -176,13 +150,10 @@ public com.google.protobuf.ByteString getEntityTypeBytes() { } public static final int ENTITY_NAMES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList entityNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -192,15 +163,13 @@ public com.google.protobuf.ByteString getEntityTypeBytes() {
    * 
* * repeated string entity_names = 3; - * * @return A list containing the entityNames. */ - public com.google.protobuf.ProtocolStringList getEntityNamesList() { + public com.google.protobuf.ProtocolStringList + getEntityNamesList() { return entityNames_; } /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -210,15 +179,12 @@ public com.google.protobuf.ProtocolStringList getEntityNamesList() {
    * 
* * repeated string entity_names = 3; - * * @return The count of entityNames. */ public int getEntityNamesCount() { return entityNames_.size(); } /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -228,7 +194,6 @@ public int getEntityNamesCount() {
    * 
* * repeated string entity_names = 3; - * * @param index The index of the element to return. * @return The entityNames at the given index. */ @@ -236,8 +201,6 @@ public java.lang.String getEntityNames(int index) { return entityNames_.get(index); } /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -247,16 +210,15 @@ public java.lang.String getEntityNames(int index) {
    * 
* * repeated string entity_names = 3; - * * @param index The index of the value to return. * @return The bytes of the entityNames at the given index. */ - public com.google.protobuf.ByteString getEntityNamesBytes(int index) { + public com.google.protobuf.ByteString + getEntityNamesBytes(int index) { return entityNames_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(action_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, action_); } @@ -309,17 +272,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DdlStatementActionInfo)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DdlStatementActionInfo other = - (com.google.spanner.admin.database.v1.DdlStatementActionInfo) obj; - - if (!getAction().equals(other.getAction())) return false; - if (!getEntityType().equals(other.getEntityType())) return false; - if (!getEntityNamesList().equals(other.getEntityNamesList())) return false; + com.google.spanner.admin.database.v1.DdlStatementActionInfo other = (com.google.spanner.admin.database.v1.DdlStatementActionInfo) obj; + + if (!getAction() + .equals(other.getAction())) return false; + if (!getEntityType() + .equals(other.getEntityType())) return false; + if (!getEntityNamesList() + .equals(other.getEntityNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,104 +310,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DdlStatementActionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.DdlStatementActionInfo prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.DdlStatementActionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action information extracted from a DDL statement. This proto is used to
    * display the brief info of the DDL statement for the operation
@@ -451,46 +410,48 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.DdlStatementActionInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DdlStatementActionInfo)
       com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.DdlStatementActionInfo.class,
-              com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder.class);
+              com.google.spanner.admin.database.v1.DdlStatementActionInfo.class, com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.DdlStatementActionInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       action_ = "";
       entityType_ = "";
-      entityNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      entityNames_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -509,11 +470,8 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfo build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.DdlStatementActionInfo buildPartial() {
-      com.google.spanner.admin.database.v1.DdlStatementActionInfo result =
-          new com.google.spanner.admin.database.v1.DdlStatementActionInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.DdlStatementActionInfo result = new com.google.spanner.admin.database.v1.DdlStatementActionInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -536,39 +494,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DdlStatementActi
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.DdlStatementActionInfo) {
-        return mergeFrom((com.google.spanner.admin.database.v1.DdlStatementActionInfo) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.DdlStatementActionInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -576,8 +533,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.DdlStatementActionInfo other) {
-      if (other == com.google.spanner.admin.database.v1.DdlStatementActionInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.DdlStatementActionInfo.getDefaultInstance()) return this;
       if (!other.getAction().isEmpty()) {
         action_ = other.action_;
         bitField0_ |= 0x00000001;
@@ -624,32 +580,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                action_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                entityType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureEntityNamesIsMutable();
-                entityNames_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              action_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              entityType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureEntityNamesIsMutable();
+              entityNames_.add(s);
+              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) {
@@ -659,26 +611,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object action_ = "";
     /**
-     *
-     *
      * 
      * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
      * This field is a non-empty string.
      * 
* * string action = 1; - * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -687,22 +636,21 @@ public java.lang.String getAction() { } } /** - * - * *
      * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
      * This field is a non-empty string.
      * 
* * string action = 1; - * * @return The bytes for action. */ - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -710,37 +658,30 @@ public com.google.protobuf.ByteString getActionBytes() { } } /** - * - * *
      * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
      * This field is a non-empty string.
      * 
* * string action = 1; - * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } action_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
      * This field is a non-empty string.
      * 
* * string action = 1; - * * @return This builder for chaining. */ public Builder clearAction() { @@ -750,22 +691,18 @@ public Builder clearAction() { return this; } /** - * - * *
      * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
      * This field is a non-empty string.
      * 
* * string action = 1; - * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); action_ = value; bitField0_ |= 0x00000001; @@ -775,8 +712,6 @@ public Builder setActionBytes(com.google.protobuf.ByteString value) { private java.lang.Object entityType_ = ""; /** - * - * *
      * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
      * This field can be empty string for some DDL statement,
@@ -784,13 +719,13 @@ public Builder setActionBytes(com.google.protobuf.ByteString value) {
      * 
* * string entity_type = 2; - * * @return The entityType. */ public java.lang.String getEntityType() { java.lang.Object ref = entityType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entityType_ = s; return s; @@ -799,8 +734,6 @@ public java.lang.String getEntityType() { } } /** - * - * *
      * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
      * This field can be empty string for some DDL statement,
@@ -808,14 +741,15 @@ public java.lang.String getEntityType() {
      * 
* * string entity_type = 2; - * * @return The bytes for entityType. */ - public com.google.protobuf.ByteString getEntityTypeBytes() { + public com.google.protobuf.ByteString + getEntityTypeBytes() { java.lang.Object ref = entityType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); entityType_ = b; return b; } else { @@ -823,8 +757,6 @@ public com.google.protobuf.ByteString getEntityTypeBytes() { } } /** - * - * *
      * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
      * This field can be empty string for some DDL statement,
@@ -832,22 +764,18 @@ public com.google.protobuf.ByteString getEntityTypeBytes() {
      * 
* * string entity_type = 2; - * * @param value The entityType to set. * @return This builder for chaining. */ - public Builder setEntityType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entityType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
      * This field can be empty string for some DDL statement,
@@ -855,7 +783,6 @@ public Builder setEntityType(java.lang.String value) {
      * 
* * string entity_type = 2; - * * @return This builder for chaining. */ public Builder clearEntityType() { @@ -865,8 +792,6 @@ public Builder clearEntityType() { return this; } /** - * - * *
      * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
      * This field can be empty string for some DDL statement,
@@ -874,14 +799,12 @@ public Builder clearEntityType() {
      * 
* * string entity_type = 2; - * * @param value The bytes for entityType to set. * @return This builder for chaining. */ - public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entityType_ = value; bitField0_ |= 0x00000002; @@ -891,7 +814,6 @@ public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList entityNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureEntityNamesIsMutable() { if (!entityNames_.isModifiable()) { entityNames_ = new com.google.protobuf.LazyStringArrayList(entityNames_); @@ -899,8 +821,6 @@ private void ensureEntityNamesIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -910,16 +830,14 @@ private void ensureEntityNamesIsMutable() {
      * 
* * repeated string entity_names = 3; - * * @return A list containing the entityNames. */ - public com.google.protobuf.ProtocolStringList getEntityNamesList() { + public com.google.protobuf.ProtocolStringList + getEntityNamesList() { entityNames_.makeImmutable(); return entityNames_; } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -929,15 +847,12 @@ public com.google.protobuf.ProtocolStringList getEntityNamesList() {
      * 
* * repeated string entity_names = 3; - * * @return The count of entityNames. */ public int getEntityNamesCount() { return entityNames_.size(); } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -947,7 +862,6 @@ public int getEntityNamesCount() {
      * 
* * repeated string entity_names = 3; - * * @param index The index of the element to return. * @return The entityNames at the given index. */ @@ -955,8 +869,6 @@ public java.lang.String getEntityNames(int index) { return entityNames_.get(index); } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -966,16 +878,14 @@ public java.lang.String getEntityNames(int index) {
      * 
* * repeated string entity_names = 3; - * * @param index The index of the value to return. * @return The bytes of the entityNames at the given index. */ - public com.google.protobuf.ByteString getEntityNamesBytes(int index) { + public com.google.protobuf.ByteString + getEntityNamesBytes(int index) { return entityNames_.getByteString(index); } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -985,15 +895,13 @@ public com.google.protobuf.ByteString getEntityNamesBytes(int index) {
      * 
* * repeated string entity_names = 3; - * * @param index The index to set the value at. * @param value The entityNames to set. * @return This builder for chaining. */ - public Builder setEntityNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityNames( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEntityNamesIsMutable(); entityNames_.set(index, value); bitField0_ |= 0x00000004; @@ -1001,8 +909,6 @@ public Builder setEntityNames(int index, java.lang.String value) { return this; } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -1012,14 +918,12 @@ public Builder setEntityNames(int index, java.lang.String value) {
      * 
* * repeated string entity_names = 3; - * * @param value The entityNames to add. * @return This builder for chaining. */ - public Builder addEntityNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEntityNames( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEntityNamesIsMutable(); entityNames_.add(value); bitField0_ |= 0x00000004; @@ -1027,8 +931,6 @@ public Builder addEntityNames(java.lang.String value) { return this; } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -1038,20 +940,19 @@ public Builder addEntityNames(java.lang.String value) {
      * 
* * repeated string entity_names = 3; - * * @param values The entityNames to add. * @return This builder for chaining. */ - public Builder addAllEntityNames(java.lang.Iterable values) { + public Builder addAllEntityNames( + java.lang.Iterable values) { ensureEntityNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entityNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entityNames_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -1061,19 +962,16 @@ public Builder addAllEntityNames(java.lang.Iterable values) {
      * 
* * repeated string entity_names = 3; - * * @return This builder for chaining. */ public Builder clearEntityNames() { - entityNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + entityNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * The entity name(s) being operated on the DDL statement.
      * E.g.
@@ -1083,14 +981,12 @@ public Builder clearEntityNames() {
      * 
* * repeated string entity_names = 3; - * * @param value The bytes of the entityNames to add. * @return This builder for chaining. */ - public Builder addEntityNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEntityNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEntityNamesIsMutable(); entityNames_.add(value); @@ -1098,9 +994,9 @@ public Builder addEntityNamesBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1110,12 +1006,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DdlStatementActionInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DdlStatementActionInfo) private static final com.google.spanner.admin.database.v1.DdlStatementActionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DdlStatementActionInfo(); } @@ -1124,27 +1020,27 @@ public static com.google.spanner.admin.database.v1.DdlStatementActionInfo getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DdlStatementActionInfo 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DdlStatementActionInfo 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; @@ -1159,4 +1055,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DdlStatementActionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfoOrBuilder.java similarity index 76% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfoOrBuilder.java index 942e6ef7374..1ed335d2bcf 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DdlStatementActionInfoOrBuilder.java @@ -1,59 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface DdlStatementActionInfoOrBuilder - extends +public interface DdlStatementActionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DdlStatementActionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
    * This field is a non-empty string.
    * 
* * string action = 1; - * * @return The action. */ java.lang.String getAction(); /** - * - * *
    * The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc.
    * This field is a non-empty string.
    * 
* * string action = 1; - * * @return The bytes for action. */ - com.google.protobuf.ByteString getActionBytes(); + com.google.protobuf.ByteString + getActionBytes(); /** - * - * *
    * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
    * This field can be empty string for some DDL statement,
@@ -61,13 +38,10 @@ public interface DdlStatementActionInfoOrBuilder
    * 
* * string entity_type = 2; - * * @return The entityType. */ java.lang.String getEntityType(); /** - * - * *
    * The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc.
    * This field can be empty string for some DDL statement,
@@ -75,14 +49,12 @@ public interface DdlStatementActionInfoOrBuilder
    * 
* * string entity_type = 2; - * * @return The bytes for entityType. */ - com.google.protobuf.ByteString getEntityTypeBytes(); + com.google.protobuf.ByteString + getEntityTypeBytes(); /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -92,13 +64,11 @@ public interface DdlStatementActionInfoOrBuilder
    * 
* * repeated string entity_names = 3; - * * @return A list containing the entityNames. */ - java.util.List getEntityNamesList(); + java.util.List + getEntityNamesList(); /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -108,13 +78,10 @@ public interface DdlStatementActionInfoOrBuilder
    * 
* * repeated string entity_names = 3; - * * @return The count of entityNames. */ int getEntityNamesCount(); /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -124,14 +91,11 @@ public interface DdlStatementActionInfoOrBuilder
    * 
* * repeated string entity_names = 3; - * * @param index The index of the element to return. * @return The entityNames at the given index. */ java.lang.String getEntityNames(int index); /** - * - * *
    * The entity name(s) being operated on the DDL statement.
    * E.g.
@@ -141,9 +105,9 @@ public interface DdlStatementActionInfoOrBuilder
    * 
* * repeated string entity_names = 3; - * * @param index The index of the value to return. * @return The bytes of the entityNames at the given index. */ - com.google.protobuf.ByteString getEntityNamesBytes(int index); + com.google.protobuf.ByteString + getEntityNamesBytes(int index); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java similarity index 63% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java index 83cad340f12..165668c9f4d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,66 +5,56 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DeleteBackupRequest} */ -public final class DeleteBackupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteBackupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DeleteBackupRequest) DeleteBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteBackupRequest.newBuilder() to construct. private DeleteBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DeleteBackupRequest.class, - com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.DeleteBackupRequest.class, com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DeleteBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DeleteBackupRequest other = - (com.google.spanner.admin.database.v1.DeleteBackupRequest) obj; + com.google.spanner.admin.database.v1.DeleteBackupRequest other = (com.google.spanner.admin.database.v1.DeleteBackupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.DeleteBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.DeleteBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DeleteBackupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DeleteBackupRequest) com.google.spanner.admin.database.v1.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DeleteBackupRequest.class, - com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.DeleteBackupRequest.class, com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.DeleteBackupRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -347,11 +315,8 @@ public com.google.spanner.admin.database.v1.DeleteBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.DeleteBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.DeleteBackupRequest result = - new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.DeleteBackupRequest result = new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +332,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DeleteBackupRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.DeleteBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.DeleteBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.DeleteBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DeleteBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -462,29 +423,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +449,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +472,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +507,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +538,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DeleteBackupRequest) private static final com.google.spanner.admin.database.v1.DeleteBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DeleteBackupRequest(); } @@ -616,27 +552,27 @@ public static com.google.spanner.admin.database.v1.DeleteBackupRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteBackupRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteBackupRequest 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; @@ -651,4 +587,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java new file mode 100644 index 00000000000..495bbca8a3a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public interface DeleteBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DeleteBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/backups/<backup>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/backups/<backup>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java similarity index 63% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java index d5743917233..52217e38825 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,64 +5,54 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} */ -public final class DropDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DropDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DropDatabaseRequest) DropDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DropDatabaseRequest.newBuilder() to construct. private DropDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DropDatabaseRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DropDatabaseRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DropDatabaseRequest.class, - com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.DropDatabaseRequest.class, com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database to be dropped.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -86,31 +61,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database to be dropped.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -155,15 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DropDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DropDatabaseRequest other = - (com.google.spanner.admin.database.v1.DropDatabaseRequest) obj; + com.google.spanner.admin.database.v1.DropDatabaseRequest other = (com.google.spanner.admin.database.v1.DropDatabaseRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.DropDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.DropDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DropDatabaseRequest) com.google.spanner.admin.database.v1.DropDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DropDatabaseRequest.class, - com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.DropDatabaseRequest.class, com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.DropDatabaseRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override @@ -343,11 +311,8 @@ public com.google.spanner.admin.database.v1.DropDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.DropDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.DropDatabaseRequest result = - new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.DropDatabaseRequest result = new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +328,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DropDatabaseRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.DropDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.DropDatabaseRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.DropDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DropDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -436,19 +399,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = 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) { @@ -458,27 +419,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -487,23 +443,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -511,39 +464,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -553,32 +495,26 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DropDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DropDatabaseRequest) private static final com.google.spanner.admin.database.v1.DropDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DropDatabaseRequest(); } @@ -602,27 +538,27 @@ public static com.google.spanner.admin.database.v1.DropDatabaseRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropDatabaseRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropDatabaseRequest 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; @@ -637,4 +573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DropDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java new file mode 100644 index 00000000000..abdec3c00e2 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public interface DropDatabaseRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DropDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The database to be dropped.
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The database. + */ + java.lang.String getDatabase(); + /** + *
+   * Required. The database to be dropped.
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for database. + */ + com.google.protobuf.ByteString + getDatabaseBytes(); +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java similarity index 67% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java index 0ba0b77e092..3dc097165b7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto @@ -20,56 +5,49 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.EncryptionConfig} */ -public final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.EncryptionConfig) EncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EncryptionConfig.newBuilder() to construct. private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EncryptionConfig() { kmsKeyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionConfig.class, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.EncryptionConfig.class, com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ @java.lang.Override @@ -86,15 +63,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -102,15 +78,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.EncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.EncryptionConfig other = - (com.google.spanner.admin.database.v1.EncryptionConfig) obj; + com.google.spanner.admin.database.v1.EncryptionConfig other = (com.google.spanner.admin.database.v1.EncryptionConfig) obj; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +160,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.EncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption configuration for a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.EncryptionConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.EncryptionConfig) com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionConfig.class, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.EncryptionConfig.class, com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); } // Construct using com.google.spanner.admin.database.v1.EncryptionConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override @@ -343,11 +315,8 @@ public com.google.spanner.admin.database.v1.EncryptionConfig build() { @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.EncryptionConfig result = - new com.google.spanner.admin.database.v1.EncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.EncryptionConfig result = new com.google.spanner.admin.database.v1.EncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +332,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.EncryptionConfig public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.EncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.EncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.EncryptionConfig)other); } else { super.mergeFrom(other); return this; @@ -403,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.EncryptionConfig other) { - if (other == com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) return this; if (!other.getKmsKeyName().isEmpty()) { kmsKeyName_ = other.kmsKeyName_; bitField0_ |= 0x00000001; @@ -436,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + kmsKeyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + 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) { @@ -458,13 +423,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -472,13 +434,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -487,8 +449,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -496,14 +456,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -511,8 +472,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -520,22 +479,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -543,7 +498,6 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -553,8 +507,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -562,23 +514,21 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +538,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.EncryptionConfig) private static final com.google.spanner.admin.database.v1.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.EncryptionConfig(); } @@ -602,27 +552,27 @@ public static com.google.spanner.admin.database.v1.EncryptionConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig 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; @@ -637,4 +587,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java similarity index 60% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java index 8969328bfc3..b1e04334caa 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface EncryptionConfigOrBuilder - extends +public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -34,13 +16,10 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -48,8 +27,8 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java similarity index 66% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java index 5e9c0316ea1..bc64f3b7b68 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption information for a Cloud Spanner database or backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.EncryptionInfo} */ -public final class EncryptionInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EncryptionInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.EncryptionInfo) EncryptionInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EncryptionInfo.newBuilder() to construct. private EncryptionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EncryptionInfo() { encryptionType_ = 0; kmsKeyVersion_ = ""; @@ -45,38 +27,34 @@ private EncryptionInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionInfo.class, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); + com.google.spanner.admin.database.v1.EncryptionInfo.class, com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); } /** - * - * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.EncryptionInfo.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -85,8 +63,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * The data is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -97,8 +73,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * The data is encrypted at rest with a key that is
      * managed by the customer. The active version of the key. `kms_key_version`
@@ -112,8 +86,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -122,8 +94,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -134,8 +104,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The data is encrypted at rest with a key that is
      * managed by the customer. The active version of the key. `kms_key_version`
@@ -146,6 +114,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -170,51 +139,49 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 2:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 2: return CUSTOMER_MANAGED_ENCRYPTION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.EncryptionInfo.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.EncryptionInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -235,58 +202,39 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The type of encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Output only. The type of encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = - com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { + com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status encryptionStatus_; /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ @java.lang.Override @@ -294,60 +242,43 @@ public boolean hasEncryptionStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ @java.lang.Override public com.google.rpc.Status getEncryptionStatus() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ @java.lang.Override @@ -356,32 +287,30 @@ public java.lang.String getKmsKeyVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyVersion_ = s; return s; } } /** - * - * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyVersionBytes() { + public com.google.protobuf.ByteString + getKmsKeyVersionBytes() { java.lang.Object ref = kmsKeyVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyVersion_ = b; return b; } else { @@ -390,7 +319,6 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,12 +330,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyVersion_); } - if (encryptionType_ - != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + if (encryptionType_ != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, encryptionType_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -425,12 +353,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyVersion_); } - if (encryptionType_ - != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, encryptionType_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -440,20 +369,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.EncryptionInfo)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.EncryptionInfo other = - (com.google.spanner.admin.database.v1.EncryptionInfo) obj; + com.google.spanner.admin.database.v1.EncryptionInfo other = (com.google.spanner.admin.database.v1.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; if (hasEncryptionStatus() != other.hasEncryptionStatus()) return false; if (hasEncryptionStatus()) { - if (!getEncryptionStatus().equals(other.getEncryptionStatus())) return false; + if (!getEncryptionStatus() + .equals(other.getEncryptionStatus())) return false; } - if (!getKmsKeyVersion().equals(other.getKmsKeyVersion())) return false; + if (!getKmsKeyVersion() + .equals(other.getKmsKeyVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -479,126 +409,119 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.EncryptionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption information for a Cloud Spanner database or backup.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.EncryptionInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.EncryptionInfo) com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionInfo.class, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); + com.google.spanner.admin.database.v1.EncryptionInfo.class, com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.EncryptionInfo.newBuilder() @@ -606,17 +529,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEncryptionStatusFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -632,9 +555,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override @@ -653,11 +576,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo buildPartial() { - com.google.spanner.admin.database.v1.EncryptionInfo result = - new com.google.spanner.admin.database.v1.EncryptionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.EncryptionInfo result = new com.google.spanner.admin.database.v1.EncryptionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -669,8 +589,9 @@ private void buildPartial0(com.google.spanner.admin.database.v1.EncryptionInfo r } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.encryptionStatus_ = - encryptionStatusBuilder_ == null ? encryptionStatus_ : encryptionStatusBuilder_.build(); + result.encryptionStatus_ = encryptionStatusBuilder_ == null + ? encryptionStatus_ + : encryptionStatusBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -683,39 +604,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.EncryptionInfo r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.EncryptionInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.EncryptionInfo) other); + return mergeFrom((com.google.spanner.admin.database.v1.EncryptionInfo)other); } else { super.mergeFrom(other); return this; @@ -723,8 +643,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.EncryptionInfo other) { - if (other == com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -762,32 +681,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - kmsKeyVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 24 - case 34: - { - input.readMessage( - getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + kmsKeyVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 24 + case 34: { + input.readMessage( + getEncryptionStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + 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) { @@ -797,38 +713,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -839,42 +743,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = - com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.spanner.admin.database.v1.EncryptionInfo.Type value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.EncryptionInfo.Type value) { if (value == null) { throw new NullPointerException(); } @@ -884,16 +774,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -905,59 +790,45 @@ public Builder clearEncryptionType() { private com.google.rpc.Status encryptionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - encryptionStatusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> encryptionStatusBuilder_; /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ public boolean hasEncryptionStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ public com.google.rpc.Status getEncryptionStatus() { if (encryptionStatusBuilder_ == null) { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } else { return encryptionStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { @@ -973,18 +844,16 @@ public Builder setEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setEncryptionStatus( + com.google.rpc.Status.Builder builderForValue) { if (encryptionStatusBuilder_ == null) { encryptionStatus_ = builderForValue.build(); } else { @@ -995,22 +864,19 @@ public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && encryptionStatus_ != null - && encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + encryptionStatus_ != null && + encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { getEncryptionStatusBuilder().mergeFrom(value); } else { encryptionStatus_ = value; @@ -1025,16 +891,13 @@ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionStatus() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1047,16 +910,13 @@ public Builder clearEncryptionStatus() { return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { bitField0_ |= 0x00000002; @@ -1064,48 +924,40 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { return getEncryptionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { if (encryptionStatusBuilder_ != null) { return encryptionStatusBuilder_.getMessageOrBuilder(); } else { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? + com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getEncryptionStatusFieldBuilder() { if (encryptionStatusBuilder_ == null) { - encryptionStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - getEncryptionStatus(), getParentForChildren(), isClean()); + encryptionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getEncryptionStatus(), + getParentForChildren(), + isClean()); encryptionStatus_ = null; } return encryptionStatusBuilder_; @@ -1113,23 +965,19 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { private java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ public java.lang.String getKmsKeyVersion() { java.lang.Object ref = kmsKeyVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyVersion_ = s; return s; @@ -1138,24 +986,21 @@ public java.lang.String getKmsKeyVersion() { } } /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ - public com.google.protobuf.ByteString getKmsKeyVersionBytes() { + public com.google.protobuf.ByteString + getKmsKeyVersionBytes() { java.lang.Object ref = kmsKeyVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyVersion_ = b; return b; } else { @@ -1163,41 +1008,30 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } } /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersion() { @@ -1207,33 +1041,27 @@ public Builder clearKmsKeyVersion() { return this; } /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1243,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.EncryptionInfo) private static final com.google.spanner.admin.database.v1.EncryptionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.EncryptionInfo(); } @@ -1257,27 +1085,27 @@ public static com.google.spanner.admin.database.v1.EncryptionInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo 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; @@ -1292,4 +1120,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java similarity index 59% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java index caac5695fc0..9c1caac9100 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java @@ -1,130 +1,84 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface EncryptionInfoOrBuilder - extends +public interface EncryptionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.EncryptionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The type of encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Output only. The type of encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType(); /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ boolean hasEncryptionStatus(); /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ com.google.rpc.Status getEncryptionStatus(); /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder(); /** - * - * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ java.lang.String getKmsKeyVersion(); /** - * - * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ - com.google.protobuf.ByteString getKmsKeyVersionBytes(); + com.google.protobuf.ByteString + getKmsKeyVersionBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java index e93406bcbe1..2da4787a82d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,66 +5,56 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetBackupRequest} */ -public final class GetBackupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetBackupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetBackupRequest) GetBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetBackupRequest.newBuilder() to construct. private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetBackupRequest.class, - com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.GetBackupRequest.class, com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetBackupRequest other = - (com.google.spanner.admin.database.v1.GetBackupRequest) obj; + com.google.spanner.admin.database.v1.GetBackupRequest other = (com.google.spanner.admin.database.v1.GetBackupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.GetBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.GetBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetBackupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetBackupRequest) com.google.spanner.admin.database.v1.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetBackupRequest.class, - com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.GetBackupRequest.class, com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetBackupRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override @@ -347,11 +315,8 @@ public com.google.spanner.admin.database.v1.GetBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.GetBackupRequest result = - new com.google.spanner.admin.database.v1.GetBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.GetBackupRequest result = new com.google.spanner.admin.database.v1.GetBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +332,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetBackupRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +403,17 @@ public Builder mergeFrom( 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: + 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) { @@ -462,29 +423,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +449,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +472,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +507,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +538,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetBackupRequest) private static final com.google.spanner.admin.database.v1.GetBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetBackupRequest(); } @@ -616,27 +552,27 @@ public static com.google.spanner.admin.database.v1.GetBackupRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetBackupRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetBackupRequest 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; @@ -651,4 +587,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java new file mode 100644 index 00000000000..1b0ec6c27a5 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public interface GetBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/backups/<backup>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/backups/<backup>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java similarity index 64% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java index 3113d4cbc0b..abe5b11cb25 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,66 +5,56 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} */ -public final class GetDatabaseDdlRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseDdlRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseDdlRequest) GetDatabaseDdlRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseDdlRequest.newBuilder() to construct. private GetDatabaseDdlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseDdlRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseDdlRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database whose schema we wish to get.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database whose schema we wish to get.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other = - (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) obj; + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other = (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseDdlRequest) com.google.spanner.admin.database.v1.GetDatabaseDdlRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override @@ -347,11 +315,8 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = - new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +332,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseDdlRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -440,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = 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) { @@ -462,29 +423,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -493,25 +449,22 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -519,43 +472,32 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -565,34 +507,28 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +538,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseDdlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseDdlRequest) private static final com.google.spanner.admin.database.v1.GetDatabaseDdlRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(); } @@ -616,27 +552,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseDdlRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseDdlRequest 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; @@ -651,4 +587,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java new file mode 100644 index 00000000000..ca5a83e11ba --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public interface GetDatabaseDdlRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The database whose schema we wish to get.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The database. + */ + java.lang.String getDatabase(); + /** + *
+   * Required. The database whose schema we wish to get.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for database. + */ + com.google.protobuf.ByteString + getDatabaseBytes(); +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java similarity index 71% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java index dbbf4bab797..06bb51ff389 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,95 +5,83 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} */ -public final class GetDatabaseDdlResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseDdlResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseDdlResponse) GetDatabaseDdlResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseDdlResponse.newBuilder() to construct. private GetDatabaseDdlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseDdlResponse() { - statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); + statements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseDdlResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); } public static final int STATEMENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_; } /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -116,27 +89,23 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } public static final int PROTO_DESCRIPTORS_FIELD_NUMBER = 2; private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Proto descriptors stored in the database.
    * Contains a protobuf-serialized
@@ -146,7 +115,6 @@ public com.google.protobuf.ByteString getStatementsBytes(int index) {
    * 
* * bytes proto_descriptors = 2; - * * @return The protoDescriptors. */ @java.lang.Override @@ -155,7 +123,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,7 +134,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < statements_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, statements_.getRaw(i)); } @@ -192,7 +160,8 @@ public int getSerializedSize() { size += 1 * getStatementsList().size(); } if (!protoDescriptors_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, protoDescriptors_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, protoDescriptors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -202,16 +171,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other = - (com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) obj; + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other = (com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) obj; - if (!getStatementsList().equals(other.getStatementsList())) return false; - if (!getProtoDescriptors().equals(other.getProtoDescriptors())) return false; + if (!getStatementsList() + .equals(other.getStatementsList())) return false; + if (!getProtoDescriptors() + .equals(other.getProtoDescriptors())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -235,149 +205,145 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseDdlResponse) com.google.spanner.admin.database.v1.GetDatabaseDdlResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); + statements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override @@ -396,11 +362,8 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result = - new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result = new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -420,39 +383,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseDdlRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlResponse)other); } else { super.mergeFrom(other); return this; @@ -460,8 +422,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) return this; if (!other.statements_.isEmpty()) { if (statements_.isEmpty()) { statements_ = other.statements_; @@ -501,26 +462,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureStatementsIsMutable(); - statements_.add(s); - break; - } // case 10 - case 18: - { - protoDescriptors_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureStatementsIsMutable(); + statements_.add(s); + break; + } // case 10 + case 18: { + protoDescriptors_ = input.readBytes(); + 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) { @@ -530,12 +488,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureStatementsIsMutable() { if (!statements_.isModifiable()) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); @@ -543,46 +499,38 @@ private void ensureStatementsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { statements_.makeImmutable(); return statements_; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -590,39 +538,33 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); bitField0_ |= 0x00000001; @@ -630,22 +572,18 @@ public Builder setStatements(int index, java.lang.String value) { return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); bitField0_ |= 0x00000001; @@ -653,61 +591,53 @@ public Builder addStatements(java.lang.String value) { return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements(java.lang.Iterable values) { + public Builder addAllStatements( + java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @return This builder for chaining. */ public Builder clearStatements() { - statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + statements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); @@ -718,8 +648,6 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Proto descriptors stored in the database.
      * Contains a protobuf-serialized
@@ -729,7 +657,6 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes proto_descriptors = 2; - * * @return The protoDescriptors. */ @java.lang.Override @@ -737,8 +664,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { return protoDescriptors_; } /** - * - * *
      * Proto descriptors stored in the database.
      * Contains a protobuf-serialized
@@ -748,22 +673,17 @@ public com.google.protobuf.ByteString getProtoDescriptors() {
      * 
* * bytes proto_descriptors = 2; - * * @param value The protoDescriptors to set. * @return This builder for chaining. */ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } protoDescriptors_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Proto descriptors stored in the database.
      * Contains a protobuf-serialized
@@ -773,7 +693,6 @@ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) {
      * 
* * bytes proto_descriptors = 2; - * * @return This builder for chaining. */ public Builder clearProtoDescriptors() { @@ -782,9 +701,9 @@ public Builder clearProtoDescriptors() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -794,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseDdlResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseDdlResponse) private static final com.google.spanner.admin.database.v1.GetDatabaseDdlResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(); } @@ -808,27 +727,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseDdlResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseDdlResponse 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; @@ -843,4 +762,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java index 5221e50c10b..54d9a82de34 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java @@ -1,87 +1,59 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface GetDatabaseDdlResponseOrBuilder - extends +public interface GetDatabaseDdlResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return A list containing the statements. */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return The count of statements. */ int getStatementsCount(); /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString getStatementsBytes(int index); + com.google.protobuf.ByteString + getStatementsBytes(int index); /** - * - * *
    * Proto descriptors stored in the database.
    * Contains a protobuf-serialized
@@ -91,7 +63,6 @@ public interface GetDatabaseDdlResponseOrBuilder
    * 
* * bytes proto_descriptors = 2; - * * @return The protoDescriptors. */ com.google.protobuf.ByteString getProtoDescriptors(); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java similarity index 64% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java index b9442cb729f..a99357f9cac 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,65 +5,55 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} */ -public final class GetDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseRequest) GetDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseRequest.newBuilder() to construct. private GetDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseRequest.class, com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the requested database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the requested database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseRequest other = - (com.google.spanner.admin.database.v1.GetDatabaseRequest) obj; + com.google.spanner.admin.database.v1.GetDatabaseRequest other = (com.google.spanner.admin.database.v1.GetDatabaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +158,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.GetDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseRequest) com.google.spanner.admin.database.v1.GetDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseRequest.class, com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -324,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override @@ -345,11 +313,8 @@ public com.google.spanner.admin.database.v1.GetDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseRequest result = - new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.GetDatabaseRequest result = new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -365,39 +330,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -438,19 +401,17 @@ public Builder mergeFrom( 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: + 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) { @@ -460,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -490,24 +446,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -515,41 +468,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -559,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseRequest) private static final com.google.spanner.admin.database.v1.GetDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseRequest(); } @@ -609,27 +545,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseRequest 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; @@ -644,4 +580,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java new file mode 100644 index 00000000000..e89cf061c1b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public interface GetDatabaseRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the requested database. Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the requested database. Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java similarity index 82% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java index 11a24abfe7e..671402e389b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for
  * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsRequest}
  */
-public final class ListBackupOperationsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupOperationsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupOperationsRequest)
     ListBackupOperationsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupOperationsRequest.newBuilder() to construct.
   private ListBackupOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -47,41 +29,34 @@ private ListBackupOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupOperationsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
-            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
+            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class, com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression that filters the list of returned backup operations.
    *
@@ -200,7 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -209,15 +178,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that filters the list of returned backup operations.
    *
@@ -288,15 +256,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -307,15 +276,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -324,12 +290,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -338,7 +301,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -347,15 +309,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -364,15 +325,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -381,7 +343,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +354,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -422,7 +384,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -435,18 +398,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListBackupOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupOperationsRequest other = - (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListBackupOperationsRequest other = (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -472,104 +438,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -577,32 +537,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupOperationsRequest)
       com.google.spanner.admin.database.v1.ListBackupOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
-              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
+              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class, com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.ListBackupOperationsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -615,14 +576,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListBackupOperationsRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance();
     }
 
@@ -637,17 +597,13 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListBackupOperationsRequest buildPartial() {
-      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result =
-          new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result = new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListBackupOperationsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -667,50 +623,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListBackupOperationsRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListBackupOperationsRequest other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupOperationsRequest other) {
+      if (other == com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -755,37 +707,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = 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) {
@@ -795,28 +742,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -825,24 +767,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -850,41 +789,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -894,24 +822,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -921,8 +843,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned backup operations.
      *
@@ -993,13 +913,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1008,8 +928,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned backup operations.
      *
@@ -1080,14 +998,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1095,8 +1014,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned backup operations.
      *
@@ -1167,22 +1084,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned backup operations.
      *
@@ -1253,7 +1166,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1263,8 +1175,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned backup operations.
      *
@@ -1335,14 +1245,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1350,17 +1258,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1368,15 +1273,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1388,15 +1290,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1408,8 +1307,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1418,13 +1315,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1433,8 +1330,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1443,14 +1338,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1458,8 +1354,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1468,22 +1362,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1492,7 +1382,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1502,8 +1391,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1512,23 +1399,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1538,43 +1423,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupOperationsRequest) - private static final com.google.spanner.admin.database.v1.ListBackupOperationsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListBackupOperationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupOperationsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupOperationsRequest 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; @@ -1586,8 +1469,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.database.v1.ListBackupOperationsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java similarity index 89% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java index ed19f212938..f0034ac2c9e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListBackupOperationsRequestOrBuilder - extends +public interface ListBackupOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression that filters the list of returned backup operations.
    *
@@ -128,13 +101,10 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned backup operations.
    *
@@ -205,28 +175,23 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -235,13 +200,10 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -250,8 +212,8 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java index 8b1c9c1dc6f..c4c23669de1 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for
  * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsResponse}
  */
-public final class ListBackupOperationsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupOperationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupOperationsResponse)
     ListBackupOperationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupOperationsResponse.newBuilder() to construct.
   private ListBackupOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,32 +28,28 @@ private ListBackupOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupOperationsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
-            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
+            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class, com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -91,8 +69,6 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -108,13 +84,11 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -134,8 +108,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -155,8 +127,6 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -172,17 +142,15 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index) {
     return operations_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -190,7 +158,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -199,15 +166,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -215,15 +181,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -232,7 +199,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +210,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -261,7 +228,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -274,16 +242,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListBackupOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupOperationsResponse other = - (com.google.spanner.admin.database.v1.ListBackupOperationsResponse) obj; + com.google.spanner.admin.database.v1.ListBackupOperationsResponse other = (com.google.spanner.admin.database.v1.ListBackupOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -307,105 +276,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse - 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 com.google.spanner.admin.database.v1.ListBackupOperationsResponse 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 com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListBackupOperationsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -413,33 +375,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupOperationsResponse)
       com.google.spanner.admin.database.v1.ListBackupOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
-              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
+              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class, com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.ListBackupOperationsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.database.v1.ListBackupOperationsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,14 +418,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListBackupOperationsResponse
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance();
     }
 
@@ -478,18 +439,14 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsResponse build()
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListBackupOperationsResponse buildPartial() {
-      com.google.spanner.admin.database.v1.ListBackupOperationsResponse result =
-          new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(this);
+      com.google.spanner.admin.database.v1.ListBackupOperationsResponse result = new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -501,8 +458,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -513,50 +469,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListBackupOperationsResponse) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsResponse) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListBackupOperationsResponse other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupOperationsResponse other) {
+      if (other == com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -575,10 +527,9 @@ public Builder mergeFrom(
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOperationsFieldBuilder()
-                    : null;
+            operationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOperationsFieldBuilder() : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -615,31 +566,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (operationsBuilder_ == null) {
-                  ensureOperationsIsMutable();
-                  operations_.add(m);
-                } else {
-                  operationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (operationsBuilder_ == null) {
+                ensureOperationsIsMutable();
+                operations_.add(m);
+              } else {
+                operationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = 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) {
@@ -649,28 +599,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List operations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
-        operationsBuilder_;
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -693,8 +636,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -717,8 +658,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -741,8 +680,6 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -757,7 +694,8 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -771,8 +709,6 @@ public Builder setOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -799,8 +735,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -829,8 +763,6 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -845,7 +777,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -859,8 +792,6 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -875,7 +806,8 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(
+        com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -886,8 +818,6 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -914,8 +844,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -934,7 +862,8 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -942,8 +871,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -969,8 +896,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -996,8 +921,6 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1012,12 +935,11 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(
+        int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1032,16 +954,14 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+        int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);
-      } else {
+        return operations_.get(index);  } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1056,8 +976,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List
-        getOperationsOrBuilderList() {
+    public java.util.List 
+         getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1065,8 +985,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1082,12 +1000,10 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder()
-          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder().addBuilder(
+          com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1102,13 +1018,12 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
-      return getOperationsFieldBuilder()
-          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(
+        int index) {
+      return getOperationsFieldBuilder().addBuilder(
+          index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1123,22 +1038,20 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List getOperationsBuilderList() {
+    public java.util.List 
+         getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.longrunning.Operation,
-                com.google.longrunning.Operation.Builder,
-                com.google.longrunning.OperationOrBuilder>(
-                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
+                operations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1146,8 +1059,6 @@ public java.util.List getOperationsBui
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1155,13 +1066,13 @@ public java.util.List getOperationsBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1170,8 +1081,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1179,14 +1088,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1194,8 +1104,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1203,22 +1111,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1226,7 +1130,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1236,8 +1139,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1245,23 +1146,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1271,43 +1170,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupOperationsResponse) - private static final com.google.spanner.admin.database.v1.ListBackupOperationsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListBackupOperationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupOperationsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupOperationsResponse 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; @@ -1319,8 +1216,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.database.v1.ListBackupOperationsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java index d88a6ee3d1c..842236e35f8 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListBackupOperationsResponseOrBuilder - extends +public interface ListBackupOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -41,10 +23,9 @@ public interface ListBackupOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsList();
+  java.util.List 
+      getOperationsList();
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -61,8 +42,6 @@ public interface ListBackupOperationsResponseOrBuilder
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -79,8 +58,6 @@ public interface ListBackupOperationsResponseOrBuilder
    */
   int getOperationsCount();
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -95,10 +72,9 @@ public interface ListBackupOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsOrBuilderList();
+  java.util.List 
+      getOperationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -113,11 +89,10 @@ public interface ListBackupOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -125,13 +100,10 @@ public interface ListBackupOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -139,8 +111,8 @@ public interface ListBackupOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java index 9c2a1b016b2..cff0ec8220d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsRequest} */ -public final class ListBackupsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListBackupsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupsRequest) ListBackupsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListBackupsRequest.newBuilder() to construct. private ListBackupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListBackupsRequest() { parent_ = ""; filter_ = ""; @@ -46,41 +28,34 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsRequest.class, - com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsRequest.class, com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression that filters the list of returned backups.
    *
@@ -168,7 +138,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -177,15 +146,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that filters the list of returned backups.
    *
@@ -225,15 +193,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -244,15 +213,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -261,12 +227,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -275,7 +238,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -284,15 +246,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -301,15 +262,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -318,7 +280,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +291,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -359,7 +321,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -372,18 +335,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListBackupsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupsRequest other = - (com.google.spanner.admin.database.v1.ListBackupsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListBackupsRequest other = (com.google.spanner.admin.database.v1.ListBackupsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,136 +375,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListBackupsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupsRequest) com.google.spanner.admin.database.v1.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsRequest.class, - com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsRequest.class, com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListBackupsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -551,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override @@ -572,11 +533,8 @@ public com.google.spanner.admin.database.v1.ListBackupsRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListBackupsRequest buildPartial() { - com.google.spanner.admin.database.v1.ListBackupsRequest result = - new com.google.spanner.admin.database.v1.ListBackupsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.ListBackupsRequest result = new com.google.spanner.admin.database.v1.ListBackupsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -601,39 +559,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupsReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListBackupsRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsRequest)other); } else { super.mergeFrom(other); return this; @@ -641,8 +598,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsRequest other) { - if (other == com.google.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -687,37 +643,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = 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) { @@ -727,28 +678,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -757,24 +703,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -782,41 +725,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -826,24 +758,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -853,8 +779,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned backups.
      *
@@ -894,13 +818,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -909,8 +833,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned backups.
      *
@@ -950,14 +872,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -965,8 +888,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned backups.
      *
@@ -1006,22 +927,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned backups.
      *
@@ -1061,7 +978,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1071,8 +987,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned backups.
      *
@@ -1112,14 +1026,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1127,17 +1039,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1145,15 +1054,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1165,15 +1071,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1185,8 +1088,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1195,13 +1096,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1210,8 +1111,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1220,14 +1119,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1235,8 +1135,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1245,22 +1143,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1269,7 +1163,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1279,8 +1172,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1289,23 +1180,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1315,12 +1204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupsRequest) private static final com.google.spanner.admin.database.v1.ListBackupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupsRequest(); } @@ -1329,27 +1218,27 @@ public static com.google.spanner.admin.database.v1.ListBackupsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsRequest 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; @@ -1364,4 +1253,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java index d17f1b084b1..383e5d6acf5 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListBackupsRequestOrBuilder - extends +public interface ListBackupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression that filters the list of returned backups.
    *
@@ -97,13 +70,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned backups.
    *
@@ -143,28 +113,23 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -173,13 +138,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -188,8 +150,8 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java index f1c2272adb6..d0fd298ea04 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsResponse} */ -public final class ListBackupsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListBackupsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupsResponse) ListBackupsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListBackupsResponse.newBuilder() to construct. private ListBackupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListBackupsResponse() { backups_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,32 +27,28 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsResponse.class, - com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsResponse.class, com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List backups_; /** - * - * *
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -83,8 +61,6 @@ public java.util.List getBackupsLis
     return backups_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -93,13 +69,11 @@ public java.util.List getBackupsLis
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getBackupsOrBuilderList() {
     return backups_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -112,8 +86,6 @@ public int getBackupsCount() {
     return backups_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -126,8 +98,6 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
     return backups_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -136,17 +106,15 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
   @java.lang.Override
-  public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(int index) {
+  public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
+      int index) {
     return backups_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -154,7 +122,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,15 +130,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -179,15 +145,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -196,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -225,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < backups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, backups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, backups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -238,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListBackupsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupsResponse other = - (com.google.spanner.admin.database.v1.ListBackupsResponse) obj; + com.google.spanner.admin.database.v1.ListBackupsResponse other = (com.google.spanner.admin.database.v1.ListBackupsResponse) obj; - if (!getBackupsList().equals(other.getBackupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getBackupsList() + .equals(other.getBackupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,136 +240,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListBackupsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupsResponse) com.google.spanner.admin.database.v1.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsResponse.class, - com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsResponse.class, com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListBackupsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -417,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override @@ -438,18 +402,14 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListBackupsResponse buildPartial() { - com.google.spanner.admin.database.v1.ListBackupsResponse result = - new com.google.spanner.admin.database.v1.ListBackupsResponse(this); + com.google.spanner.admin.database.v1.ListBackupsResponse result = new com.google.spanner.admin.database.v1.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.ListBackupsResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -472,39 +432,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupsRespo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListBackupsResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsResponse)other); } else { super.mergeFrom(other); return this; @@ -512,8 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsResponse other) { - if (other == com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()) return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -532,10 +490,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsRespons backupsBuilder_ = null; backups_ = other.backups_; bitField0_ = (bitField0_ & ~0x00000001); - backupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBackupsFieldBuilder() - : null; + backupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBackupsFieldBuilder() : null; } else { backupsBuilder_.addAllMessages(other.backups_); } @@ -572,32 +529,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.admin.database.v1.Backup m = - input.readMessage( - com.google.spanner.admin.database.v1.Backup.parser(), extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.admin.database.v1.Backup m = + input.readMessage( + com.google.spanner.admin.database.v1.Backup.parser(), + extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = 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) { @@ -607,28 +562,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List backups_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureBackupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { backups_ = new java.util.ArrayList(backups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> - backupsBuilder_; + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupsBuilder_; /** - * - * *
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -644,8 +592,6 @@ public java.util.List getBackupsLis
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -661,8 +607,6 @@ public int getBackupsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -678,8 +622,6 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -687,7 +629,8 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder setBackups(int index, com.google.spanner.admin.database.v1.Backup value) {
+    public Builder setBackups(
+        int index, com.google.spanner.admin.database.v1.Backup value) {
       if (backupsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -701,8 +644,6 @@ public Builder setBackups(int index, com.google.spanner.admin.database.v1.Backup
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -722,8 +663,6 @@ public Builder setBackups(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -745,8 +684,6 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -754,7 +691,8 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup value) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder addBackups(int index, com.google.spanner.admin.database.v1.Backup value) {
+    public Builder addBackups(
+        int index, com.google.spanner.admin.database.v1.Backup value) {
       if (backupsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -768,8 +706,6 @@ public Builder addBackups(int index, com.google.spanner.admin.database.v1.Backup
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -777,7 +713,8 @@ public Builder addBackups(int index, com.google.spanner.admin.database.v1.Backup
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder addBackups(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) {
+    public Builder addBackups(
+        com.google.spanner.admin.database.v1.Backup.Builder builderForValue) {
       if (backupsBuilder_ == null) {
         ensureBackupsIsMutable();
         backups_.add(builderForValue.build());
@@ -788,8 +725,6 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -809,8 +744,6 @@ public Builder addBackups(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -822,7 +755,8 @@ public Builder addAllBackups(
         java.lang.Iterable values) {
       if (backupsBuilder_ == null) {
         ensureBackupsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, backups_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, backups_);
         onChanged();
       } else {
         backupsBuilder_.addAllMessages(values);
@@ -830,8 +764,6 @@ public Builder addAllBackups(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -850,8 +782,6 @@ public Builder clearBackups() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -870,8 +800,6 @@ public Builder removeBackups(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -879,12 +807,11 @@ public Builder removeBackups(int index) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(int index) {
+    public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(
+        int index) {
       return getBackupsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -892,16 +819,14 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(int
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(int index) {
+    public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
+        int index) {
       if (backupsBuilder_ == null) {
-        return backups_.get(index);
-      } else {
+        return backups_.get(index);  } else {
         return backupsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -909,8 +834,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public java.util.List
-        getBackupsOrBuilderList() {
+    public java.util.List 
+         getBackupsOrBuilderList() {
       if (backupsBuilder_ != null) {
         return backupsBuilder_.getMessageOrBuilderList();
       } else {
@@ -918,8 +843,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -928,12 +851,10 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
     public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder() {
-      return getBackupsFieldBuilder()
-          .addBuilder(com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
+      return getBackupsFieldBuilder().addBuilder(
+          com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -941,13 +862,12 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder() {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int index) {
-      return getBackupsFieldBuilder()
-          .addBuilder(index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
+    public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(
+        int index) {
+      return getBackupsFieldBuilder().addBuilder(
+          index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -955,23 +875,20 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public java.util.List
-        getBackupsBuilderList() {
+    public java.util.List 
+         getBackupsBuilderList() {
       return getBackupsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.Backup,
-            com.google.spanner.admin.database.v1.Backup.Builder,
-            com.google.spanner.admin.database.v1.BackupOrBuilder>
+        com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> 
         getBackupsFieldBuilder() {
       if (backupsBuilder_ == null) {
-        backupsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.admin.database.v1.Backup,
-                com.google.spanner.admin.database.v1.Backup.Builder,
-                com.google.spanner.admin.database.v1.BackupOrBuilder>(
-                backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>(
+                backups_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         backups_ = null;
       }
       return backupsBuilder_;
@@ -979,8 +896,6 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -988,13 +903,13 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1003,8 +918,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1012,14 +925,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1027,8 +941,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1036,22 +948,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1059,7 +967,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1069,8 +976,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1078,23 +983,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,12 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupsResponse) private static final com.google.spanner.admin.database.v1.ListBackupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupsResponse(); } @@ -1118,27 +1021,27 @@ public static com.google.spanner.admin.database.v1.ListBackupsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsResponse 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; @@ -1153,4 +1056,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java index 4c9b67dc197..c3111d0dc14 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListBackupsResponseOrBuilder - extends +public interface ListBackupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -34,10 +16,9 @@ public interface ListBackupsResponseOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  java.util.List getBackupsList();
+  java.util.List 
+      getBackupsList();
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -47,8 +28,6 @@ public interface ListBackupsResponseOrBuilder
    */
   com.google.spanner.admin.database.v1.Backup getBackups(int index);
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -58,8 +37,6 @@ public interface ListBackupsResponseOrBuilder
    */
   int getBackupsCount();
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -67,11 +44,9 @@ public interface ListBackupsResponseOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  java.util.List
+  java.util.List 
       getBackupsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -79,11 +54,10 @@ public interface ListBackupsResponseOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(int index);
+  com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -91,13 +65,10 @@ public interface ListBackupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -105,8 +76,8 @@ public interface ListBackupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java index 6f6a5a1e1a4..2cce3ed2c62 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for
  * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsRequest}
  */
-public final class ListDatabaseOperationsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListDatabaseOperationsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseOperationsRequest)
     ListDatabaseOperationsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListDatabaseOperationsRequest.newBuilder() to construct.
   private ListDatabaseOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListDatabaseOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -47,41 +29,34 @@ private ListDatabaseOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListDatabaseOperationsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -176,7 +146,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -185,15 +154,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -240,15 +208,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -259,15 +228,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -276,12 +242,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -290,7 +253,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -299,15 +261,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -316,15 +277,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -333,7 +295,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,7 +306,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -374,7 +336,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -387,18 +350,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other = - (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other = (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -424,105 +390,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - 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 com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest 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 com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -530,33 +489,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseOperationsRequest)
       com.google.spanner.admin.database.v1.ListDatabaseOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -569,16 +528,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -592,17 +549,13 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest build(
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest buildPartial() {
-      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result =
-          new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result = new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -622,51 +575,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other) {
+      if (other == com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -711,37 +659,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = 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) {
@@ -751,28 +694,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -781,24 +719,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -806,41 +741,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -850,24 +774,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -877,8 +795,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -925,13 +841,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -940,8 +856,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -988,14 +902,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1003,8 +918,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -1051,22 +964,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -1113,7 +1022,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1123,8 +1031,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -1171,14 +1077,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1186,17 +1090,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1204,15 +1105,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1224,15 +1122,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1244,8 +1139,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1254,13 +1147,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1269,8 +1162,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1279,14 +1170,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1294,8 +1186,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1304,22 +1194,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1328,7 +1214,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1338,8 +1223,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1348,23 +1231,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1374,43 +1255,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) - private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseOperationsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseOperationsRequest 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; @@ -1422,8 +1301,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java similarity index 85% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java index 5fc66e2edae..6430d1c470b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListDatabaseOperationsRequestOrBuilder - extends +public interface ListDatabaseOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -104,13 +77,10 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -157,28 +127,23 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -187,13 +152,10 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -202,8 +164,8 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java similarity index 74% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java index 1fb7ea2d5b0..5a923c93ad6 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for
  * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -29,17 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsResponse}
  */
-public final class ListDatabaseOperationsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListDatabaseOperationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseOperationsResponse)
     ListDatabaseOperationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListDatabaseOperationsResponse.newBuilder() to construct.
-  private ListDatabaseOperationsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListDatabaseOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListDatabaseOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,32 +28,28 @@ private ListDatabaseOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListDatabaseOperationsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -88,8 +65,6 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -101,13 +76,11 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -123,8 +96,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -140,8 +111,6 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -153,17 +122,15 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index) {
     return operations_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -171,7 +138,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -180,15 +146,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -196,15 +161,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -213,7 +179,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +190,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -242,7 +208,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -255,16 +222,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other = - (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) obj; + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other = (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -288,105 +256,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - 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 com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse 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 com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -394,33 +355,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseOperationsResponse)
       com.google.spanner.admin.database.v1.ListDatabaseOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -437,16 +398,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-          .getDefaultInstance();
+    public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -460,18 +419,14 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse build
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse buildPartial() {
-      com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result =
-          new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(this);
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result = new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -483,8 +438,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -495,51 +449,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) {
-        return mergeFrom(
-            (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other) {
+      if (other == com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -558,10 +507,9 @@ public Builder mergeFrom(
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOperationsFieldBuilder()
-                    : null;
+            operationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOperationsFieldBuilder() : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -598,31 +546,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (operationsBuilder_ == null) {
-                  ensureOperationsIsMutable();
-                  operations_.add(m);
-                } else {
-                  operationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (operationsBuilder_ == null) {
+                ensureOperationsIsMutable();
+                operations_.add(m);
+              } else {
+                operationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = 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) {
@@ -632,28 +579,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List operations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
-        operationsBuilder_;
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -672,8 +612,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -692,8 +630,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -712,8 +648,6 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -724,7 +658,8 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -738,8 +673,6 @@ public Builder setOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -762,8 +695,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -788,8 +719,6 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -800,7 +729,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -814,8 +744,6 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -826,7 +754,8 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(
+        com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -837,8 +766,6 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -861,8 +788,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -877,7 +802,8 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -885,8 +811,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -908,8 +832,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -931,8 +853,6 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -943,12 +863,11 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(
+        int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -959,16 +878,14 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+        int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);
-      } else {
+        return operations_.get(index);  } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -979,8 +896,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List
-        getOperationsOrBuilderList() {
+    public java.util.List 
+         getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -988,8 +905,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1001,12 +916,10 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder()
-          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder().addBuilder(
+          com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1017,13 +930,12 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
-      return getOperationsFieldBuilder()
-          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(
+        int index) {
+      return getOperationsFieldBuilder().addBuilder(
+          index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1034,22 +946,20 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List getOperationsBuilderList() {
+    public java.util.List 
+         getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.longrunning.Operation,
-                com.google.longrunning.Operation.Builder,
-                com.google.longrunning.OperationOrBuilder>(
-                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
+                operations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1057,8 +967,6 @@ public java.util.List getOperationsBui
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1066,13 +974,13 @@ public java.util.List getOperationsBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1081,8 +989,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1090,14 +996,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1105,8 +1012,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1114,22 +1019,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1137,7 +1038,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1147,8 +1047,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1156,23 +1054,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1182,43 +1078,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) - private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseOperationsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseOperationsResponse 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; @@ -1230,8 +1124,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java index 7b0b82fcd23..118a36e2302 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListDatabaseOperationsResponseOrBuilder - extends +public interface ListDatabaseOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -37,10 +19,9 @@ public interface ListDatabaseOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsList();
+  java.util.List 
+      getOperationsList();
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -53,8 +34,6 @@ public interface ListDatabaseOperationsResponseOrBuilder
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -67,8 +46,6 @@ public interface ListDatabaseOperationsResponseOrBuilder
    */
   int getOperationsCount();
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -79,10 +56,9 @@ public interface ListDatabaseOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsOrBuilderList();
+  java.util.List 
+      getOperationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -93,11 +69,10 @@ public interface ListDatabaseOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -105,13 +80,10 @@ public interface ListDatabaseOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -119,8 +91,8 @@ public interface ListDatabaseOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java index 201c1e081a5..011fed56817 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesRequest} */ -public final class ListDatabaseRolesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabaseRolesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseRolesRequest) ListDatabaseRolesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabaseRolesRequest.newBuilder() to construct. private ListDatabaseRolesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabaseRolesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,42 +27,35 @@ private ListDatabaseRolesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabaseRolesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,15 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of database roles to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -143,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -156,7 +123,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -165,15 +131,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -181,15 +146,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -198,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -233,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -246,17 +213,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListDatabaseRolesRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other = - (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) obj; + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other = (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,136 +249,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseRolesRequest) com.google.spanner.admin.database.v1.ListDatabaseRolesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -421,14 +385,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance(); } @@ -443,17 +406,13 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest buildPartial() { - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = - new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result) { + private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -470,39 +429,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest)other); } else { super.mergeFrom(other); return this; @@ -510,9 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other) { - if (other - == com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +508,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -586,29 +538,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -617,25 +564,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -643,43 +587,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -689,25 +622,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -715,17 +642,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -733,15 +657,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -753,15 +674,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -773,8 +691,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -782,13 +698,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -797,8 +713,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -806,14 +720,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -821,8 +736,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -830,22 +743,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -853,7 +762,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -863,8 +771,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -872,23 +778,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -898,13 +802,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseRolesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseRolesRequest) - private static final com.google.spanner.admin.database.v1.ListDatabaseRolesRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseRolesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(); } @@ -913,27 +816,27 @@ public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseRolesRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseRolesRequest 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; @@ -948,4 +851,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java index 29424019402..6b5472b539f 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListDatabaseRolesRequestOrBuilder - extends +public interface ListDatabaseRolesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseRolesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Number of database roles to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -81,13 +51,10 @@ public interface ListDatabaseRolesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -95,8 +62,8 @@ public interface ListDatabaseRolesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java similarity index 72% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java index acf91c8815d..7f5991a640e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesResponse} */ -public final class ListDatabaseRolesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabaseRolesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseRolesResponse) ListDatabaseRolesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabaseRolesResponse.newBuilder() to construct. private ListDatabaseRolesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabaseRolesResponse() { databaseRoles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,32 +27,28 @@ private ListDatabaseRolesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabaseRolesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); } public static final int DATABASE_ROLES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List databaseRoles_; /** - * - * *
    * Database roles that matched the request.
    * 
@@ -82,8 +60,6 @@ public java.util.List getData return databaseRoles_; } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -91,13 +67,11 @@ public java.util.List getData * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabaseRolesOrBuilderList() { return databaseRoles_; } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -109,8 +83,6 @@ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -122,8 +94,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in return databaseRoles_.get(index); } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -137,12 +107,9 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -150,7 +117,6 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +125,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -175,15 +140,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < databaseRoles_.size(); i++) { output.writeMessage(1, databaseRoles_.get(i)); } @@ -221,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databaseRoles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databaseRoles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, databaseRoles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -234,16 +201,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListDatabaseRolesResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other = - (com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) obj; + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other = (com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) obj; - if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDatabaseRolesList() + .equals(other.getDatabaseRolesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -267,136 +235,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseRolesResponse) com.google.spanner.admin.database.v1.ListDatabaseRolesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -413,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance(); } @@ -435,18 +397,14 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse buildPartial() { - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result = - new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(this); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result = new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { if (databaseRolesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databaseRoles_ = java.util.Collections.unmodifiableList(databaseRoles_); @@ -458,8 +416,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { + private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -470,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesResponse)other); } else { super.mergeFrom(other); return this; @@ -510,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other) { - if (other - == com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()) return this; if (databaseRolesBuilder_ == null) { if (!other.databaseRoles_.isEmpty()) { if (databaseRoles_.isEmpty()) { @@ -531,10 +485,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesR databaseRolesBuilder_ = null; databaseRoles_ = other.databaseRoles_; bitField0_ = (bitField0_ & ~0x00000001); - databaseRolesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDatabaseRolesFieldBuilder() - : null; + databaseRolesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDatabaseRolesFieldBuilder() : null; } else { databaseRolesBuilder_.addAllMessages(other.databaseRoles_); } @@ -571,33 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.admin.database.v1.DatabaseRole m = - input.readMessage( - com.google.spanner.admin.database.v1.DatabaseRole.parser(), - extensionRegistry); - if (databaseRolesBuilder_ == null) { - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(m); - } else { - databaseRolesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.admin.database.v1.DatabaseRole m = + input.readMessage( + com.google.spanner.admin.database.v1.DatabaseRole.parser(), + extensionRegistry); + if (databaseRolesBuilder_ == null) { + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(m); + } else { + databaseRolesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = 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) { @@ -607,38 +557,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List databaseRoles_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDatabaseRolesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - databaseRoles_ = - new java.util.ArrayList( - databaseRoles_); + databaseRoles_ = new java.util.ArrayList(databaseRoles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, - com.google.spanner.admin.database.v1.DatabaseRole.Builder, - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> - databaseRolesBuilder_; + com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> databaseRolesBuilder_; /** - * - * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesList() { + public java.util.List getDatabaseRolesList() { if (databaseRolesBuilder_ == null) { return java.util.Collections.unmodifiableList(databaseRoles_); } else { @@ -646,8 +586,6 @@ private void ensureDatabaseRolesIsMutable() { } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -662,8 +600,6 @@ public int getDatabaseRolesCount() { } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -678,8 +614,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -701,8 +635,6 @@ public Builder setDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -721,8 +653,6 @@ public Builder setDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -743,8 +673,6 @@ public Builder addDatabaseRoles(com.google.spanner.admin.database.v1.DatabaseRol return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -766,8 +694,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -786,8 +712,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -806,8 +730,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -818,7 +740,8 @@ public Builder addAllDatabaseRoles( java.lang.Iterable values) { if (databaseRolesBuilder_ == null) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databaseRoles_); onChanged(); } else { databaseRolesBuilder_.addAllMessages(values); @@ -826,8 +749,6 @@ public Builder addAllDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -845,8 +766,6 @@ public Builder clearDatabaseRoles() { return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -864,8 +783,6 @@ public Builder removeDatabaseRoles(int index) { return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -877,8 +794,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole return getDatabaseRolesFieldBuilder().getBuilder(index); } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -888,22 +803,19 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder( int index) { if (databaseRolesBuilder_ == null) { - return databaseRoles_.get(index); - } else { + return databaseRoles_.get(index); } else { return databaseRolesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesOrBuilderList() { + public java.util.List + getDatabaseRolesOrBuilderList() { if (databaseRolesBuilder_ != null) { return databaseRolesBuilder_.getMessageOrBuilderList(); } else { @@ -911,8 +823,6 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -920,12 +830,10 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRolesBuilder() { - return getDatabaseRolesFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); + return getDatabaseRolesFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -934,35 +842,26 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole */ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRolesBuilder( int index) { - return getDatabaseRolesFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); + return getDatabaseRolesFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); } /** - * - * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesBuilderList() { + public java.util.List + getDatabaseRolesBuilderList() { return getDatabaseRolesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, - com.google.spanner.admin.database.v1.DatabaseRole.Builder, - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> + com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> getDatabaseRolesFieldBuilder() { if (databaseRolesBuilder_ == null) { - databaseRolesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, - com.google.spanner.admin.database.v1.DatabaseRole.Builder, - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder>( + databaseRolesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder>( databaseRoles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -974,8 +873,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -983,13 +880,13 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -998,8 +895,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1007,14 +902,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1022,8 +918,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1031,22 +925,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1054,7 +944,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1064,8 +953,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1073,23 +960,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,43 +984,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseRolesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseRolesResponse) - private static final com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseRolesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseRolesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseRolesResponse 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; @@ -1147,8 +1030,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java index c5b07544438..6bb9cded553 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListDatabaseRolesResponseOrBuilder - extends +public interface ListDatabaseRolesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseRolesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - java.util.List getDatabaseRolesList(); + java.util.List + getDatabaseRolesList(); /** - * - * *
    * Database roles that matched the request.
    * 
@@ -45,8 +26,6 @@ public interface ListDatabaseRolesResponseOrBuilder */ com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int index); /** - * - * *
    * Database roles that matched the request.
    * 
@@ -55,30 +34,25 @@ public interface ListDatabaseRolesResponseOrBuilder */ int getDatabaseRolesCount(); /** - * - * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - java.util.List + java.util.List getDatabaseRolesOrBuilderList(); /** - * - * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder(int index); + com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -86,13 +60,10 @@ public interface ListDatabaseRolesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -100,8 +71,8 @@ public interface ListDatabaseRolesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java index 5b150cb9216..070570b76e9 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} */ -public final class ListDatabasesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabasesRequest) ListDatabasesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesRequest.newBuilder() to construct. private ListDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,41 +27,34 @@ private ListDatabasesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesRequest.class, - com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesRequest.class, com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The instance whose databases should be listed.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The instance whose databases should be listed.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,15 +97,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of databases to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -141,12 +111,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -154,7 +121,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -163,15 +129,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -179,15 +144,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -196,7 +162,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -231,7 +197,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -244,17 +211,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListDatabasesRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabasesRequest other = - (com.google.spanner.admin.database.v1.ListDatabasesRequest) obj; + com.google.spanner.admin.database.v1.ListDatabasesRequest other = (com.google.spanner.admin.database.v1.ListDatabasesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -278,136 +247,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabasesRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabasesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabasesRequest) com.google.spanner.admin.database.v1.ListDatabasesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesRequest.class, - com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesRequest.class, com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabasesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override @@ -440,11 +404,8 @@ public com.google.spanner.admin.database.v1.ListDatabasesRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabasesRequest buildPartial() { - com.google.spanner.admin.database.v1.ListDatabasesRequest result = - new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.ListDatabasesRequest result = new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -466,39 +427,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabasesReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabasesRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesRequest)other); } else { super.mergeFrom(other); return this; @@ -506,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesRequest other) { - if (other == com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -547,31 +506,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -581,28 +536,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The instance whose databases should be listed.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -611,24 +561,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance whose databases should be listed.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -636,41 +583,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance whose databases should be listed.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The instance whose databases should be listed.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -680,24 +616,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance whose databases should be listed.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -705,17 +635,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -723,15 +650,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -743,15 +667,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -763,8 +684,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -772,13 +691,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -787,8 +706,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -796,14 +713,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -811,8 +729,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -820,22 +736,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -843,7 +755,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -853,8 +764,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -862,23 +771,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -888,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabasesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabasesRequest) private static final com.google.spanner.admin.database.v1.ListDatabasesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabasesRequest(); } @@ -902,27 +809,27 @@ public static com.google.spanner.admin.database.v1.ListDatabasesRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesRequest 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; @@ -937,4 +844,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java index af24bf191c1..b049783a856 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java @@ -1,77 +1,47 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListDatabasesRequestOrBuilder - extends +public interface ListDatabasesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabasesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance whose databases should be listed.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The instance whose databases should be listed.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Number of databases to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -79,13 +49,10 @@ public interface ListDatabasesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -93,8 +60,8 @@ public interface ListDatabasesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java similarity index 72% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java index 210b5b33d54..9d48b9c37ed 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,24 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} */ -public final class ListDatabasesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabasesResponse) ListDatabasesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesResponse.newBuilder() to construct. private ListDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesResponse() { databases_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,32 +27,28 @@ private ListDatabasesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesResponse.class, - com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesResponse.class, com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); } public static final int DATABASES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List databases_; /** - * - * *
    * Databases that matched the request.
    * 
@@ -82,8 +60,6 @@ public java.util.List getDatabase return databases_; } /** - * - * *
    * Databases that matched the request.
    * 
@@ -91,13 +67,11 @@ public java.util.List getDatabase * repeated .google.spanner.admin.database.v1.Database databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabasesOrBuilderList() { return databases_; } /** - * - * *
    * Databases that matched the request.
    * 
@@ -109,8 +83,6 @@ public int getDatabasesCount() { return databases_.size(); } /** - * - * *
    * Databases that matched the request.
    * 
@@ -122,8 +94,6 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { return databases_.get(index); } /** - * - * *
    * Databases that matched the request.
    * 
@@ -131,17 +101,15 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { * repeated .google.spanner.admin.database.v1.Database databases = 1; */ @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { + public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index) { return databases_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -149,7 +117,6 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +125,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -174,15 +140,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -220,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databases_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, databases_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -233,16 +201,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListDatabasesResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabasesResponse other = - (com.google.spanner.admin.database.v1.ListDatabasesResponse) obj; + com.google.spanner.admin.database.v1.ListDatabasesResponse other = (com.google.spanner.admin.database.v1.ListDatabasesResponse) obj; - if (!getDatabasesList().equals(other.getDatabasesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDatabasesList() + .equals(other.getDatabasesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,136 +235,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabasesResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabasesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabasesResponse) com.google.spanner.admin.database.v1.ListDatabasesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesResponse.class, - com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesResponse.class, com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabasesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override @@ -433,18 +397,14 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabasesResponse buildPartial() { - com.google.spanner.admin.database.v1.ListDatabasesResponse result = - new com.google.spanner.admin.database.v1.ListDatabasesResponse(this); + com.google.spanner.admin.database.v1.ListDatabasesResponse result = new com.google.spanner.admin.database.v1.ListDatabasesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.ListDatabasesResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabasesResponse result) { if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databases_ = java.util.Collections.unmodifiableList(databases_); @@ -467,39 +427,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabasesRes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabasesResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesResponse)other); } else { super.mergeFrom(other); return this; @@ -507,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesResponse other) { - if (other == com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()) return this; if (databasesBuilder_ == null) { if (!other.databases_.isEmpty()) { if (databases_.isEmpty()) { @@ -527,10 +485,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesRespo databasesBuilder_ = null; databases_ = other.databases_; bitField0_ = (bitField0_ & ~0x00000001); - databasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDatabasesFieldBuilder() - : null; + databasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDatabasesFieldBuilder() : null; } else { databasesBuilder_.addAllMessages(other.databases_); } @@ -567,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.admin.database.v1.Database m = - input.readMessage( - com.google.spanner.admin.database.v1.Database.parser(), extensionRegistry); - if (databasesBuilder_ == null) { - ensureDatabasesIsMutable(); - databases_.add(m); - } else { - databasesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.admin.database.v1.Database m = + input.readMessage( + com.google.spanner.admin.database.v1.Database.parser(), + extensionRegistry); + if (databasesBuilder_ == null) { + ensureDatabasesIsMutable(); + databases_.add(m); + } else { + databasesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = 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) { @@ -602,29 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List databases_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDatabasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - databases_ = - new java.util.ArrayList(databases_); + databases_ = new java.util.ArrayList(databases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> - databasesBuilder_; + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> databasesBuilder_; /** - * - * *
      * Databases that matched the request.
      * 
@@ -639,8 +586,6 @@ public java.util.List getDatabase } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -655,8 +600,6 @@ public int getDatabasesCount() { } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -671,15 +614,14 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { } } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public Builder setDatabases(int index, com.google.spanner.admin.database.v1.Database value) { + public Builder setDatabases( + int index, com.google.spanner.admin.database.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,8 +635,6 @@ public Builder setDatabases(int index, com.google.spanner.admin.database.v1.Data return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -713,8 +653,6 @@ public Builder setDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -735,15 +673,14 @@ public Builder addDatabases(com.google.spanner.admin.database.v1.Database value) return this; } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public Builder addDatabases(int index, com.google.spanner.admin.database.v1.Database value) { + public Builder addDatabases( + int index, com.google.spanner.admin.database.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,8 +694,6 @@ public Builder addDatabases(int index, com.google.spanner.admin.database.v1.Data return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -777,8 +712,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -797,8 +730,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -809,7 +740,8 @@ public Builder addAllDatabases( java.lang.Iterable values) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databases_); onChanged(); } else { databasesBuilder_.addAllMessages(values); @@ -817,8 +749,6 @@ public Builder addAllDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -836,8 +766,6 @@ public Builder clearDatabases() { return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -855,44 +783,39 @@ public Builder removeDatabases(int index) { return this; } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.Database.Builder getDatabasesBuilder(int index) { + public com.google.spanner.admin.database.v1.Database.Builder getDatabasesBuilder( + int index) { return getDatabasesFieldBuilder().getBuilder(index); } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { + public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index) { if (databasesBuilder_ == null) { - return databases_.get(index); - } else { + return databases_.get(index); } else { return databasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public java.util.List - getDatabasesOrBuilderList() { + public java.util.List + getDatabasesOrBuilderList() { if (databasesBuilder_ != null) { return databasesBuilder_.getMessageOrBuilderList(); } else { @@ -900,8 +823,6 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -909,48 +830,42 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil * repeated .google.spanner.admin.database.v1.Database databases = 1; */ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder() { - return getDatabasesFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + return getDatabasesFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder(int index) { - return getDatabasesFieldBuilder() - .addBuilder(index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder( + int index) { + return getDatabasesFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public java.util.List - getDatabasesBuilderList() { + public java.util.List + getDatabasesBuilderList() { return getDatabasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> getDatabasesFieldBuilder() { if (databasesBuilder_ == null) { - databasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder>( - databases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + databasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder>( + databases_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); databases_ = null; } return databasesBuilder_; @@ -958,8 +873,6 @@ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -967,13 +880,13 @@ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -982,8 +895,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -991,14 +902,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1006,8 +918,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1015,22 +925,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1038,7 +944,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1048,8 +953,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1057,23 +960,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabasesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabasesResponse) private static final com.google.spanner.admin.database.v1.ListDatabasesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabasesResponse(); } @@ -1097,27 +998,27 @@ public static com.google.spanner.admin.database.v1.ListDatabasesResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesResponse 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; @@ -1132,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java index a9d6f414f2f..0973ec64749 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface ListDatabasesResponseOrBuilder - extends +public interface ListDatabasesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabasesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - java.util.List getDatabasesList(); + java.util.List + getDatabasesList(); /** - * - * *
    * Databases that matched the request.
    * 
@@ -45,8 +26,6 @@ public interface ListDatabasesResponseOrBuilder */ com.google.spanner.admin.database.v1.Database getDatabases(int index); /** - * - * *
    * Databases that matched the request.
    * 
@@ -55,30 +34,25 @@ public interface ListDatabasesResponseOrBuilder */ int getDatabasesCount(); /** - * - * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - java.util.List + java.util.List getDatabasesOrBuilderList(); /** - * - * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index); + com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -86,13 +60,10 @@ public interface ListDatabasesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -100,8 +71,8 @@ public interface ListDatabasesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java index 7b752df354b..eea5b63278f 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Encapsulates progress related information for a Cloud Spanner long
  * running operation.
@@ -29,52 +12,48 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.OperationProgress}
  */
-public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OperationProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.OperationProgress)
     OperationProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private OperationProgress() {}
+  private OperationProgress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.CommonProto
-        .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.CommonProto
-        .internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.OperationProgress.class,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
+            com.google.spanner.admin.database.v1.OperationProgress.class, com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROGRESS_PERCENT_FIELD_NUMBER = 1;
   private int progressPercent_ = 0;
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -85,14 +64,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -100,14 +76,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -115,8 +88,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -131,15 +102,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -147,15 +115,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -163,8 +128,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -178,7 +141,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,7 +152,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -210,13 +173,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, progressPercent_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -226,22 +192,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.OperationProgress other =
-        (com.google.spanner.admin.database.v1.OperationProgress) obj;
+    com.google.spanner.admin.database.v1.OperationProgress other = (com.google.spanner.admin.database.v1.OperationProgress) obj;
 
-    if (getProgressPercent() != other.getProgressPercent()) return false;
+    if (getProgressPercent()
+        != other.getProgressPercent()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -270,104 +238,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.database.v1.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.database.v1.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.database.v1.OperationProgress prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.OperationProgress prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Encapsulates progress related information for a Cloud Spanner long
    * running operation.
@@ -375,23 +337,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.OperationProgress}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.OperationProgress)
       com.google.spanner.admin.database.v1.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.CommonProto
-          .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.CommonProto
-          .internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.OperationProgress.class,
-              com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
+              com.google.spanner.admin.database.v1.OperationProgress.class, com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.OperationProgress.newBuilder()
@@ -399,18 +359,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.CommonProto
-          .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -451,11 +411,8 @@ public com.google.spanner.admin.database.v1.OperationProgress build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.OperationProgress buildPartial() {
-      com.google.spanner.admin.database.v1.OperationProgress result =
-          new com.google.spanner.admin.database.v1.OperationProgress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.OperationProgress result = new com.google.spanner.admin.database.v1.OperationProgress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -467,11 +424,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.OperationProgres
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -481,39 +442,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.OperationProgres
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.OperationProgress) {
-        return mergeFrom((com.google.spanner.admin.database.v1.OperationProgress) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.OperationProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -521,8 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.OperationProgress other) {
-      if (other == com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) return this;
       if (other.getProgressPercent() != 0) {
         setProgressPercent(other.getProgressPercent());
       }
@@ -558,31 +517,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              progressPercent_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -592,20 +551,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int progressPercent_;
+    private int progressPercent_ ;
     /**
-     *
-     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -613,15 +568,12 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ @@ -633,15 +585,12 @@ public Builder setProgressPercent(int value) { return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -653,33 +602,24 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -690,8 +630,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -712,15 +650,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -731,8 +668,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -741,9 +676,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -758,8 +693,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -777,8 +710,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -791,8 +722,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -803,12 +732,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time the request was received.
      * 
@@ -816,17 +744,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -834,35 +759,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -873,8 +789,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -896,8 +810,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -905,7 +817,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -916,8 +829,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -927,9 +838,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -944,8 +855,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -964,8 +873,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -979,8 +886,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -992,12 +897,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -1006,24 +910,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1033,12 +934,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.OperationProgress)
   private static final com.google.spanner.admin.database.v1.OperationProgress DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.OperationProgress();
   }
@@ -1047,27 +948,27 @@ public static com.google.spanner.admin.database.v1.OperationProgress getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OperationProgress 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OperationProgress 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;
@@ -1082,4 +983,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
similarity index 72%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
index 7e4eb1c14d5..08c1c857630 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
@@ -1,70 +1,43 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/common.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.database.v1;
 
-public interface OperationProgressOrBuilder
-    extends
+public interface OperationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.OperationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time the request was received.
    * 
@@ -74,34 +47,26 @@ public interface OperationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
similarity index 66%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
index b646b3c7a9b..79ec72c5307 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * Metadata type for the long-running operation used to track the progress
  * of optimizations performed on a newly restored database. This long-running
@@ -31,56 +14,49 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata}
  */
-public final class OptimizeRestoredDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OptimizeRestoredDatabaseMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)
     OptimizeRestoredDatabaseMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OptimizeRestoredDatabaseMetadata.newBuilder() to construct.
-  private OptimizeRestoredDatabaseMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private OptimizeRestoredDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OptimizeRestoredDatabaseMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OptimizeRestoredDatabaseMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class,
-            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class, com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -89,29 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -137,25 +110,18 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
@@ -164,13 +130,10 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -202,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -212,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other = - (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other = (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -248,105 +214,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - 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 com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata 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 com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the long-running operation used to track the progress
    * of optimizations performed on a newly restored database. This long-running
@@ -356,42 +315,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)
       com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class,
-              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class, com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.newBuilder()
+    // Construct using com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -406,16 +362,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
-          .getDefaultInstance();
+    public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -429,24 +383,22 @@ public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata bui
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result =
-          new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result = new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -456,51 +408,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) {
-        return mergeFrom(
-            (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other) {
-      if (other
-          == com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other) {
+      if (other == com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -535,25 +482,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -563,25 +509,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -590,21 +533,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -612,35 +554,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -650,21 +585,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -674,47 +605,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -735,8 +653,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -755,8 +671,6 @@ public Builder setProgress( return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -765,10 +679,9 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progress_ != null - && progress_ - != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progress_ != null && + progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -783,8 +696,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -802,8 +713,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -816,8 +725,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -828,14 +735,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -843,24 +747,21 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre * .google.spanner.admin.database.v1.OperationProgress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder>( - getProgress(), getParentForChildren(), isClean()); + progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>( + getProgress(), + getParentForChildren(), + isClean()); progress_ = null; } return progressBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -870,43 +771,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) - private static final com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptimizeRestoredDatabaseMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeRestoredDatabaseMetadata 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; @@ -918,8 +817,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java similarity index 67% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java index 4002005d204..853322dd3fb 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface OptimizeRestoredDatabaseMetadataOrBuilder - extends +public interface OptimizeRestoredDatabaseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java similarity index 61% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java index 3624217acaa..63a5f73121b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,25 +5,21 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for the restored database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig} */ -public final class RestoreDatabaseEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestoreDatabaseEncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) RestoreDatabaseEncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreDatabaseEncryptionConfig.newBuilder() to construct. - private RestoreDatabaseEncryptionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RestoreDatabaseEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreDatabaseEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -46,39 +27,34 @@ private RestoreDatabaseEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreDatabaseEncryptionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); } /** - * - * *
    * Encryption types for the database to be restored.
    * 
* - * Protobuf enum {@code - * google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType} + * Protobuf enum {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. Do not use.
      * 
@@ -87,8 +63,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * This is the default option when
      * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
@@ -98,8 +72,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -108,8 +80,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_DEFAULT_ENCRYPTION(2), /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name` must
      * must contain a valid Cloud KMS key.
@@ -122,8 +92,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Do not use.
      * 
@@ -132,8 +100,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This is the default option when
      * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
@@ -143,8 +109,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -153,8 +117,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name` must
      * must contain a valid Cloud KMS key.
@@ -164,6 +126,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -188,53 +151,50 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
-        case 2:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
+        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3: return CUSTOMER_MANAGED_ENCRYPTION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EncryptionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EncryptionType findValueByNumber(int number) {
+              return EncryptionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EncryptionType findValueByNumber(int number) {
-            return EncryptionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EncryptionType[] VALUES = values();
 
-    public static EncryptionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EncryptionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -254,54 +214,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -310,10 +249,7 @@ public int getEncryptionTypeValue() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ @java.lang.Override @@ -322,15 +258,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -339,18 +274,17 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -359,7 +293,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,11 +304,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -390,11 +321,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -407,16 +336,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other = - (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other = (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -438,138 +367,131 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - 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 com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig 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 com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption configuration for the restored database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); } - // Construct using - // com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder() - private Builder() {} + // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -580,16 +502,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getDefaultInstanceForType() { - return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance(); + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstanceForType() { + return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance(); } @java.lang.Override @@ -603,17 +523,13 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buil @java.lang.Override public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = - new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result) { + private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -627,51 +543,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) { - return mergeFrom( - (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other) { - if (other - == com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other) { + if (other == com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -706,25 +617,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + kmsKeyName_ = 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) { @@ -734,38 +642,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -776,45 +672,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -824,16 +703,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -845,8 +719,6 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -855,16 +727,14 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -873,8 +743,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -883,17 +751,16 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -901,8 +768,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -911,25 +776,19 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -938,10 +797,7 @@ public Builder setKmsKeyName(java.lang.String value) {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -951,8 +807,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -961,26 +815,22 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -990,43 +840,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) - private static final com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseEncryptionConfig 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseEncryptionConfig 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; @@ -1038,8 +886,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java similarity index 55% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java index 47e9875866a..7e09ac5c525 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java @@ -1,62 +1,33 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseEncryptionConfigOrBuilder - extends +public interface RestoreDatabaseEncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - getEncryptionType(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -65,16 +36,11 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -83,11 +49,9 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java index 3a02aa08196..48244c9e8d9 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the long-running operation returned by
  * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseMetadata}
  */
-public final class RestoreDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreDatabaseMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseMetadata)
     RestoreDatabaseMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreDatabaseMetadata.newBuilder() to construct.
   private RestoreDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreDatabaseMetadata() {
     name_ = "";
     sourceType_ = 0;
@@ -47,39 +29,34 @@ private RestoreDatabaseMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreDatabaseMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class,
-            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class, com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
   }
 
   private int bitField0_;
   private int sourceInfoCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object sourceInfo_;
-
   public enum SourceInfoCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_INFO(3),
     SOURCEINFO_NOT_SET(0);
     private final int value;
-
     private SourceInfoCase(int value) {
       this.value = value;
     }
@@ -95,37 +72,31 @@ public static SourceInfoCase valueOf(int value) {
 
     public static SourceInfoCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP_INFO;
-        case 0:
-          return SOURCEINFO_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP_INFO;
+        case 0: return SOURCEINFO_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceInfoCase getSourceInfoCase() {
-    return SourceInfoCase.forNumber(sourceInfoCase_);
+  public SourceInfoCase
+  getSourceInfoCase() {
+    return SourceInfoCase.forNumber(
+        sourceInfoCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -134,29 +105,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,50 +138,36 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The sourceType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 3; /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -218,26 +175,21 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 3; } /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 3) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } /** - * - * *
    * Information about the backup used to restore the database.
    * 
@@ -247,7 +199,7 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder() { if (sourceInfoCase_ == 3) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } @@ -255,8 +207,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB public static final int PROGRESS_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -264,7 +214,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -272,8 +221,6 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -281,18 +228,13 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -303,16 +245,12 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -328,7 +266,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -336,8 +273,6 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -353,7 +288,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return The cancelTime. */ @java.lang.Override @@ -361,8 +295,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -385,12 +317,9 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   public static final int OPTIMIZE_DATABASE_OPERATION_NAME_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object optimizeDatabaseOperationName_ = "";
   /**
-   *
-   *
    * 
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -406,7 +335,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
    * 
* * string optimize_database_operation_name = 6; - * * @return The optimizeDatabaseOperationName. */ @java.lang.Override @@ -415,15 +343,14 @@ public java.lang.String getOptimizeDatabaseOperationName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeDatabaseOperationName_ = s; return s; } } /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -439,15 +366,16 @@ public java.lang.String getOptimizeDatabaseOperationName() {
    * 
* * string optimize_database_operation_name = 6; - * * @return The bytes for optimizeDatabaseOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeDatabaseOperationNameBytes() { java.lang.Object ref = optimizeDatabaseOperationName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeDatabaseOperationName_ = b; return b; } else { @@ -456,7 +384,6 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,12 +395,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } - if (sourceType_ - != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { + if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, sourceType_); } if (sourceInfoCase_ == 3) { @@ -500,25 +427,24 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (sourceType_ - != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceType_); + if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, sourceType_); } if (sourceInfoCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProgress()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCancelTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizeDatabaseOperationName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 6, optimizeDatabaseOperationName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, optimizeDatabaseOperationName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -528,30 +454,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.RestoreDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other = - (com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other = (com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (sourceType_ != other.sourceType_) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } - if (!getOptimizeDatabaseOperationName().equals(other.getOptimizeDatabaseOperationName())) - return false; + if (!getOptimizeDatabaseOperationName() + .equals(other.getOptimizeDatabaseOperationName())) return false; if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false; switch (sourceInfoCase_) { case 3: - if (!getBackupInfo().equals(other.getBackupInfo())) return false; + if (!getBackupInfo() + .equals(other.getBackupInfo())) return false; break; case 0: default: @@ -595,104 +524,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.RestoreDatabaseMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the long-running operation returned by
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -700,23 +623,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseMetadata)
       com.google.spanner.admin.database.v1.RestoreDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class,
-              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class, com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.newBuilder()
@@ -724,18 +645,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getProgressFieldBuilder();
         getCancelTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -762,14 +683,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance();
     }
 
@@ -784,18 +704,14 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result =
-          new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result = new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -805,11 +721,15 @@ private void buildPartial0(
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
@@ -818,11 +738,11 @@ private void buildPartial0(
       result.bitField0_ |= to_bitField0_;
     }
 
-    private void buildPartialOneofs(
-        com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
+    private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
       result.sourceInfoCase_ = sourceInfoCase_;
       result.sourceInfo_ = this.sourceInfo_;
-      if (sourceInfoCase_ == 3 && backupInfoBuilder_ != null) {
+      if (sourceInfoCase_ == 3 &&
+          backupInfoBuilder_ != null) {
         result.sourceInfo_ = backupInfoBuilder_.build();
       }
     }
@@ -831,39 +751,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -871,9 +790,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other) {
-      if (other
-          == com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -894,15 +811,13 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseMet
         onChanged();
       }
       switch (other.getSourceInfoCase()) {
-        case BACKUP_INFO:
-          {
-            mergeBackupInfo(other.getBackupInfo());
-            break;
-          }
-        case SOURCEINFO_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_INFO: {
+          mergeBackupInfo(other.getBackupInfo());
+          break;
+        }
+        case SOURCEINFO_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -930,49 +845,48 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                sourceType_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                sourceInfoCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceInfoCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            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) {
@@ -982,12 +896,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int sourceInfoCase_ = 0;
     private java.lang.Object sourceInfo_;
-
-    public SourceInfoCase getSourceInfoCase() {
-      return SourceInfoCase.forNumber(sourceInfoCase_);
+    public SourceInfoCase
+        getSourceInfoCase() {
+      return SourceInfoCase.forNumber(
+          sourceInfoCase_);
     }
 
     public Builder clearSourceInfo() {
@@ -1001,20 +915,18 @@ public Builder clearSourceInfo() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1023,21 +935,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1045,35 +956,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -1083,21 +987,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1107,29 +1007,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -1140,33 +1033,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The sourceType. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -1180,14 +1064,11 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1198,19 +1079,13 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> backupInfoBuilder_; /** - * - * *
      * Information about the backup used to restore the database.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -1218,14 +1093,11 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 3; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override @@ -1243,8 +1115,6 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1265,8 +1135,6 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1285,8 +1153,6 @@ public Builder setBackupInfo( return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1295,14 +1161,10 @@ public Builder setBackupInfo( */ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo value) { if (backupInfoBuilder_ == null) { - if (sourceInfoCase_ == 3 - && sourceInfo_ - != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) { - sourceInfo_ = - com.google.spanner.admin.database.v1.BackupInfo.newBuilder( - (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_) - .mergeFrom(value) - .buildPartial(); + if (sourceInfoCase_ == 3 && + sourceInfo_ != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) { + sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.newBuilder((com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_) + .mergeFrom(value).buildPartial(); } else { sourceInfo_ = value; } @@ -1318,8 +1180,6 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1343,8 +1203,6 @@ public Builder clearBackupInfo() { return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1355,8 +1213,6 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil return getBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1375,8 +1231,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB } } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1384,19 +1238,14 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder> + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> getBackupInfoFieldBuilder() { if (backupInfoBuilder_ == null) { if (!(sourceInfoCase_ == 3)) { sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } - backupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder>( + backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder>( (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_, getParentForChildren(), isClean()); @@ -1409,13 +1258,8 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1423,15 +1267,12 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1439,21 +1280,16 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1476,8 +1312,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1498,8 +1332,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1510,10 +1342,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1528,8 +1359,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1549,8 +1378,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1565,8 +1392,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1579,14 +1404,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1596,17 +1418,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1614,13 +1433,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1636,15 +1450,12 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1660,21 +1471,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1705,8 +1511,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1723,7 +1527,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 5;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1734,8 +1539,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1754,9 +1557,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1771,8 +1574,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1800,8 +1601,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1824,8 +1623,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1846,14 +1643,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1871,17 +1665,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1889,8 +1680,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     private java.lang.Object optimizeDatabaseOperationName_ = "";
     /**
-     *
-     *
      * 
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1906,13 +1695,13 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * 
* * string optimize_database_operation_name = 6; - * * @return The optimizeDatabaseOperationName. */ public java.lang.String getOptimizeDatabaseOperationName() { java.lang.Object ref = optimizeDatabaseOperationName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeDatabaseOperationName_ = s; return s; @@ -1921,8 +1710,6 @@ public java.lang.String getOptimizeDatabaseOperationName() { } } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1938,14 +1725,15 @@ public java.lang.String getOptimizeDatabaseOperationName() {
      * 
* * string optimize_database_operation_name = 6; - * * @return The bytes for optimizeDatabaseOperationName. */ - public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeDatabaseOperationNameBytes() { java.lang.Object ref = optimizeDatabaseOperationName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeDatabaseOperationName_ = b; return b; } else { @@ -1953,8 +1741,6 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { } } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1970,22 +1756,18 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() {
      * 
* * string optimize_database_operation_name = 6; - * * @param value The optimizeDatabaseOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeDatabaseOperationName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeDatabaseOperationName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizeDatabaseOperationName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -2001,7 +1783,6 @@ public Builder setOptimizeDatabaseOperationName(java.lang.String value) {
      * 
* * string optimize_database_operation_name = 6; - * * @return This builder for chaining. */ public Builder clearOptimizeDatabaseOperationName() { @@ -2011,8 +1792,6 @@ public Builder clearOptimizeDatabaseOperationName() { return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -2028,23 +1807,21 @@ public Builder clearOptimizeDatabaseOperationName() {
      * 
* * string optimize_database_operation_name = 6; - * * @param value The bytes for optimizeDatabaseOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeDatabaseOperationNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeDatabaseOperationNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizeDatabaseOperationName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2054,13 +1831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseMetadata) - private static final com.google.spanner.admin.database.v1.RestoreDatabaseMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.RestoreDatabaseMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(); } @@ -2069,27 +1845,27 @@ public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseMetadata 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; @@ -2104,4 +1880,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java similarity index 89% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java index 879d866f9d1..dfb35a7d6b4 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java @@ -1,106 +1,71 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseMetadataOrBuilder - extends +public interface RestoreDatabaseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The sourceType. */ com.google.spanner.admin.database.v1.RestoreSourceType getSourceType(); /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return The backupInfo. */ com.google.spanner.admin.database.v1.BackupInfo getBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database.
    * 
@@ -110,8 +75,6 @@ public interface RestoreDatabaseMetadataOrBuilder com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder(); /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -119,13 +82,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -133,13 +93,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -151,8 +108,6 @@ public interface RestoreDatabaseMetadataOrBuilder
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -168,13 +123,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -190,13 +142,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -216,8 +165,6 @@ public interface RestoreDatabaseMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -233,13 +180,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * string optimize_database_operation_name = 6; - * * @return The optimizeDatabaseOperationName. */ java.lang.String getOptimizeDatabaseOperationName(); /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -255,10 +199,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * string optimize_database_operation_name = 6; - * * @return The bytes for optimizeDatabaseOperationName. */ - com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes(); + com.google.protobuf.ByteString + getOptimizeDatabaseOperationNameBytes(); com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.SourceInfoCase getSourceInfoCase(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java index 82b435229fe..eeb0c6a0371 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for
  * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseRequest}
  */
-public final class RestoreDatabaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreDatabaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseRequest)
     RestoreDatabaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreDatabaseRequest.newBuilder() to construct.
   private RestoreDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreDatabaseRequest() {
     parent_ = "";
     databaseId_ = "";
@@ -46,39 +28,34 @@ private RestoreDatabaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreDatabaseRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
-            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
+            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class, com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
   }
 
   private int bitField0_;
   private int sourceCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -94,31 +71,26 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -127,10 +99,7 @@ public SourceCase getSourceCase() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -139,15 +108,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -156,18 +124,17 @@ public java.lang.String getParent() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -176,12 +143,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -190,7 +154,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseId. */ @java.lang.Override @@ -199,15 +162,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -216,15 +178,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -234,30 +197,24 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ public boolean hasBackup() { return sourceCase_ == 3; } /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ public java.lang.String getBackup() { @@ -268,7 +225,8 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -277,25 +235,24 @@ public java.lang.String getBackup() { } } /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -308,8 +265,6 @@ public com.google.protobuf.ByteString getBackupBytes() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -319,10 +274,7 @@ public com.google.protobuf.ByteString getBackupBytes() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -330,8 +282,6 @@ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -341,22 +291,14 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -366,20 +308,14 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +327,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -423,7 +360,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -433,24 +371,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.RestoreDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseRequest other = - (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseRequest other = (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 3: - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; break; case 0: default: @@ -488,104 +429,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -593,23 +528,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseRequest)
       com.google.spanner.admin.database.v1.RestoreDatabaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
-              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
+              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class, com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseRequest.newBuilder()
@@ -617,17 +550,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getEncryptionConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -645,9 +578,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -666,11 +599,8 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.RestoreDatabaseRequest buildPartial() {
-      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result =
-          new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result = new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -686,15 +616,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseR
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
     }
 
-    private void buildPartialOneofs(
-        com.google.spanner.admin.database.v1.RestoreDatabaseRequest result) {
+    private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreDatabaseRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
     }
@@ -703,39 +633,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -743,8 +672,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseRequest other) {
-      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -759,17 +687,15 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseReq
         mergeEncryptionConfig(other.getEncryptionConfig());
       }
       switch (other.getSourceCase()) {
-        case BACKUP:
-          {
-            sourceCase_ = 3;
-            source_ = other.source_;
-            onChanged();
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP: {
+          sourceCase_ = 3;
+          source_ = other.source_;
+          onChanged();
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -797,39 +723,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                databaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                sourceCase_ = 3;
-                source_ = s;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              databaseId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              sourceCase_ = 3;
+              source_ = s;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -839,12 +761,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-
-    public SourceCase getSourceCase() {
-      return SourceCase.forNumber(sourceCase_);
+    public SourceCase
+        getSourceCase() {
+      return SourceCase.forNumber(
+          sourceCase_);
     }
 
     public Builder clearSource() {
@@ -858,8 +780,6 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -868,16 +788,14 @@ public Builder clearSource() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -886,8 +804,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -896,17 +812,16 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -914,8 +829,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -924,25 +837,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -951,10 +858,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -964,8 +868,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -974,17 +876,13 @@ public Builder clearParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -994,8 +892,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1004,13 +900,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1019,8 +915,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1029,14 +923,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1044,8 +939,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1054,22 +947,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1078,7 +967,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1088,8 +976,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1098,14 +984,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1114,15 +998,12 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ @java.lang.Override @@ -1130,15 +1011,12 @@ public boolean hasBackup() { return sourceCase_ == 3; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ @java.lang.Override @@ -1148,7 +1026,8 @@ public java.lang.String getBackup() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -1159,26 +1038,25 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -1188,37 +1066,30 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceCase_ = 3; source_ = value; onChanged(); return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1230,22 +1101,18 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; @@ -1255,13 +1122,8 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1271,18 +1133,13 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1292,26 +1149,17 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getEncryptionConfig() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1321,12 +1169,9 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1340,8 +1185,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1351,13 +1194,10 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder - builderForValue) { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); } else { @@ -1368,8 +1208,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1379,18 +1217,13 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1405,8 +1238,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1416,9 +1247,7 @@ public Builder mergeEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1431,8 +1260,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1442,19 +1269,14 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1464,24 +1286,17 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1491,29 +1306,24 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1523,12 +1333,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseRequest) private static final com.google.spanner.admin.database.v1.RestoreDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(); } @@ -1537,27 +1347,27 @@ public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseRequest 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; @@ -1572,4 +1382,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.RestoreDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java index cb6f5aa907d..54c16bd1453 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseRequestOrBuilder - extends +public interface RestoreDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -35,16 +17,11 @@ public interface RestoreDatabaseRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -53,17 +30,13 @@ public interface RestoreDatabaseRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -72,13 +45,10 @@ public interface RestoreDatabaseRequestOrBuilder
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -87,54 +57,44 @@ public interface RestoreDatabaseRequestOrBuilder
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ java.lang.String getBackup(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -144,16 +104,11 @@ public interface RestoreDatabaseRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -163,16 +118,11 @@ public interface RestoreDatabaseRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -182,12 +132,9 @@ public interface RestoreDatabaseRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); com.google.spanner.admin.database.v1.RestoreDatabaseRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java index 92e337c7be0..ee792e8129b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,62 +5,54 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Information about the database restore.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreInfo} */ -public final class RestoreInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestoreInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreInfo) RestoreInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreInfo.newBuilder() to construct. private RestoreInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreInfo() { sourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreInfo.class, - com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); + com.google.spanner.admin.database.v1.RestoreInfo.class, com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); } private int sourceInfoCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object sourceInfo_; - public enum SourceInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_INFO(2), SOURCEINFO_NOT_SET(0); private final int value; - private SourceInfoCase(int value) { this.value = value; } @@ -91,72 +68,56 @@ public static SourceInfoCase valueOf(int value) { public static SourceInfoCase forNumber(int value) { switch (value) { - case 2: - return BACKUP_INFO; - case 0: - return SOURCEINFO_NOT_SET; - default: - return null; + case 2: return BACKUP_INFO; + case 0: return SOURCEINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public static final int SOURCE_TYPE_FIELD_NUMBER = 1; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The sourceType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 2; /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -164,27 +125,22 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 2) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
@@ -195,13 +151,12 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() {
   @java.lang.Override
   public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder() {
     if (sourceInfoCase_ == 2) {
-      return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_;
+       return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_;
     }
     return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,9 +168,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (sourceType_
-        != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
@@ -230,14 +185,13 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (sourceType_
-        != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sourceType_);
+    if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,19 +201,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.RestoreInfo)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.RestoreInfo other =
-        (com.google.spanner.admin.database.v1.RestoreInfo) obj;
+    com.google.spanner.admin.database.v1.RestoreInfo other = (com.google.spanner.admin.database.v1.RestoreInfo) obj;
 
     if (sourceType_ != other.sourceType_) return false;
     if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false;
     switch (sourceInfoCase_) {
       case 2:
-        if (!getBackupInfo().equals(other.getBackupInfo())) return false;
+        if (!getBackupInfo()
+            .equals(other.getBackupInfo())) return false;
         break;
       case 0:
       default:
@@ -290,136 +244,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.database.v1.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.database.v1.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreInfo prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Information about the database restore.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreInfo) com.google.spanner.admin.database.v1.RestoreInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreInfo.class, - com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); + com.google.spanner.admin.database.v1.RestoreInfo.class, com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.RestoreInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override @@ -455,11 +405,8 @@ public com.google.spanner.admin.database.v1.RestoreInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfo buildPartial() { - com.google.spanner.admin.database.v1.RestoreInfo result = - new com.google.spanner.admin.database.v1.RestoreInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.RestoreInfo result = new com.google.spanner.admin.database.v1.RestoreInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -475,7 +422,8 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreInfo resu private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreInfo result) { result.sourceInfoCase_ = sourceInfoCase_; result.sourceInfo_ = this.sourceInfo_; - if (sourceInfoCase_ == 2 && backupInfoBuilder_ != null) { + if (sourceInfoCase_ == 2 && + backupInfoBuilder_ != null) { result.sourceInfo_ = backupInfoBuilder_.build(); } } @@ -484,39 +432,38 @@ private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.RestoreInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.RestoreInfo) other); + return mergeFrom((com.google.spanner.admin.database.v1.RestoreInfo)other); } else { super.mergeFrom(other); return this; @@ -524,21 +471,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreInfo other) { - if (other == com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) return this; if (other.sourceType_ != 0) { setSourceTypeValue(other.getSourceTypeValue()); } switch (other.getSourceInfoCase()) { - case BACKUP_INFO: - { - mergeBackupInfo(other.getBackupInfo()); - break; - } - case SOURCEINFO_NOT_SET: - { - break; - } + case BACKUP_INFO: { + mergeBackupInfo(other.getBackupInfo()); + break; + } + case SOURCEINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -566,25 +510,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry); - sourceInfoCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getBackupInfoFieldBuilder().getBuilder(), + extensionRegistry); + sourceInfoCase_ = 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) { @@ -594,12 +537,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; - - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public Builder clearSourceInfo() { @@ -613,29 +556,22 @@ public Builder clearSourceInfo() { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -646,33 +582,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The sourceType. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -686,14 +613,11 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -704,20 +628,14 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> backupInfoBuilder_; /** - * - * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -725,15 +643,12 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override @@ -751,8 +666,6 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -774,8 +687,6 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -795,8 +706,6 @@ public Builder setBackupInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -806,14 +715,10 @@ public Builder setBackupInfo(
      */
     public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo value) {
       if (backupInfoBuilder_ == null) {
-        if (sourceInfoCase_ == 2
-            && sourceInfo_
-                != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) {
-          sourceInfo_ =
-              com.google.spanner.admin.database.v1.BackupInfo.newBuilder(
-                      (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sourceInfoCase_ == 2 &&
+            sourceInfo_ != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) {
+          sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.newBuilder((com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           sourceInfo_ = value;
         }
@@ -829,8 +734,6 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -855,8 +758,6 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -868,8 +769,6 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil
       return getBackupInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -889,8 +788,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
       }
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -899,19 +796,14 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
      * .google.spanner.admin.database.v1.BackupInfo backup_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.BackupInfo,
-            com.google.spanner.admin.database.v1.BackupInfo.Builder,
-            com.google.spanner.admin.database.v1.BackupInfoOrBuilder>
+        com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> 
         getBackupInfoFieldBuilder() {
       if (backupInfoBuilder_ == null) {
         if (!(sourceInfoCase_ == 2)) {
           sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance();
         }
-        backupInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.BackupInfo,
-                com.google.spanner.admin.database.v1.BackupInfo.Builder,
-                com.google.spanner.admin.database.v1.BackupInfoOrBuilder>(
+        backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder>(
                 (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_,
                 getParentForChildren(),
                 isClean());
@@ -921,9 +813,9 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
       onChanged();
       return backupInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -933,12 +825,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreInfo)
   private static final com.google.spanner.admin.database.v1.RestoreInfo DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreInfo();
   }
@@ -947,27 +839,27 @@ public static com.google.spanner.admin.database.v1.RestoreInfo getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RestoreInfo 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RestoreInfo 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;
@@ -982,4 +874,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.RestoreInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
similarity index 72%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
index 89ecb470a78..4b1b9c09439 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
@@ -1,83 +1,53 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.database.v1;
 
-public interface RestoreInfoOrBuilder
-    extends
+public interface RestoreInfoOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The sourceType. */ com.google.spanner.admin.database.v1.RestoreSourceType getSourceType(); /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return The backupInfo. */ com.google.spanner.admin.database.v1.BackupInfo getBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
similarity index 66%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
index b3d863f1de2..64b452a27b3 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
@@ -20,18 +5,15 @@
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * Indicates the type of the restore source.
  * 
* * Protobuf enum {@code google.spanner.admin.database.v1.RestoreSourceType} */ -public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum RestoreSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No restore associated.
    * 
@@ -40,8 +22,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ TYPE_UNSPECIFIED(0), /** - * - * *
    * A backup was used as the source of the restore.
    * 
@@ -53,8 +33,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * No restore associated.
    * 
@@ -63,8 +41,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A backup was used as the source of the restore.
    * 
@@ -73,6 +49,7 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int BACKUP_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -97,43 +74,39 @@ public static RestoreSourceType valueOf(int value) { */ public static RestoreSourceType forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return BACKUP; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return BACKUP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestoreSourceType findValueByNumber(int number) { - return RestoreSourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + RestoreSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestoreSourceType findValueByNumber(int number) { + return RestoreSourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor().getEnumTypes().get(0); } private static final RestoreSourceType[] VALUES = values(); @@ -141,7 +114,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RestoreSourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -157,3 +131,4 @@ private RestoreSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.spanner.admin.database.v1.RestoreSourceType) } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java new file mode 100644 index 00000000000..4ee1a4ba148 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java @@ -0,0 +1,601 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.database.v1; + +public final class SpannerDatabaseAdminProto { + private SpannerDatabaseAdminProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_Database_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_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=google/spanner/admin/database/v1/spann" + + "er_database_admin.proto\022 google.spanner." + + "admin.database.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\036google/iam/v1/iam_policy.p" + + "roto\032\032google/iam/v1/policy.proto\032#google" + + "/longrunning/operations.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\032-google/spanner/admin/database/v1/" + + "backup.proto\032-google/spanner/admin/datab" + + "ase/v1/common.proto\"\253\001\n\013RestoreInfo\022H\n\013s" + + "ource_type\030\001 \001(\01623.google.spanner.admin." + + "database.v1.RestoreSourceType\022C\n\013backup_" + + "info\030\002 \001(\0132,.google.spanner.admin.databa" + + "se.v1.BackupInfoH\000B\r\n\013source_info\"\312\006\n\010Da" + + "tabase\022\021\n\004name\030\001 \001(\tB\003\340A\002\022D\n\005state\030\002 \001(\016" + + "20.google.spanner.admin.database.v1.Data" + + "base.StateB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022H\n\014restore" + + "_info\030\004 \001(\0132-.google.spanner.admin.datab" + + "ase.v1.RestoreInfoB\003\340A\003\022R\n\021encryption_co" + + "nfig\030\005 \001(\01322.google.spanner.admin.databa" + + "se.v1.EncryptionConfigB\003\340A\003\022N\n\017encryptio" + + "n_info\030\010 \003(\01320.google.spanner.admin.data" + + "base.v1.EncryptionInfoB\003\340A\003\022%\n\030version_r" + + "etention_period\030\006 \001(\tB\003\340A\003\022>\n\025earliest_v" + + "ersion_time\030\007 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022\033\n\016default_leader\030\t \001(\tB\003\340A\003\022" + + "P\n\020database_dialect\030\n \001(\01621.google.spann" + + "er.admin.database.v1.DatabaseDialectB\003\340A" + + "\003\022\036\n\026enable_drop_protection\030\013 \001(\010\022\030\n\013rec" + + "onciling\030\014 \001(\010B\003\340A\003\"M\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\024\n\020" + + "READY_OPTIMIZING\020\003:b\352A_\n\037spanner.googlea" + + "pis.com/Database\022\332A\006parent\202\323\344\223\002/\022-/v1/{parent=projects" + + "/*/instances/*}/databases\022\244\002\n\016CreateData" + + "base\0227.google.spanner.admin.database.v1." + + "CreateDatabaseRequest\032\035.google.longrunni" + + "ng.Operation\"\271\001\312Ad\n)google.spanner.admin" + + ".database.v1.Database\0227google.spanner.ad" + + "min.database.v1.CreateDatabaseMetadata\332A" + + "\027parent,create_statement\202\323\344\223\0022\"-/v1/{par" + + "ent=projects/*/instances/*}/databases:\001*" + + "\022\255\001\n\013GetDatabase\0224.google.spanner.admin." + + "database.v1.GetDatabaseRequest\032*.google." + + "spanner.admin.database.v1.Database\"<\332A\004n" + + "ame\202\323\344\223\002/\022-/v1/{name=projects/*/instance" + + "s/*/databases/*}\022\357\001\n\016UpdateDatabase\0227.go" + + "ogle.spanner.admin.database.v1.UpdateDat" + + "abaseRequest\032\035.google.longrunning.Operat" + + "ion\"\204\001\312A\"\n\010Database\022\026UpdateDatabaseMetad" + + "ata\332A\024database,update_mask\202\323\344\223\002B26/v1/{d" + + "atabase.name=projects/*/instances/*/data" + + "bases/*}:\010database\022\235\002\n\021UpdateDatabaseDdl" + + "\022:.google.spanner.admin.database.v1.Upda" + + "teDatabaseDdlRequest\032\035.google.longrunnin" + + "g.Operation\"\254\001\312AS\n\025google.protobuf.Empty" + + "\022:google.spanner.admin.database.v1.Updat" + + "eDatabaseDdlMetadata\332A\023database,statemen" + + "ts\202\323\344\223\002:25/v1/{database=projects/*/insta" + + "nces/*/databases/*}/ddl:\001*\022\243\001\n\014DropDatab" + + "ase\0225.google.spanner.admin.database.v1.D" + + "ropDatabaseRequest\032\026.google.protobuf.Emp" + + "ty\"D\332A\010database\202\323\344\223\0023*1/v1/{database=pro" + + "jects/*/instances/*/databases/*}\022\315\001\n\016Get" + + "DatabaseDdl\0227.google.spanner.admin.datab" + + "ase.v1.GetDatabaseDdlRequest\0328.google.sp" + + "anner.admin.database.v1.GetDatabaseDdlRe" + + "sponse\"H\332A\010database\202\323\344\223\0027\0225/v1/{database" + + "=projects/*/instances/*/databases/*}/ddl" + + "\022\353\001\n\014SetIamPolicy\022\".google.iam.v1.SetIam" + + "PolicyRequest\032\025.google.iam.v1.Policy\"\237\001\332" + + "A\017resource,policy\202\323\344\223\002\206\001\">/v1/{resource=" + + "projects/*/instances/*/databases/*}:setI" + + "amPolicy:\001*ZA\"/v1/{resource=projects/" + + "*/instances/*/databases/*}:getIamPolicy:" + + "\001*ZA\".google.spanner.a" + + "dmin.database.v1.ListBackupOperationsRes" + + "ponse\"E\332A\006parent\202\323\344\223\0026\0224/v1/{parent=proj" + + "ects/*/instances/*}/backupOperations\022\334\001\n" + + "\021ListDatabaseRoles\022:.google.spanner.admi" + + "n.database.v1.ListDatabaseRolesRequest\032;" + + ".google.spanner.admin.database.v1.ListDa" + + "tabaseRolesResponse\"N\332A\006parent\202\323\344\223\002?\022=/v" + + "1/{parent=projects/*/instances/*/databas" + + "es/*}/databaseRoles\032x\312A\026spanner.googleap" + + "is.com\322A\\https://www.googleapis.com/auth" + + "/cloud-platform,https://www.googleapis.c" + + "om/auth/spanner.adminB\330\002\n$com.google.spa" + + "nner.admin.database.v1B\031SpannerDatabaseA" + + "dminProtoP\001ZFcloud.google.com/go/spanner" + + "/admin/database/apiv1/databasepb;databas" + + "epb\252\002&Google.Cloud.Spanner.Admin.Databas" + + "e.V1\312\002&Google\\Cloud\\Spanner\\Admin\\Databa" + + "se\\V1\352\002+Google::Cloud::Spanner::Admin::D" + + "atabase::V1\352AJ\n\037spanner.googleapis.com/I" + + "nstance\022\'projects/{project}/instances/{i" + + "nstance}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor, + new java.lang.String[] { "SourceType", "BackupInfo", "SourceInfo", }); + internal_static_google_spanner_admin_database_v1_Database_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_Database_descriptor, + new java.lang.String[] { "Name", "State", "CreateTime", "RestoreInfo", "EncryptionConfig", "EncryptionInfo", "VersionRetentionPeriod", "EarliestVersionTime", "DefaultLeader", "DatabaseDialect", "EnableDropProtection", "Reconciling", }); + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor, + new java.lang.String[] { "Databases", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor, + new java.lang.String[] { "Parent", "CreateStatement", "ExtraStatements", "EncryptionConfig", "DatabaseDialect", "ProtoDescriptors", }); + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor, + new java.lang.String[] { "Database", }); + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor, + new java.lang.String[] { "Database", "UpdateMask", }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor, + new java.lang.String[] { "Request", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor, + new java.lang.String[] { "Database", "Statements", "OperationId", "ProtoDescriptors", }); + internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor, + new java.lang.String[] { "Action", "EntityType", "EntityNames", }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor, + new java.lang.String[] { "Database", "Statements", "CommitTimestamps", "Throttled", "Progress", "Actions", }); + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor, + new java.lang.String[] { "Database", }); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor, + new java.lang.String[] { "Database", }); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor, + new java.lang.String[] { "Statements", "ProtoDescriptors", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor, + new java.lang.String[] { "Operations", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor, + new java.lang.String[] { "Parent", "DatabaseId", "Backup", "EncryptionConfig", "Source", }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyName", }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor, + new java.lang.String[] { "Name", "SourceType", "BackupInfo", "Progress", "CancelTime", "OptimizeDatabaseOperationName", "SourceInfo", }); + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor, + new java.lang.String[] { "Name", "Progress", }); + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor, + new java.lang.String[] { "DatabaseRoles", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java index 7c9e9fa5031..d102badf807 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto @@ -20,53 +5,48 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.UpdateBackupRequest} */ -public final class UpdateBackupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateBackupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateBackupRequest) UpdateBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateBackupRequest.newBuilder() to construct. private UpdateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateBackupRequest() {} + private UpdateBackupRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.UpdateBackupRequest.class, - com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.UpdateBackupRequest.class, com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); } private int bitField0_; public static final int BACKUP_FIELD_NUMBER = 1; private com.google.spanner.admin.database.v1.Backup backup_; /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -74,10 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -94,21 +69,14 @@ public boolean hasBackup() {
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup getBackup() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -116,22 +84,16 @@ public com.google.spanner.admin.database.v1.Backup getBackup() {
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -140,9 +102,7 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -150,8 +110,6 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -160,9 +118,7 @@ public boolean hasUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -170,8 +126,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -180,8 +134,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -189,7 +142,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBackup()); } @@ -218,10 +171,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBackup()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,21 +186,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.UpdateBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.UpdateBackupRequest other = - (com.google.spanner.admin.database.v1.UpdateBackupRequest) obj; + com.google.spanner.admin.database.v1.UpdateBackupRequest other = (com.google.spanner.admin.database.v1.UpdateBackupRequest) obj; if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -272,127 +228,119 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.UpdateBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.UpdateBackupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateBackupRequest) com.google.spanner.admin.database.v1.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.UpdateBackupRequest.class, - com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.UpdateBackupRequest.class, com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.UpdateBackupRequest.newBuilder() @@ -400,18 +348,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBackupFieldBuilder(); getUpdateMaskFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -430,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -451,11 +399,8 @@ public com.google.spanner.admin.database.v1.UpdateBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.UpdateBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.UpdateBackupRequest result = - new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.UpdateBackupRequest result = new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -464,11 +409,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateBackupRequ int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -478,39 +427,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateBackupRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.UpdateBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.UpdateBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.UpdateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()) return this; if (other.hasBackup()) { mergeBackup(other.getBackup()); } @@ -552,25 +499,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -580,18 +528,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.spanner.admin.database.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> - backupBuilder_; + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -599,18 +541,13 @@ public Builder mergeFrom(
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -618,24 +555,17 @@ public boolean hasBackup() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.spanner.admin.database.v1.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -643,9 +573,7 @@ public com.google.spanner.admin.database.v1.Backup getBackup() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { @@ -661,8 +589,6 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -670,11 +596,10 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -685,8 +610,6 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -694,15 +617,13 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && backup_ != null - && backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + backup_ != null && + backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -717,8 +638,6 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -726,9 +645,7 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -741,8 +658,6 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -750,9 +665,7 @@ public Builder clearBackup() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000001; @@ -760,8 +673,6 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -769,22 +680,17 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -792,22 +698,17 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -815,13 +716,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -830,17 +726,13 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -849,23 +741,17 @@ public boolean hasUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -874,8 +760,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -891,8 +776,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -901,10 +784,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -915,8 +798,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -925,14 +806,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -947,8 +827,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -957,8 +835,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -971,8 +848,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -981,8 +856,7 @@ public Builder clearUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -990,8 +864,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -1000,21 +872,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -1023,28 +891,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateBackupRequest) private static final com.google.spanner.admin.database.v1.UpdateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateBackupRequest(); } @@ -1068,27 +932,27 @@ public static com.google.spanner.admin.database.v1.UpdateBackupRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateBackupRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateBackupRequest 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; @@ -1103,4 +967,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java index 919136018f7..10c97b36fec 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface UpdateBackupRequestOrBuilder - extends +public interface UpdateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -34,16 +16,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -51,16 +28,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.spanner.admin.database.v1.Backup getBackup(); /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -68,15 +40,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -85,15 +53,11 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -102,15 +66,11 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -119,8 +79,7 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java similarity index 79% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java index 43c22ecea51..20171e9a6a3 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
@@ -29,19 +12,19 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata}
  */
-public final class UpdateDatabaseDdlMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateDatabaseDdlMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
     UpdateDatabaseDdlMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseDdlMetadata.newBuilder() to construct.
   private UpdateDatabaseDdlMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateDatabaseDdlMetadata() {
     database_ = "";
-    statements_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    statements_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     commitTimestamps_ = java.util.Collections.emptyList();
     progress_ = java.util.Collections.emptyList();
     actions_ = java.util.Collections.emptyList();
@@ -49,38 +32,33 @@ private UpdateDatabaseDdlMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateDatabaseDdlMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class,
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -89,29 +67,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -120,50 +98,41 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int STATEMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_; } /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -171,29 +140,24 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List commitTimestamps_; /** - * - * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -207,8 +171,6 @@ public java.util.List getCommitTimestampsList() {
     return commitTimestamps_;
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -218,13 +180,11 @@ public java.util.List getCommitTimestampsList() {
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCommitTimestampsOrBuilderList() {
     return commitTimestamps_;
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -238,8 +198,6 @@ public int getCommitTimestampsCount() {
     return commitTimestamps_.size();
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -253,8 +211,6 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
     return commitTimestamps_.get(index);
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -264,15 +220,14 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
   @java.lang.Override
-  public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index) {
+  public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
+      int index) {
     return commitTimestamps_.get(index);
   }
 
   public static final int THROTTLED_FIELD_NUMBER = 4;
   private boolean throttled_ = false;
   /**
-   *
-   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g.
    * due to resource constraints. When resources become available the operation
@@ -280,7 +235,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ @java.lang.Override @@ -289,12 +243,9 @@ public boolean getThrottled() { } public static final int PROGRESS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List progress_; /** - * - * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -312,8 +263,6 @@ public java.util.List ge
     return progress_;
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -327,13 +276,11 @@ public java.util.List ge
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getProgressOrBuilderList() {
     return progress_;
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -351,8 +298,6 @@ public int getProgressCount() {
     return progress_.size();
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -370,8 +315,6 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress(int in
     return progress_.get(index);
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -391,12 +334,9 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   }
 
   public static final int ACTIONS_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private java.util.List actions_;
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -405,13 +345,10 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
    */
   @java.lang.Override
-  public java.util.List
-      getActionsList() {
+  public java.util.List getActionsList() {
     return actions_;
   }
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -420,14 +357,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder>
+  public java.util.List 
       getActionsOrBuilderList() {
     return actions_;
   }
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -440,8 +374,6 @@ public int getActionsCount() {
     return actions_.size();
   }
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -454,8 +386,6 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfo getActions(in
     return actions_.get(index);
   }
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -470,7 +400,6 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder getA
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -482,7 +411,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -522,16 +452,20 @@ public int getSerializedSize() {
       size += 1 * getStatementsList().size();
     }
     for (int i = 0; i < commitTimestamps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, commitTimestamps_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, commitTimestamps_.get(i));
     }
     if (throttled_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, throttled_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, throttled_);
     }
     for (int i = 0; i < progress_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, progress_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, progress_.get(i));
     }
     for (int i = 0; i < actions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, actions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, actions_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -541,20 +475,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other =
-        (com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) obj;
-
-    if (!getDatabase().equals(other.getDatabase())) return false;
-    if (!getStatementsList().equals(other.getStatementsList())) return false;
-    if (!getCommitTimestampsList().equals(other.getCommitTimestampsList())) return false;
-    if (getThrottled() != other.getThrottled()) return false;
-    if (!getProgressList().equals(other.getProgressList())) return false;
-    if (!getActionsList().equals(other.getActionsList())) return false;
+    com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other = (com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) obj;
+
+    if (!getDatabase()
+        .equals(other.getDatabase())) return false;
+    if (!getStatementsList()
+        .equals(other.getStatementsList())) return false;
+    if (!getCommitTimestampsList()
+        .equals(other.getCommitTimestampsList())) return false;
+    if (getThrottled()
+        != other.getThrottled()) return false;
+    if (!getProgressList()
+        .equals(other.getProgressList())) return false;
+    if (!getActionsList()
+        .equals(other.getActionsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -577,7 +516,8 @@ public int hashCode() {
       hash = (53 * hash) + getCommitTimestampsList().hashCode();
     }
     hash = (37 * hash) + THROTTLED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getThrottled());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getThrottled());
     if (getProgressCount() > 0) {
       hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
       hash = (53 * hash) + getProgressList().hashCode();
@@ -592,104 +532,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the operation returned by
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
@@ -697,38 +631,40 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
       com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class,
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       database_ = "";
-      statements_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      statements_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       if (commitTimestampsBuilder_ == null) {
         commitTimestamps_ = java.util.Collections.emptyList();
       } else {
@@ -755,14 +691,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance();
     }
 
@@ -777,18 +712,14 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result =
-          new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata(this);
+      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
       if (commitTimestampsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           commitTimestamps_ = java.util.Collections.unmodifiableList(commitTimestamps_);
@@ -818,8 +749,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.database_ = database_;
@@ -837,39 +767,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -877,9 +806,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other) {
-      if (other
-          == com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -913,10 +840,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             commitTimestampsBuilder_ = null;
             commitTimestamps_ = other.commitTimestamps_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            commitTimestampsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCommitTimestampsFieldBuilder()
-                    : null;
+            commitTimestampsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCommitTimestampsFieldBuilder() : null;
           } else {
             commitTimestampsBuilder_.addAllMessages(other.commitTimestamps_);
           }
@@ -943,10 +869,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             progressBuilder_ = null;
             progress_ = other.progress_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            progressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getProgressFieldBuilder()
-                    : null;
+            progressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getProgressFieldBuilder() : null;
           } else {
             progressBuilder_.addAllMessages(other.progress_);
           }
@@ -970,10 +895,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             actionsBuilder_ = null;
             actions_ = other.actions_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            actionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getActionsFieldBuilder()
-                    : null;
+            actionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getActionsFieldBuilder() : null;
           } else {
             actionsBuilder_.addAllMessages(other.actions_);
           }
@@ -1005,72 +929,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureStatementsIsMutable();
-                statements_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.Timestamp m =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (commitTimestampsBuilder_ == null) {
-                  ensureCommitTimestampsIsMutable();
-                  commitTimestamps_.add(m);
-                } else {
-                  commitTimestampsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 32:
-              {
-                throttled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                com.google.spanner.admin.database.v1.OperationProgress m =
-                    input.readMessage(
-                        com.google.spanner.admin.database.v1.OperationProgress.parser(),
-                        extensionRegistry);
-                if (progressBuilder_ == null) {
-                  ensureProgressIsMutable();
-                  progress_.add(m);
-                } else {
-                  progressBuilder_.addMessage(m);
-                }
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.spanner.admin.database.v1.DdlStatementActionInfo m =
-                    input.readMessage(
-                        com.google.spanner.admin.database.v1.DdlStatementActionInfo.parser(),
-                        extensionRegistry);
-                if (actionsBuilder_ == null) {
-                  ensureActionsIsMutable();
-                  actions_.add(m);
-                } else {
-                  actionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureStatementsIsMutable();
+              statements_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.Timestamp m =
+                  input.readMessage(
+                      com.google.protobuf.Timestamp.parser(),
+                      extensionRegistry);
+              if (commitTimestampsBuilder_ == null) {
+                ensureCommitTimestampsIsMutable();
+                commitTimestamps_.add(m);
+              } else {
+                commitTimestampsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 32: {
+              throttled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              com.google.spanner.admin.database.v1.OperationProgress m =
+                  input.readMessage(
+                      com.google.spanner.admin.database.v1.OperationProgress.parser(),
+                      extensionRegistry);
+              if (progressBuilder_ == null) {
+                ensureProgressIsMutable();
+                progress_.add(m);
+              } else {
+                progressBuilder_.addMessage(m);
+              }
+              break;
+            } // case 42
+            case 50: {
+              com.google.spanner.admin.database.v1.DdlStatementActionInfo m =
+                  input.readMessage(
+                      com.google.spanner.admin.database.v1.DdlStatementActionInfo.parser(),
+                      extensionRegistry);
+              if (actionsBuilder_ == null) {
+                ensureActionsIsMutable();
+                actions_.add(m);
+              } else {
+                actionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            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) {
@@ -1080,25 +999,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1107,21 +1023,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -1129,35 +1044,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -1167,21 +1075,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1191,7 +1095,6 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureStatementsIsMutable() { if (!statements_.isModifiable()) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); @@ -1199,46 +1102,38 @@ private void ensureStatementsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { statements_.makeImmutable(); return statements_; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -1246,39 +1141,33 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); bitField0_ |= 0x00000002; @@ -1286,22 +1175,18 @@ public Builder setStatements(int index, java.lang.String value) { return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); bitField0_ |= 0x00000002; @@ -1309,61 +1194,53 @@ public Builder addStatements(java.lang.String value) { return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements(java.lang.Iterable values) { + public Builder addAllStatements( + java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @return This builder for chaining. */ public Builder clearStatements() { - statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + statements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); @@ -1373,25 +1250,18 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { } private java.util.List commitTimestamps_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCommitTimestampsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - commitTimestamps_ = - new java.util.ArrayList(commitTimestamps_); + commitTimestamps_ = new java.util.ArrayList(commitTimestamps_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimestampsBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampsBuilder_; /** - * - * *
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1408,8 +1278,6 @@ public java.util.List getCommitTimestampsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1426,8 +1294,6 @@ public int getCommitTimestampsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1444,8 +1310,6 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1454,7 +1318,8 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder setCommitTimestamps(int index, com.google.protobuf.Timestamp value) {
+    public Builder setCommitTimestamps(
+        int index, com.google.protobuf.Timestamp value) {
       if (commitTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1468,8 +1333,6 @@ public Builder setCommitTimestamps(int index, com.google.protobuf.Timestamp valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1490,8 +1353,6 @@ public Builder setCommitTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1514,8 +1375,6 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1524,7 +1383,8 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp value) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder addCommitTimestamps(int index, com.google.protobuf.Timestamp value) {
+    public Builder addCommitTimestamps(
+        int index, com.google.protobuf.Timestamp value) {
       if (commitTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1538,8 +1398,6 @@ public Builder addCommitTimestamps(int index, com.google.protobuf.Timestamp valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1548,7 +1406,8 @@ public Builder addCommitTimestamps(int index, com.google.protobuf.Timestamp valu
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder addCommitTimestamps(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder addCommitTimestamps(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimestampsBuilder_ == null) {
         ensureCommitTimestampsIsMutable();
         commitTimestamps_.add(builderForValue.build());
@@ -1559,8 +1418,6 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1581,8 +1438,6 @@ public Builder addCommitTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1595,7 +1450,8 @@ public Builder addAllCommitTimestamps(
         java.lang.Iterable values) {
       if (commitTimestampsBuilder_ == null) {
         ensureCommitTimestampsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, commitTimestamps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, commitTimestamps_);
         onChanged();
       } else {
         commitTimestampsBuilder_.addAllMessages(values);
@@ -1603,8 +1459,6 @@ public Builder addAllCommitTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1624,8 +1478,6 @@ public Builder clearCommitTimestamps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1645,8 +1497,6 @@ public Builder removeCommitTimestamps(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1655,12 +1505,11 @@ public Builder removeCommitTimestamps(int index) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(int index) {
+    public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(
+        int index) {
       return getCommitTimestampsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1669,16 +1518,14 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(int inde
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index) {
+    public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
+        int index) {
       if (commitTimestampsBuilder_ == null) {
-        return commitTimestamps_.get(index);
-      } else {
+        return commitTimestamps_.get(index);  } else {
         return commitTimestampsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1687,8 +1534,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public java.util.List
-        getCommitTimestampsOrBuilderList() {
+    public java.util.List 
+         getCommitTimestampsOrBuilderList() {
       if (commitTimestampsBuilder_ != null) {
         return commitTimestampsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1696,8 +1543,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1707,12 +1552,10 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
     public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder() {
-      return getCommitTimestampsFieldBuilder()
-          .addBuilder(com.google.protobuf.Timestamp.getDefaultInstance());
+      return getCommitTimestampsFieldBuilder().addBuilder(
+          com.google.protobuf.Timestamp.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1721,13 +1564,12 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder() {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(int index) {
-      return getCommitTimestampsFieldBuilder()
-          .addBuilder(index, com.google.protobuf.Timestamp.getDefaultInstance());
+    public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(
+        int index) {
+      return getCommitTimestampsFieldBuilder().addBuilder(
+          index, com.google.protobuf.Timestamp.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1736,21 +1578,16 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(int inde
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public java.util.List getCommitTimestampsBuilderList() {
+    public java.util.List 
+         getCommitTimestampsBuilderList() {
       return getCommitTimestampsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCommitTimestampsFieldBuilder() {
       if (commitTimestampsBuilder_ == null) {
-        commitTimestampsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        commitTimestampsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 commitTimestamps_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -1760,10 +1597,8 @@ public java.util.List getCommitTimestamps
       return commitTimestampsBuilder_;
     }
 
-    private boolean throttled_;
+    private boolean throttled_ ;
     /**
-     *
-     *
      * 
      * Output only. When true, indicates that the operation is throttled e.g.
      * due to resource constraints. When resources become available the operation
@@ -1771,7 +1606,6 @@ public java.util.List getCommitTimestamps
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ @java.lang.Override @@ -1779,8 +1613,6 @@ public boolean getThrottled() { return throttled_; } /** - * - * *
      * Output only. When true, indicates that the operation is throttled e.g.
      * due to resource constraints. When resources become available the operation
@@ -1788,7 +1620,6 @@ public boolean getThrottled() {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The throttled to set. * @return This builder for chaining. */ @@ -1800,8 +1631,6 @@ public Builder setThrottled(boolean value) { return this; } /** - * - * *
      * Output only. When true, indicates that the operation is throttled e.g.
      * due to resource constraints. When resources become available the operation
@@ -1809,7 +1638,6 @@ public Builder setThrottled(boolean value) {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearThrottled() { @@ -1820,26 +1648,18 @@ public Builder clearThrottled() { } private java.util.List progress_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureProgressIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - progress_ = - new java.util.ArrayList( - progress_); + progress_ = new java.util.ArrayList(progress_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -1852,8 +1672,7 @@ private void ensureProgressIsMutable() {
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List
-        getProgressList() {
+    public java.util.List getProgressList() {
       if (progressBuilder_ == null) {
         return java.util.Collections.unmodifiableList(progress_);
       } else {
@@ -1861,8 +1680,6 @@ private void ensureProgressIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -1883,8 +1700,6 @@ public int getProgressCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -1905,8 +1720,6 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress(int in
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -1934,8 +1747,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -1960,8 +1771,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -1988,8 +1797,6 @@ public Builder addProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2017,8 +1824,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2043,8 +1848,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2069,8 +1872,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2084,11 +1885,11 @@ public Builder addProgress(
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
     public Builder addAllProgress(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (progressBuilder_ == null) {
         ensureProgressIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, progress_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, progress_);
         onChanged();
       } else {
         progressBuilder_.addAllMessages(values);
@@ -2096,8 +1897,6 @@ public Builder addAllProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2121,8 +1920,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2146,8 +1943,6 @@ public Builder removeProgress(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2165,8 +1960,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2182,14 +1975,11 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
     public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(
         int index) {
       if (progressBuilder_ == null) {
-        return progress_.get(index);
-      } else {
+        return progress_.get(index);  } else {
         return progressBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2202,8 +1992,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List
-        getProgressOrBuilderList() {
+    public java.util.List 
+         getProgressOrBuilderList() {
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilderList();
       } else {
@@ -2211,8 +2001,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2226,12 +2014,10 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgressBuilder() {
-      return getProgressFieldBuilder()
-          .addBuilder(com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
+      return getProgressFieldBuilder().addBuilder(
+          com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2246,13 +2032,10 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgres
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgressBuilder(
         int index) {
-      return getProgressFieldBuilder()
-          .addBuilder(
-              index, com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
+      return getProgressFieldBuilder().addBuilder(
+          index, com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -2265,49 +2048,38 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgres
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List
-        getProgressBuilderList() {
+    public java.util.List 
+         getProgressBuilderList() {
       return getProgressFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                progress_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                progress_,
+                ((bitField0_ & 0x00000010) != 0),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
     }
 
     private java.util.List actions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureActionsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
-        actions_ =
-            new java.util.ArrayList(
-                actions_);
+        actions_ = new java.util.ArrayList(actions_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.DdlStatementActionInfo,
-            com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder,
-            com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder>
-        actionsBuilder_;
+        com.google.spanner.admin.database.v1.DdlStatementActionInfo, com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder, com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder> actionsBuilder_;
 
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2315,8 +2087,7 @@ private void ensureActionsIsMutable() {
      *
      * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
      */
-    public java.util.List
-        getActionsList() {
+    public java.util.List getActionsList() {
       if (actionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(actions_);
       } else {
@@ -2324,8 +2095,6 @@ private void ensureActionsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2341,8 +2110,6 @@ public int getActionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2358,8 +2125,6 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfo getActions(in
       }
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2382,8 +2147,6 @@ public Builder setActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2392,8 +2155,7 @@ public Builder setActions(
      * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
      */
     public Builder setActions(
-        int index,
-        com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder builderForValue) {
+        int index, com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.set(index, builderForValue.build());
@@ -2404,8 +2166,6 @@ public Builder setActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2427,8 +2187,6 @@ public Builder addActions(com.google.spanner.admin.database.v1.DdlStatementActio
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2451,8 +2209,6 @@ public Builder addActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2472,8 +2228,6 @@ public Builder addActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2482,8 +2236,7 @@ public Builder addActions(
      * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
      */
     public Builder addActions(
-        int index,
-        com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder builderForValue) {
+        int index, com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder builderForValue) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
         actions_.add(index, builderForValue.build());
@@ -2494,8 +2247,6 @@ public Builder addActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2504,11 +2255,11 @@ public Builder addActions(
      * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
      */
     public Builder addAllActions(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, actions_);
         onChanged();
       } else {
         actionsBuilder_.addAllMessages(values);
@@ -2516,8 +2267,6 @@ public Builder addAllActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2536,8 +2285,6 @@ public Builder clearActions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2556,8 +2303,6 @@ public Builder removeActions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2570,8 +2315,6 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder getAc
       return getActionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2582,14 +2325,11 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder getAc
     public com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder getActionsOrBuilder(
         int index) {
       if (actionsBuilder_ == null) {
-        return actions_.get(index);
-      } else {
+        return actions_.get(index);  } else {
         return actionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2597,9 +2337,8 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder getA
      *
      * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
      */
-    public java.util.List<
-            ? extends com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder>
-        getActionsOrBuilderList() {
+    public java.util.List 
+         getActionsOrBuilderList() {
       if (actionsBuilder_ != null) {
         return actionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2607,8 +2346,6 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder getA
       }
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2617,13 +2354,10 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder getA
      * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
      */
     public com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder addActionsBuilder() {
-      return getActionsFieldBuilder()
-          .addBuilder(
-              com.google.spanner.admin.database.v1.DdlStatementActionInfo.getDefaultInstance());
+      return getActionsFieldBuilder().addBuilder(
+          com.google.spanner.admin.database.v1.DdlStatementActionInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2633,14 +2367,10 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder addAc
      */
     public com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder addActionsBuilder(
         int index) {
-      return getActionsFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.spanner.admin.database.v1.DdlStatementActionInfo.getDefaultInstance());
+      return getActionsFieldBuilder().addBuilder(
+          index, com.google.spanner.admin.database.v1.DdlStatementActionInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The brief action info for the DDL statements.
      * `actions[i]` is the brief info for `statements[i]`.
@@ -2648,30 +2378,27 @@ public com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder addAc
      *
      * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
      */
-    public java.util.List
-        getActionsBuilderList() {
+    public java.util.List 
+         getActionsBuilderList() {
       return getActionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.DdlStatementActionInfo,
-            com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder,
-            com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder>
+        com.google.spanner.admin.database.v1.DdlStatementActionInfo, com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder, com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder> 
         getActionsFieldBuilder() {
       if (actionsBuilder_ == null) {
-        actionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.admin.database.v1.DdlStatementActionInfo,
-                com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder,
-                com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder>(
-                actions_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.admin.database.v1.DdlStatementActionInfo, com.google.spanner.admin.database.v1.DdlStatementActionInfo.Builder, com.google.spanner.admin.database.v1.DdlStatementActionInfoOrBuilder>(
+                actions_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         actions_ = null;
       }
       return actionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2681,43 +2408,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
-  private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-      DEFAULT_INSTANCE;
-
+  private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata();
   }
 
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-      getDefaultInstance() {
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateDatabaseDdlMetadata 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateDatabaseDdlMetadata 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;
@@ -2729,8 +2454,9 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-      getDefaultInstanceForType() {
+  public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
similarity index 87%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
index f1002ace388..2bc332e6d4b 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
@@ -1,112 +1,79 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.database.v1;
 
-public interface UpdateDatabaseDdlMetadataOrBuilder
-    extends
+public interface UpdateDatabaseDdlMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return A list containing the statements. */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return The count of statements. */ int getStatementsCount(); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString getStatementsBytes(int index); + com.google.protobuf.ByteString + getStatementsBytes(int index); /** - * - * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -115,10 +82,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  java.util.List getCommitTimestampsList();
+  java.util.List 
+      getCommitTimestampsList();
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -129,8 +95,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   com.google.protobuf.Timestamp getCommitTimestamps(int index);
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -141,8 +105,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   int getCommitTimestampsCount();
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -151,11 +113,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  java.util.List
+  java.util.List 
       getCommitTimestampsOrBuilderList();
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -164,11 +124,10 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index);
+  com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g.
    * due to resource constraints. When resources become available the operation
@@ -176,14 +135,11 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ boolean getThrottled(); /** - * - * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -196,10 +152,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  java.util.List getProgressList();
+  java.util.List 
+      getProgressList();
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -214,8 +169,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   com.google.spanner.admin.database.v1.OperationProgress getProgress(int index);
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -230,8 +183,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   int getProgressCount();
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -244,11 +195,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  java.util.List
+  java.util.List 
       getProgressOrBuilderList();
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
@@ -261,11 +210,10 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(int index);
+  com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -273,10 +221,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
    */
-  java.util.List getActionsList();
+  java.util.List 
+      getActionsList();
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -286,8 +233,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   com.google.spanner.admin.database.v1.DdlStatementActionInfo getActions(int index);
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -297,8 +242,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   int getActionsCount();
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
@@ -306,11 +249,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.DdlStatementActionInfo actions = 6;
    */
-  java.util.List
+  java.util.List 
       getActionsOrBuilderList();
   /**
-   *
-   *
    * 
    * The brief action info for the DDL statements.
    * `actions[i]` is the brief info for `statements[i]`.
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
similarity index 76%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
index e9b25fa464b..1b49e9f513a 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * Enqueues the given DDL statements to be applied, in order but not
  * necessarily all at once, to the database schema at some point (or
@@ -43,59 +26,52 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest}
  */
-public final class UpdateDatabaseDdlRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateDatabaseDdlRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)
     UpdateDatabaseDdlRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseDdlRequest.newBuilder() to construct.
   private UpdateDatabaseDdlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateDatabaseDdlRequest() {
     database_ = "";
-    statements_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    statements_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     operationId_ = "";
     protoDescriptors_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateDatabaseDdlRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -104,31 +80,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -137,47 +111,38 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int STATEMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_; } /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -185,28 +150,23 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } public static final int OPERATION_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object operationId_ = ""; /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -230,7 +190,6 @@ public com.google.protobuf.ByteString getStatementsBytes(int index) {
    * 
* * string operation_id = 3; - * * @return The operationId. */ @java.lang.Override @@ -239,15 +198,14 @@ public java.lang.String getOperationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -271,15 +229,16 @@ public java.lang.String getOperationId() {
    * 
* * string operation_id = 3; - * * @return The bytes for operationId. */ @java.lang.Override - public com.google.protobuf.ByteString getOperationIdBytes() { + public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -290,8 +249,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { public static final int PROTO_DESCRIPTORS_FIELD_NUMBER = 4; private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements.
    * Contains a protobuf-serialized
@@ -310,7 +267,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() {
    * 
* * bytes proto_descriptors = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The protoDescriptors. */ @java.lang.Override @@ -319,7 +275,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,7 +286,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -368,7 +324,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, operationId_); } if (!protoDescriptors_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, protoDescriptors_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, protoDescriptors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -378,18 +335,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other = - (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) obj; - - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getStatementsList().equals(other.getStatementsList())) return false; - if (!getOperationId().equals(other.getOperationId())) return false; - if (!getProtoDescriptors().equals(other.getProtoDescriptors())) return false; + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other = (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) obj; + + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getStatementsList() + .equals(other.getStatementsList())) return false; + if (!getOperationId() + .equals(other.getOperationId())) return false; + if (!getProtoDescriptors() + .equals(other.getProtoDescriptors())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -417,104 +377,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Enqueues the given DDL statements to be applied, in order but not
    * necessarily all at once, to the database schema at some point (or
@@ -536,52 +490,53 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)
       com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       database_ = "";
-      statements_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      statements_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       operationId_ = "";
       protoDescriptors_ = com.google.protobuf.ByteString.EMPTY;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance();
     }
 
@@ -596,17 +551,13 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result =
-          new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.database_ = database_;
@@ -627,39 +578,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -667,9 +617,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other) {
-      if (other
-          == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -719,38 +667,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureStatementsIsMutable();
-                statements_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                operationId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                protoDescriptors_ = input.readBytes();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureStatementsIsMutable();
+              statements_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              operationId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              protoDescriptors_ = input.readBytes();
+              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) {
@@ -760,27 +703,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -789,23 +727,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -813,39 +748,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -855,23 +779,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -881,7 +799,6 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureStatementsIsMutable() { if (!statements_.isModifiable()) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); @@ -889,43 +806,35 @@ private void ensureStatementsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { statements_.makeImmutable(); return statements_; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -933,37 +842,31 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); bitField0_ |= 0x00000002; @@ -971,21 +874,17 @@ public Builder setStatements(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); bitField0_ |= 0x00000002; @@ -993,58 +892,50 @@ public Builder addStatements(java.lang.String value) { return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements(java.lang.Iterable values) { + public Builder addAllStatements( + java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearStatements() { - statements_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + statements_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); @@ -1055,8 +946,6 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { private java.lang.Object operationId_ = ""; /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1080,13 +969,13 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) {
      * 
* * string operation_id = 3; - * * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -1095,8 +984,6 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1120,14 +1007,15 @@ public java.lang.String getOperationId() {
      * 
* * string operation_id = 3; - * * @return The bytes for operationId. */ - public com.google.protobuf.ByteString getOperationIdBytes() { + public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -1135,8 +1023,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1160,22 +1046,18 @@ public com.google.protobuf.ByteString getOperationIdBytes() {
      * 
* * string operation_id = 3; - * * @param value The operationId to set. * @return This builder for chaining. */ - public Builder setOperationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } operationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1199,7 +1081,6 @@ public Builder setOperationId(java.lang.String value) {
      * 
* * string operation_id = 3; - * * @return This builder for chaining. */ public Builder clearOperationId() { @@ -1209,8 +1090,6 @@ public Builder clearOperationId() { return this; } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1234,14 +1113,12 @@ public Builder clearOperationId() {
      * 
* * string operation_id = 3; - * * @param value The bytes for operationId to set. * @return This builder for chaining. */ - public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationId_ = value; bitField0_ |= 0x00000004; @@ -1251,8 +1128,6 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements.
      * Contains a protobuf-serialized
@@ -1271,7 +1146,6 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes proto_descriptors = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The protoDescriptors. */ @java.lang.Override @@ -1279,8 +1153,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { return protoDescriptors_; } /** - * - * *
      * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements.
      * Contains a protobuf-serialized
@@ -1299,22 +1171,17 @@ public com.google.protobuf.ByteString getProtoDescriptors() {
      * 
* * bytes proto_descriptors = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The protoDescriptors to set. * @return This builder for chaining. */ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } protoDescriptors_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements.
      * Contains a protobuf-serialized
@@ -1333,7 +1200,6 @@ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) {
      * 
* * bytes proto_descriptors = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearProtoDescriptors() { @@ -1342,9 +1208,9 @@ public Builder clearProtoDescriptors() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1354,13 +1220,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) - private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(); } @@ -1369,27 +1234,27 @@ public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseDdlRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseDdlRequest 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; @@ -1404,4 +1269,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java index a68e547bf21..1fa78f81e42 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java @@ -1,112 +1,75 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface UpdateDatabaseDdlRequestOrBuilder - extends +public interface UpdateDatabaseDdlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the statements. */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of statements. */ int getStatementsCount(); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString getStatementsBytes(int index); + com.google.protobuf.ByteString + getStatementsBytes(int index); /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -130,13 +93,10 @@ public interface UpdateDatabaseDdlRequestOrBuilder
    * 
* * string operation_id = 3; - * * @return The operationId. */ java.lang.String getOperationId(); /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -160,14 +120,12 @@ public interface UpdateDatabaseDdlRequestOrBuilder
    * 
* * string operation_id = 3; - * * @return The bytes for operationId. */ - com.google.protobuf.ByteString getOperationIdBytes(); + com.google.protobuf.ByteString + getOperationIdBytes(); /** - * - * *
    * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements.
    * Contains a protobuf-serialized
@@ -186,7 +144,6 @@ public interface UpdateDatabaseDdlRequestOrBuilder
    * 
* * bytes proto_descriptors = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The protoDescriptors. */ com.google.protobuf.ByteString getProtoDescriptors(); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadata.java similarity index 72% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadata.java index 6f7b9c82d8c..fb0c7bb188e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -29,52 +12,48 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseMetadata}
  */
-public final class UpdateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateDatabaseMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseMetadata)
     UpdateDatabaseMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseMetadata.newBuilder() to construct.
   private UpdateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateDatabaseMetadata() {}
+  private UpdateDatabaseMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateDatabaseMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.class,
-            com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int REQUEST_FIELD_NUMBER = 1;
   private com.google.spanner.admin.database.v1.UpdateDatabaseRequest request_;
   /**
-   *
-   *
    * 
    * The request for
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
    * 
* * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1; - * * @return Whether the request field is set. */ @java.lang.Override @@ -82,26 +61,19 @@ public boolean hasRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The request for
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
    * 
* * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1; - * * @return The request. */ @java.lang.Override public com.google.spanner.admin.database.v1.UpdateDatabaseRequest getRequest() { - return request_ == null - ? com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance() : request_; } /** - * - * *
    * The request for
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -111,16 +83,12 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest getRequest() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder getRequestOrBuilder() {
-    return request_ == null
-        ? com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance()
-        : request_;
+    return request_ == null ? com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance() : request_;
   }
 
   public static final int PROGRESS_FIELD_NUMBER = 2;
   private com.google.spanner.admin.database.v1.OperationProgress progress_;
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -128,7 +96,6 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder getRe
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -136,8 +103,6 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The progress of the
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -145,18 +110,13 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -167,23 +127,18 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is best-effort).
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -191,15 +146,12 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is best-effort).
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -207,8 +159,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is best-effort).
@@ -222,7 +172,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -234,7 +183,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getRequest());
     }
@@ -254,13 +204,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequest());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRequest());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getProgress());
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getCancelTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -270,25 +223,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.UpdateDatabaseMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.UpdateDatabaseMetadata other =
-        (com.google.spanner.admin.database.v1.UpdateDatabaseMetadata) obj;
+    com.google.spanner.admin.database.v1.UpdateDatabaseMetadata other = (com.google.spanner.admin.database.v1.UpdateDatabaseMetadata) obj;
 
     if (hasRequest() != other.hasRequest()) return false;
     if (hasRequest()) {
-      if (!getRequest().equals(other.getRequest())) return false;
+      if (!getRequest()
+          .equals(other.getRequest())) return false;
     }
     if (hasProgress() != other.hasProgress()) return false;
     if (hasProgress()) {
-      if (!getProgress().equals(other.getProgress())) return false;
+      if (!getProgress()
+          .equals(other.getProgress())) return false;
     }
     if (hasCancelTime() != other.hasCancelTime()) return false;
     if (hasCancelTime()) {
-      if (!getCancelTime().equals(other.getCancelTime())) return false;
+      if (!getCancelTime()
+          .equals(other.getCancelTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -319,104 +274,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.database.v1.UpdateDatabaseMetadata prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the operation returned by
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -424,23 +373,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseMetadata)
       com.google.spanner.admin.database.v1.UpdateDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.class,
-              com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.newBuilder()
@@ -448,19 +395,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getRequestFieldBuilder();
         getProgressFieldBuilder();
         getCancelTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -484,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -505,11 +452,8 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseMetadata result =
-          new com.google.spanner.admin.database.v1.UpdateDatabaseMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.UpdateDatabaseMetadata result = new com.google.spanner.admin.database.v1.UpdateDatabaseMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -518,15 +462,21 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseMe
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build();
+        result.request_ = requestBuilder_ == null
+            ? request_
+            : requestBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -536,39 +486,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseMe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.UpdateDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -576,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseMetadata.getDefaultInstance()) return this;
       if (other.hasRequest()) {
         mergeRequest(other.getRequest());
       }
@@ -613,31 +561,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -647,54 +597,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.database.v1.UpdateDatabaseRequest request_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequest,
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder,
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder>
-        requestBuilder_;
+        com.google.spanner.admin.database.v1.UpdateDatabaseRequest, com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder, com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder> requestBuilder_;
     /**
-     *
-     *
      * 
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
      * 
* * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1; - * * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
      * 
* * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1; - * * @return The request. */ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest getRequest() { if (requestBuilder_ == null) { - return request_ == null - ? com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance() - : request_; + return request_ == null ? com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** - * - * *
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -716,8 +652,6 @@ public Builder setRequest(com.google.spanner.admin.database.v1.UpdateDatabaseReq
       return this;
     }
     /**
-     *
-     *
      * 
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -737,8 +671,6 @@ public Builder setRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -748,11 +680,9 @@ public Builder setRequest(
      */
     public Builder mergeRequest(com.google.spanner.admin.database.v1.UpdateDatabaseRequest value) {
       if (requestBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && request_ != null
-            && request_
-                != com.google.spanner.admin.database.v1.UpdateDatabaseRequest
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          request_ != null &&
+          request_ != com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance()) {
           getRequestBuilder().mergeFrom(value);
         } else {
           request_ = value;
@@ -767,8 +697,6 @@ public Builder mergeRequest(com.google.spanner.admin.database.v1.UpdateDatabaseR
       return this;
     }
     /**
-     *
-     *
      * 
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -787,8 +715,6 @@ public Builder clearRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -802,8 +728,6 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder getReq
       return getRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -811,19 +735,15 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder getReq
      *
      * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
      */
-    public com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder
-        getRequestOrBuilder() {
+    public com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder getRequestOrBuilder() {
       if (requestBuilder_ != null) {
         return requestBuilder_.getMessageOrBuilder();
       } else {
-        return request_ == null
-            ? com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance()
-            : request_;
+        return request_ == null ?
+            com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance() : request_;
       }
     }
     /**
-     *
-     *
      * 
      * The request for
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -832,17 +752,14 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder getReq
      * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequest,
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder,
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder>
+        com.google.spanner.admin.database.v1.UpdateDatabaseRequest, com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder, com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder> 
         getRequestFieldBuilder() {
       if (requestBuilder_ == null) {
-        requestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.UpdateDatabaseRequest,
-                com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder,
-                com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder>(
-                getRequest(), getParentForChildren(), isClean());
+        requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.UpdateDatabaseRequest, com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder, com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder>(
+                getRequest(),
+                getParentForChildren(),
+                isClean());
         request_ = null;
       }
       return requestBuilder_;
@@ -850,13 +767,8 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder getReq
 
     private com.google.spanner.admin.database.v1.OperationProgress progress_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
-        progressBuilder_;
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_;
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -864,15 +776,12 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder getReq
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -880,21 +789,16 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -917,8 +821,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -939,8 +841,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -951,10 +851,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -969,8 +868,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -990,8 +887,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -1006,8 +901,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -1020,14 +913,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -1037,17 +927,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1055,49 +942,36 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
@@ -1119,8 +993,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
@@ -1128,7 +1000,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1139,8 +1012,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
@@ -1150,9 +1021,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1167,8 +1038,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
@@ -1187,8 +1056,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
@@ -1202,8 +1069,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
@@ -1215,14 +1080,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is best-effort).
@@ -1231,24 +1093,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1258,12 +1117,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseMetadata)
   private static final com.google.spanner.admin.database.v1.UpdateDatabaseMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseMetadata();
   }
@@ -1272,27 +1131,27 @@ public static com.google.spanner.admin.database.v1.UpdateDatabaseMetadata getDef
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateDatabaseMetadata 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateDatabaseMetadata 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;
@@ -1307,4 +1166,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.UpdateDatabaseMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadataOrBuilder.java
similarity index 80%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadataOrBuilder.java
index 6f04b7549cd..d95a08f6238 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseMetadataOrBuilder.java
@@ -1,58 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.database.v1;
 
-public interface UpdateDatabaseMetadataOrBuilder
-    extends
+public interface UpdateDatabaseMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The request for
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
    * 
* * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1; - * * @return Whether the request field is set. */ boolean hasRequest(); /** - * - * *
    * The request for
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
    * 
* * .google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1; - * * @return The request. */ com.google.spanner.admin.database.v1.UpdateDatabaseRequest getRequest(); /** - * - * *
    * The request for
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -63,8 +39,6 @@ public interface UpdateDatabaseMetadataOrBuilder
   com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder getRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -72,13 +46,10 @@ public interface UpdateDatabaseMetadataOrBuilder
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -86,13 +57,10 @@ public interface UpdateDatabaseMetadataOrBuilder
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]
@@ -104,34 +72,26 @@ public interface UpdateDatabaseMetadataOrBuilder
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is best-effort).
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is best-effort).
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is best-effort).
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequest.java
similarity index 66%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequest.java
index 6255150ade4..c0d75fcaea7 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -29,55 +12,49 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseRequest}
  */
-public final class UpdateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateDatabaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseRequest)
     UpdateDatabaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseRequest.newBuilder() to construct.
   private UpdateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateDatabaseRequest() {}
+  private UpdateDatabaseRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateDatabaseRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequest.class,
-            com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int DATABASE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.database.v1.Database database_;
   /**
-   *
-   *
    * 
    * Required. The database to update.
    * The `name` field of the database is of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the database field is set. */ @java.lang.Override @@ -85,59 +62,42 @@ public boolean hasDatabase() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The database to update.
    * The `name` field of the database is of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The database. */ @java.lang.Override public com.google.spanner.admin.database.v1.Database getDatabase() { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } /** - * - * *
    * Required. The database to update.
    * The `name` field of the database is of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabaseOrBuilder() { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to update. Currently, only
    * `enable_drop_protection` field can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -145,16 +105,12 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. The list of fields to update. Currently, only
    * `enable_drop_protection` field can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -162,15 +118,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to update. Currently, only
    * `enable_drop_protection` field can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -178,7 +131,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,7 +142,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getDatabase()); } @@ -207,10 +160,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDatabase()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDatabase()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,21 +175,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.UpdateDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.UpdateDatabaseRequest other = - (com.google.spanner.admin.database.v1.UpdateDatabaseRequest) obj; + com.google.spanner.admin.database.v1.UpdateDatabaseRequest other = (com.google.spanner.admin.database.v1.UpdateDatabaseRequest) obj; if (hasDatabase() != other.hasDatabase()) return false; if (hasDatabase()) { - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -261,104 +217,98 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.UpdateDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
@@ -366,23 +316,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseRequest)
       com.google.spanner.admin.database.v1.UpdateDatabaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseRequest.class,
-              com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseRequest.newBuilder()
@@ -390,18 +338,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getDatabaseFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +368,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -441,11 +389,8 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseRequest buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseRequest result =
-          new com.google.spanner.admin.database.v1.UpdateDatabaseRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.UpdateDatabaseRequest result = new com.google.spanner.admin.database.v1.UpdateDatabaseRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -454,11 +399,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseRe
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.database_ = databaseBuilder_ == null ? database_ : databaseBuilder_.build();
+        result.database_ = databaseBuilder_ == null
+            ? database_
+            : databaseBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -468,39 +417,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.UpdateDatabaseRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,8 +456,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseRequest other) {
-      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseRequest.getDefaultInstance()) return this;
       if (other.hasDatabase()) {
         mergeDatabase(other.getDatabase());
       }
@@ -542,25 +489,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -570,69 +518,49 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.database.v1.Database database_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.Database,
-            com.google.spanner.admin.database.v1.Database.Builder,
-            com.google.spanner.admin.database.v1.DatabaseOrBuilder>
-        databaseBuilder_;
+        com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> databaseBuilder_;
     /**
-     *
-     *
      * 
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the database field is set. */ public boolean hasDatabase() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The database. */ public com.google.spanner.admin.database.v1.Database getDatabase() { if (databaseBuilder_ == null) { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } else { return databaseBuilder_.getMessage(); } } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDatabase(com.google.spanner.admin.database.v1.Database value) { if (databaseBuilder_ == null) { @@ -648,17 +576,13 @@ public Builder setDatabase(com.google.spanner.admin.database.v1.Database value) return this; } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDatabase( com.google.spanner.admin.database.v1.Database.Builder builderForValue) { @@ -672,23 +596,19 @@ public Builder setDatabase( return this; } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDatabase(com.google.spanner.admin.database.v1.Database value) { if (databaseBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && database_ != null - && database_ != com.google.spanner.admin.database.v1.Database.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + database_ != null && + database_ != com.google.spanner.admin.database.v1.Database.getDefaultInstance()) { getDatabaseBuilder().mergeFrom(value); } else { database_ = value; @@ -703,17 +623,13 @@ public Builder mergeDatabase(com.google.spanner.admin.database.v1.Database value return this; } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDatabase() { bitField0_ = (bitField0_ & ~0x00000001); @@ -726,17 +642,13 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.Database.Builder getDatabaseBuilder() { bitField0_ |= 0x00000001; @@ -744,52 +656,40 @@ public com.google.spanner.admin.database.v1.Database.Builder getDatabaseBuilder( return getDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabaseOrBuilder() { if (databaseBuilder_ != null) { return databaseBuilder_.getMessageOrBuilder(); } else { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? + com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } } /** - * - * *
      * Required. The database to update.
      * The `name` field of the database is of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> getDatabaseFieldBuilder() { if (databaseBuilder_ == null) { - databaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder>( - getDatabase(), getParentForChildren(), isClean()); + databaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder>( + getDatabase(), + getParentForChildren(), + isClean()); database_ = null; } return databaseBuilder_; @@ -797,58 +697,42 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabaseOrBuild private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -864,17 +748,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -885,21 +767,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -914,15 +793,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -935,15 +811,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -951,55 +824,45 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to update. Currently, only
      * `enable_drop_protection` field can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1009,12 +872,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseRequest) private static final com.google.spanner.admin.database.v1.UpdateDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseRequest(); } @@ -1023,27 +886,27 @@ public static com.google.spanner.admin.database.v1.UpdateDatabaseRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseRequest 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; @@ -1058,4 +921,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.UpdateDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequestOrBuilder.java index bd5bc8ef98d..6399ad61ac4 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseRequestOrBuilder.java @@ -1,114 +1,73 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.database.v1; -public interface UpdateDatabaseRequestOrBuilder - extends +public interface UpdateDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database to update.
    * The `name` field of the database is of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the database field is set. */ boolean hasDatabase(); /** - * - * *
    * Required. The database to update.
    * The `name` field of the database is of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The database. */ com.google.spanner.admin.database.v1.Database getDatabase(); /** - * - * *
    * Required. The database to update.
    * The `name` field of the database is of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabaseOrBuilder(); /** - * - * *
    * Required. The list of fields to update. Currently, only
    * `enable_drop_protection` field can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to update. Currently, only
    * `enable_drop_protection` field can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to update. Currently, only
    * `enable_drop_protection` field can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfig.java similarity index 63% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfig.java index 0e706fdefc8..fe30fff65ea 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfig.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,136 +5,112 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Autoscaling config for an instance.
  * 
* * Protobuf type {@code google.spanner.admin.instance.v1.AutoscalingConfig} */ -public final class AutoscalingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AutoscalingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.AutoscalingConfig) AutoscalingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AutoscalingConfig.newBuilder() to construct. private AutoscalingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingConfig() {} + private AutoscalingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.AutoscalingConfig.class, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder.class); + com.google.spanner.admin.instance.v1.AutoscalingConfig.class, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder.class); } - public interface AutoscalingLimitsOrBuilder - extends + public interface AutoscalingLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Minimum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to 1.
      * 
* * int32 min_nodes = 1; - * * @return Whether the minNodes field is set. */ boolean hasMinNodes(); /** - * - * *
      * Minimum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to 1.
      * 
* * int32 min_nodes = 1; - * * @return The minNodes. */ int getMinNodes(); /** - * - * *
      * Minimum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000.
      * 
* * int32 min_processing_units = 2; - * * @return Whether the minProcessingUnits field is set. */ boolean hasMinProcessingUnits(); /** - * - * *
      * Minimum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000.
      * 
* * int32 min_processing_units = 2; - * * @return The minProcessingUnits. */ int getMinProcessingUnits(); /** - * - * *
      * Maximum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to min_nodes.
      * 
* * int32 max_nodes = 3; - * * @return Whether the maxNodes field is set. */ boolean hasMaxNodes(); /** - * - * *
      * Maximum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to min_nodes.
      * 
* * int32 max_nodes = 3; - * * @return The maxNodes. */ int getMaxNodes(); /** - * - * *
      * Maximum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000 and be greater than or equal to
@@ -157,13 +118,10 @@ public interface AutoscalingLimitsOrBuilder
      * 
* * int32 max_processing_units = 4; - * * @return Whether the maxProcessingUnits field is set. */ boolean hasMaxProcessingUnits(); /** - * - * *
      * Maximum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000 and be greater than or equal to
@@ -171,20 +129,15 @@ public interface AutoscalingLimitsOrBuilder
      * 
* * int32 max_processing_units = 4; - * * @return The maxProcessingUnits. */ int getMaxProcessingUnits(); - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.MinLimitCase - getMinLimitCase(); + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.MinLimitCase getMinLimitCase(); - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.MaxLimitCase - getMaxLimitCase(); + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.MaxLimitCase getMaxLimitCase(); } /** - * - * *
    * The autoscaling limits for the instance. Users can define the minimum and
    * maximum compute capacity allocated to the instance, and the autoscaler will
@@ -195,54 +148,48 @@ public interface AutoscalingLimitsOrBuilder
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits}
    */
-  public static final class AutoscalingLimits extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AutoscalingLimits extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits)
       AutoscalingLimitsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AutoscalingLimits.newBuilder() to construct.
     private AutoscalingLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private AutoscalingLimits() {}
+    private AutoscalingLimits() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AutoscalingLimits();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.class,
-              com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder
-                  .class);
+              com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.class, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder.class);
     }
 
     private int minLimitCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object minLimit_;
-
     public enum MinLimitCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       MIN_NODES(1),
       MIN_PROCESSING_UNITS(2),
       MINLIMIT_NOT_SET(0);
       private final int value;
-
       private MinLimitCase(int value) {
         this.value = value;
       }
@@ -258,40 +205,33 @@ public static MinLimitCase valueOf(int value) {
 
       public static MinLimitCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return MIN_NODES;
-          case 2:
-            return MIN_PROCESSING_UNITS;
-          case 0:
-            return MINLIMIT_NOT_SET;
-          default:
-            return null;
+          case 1: return MIN_NODES;
+          case 2: return MIN_PROCESSING_UNITS;
+          case 0: return MINLIMIT_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public MinLimitCase getMinLimitCase() {
-      return MinLimitCase.forNumber(minLimitCase_);
+    public MinLimitCase
+    getMinLimitCase() {
+      return MinLimitCase.forNumber(
+          minLimitCase_);
     }
 
     private int maxLimitCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object maxLimit_;
-
     public enum MaxLimitCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       MAX_NODES(3),
       MAX_PROCESSING_UNITS(4),
       MAXLIMIT_NOT_SET(0);
       private final int value;
-
       private MaxLimitCase(int value) {
         this.value = value;
       }
@@ -307,37 +247,31 @@ public static MaxLimitCase valueOf(int value) {
 
       public static MaxLimitCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return MAX_NODES;
-          case 4:
-            return MAX_PROCESSING_UNITS;
-          case 0:
-            return MAXLIMIT_NOT_SET;
-          default:
-            return null;
+          case 3: return MAX_NODES;
+          case 4: return MAX_PROCESSING_UNITS;
+          case 0: return MAXLIMIT_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public MaxLimitCase getMaxLimitCase() {
-      return MaxLimitCase.forNumber(maxLimitCase_);
+    public MaxLimitCase
+    getMaxLimitCase() {
+      return MaxLimitCase.forNumber(
+          maxLimitCase_);
     }
 
     public static final int MIN_NODES_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * Minimum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to 1.
      * 
* * int32 min_nodes = 1; - * * @return Whether the minNodes field is set. */ @java.lang.Override @@ -345,15 +279,12 @@ public boolean hasMinNodes() { return minLimitCase_ == 1; } /** - * - * *
      * Minimum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to 1.
      * 
* * int32 min_nodes = 1; - * * @return The minNodes. */ @java.lang.Override @@ -366,15 +297,12 @@ public int getMinNodes() { public static final int MIN_PROCESSING_UNITS_FIELD_NUMBER = 2; /** - * - * *
      * Minimum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000.
      * 
* * int32 min_processing_units = 2; - * * @return Whether the minProcessingUnits field is set. */ @java.lang.Override @@ -382,15 +310,12 @@ public boolean hasMinProcessingUnits() { return minLimitCase_ == 2; } /** - * - * *
      * Minimum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000.
      * 
* * int32 min_processing_units = 2; - * * @return The minProcessingUnits. */ @java.lang.Override @@ -403,15 +328,12 @@ public int getMinProcessingUnits() { public static final int MAX_NODES_FIELD_NUMBER = 3; /** - * - * *
      * Maximum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to min_nodes.
      * 
* * int32 max_nodes = 3; - * * @return Whether the maxNodes field is set. */ @java.lang.Override @@ -419,15 +341,12 @@ public boolean hasMaxNodes() { return maxLimitCase_ == 3; } /** - * - * *
      * Maximum number of nodes allocated to the instance. If set, this number
      * should be greater than or equal to min_nodes.
      * 
* * int32 max_nodes = 3; - * * @return The maxNodes. */ @java.lang.Override @@ -440,8 +359,6 @@ public int getMaxNodes() { public static final int MAX_PROCESSING_UNITS_FIELD_NUMBER = 4; /** - * - * *
      * Maximum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000 and be greater than or equal to
@@ -449,7 +366,6 @@ public int getMaxNodes() {
      * 
* * int32 max_processing_units = 4; - * * @return Whether the maxProcessingUnits field is set. */ @java.lang.Override @@ -457,8 +373,6 @@ public boolean hasMaxProcessingUnits() { return maxLimitCase_ == 4; } /** - * - * *
      * Maximum number of processing units allocated to the instance. If set,
      * this number should be multiples of 1000 and be greater than or equal to
@@ -466,7 +380,6 @@ public boolean hasMaxProcessingUnits() {
      * 
* * int32 max_processing_units = 4; - * * @return The maxProcessingUnits. */ @java.lang.Override @@ -478,7 +391,6 @@ public int getMaxProcessingUnits() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -490,18 +402,23 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minLimitCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) minLimit_)); + output.writeInt32( + 1, (int)((java.lang.Integer) minLimit_)); } if (minLimitCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) minLimit_)); + output.writeInt32( + 2, (int)((java.lang.Integer) minLimit_)); } if (maxLimitCase_ == 3) { - output.writeInt32(3, (int) ((java.lang.Integer) maxLimit_)); + output.writeInt32( + 3, (int)((java.lang.Integer) maxLimit_)); } if (maxLimitCase_ == 4) { - output.writeInt32(4, (int) ((java.lang.Integer) maxLimit_)); + output.writeInt32( + 4, (int)((java.lang.Integer) maxLimit_)); } getUnknownFields().writeTo(output); } @@ -513,24 +430,24 @@ public int getSerializedSize() { size = 0; if (minLimitCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) minLimit_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) minLimit_)); } if (minLimitCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) minLimit_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) minLimit_)); } if (maxLimitCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 3, (int) ((java.lang.Integer) maxLimit_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 3, (int)((java.lang.Integer) maxLimit_)); } if (maxLimitCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 4, (int) ((java.lang.Integer) maxLimit_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 4, (int)((java.lang.Integer) maxLimit_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -540,22 +457,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits other = - (com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) obj; + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits other = (com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) obj; if (!getMinLimitCase().equals(other.getMinLimitCase())) return false; switch (minLimitCase_) { case 1: - if (getMinNodes() != other.getMinNodes()) return false; + if (getMinNodes() + != other.getMinNodes()) return false; break; case 2: - if (getMinProcessingUnits() != other.getMinProcessingUnits()) return false; + if (getMinProcessingUnits() + != other.getMinProcessingUnits()) return false; break; case 0: default: @@ -563,10 +480,12 @@ public boolean equals(final java.lang.Object obj) { if (!getMaxLimitCase().equals(other.getMaxLimitCase())) return false; switch (maxLimitCase_) { case 3: - if (getMaxNodes() != other.getMaxNodes()) return false; + if (getMaxNodes() + != other.getMaxNodes()) return false; break; case 4: - if (getMaxProcessingUnits() != other.getMaxProcessingUnits()) return false; + if (getMaxProcessingUnits() + != other.getMaxProcessingUnits()) return false; break; case 0: default: @@ -611,101 +530,90 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -715,8 +623,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The autoscaling limits for the instance. Users can define the minimum and
      * maximum compute capacity allocated to the instance, and the autoscaler will
@@ -727,35 +633,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits)
         com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-            .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-            .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable
+        return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.class,
-                com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder
-                    .class);
+                com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.class, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder.class);
       }
 
-      // Construct using
-      // com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.newBuilder()
-      private Builder() {}
+      // Construct using com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -768,22 +672,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-            .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor;
       }
 
       @java.lang.Override
-      public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits
-          getDefaultInstanceForType() {
-        return com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits
-            .getDefaultInstance();
+      public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits getDefaultInstanceForType() {
+        return com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits build() {
-        com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result =
-            buildPartial();
+        com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -791,25 +692,19 @@ public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits
       }
 
       @java.lang.Override
-      public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits
-          buildPartial() {
-        com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result =
-            new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits buildPartial() {
+        com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result = new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result) {
+      private void buildPartial0(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result) {
         int from_bitField0_ = bitField0_;
       }
 
-      private void buildPartialOneofs(
-          com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result) {
+      private void buildPartialOneofs(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits result) {
         result.minLimitCase_ = minLimitCase_;
         result.minLimit_ = this.minLimit_;
         result.maxLimitCase_ = maxLimitCase_;
@@ -820,85 +715,71 @@ private void buildPartialOneofs(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) {
-          return mergeFrom(
-              (com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) other);
+        if (other instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) {
+          return mergeFrom((com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits other) {
-        if (other
-            == com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits other) {
+        if (other == com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.getDefaultInstance()) return this;
         switch (other.getMinLimitCase()) {
-          case MIN_NODES:
-            {
-              setMinNodes(other.getMinNodes());
-              break;
-            }
-          case MIN_PROCESSING_UNITS:
-            {
-              setMinProcessingUnits(other.getMinProcessingUnits());
-              break;
-            }
-          case MINLIMIT_NOT_SET:
-            {
-              break;
-            }
+          case MIN_NODES: {
+            setMinNodes(other.getMinNodes());
+            break;
+          }
+          case MIN_PROCESSING_UNITS: {
+            setMinProcessingUnits(other.getMinProcessingUnits());
+            break;
+          }
+          case MINLIMIT_NOT_SET: {
+            break;
+          }
         }
         switch (other.getMaxLimitCase()) {
-          case MAX_NODES:
-            {
-              setMaxNodes(other.getMaxNodes());
-              break;
-            }
-          case MAX_PROCESSING_UNITS:
-            {
-              setMaxProcessingUnits(other.getMaxProcessingUnits());
-              break;
-            }
-          case MAXLIMIT_NOT_SET:
-            {
-              break;
-            }
+          case MAX_NODES: {
+            setMaxNodes(other.getMaxNodes());
+            break;
+          }
+          case MAX_PROCESSING_UNITS: {
+            setMaxProcessingUnits(other.getMaxProcessingUnits());
+            break;
+          }
+          case MAXLIMIT_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -926,37 +807,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  minLimit_ = input.readInt32();
-                  minLimitCase_ = 1;
-                  break;
-                } // case 8
-              case 16:
-                {
-                  minLimit_ = input.readInt32();
-                  minLimitCase_ = 2;
-                  break;
-                } // case 16
-              case 24:
-                {
-                  maxLimit_ = input.readInt32();
-                  maxLimitCase_ = 3;
-                  break;
-                } // case 24
-              case 32:
-                {
-                  maxLimit_ = input.readInt32();
-                  maxLimitCase_ = 4;
-                  break;
-                } // case 32
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                minLimit_ = input.readInt32();
+                minLimitCase_ = 1;
+                break;
+              } // case 8
+              case 16: {
+                minLimit_ = input.readInt32();
+                minLimitCase_ = 2;
+                break;
+              } // case 16
+              case 24: {
+                maxLimit_ = input.readInt32();
+                maxLimitCase_ = 3;
+                break;
+              } // case 24
+              case 32: {
+                maxLimit_ = input.readInt32();
+                maxLimitCase_ = 4;
+                break;
+              } // case 32
+              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) {
@@ -966,12 +842,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int minLimitCase_ = 0;
       private java.lang.Object minLimit_;
-
-      public MinLimitCase getMinLimitCase() {
-        return MinLimitCase.forNumber(minLimitCase_);
+      public MinLimitCase
+          getMinLimitCase() {
+        return MinLimitCase.forNumber(
+            minLimitCase_);
       }
 
       public Builder clearMinLimit() {
@@ -983,9 +859,10 @@ public Builder clearMinLimit() {
 
       private int maxLimitCase_ = 0;
       private java.lang.Object maxLimit_;
-
-      public MaxLimitCase getMaxLimitCase() {
-        return MaxLimitCase.forNumber(maxLimitCase_);
+      public MaxLimitCase
+          getMaxLimitCase() {
+        return MaxLimitCase.forNumber(
+            maxLimitCase_);
       }
 
       public Builder clearMaxLimit() {
@@ -998,30 +875,24 @@ public Builder clearMaxLimit() {
       private int bitField0_;
 
       /**
-       *
-       *
        * 
        * Minimum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to 1.
        * 
* * int32 min_nodes = 1; - * * @return Whether the minNodes field is set. */ public boolean hasMinNodes() { return minLimitCase_ == 1; } /** - * - * *
        * Minimum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to 1.
        * 
* * int32 min_nodes = 1; - * * @return The minNodes. */ public int getMinNodes() { @@ -1031,15 +902,12 @@ public int getMinNodes() { return 0; } /** - * - * *
        * Minimum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to 1.
        * 
* * int32 min_nodes = 1; - * * @param value The minNodes to set. * @return This builder for chaining. */ @@ -1051,15 +919,12 @@ public Builder setMinNodes(int value) { return this; } /** - * - * *
        * Minimum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to 1.
        * 
* * int32 min_nodes = 1; - * * @return This builder for chaining. */ public Builder clearMinNodes() { @@ -1072,30 +937,24 @@ public Builder clearMinNodes() { } /** - * - * *
        * Minimum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000.
        * 
* * int32 min_processing_units = 2; - * * @return Whether the minProcessingUnits field is set. */ public boolean hasMinProcessingUnits() { return minLimitCase_ == 2; } /** - * - * *
        * Minimum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000.
        * 
* * int32 min_processing_units = 2; - * * @return The minProcessingUnits. */ public int getMinProcessingUnits() { @@ -1105,15 +964,12 @@ public int getMinProcessingUnits() { return 0; } /** - * - * *
        * Minimum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000.
        * 
* * int32 min_processing_units = 2; - * * @param value The minProcessingUnits to set. * @return This builder for chaining. */ @@ -1125,15 +981,12 @@ public Builder setMinProcessingUnits(int value) { return this; } /** - * - * *
        * Minimum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000.
        * 
* * int32 min_processing_units = 2; - * * @return This builder for chaining. */ public Builder clearMinProcessingUnits() { @@ -1146,30 +999,24 @@ public Builder clearMinProcessingUnits() { } /** - * - * *
        * Maximum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to min_nodes.
        * 
* * int32 max_nodes = 3; - * * @return Whether the maxNodes field is set. */ public boolean hasMaxNodes() { return maxLimitCase_ == 3; } /** - * - * *
        * Maximum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to min_nodes.
        * 
* * int32 max_nodes = 3; - * * @return The maxNodes. */ public int getMaxNodes() { @@ -1179,15 +1026,12 @@ public int getMaxNodes() { return 0; } /** - * - * *
        * Maximum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to min_nodes.
        * 
* * int32 max_nodes = 3; - * * @param value The maxNodes to set. * @return This builder for chaining. */ @@ -1199,15 +1043,12 @@ public Builder setMaxNodes(int value) { return this; } /** - * - * *
        * Maximum number of nodes allocated to the instance. If set, this number
        * should be greater than or equal to min_nodes.
        * 
* * int32 max_nodes = 3; - * * @return This builder for chaining. */ public Builder clearMaxNodes() { @@ -1220,8 +1061,6 @@ public Builder clearMaxNodes() { } /** - * - * *
        * Maximum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000 and be greater than or equal to
@@ -1229,15 +1068,12 @@ public Builder clearMaxNodes() {
        * 
* * int32 max_processing_units = 4; - * * @return Whether the maxProcessingUnits field is set. */ public boolean hasMaxProcessingUnits() { return maxLimitCase_ == 4; } /** - * - * *
        * Maximum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000 and be greater than or equal to
@@ -1245,7 +1081,6 @@ public boolean hasMaxProcessingUnits() {
        * 
* * int32 max_processing_units = 4; - * * @return The maxProcessingUnits. */ public int getMaxProcessingUnits() { @@ -1255,8 +1090,6 @@ public int getMaxProcessingUnits() { return 0; } /** - * - * *
        * Maximum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000 and be greater than or equal to
@@ -1264,7 +1097,6 @@ public int getMaxProcessingUnits() {
        * 
* * int32 max_processing_units = 4; - * * @param value The maxProcessingUnits to set. * @return This builder for chaining. */ @@ -1276,8 +1108,6 @@ public Builder setMaxProcessingUnits(int value) { return this; } /** - * - * *
        * Maximum number of processing units allocated to the instance. If set,
        * this number should be multiples of 1000 and be greater than or equal to
@@ -1285,7 +1115,6 @@ public Builder setMaxProcessingUnits(int value) {
        * 
* * int32 max_processing_units = 4; - * * @return This builder for chaining. */ public Builder clearMaxProcessingUnits() { @@ -1296,7 +1125,6 @@ public Builder clearMaxProcessingUnits() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1309,45 +1137,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits) - private static final com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits(); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingLimits 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingLimits 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; @@ -1359,20 +1183,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AutoscalingTargetsOrBuilder - extends + public interface AutoscalingTargetsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The target high priority cpu utilization percentage that the
      * autoscaler should be trying to achieve for the instance. This number is
@@ -1380,17 +1201,12 @@ public interface AutoscalingTargetsOrBuilder
      * range is [10, 90] inclusive.
      * 
* - * - * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The highPriorityCpuUtilizationPercent. */ int getHighPriorityCpuUtilizationPercent(); /** - * - * *
      * Required. The target storage utilization percentage that the autoscaler
      * should be trying to achieve for the instance. This number is on a scale
@@ -1399,59 +1215,52 @@ public interface AutoscalingTargetsOrBuilder
      * 
* * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storageUtilizationPercent. */ int getStorageUtilizationPercent(); } /** - * - * *
    * The autoscaling targets for an instance.
    * 
* * Protobuf type {@code google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets} */ - public static final class AutoscalingTargets extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AutoscalingTargets extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) AutoscalingTargetsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AutoscalingTargets.newBuilder() to construct. private AutoscalingTargets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingTargets() {} + private AutoscalingTargets() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingTargets(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.class, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder - .class); + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.class, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder.class); } public static final int HIGH_PRIORITY_CPU_UTILIZATION_PERCENT_FIELD_NUMBER = 1; private int highPriorityCpuUtilizationPercent_ = 0; /** - * - * *
      * Required. The target high priority cpu utilization percentage that the
      * autoscaler should be trying to achieve for the instance. This number is
@@ -1459,10 +1268,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * range is [10, 90] inclusive.
      * 
* - * - * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The highPriorityCpuUtilizationPercent. */ @java.lang.Override @@ -1473,8 +1279,6 @@ public int getHighPriorityCpuUtilizationPercent() { public static final int STORAGE_UTILIZATION_PERCENT_FIELD_NUMBER = 2; private int storageUtilizationPercent_ = 0; /** - * - * *
      * Required. The target storage utilization percentage that the autoscaler
      * should be trying to achieve for the instance. This number is on a scale
@@ -1483,7 +1287,6 @@ public int getHighPriorityCpuUtilizationPercent() {
      * 
* * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The storageUtilizationPercent. */ @java.lang.Override @@ -1492,7 +1295,6 @@ public int getStorageUtilizationPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1504,7 +1306,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (highPriorityCpuUtilizationPercent_ != 0) { output.writeInt32(1, highPriorityCpuUtilizationPercent_); } @@ -1521,13 +1324,12 @@ public int getSerializedSize() { size = 0; if (highPriorityCpuUtilizationPercent_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, highPriorityCpuUtilizationPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, highPriorityCpuUtilizationPercent_); } if (storageUtilizationPercent_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(2, storageUtilizationPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, storageUtilizationPercent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1537,18 +1339,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets other = - (com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) obj; + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets other = (com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) obj; - if (getHighPriorityCpuUtilizationPercent() != other.getHighPriorityCpuUtilizationPercent()) - return false; - if (getStorageUtilizationPercent() != other.getStorageUtilizationPercent()) return false; + if (getHighPriorityCpuUtilizationPercent() + != other.getHighPriorityCpuUtilizationPercent()) return false; + if (getStorageUtilizationPercent() + != other.getStorageUtilizationPercent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1569,101 +1370,90 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets 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 com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1673,43 +1463,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The autoscaling targets for an instance.
      * 
* * Protobuf type {@code google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.class, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder - .class); + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.class, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder.class); } - // Construct using - // com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.newBuilder() - private Builder() {} + // Construct using com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1720,22 +1506,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; } @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - getDefaultInstanceForType() { - return com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - .getDefaultInstance(); + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets getDefaultInstanceForType() { + return com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.getDefaultInstance(); } @java.lang.Override public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets build() { - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets result = - buildPartial(); + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1743,19 +1526,14 @@ public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets } @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - buildPartial() { - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets result = - new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets buildPartial() { + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets result = new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets result) { + private void buildPartial0(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.highPriorityCpuUtilizationPercent_ = highPriorityCpuUtilizationPercent_; @@ -1769,54 +1547,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) { - return mergeFrom( - (com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) other); + if (other instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) { + return mergeFrom((com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets other) { - if (other - == com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets other) { + if (other == com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.getDefaultInstance()) return this; if (other.getHighPriorityCpuUtilizationPercent() != 0) { setHighPriorityCpuUtilizationPercent(other.getHighPriorityCpuUtilizationPercent()); } @@ -1849,25 +1619,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - highPriorityCpuUtilizationPercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - storageUtilizationPercent_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + highPriorityCpuUtilizationPercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + storageUtilizationPercent_ = input.readInt32(); + 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) { @@ -1877,13 +1644,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int highPriorityCpuUtilizationPercent_; + private int highPriorityCpuUtilizationPercent_ ; /** - * - * *
        * Required. The target high priority cpu utilization percentage that the
        * autoscaler should be trying to achieve for the instance. This number is
@@ -1891,10 +1655,7 @@ public Builder mergeFrom(
        * range is [10, 90] inclusive.
        * 
* - * - * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The highPriorityCpuUtilizationPercent. */ @java.lang.Override @@ -1902,8 +1663,6 @@ public int getHighPriorityCpuUtilizationPercent() { return highPriorityCpuUtilizationPercent_; } /** - * - * *
        * Required. The target high priority cpu utilization percentage that the
        * autoscaler should be trying to achieve for the instance. This number is
@@ -1911,10 +1670,7 @@ public int getHighPriorityCpuUtilizationPercent() {
        * range is [10, 90] inclusive.
        * 
* - * - * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The highPriorityCpuUtilizationPercent to set. * @return This builder for chaining. */ @@ -1926,8 +1682,6 @@ public Builder setHighPriorityCpuUtilizationPercent(int value) { return this; } /** - * - * *
        * Required. The target high priority cpu utilization percentage that the
        * autoscaler should be trying to achieve for the instance. This number is
@@ -1935,10 +1689,7 @@ public Builder setHighPriorityCpuUtilizationPercent(int value) {
        * range is [10, 90] inclusive.
        * 
* - * - * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 high_priority_cpu_utilization_percent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearHighPriorityCpuUtilizationPercent() { @@ -1948,10 +1699,8 @@ public Builder clearHighPriorityCpuUtilizationPercent() { return this; } - private int storageUtilizationPercent_; + private int storageUtilizationPercent_ ; /** - * - * *
        * Required. The target storage utilization percentage that the autoscaler
        * should be trying to achieve for the instance. This number is on a scale
@@ -1959,9 +1708,7 @@ public Builder clearHighPriorityCpuUtilizationPercent() {
        * [10, 100] inclusive.
        * 
* - * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The storageUtilizationPercent. */ @java.lang.Override @@ -1969,8 +1716,6 @@ public int getStorageUtilizationPercent() { return storageUtilizationPercent_; } /** - * - * *
        * Required. The target storage utilization percentage that the autoscaler
        * should be trying to achieve for the instance. This number is on a scale
@@ -1978,9 +1723,7 @@ public int getStorageUtilizationPercent() {
        * [10, 100] inclusive.
        * 
* - * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The storageUtilizationPercent to set. * @return This builder for chaining. */ @@ -1992,8 +1735,6 @@ public Builder setStorageUtilizationPercent(int value) { return this; } /** - * - * *
        * Required. The target storage utilization percentage that the autoscaler
        * should be trying to achieve for the instance. This number is on a scale
@@ -2001,9 +1742,7 @@ public Builder setStorageUtilizationPercent(int value) {
        * [10, 100] inclusive.
        * 
* - * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * int32 storage_utilization_percent = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearStorageUtilizationPercent() { @@ -2012,7 +1751,6 @@ public Builder clearStorageUtilizationPercent() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2025,45 +1763,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets) - private static final com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets(); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingTargets 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingTargets 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; @@ -2075,27 +1809,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int AUTOSCALING_LIMITS_FIELD_NUMBER = 1; - private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - autoscalingLimits_; + private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscalingLimits_; /** - * - * *
    * Required. Autoscaling limits for an instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ @java.lang.Override @@ -2103,60 +1831,37 @@ public boolean hasAutoscalingLimits() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Autoscaling limits for an instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - getAutoscalingLimits() { - return autoscalingLimits_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - .getDefaultInstance() - : autoscalingLimits_; + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits getAutoscalingLimits() { + return autoscalingLimits_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } /** - * - * *
    * Required. Autoscaling limits for an instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder - getAutoscalingLimitsOrBuilder() { - return autoscalingLimits_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - .getDefaultInstance() - : autoscalingLimits_; + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { + return autoscalingLimits_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } public static final int AUTOSCALING_TARGETS_FIELD_NUMBER = 2; - private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - autoscalingTargets_; + private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscalingTargets_; /** - * - * *
    * Required. The autoscaling targets for an instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ @java.lang.Override @@ -2164,48 +1869,30 @@ public boolean hasAutoscalingTargets() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. The autoscaling targets for an instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - getAutoscalingTargets() { - return autoscalingTargets_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - .getDefaultInstance() - : autoscalingTargets_; + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets getAutoscalingTargets() { + return autoscalingTargets_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } /** - * - * *
    * Required. The autoscaling targets for an instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { - return autoscalingTargets_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - .getDefaultInstance() - : autoscalingTargets_; + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { + return autoscalingTargets_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2217,7 +1904,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getAutoscalingLimits()); } @@ -2234,10 +1922,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAutoscalingLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAutoscalingLimits()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAutoscalingTargets()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAutoscalingTargets()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2247,21 +1937,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.AutoscalingConfig other = - (com.google.spanner.admin.instance.v1.AutoscalingConfig) obj; + com.google.spanner.admin.instance.v1.AutoscalingConfig other = (com.google.spanner.admin.instance.v1.AutoscalingConfig) obj; if (hasAutoscalingLimits() != other.hasAutoscalingLimits()) return false; if (hasAutoscalingLimits()) { - if (!getAutoscalingLimits().equals(other.getAutoscalingLimits())) return false; + if (!getAutoscalingLimits() + .equals(other.getAutoscalingLimits())) return false; } if (hasAutoscalingTargets() != other.hasAutoscalingTargets()) return false; if (hasAutoscalingTargets()) { - if (!getAutoscalingTargets().equals(other.getAutoscalingTargets())) return false; + if (!getAutoscalingTargets() + .equals(other.getAutoscalingTargets())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2288,127 +1979,119 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.AutoscalingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.AutoscalingConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.AutoscalingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Autoscaling config for an instance.
    * 
* * Protobuf type {@code google.spanner.admin.instance.v1.AutoscalingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.AutoscalingConfig) com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.AutoscalingConfig.class, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder.class); + com.google.spanner.admin.instance.v1.AutoscalingConfig.class, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder.class); } // Construct using com.google.spanner.admin.instance.v1.AutoscalingConfig.newBuilder() @@ -2416,18 +2099,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAutoscalingLimitsFieldBuilder(); getAutoscalingTargetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2446,9 +2129,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; } @java.lang.Override @@ -2467,11 +2150,8 @@ public com.google.spanner.admin.instance.v1.AutoscalingConfig build() { @java.lang.Override public com.google.spanner.admin.instance.v1.AutoscalingConfig buildPartial() { - com.google.spanner.admin.instance.v1.AutoscalingConfig result = - new com.google.spanner.admin.instance.v1.AutoscalingConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.instance.v1.AutoscalingConfig result = new com.google.spanner.admin.instance.v1.AutoscalingConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2480,17 +2160,15 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.AutoscalingConfi int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.autoscalingLimits_ = - autoscalingLimitsBuilder_ == null - ? autoscalingLimits_ - : autoscalingLimitsBuilder_.build(); + result.autoscalingLimits_ = autoscalingLimitsBuilder_ == null + ? autoscalingLimits_ + : autoscalingLimitsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.autoscalingTargets_ = - autoscalingTargetsBuilder_ == null - ? autoscalingTargets_ - : autoscalingTargetsBuilder_.build(); + result.autoscalingTargets_ = autoscalingTargetsBuilder_ == null + ? autoscalingTargets_ + : autoscalingTargetsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -2500,39 +2178,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.AutoscalingConfi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.instance.v1.AutoscalingConfig) { - return mergeFrom((com.google.spanner.admin.instance.v1.AutoscalingConfig) other); + return mergeFrom((com.google.spanner.admin.instance.v1.AutoscalingConfig)other); } else { super.mergeFrom(other); return this; @@ -2540,8 +2217,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.instance.v1.AutoscalingConfig other) { - if (other == com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) return this; if (other.hasAutoscalingLimits()) { mergeAutoscalingLimits(other.getAutoscalingLimits()); } @@ -2574,27 +2250,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getAutoscalingLimitsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getAutoscalingTargetsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAutoscalingLimitsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAutoscalingTargetsFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -2604,69 +2279,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - autoscalingLimits_; + private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscalingLimits_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder> - autoscalingLimitsBuilder_; + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder> autoscalingLimitsBuilder_; /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ public boolean hasAutoscalingLimits() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - getAutoscalingLimits() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits getAutoscalingLimits() { if (autoscalingLimitsBuilder_ == null) { - return autoscalingLimits_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - .getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } else { return autoscalingLimitsBuilder_.getMessage(); } } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAutoscalingLimits( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits value) { + public Builder setAutoscalingLimits(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2680,19 +2331,14 @@ public Builder setAutoscalingLimits( return this; } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingLimits( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder - builderForValue) { + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder builderForValue) { if (autoscalingLimitsBuilder_ == null) { autoscalingLimits_ = builderForValue.build(); } else { @@ -2703,24 +2349,17 @@ public Builder setAutoscalingLimits( return this; } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAutoscalingLimits( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits value) { + public Builder mergeAutoscalingLimits(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && autoscalingLimits_ != null - && autoscalingLimits_ - != com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + autoscalingLimits_ != null && + autoscalingLimits_ != com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.getDefaultInstance()) { getAutoscalingLimitsBuilder().mergeFrom(value); } else { autoscalingLimits_ = value; @@ -2735,15 +2374,11 @@ public Builder mergeAutoscalingLimits( return this; } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingLimits() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2756,132 +2391,90 @@ public Builder clearAutoscalingLimits() { return this; } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder - getAutoscalingLimitsBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder getAutoscalingLimitsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAutoscalingLimitsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder - getAutoscalingLimitsOrBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { if (autoscalingLimitsBuilder_ != null) { return autoscalingLimitsBuilder_.getMessageOrBuilder(); } else { - return autoscalingLimits_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits - .getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } } /** - * - * *
      * Required. Autoscaling limits for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder> + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder> getAutoscalingLimitsFieldBuilder() { if (autoscalingLimitsBuilder_ == null) { - autoscalingLimitsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder>( - getAutoscalingLimits(), getParentForChildren(), isClean()); + autoscalingLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder>( + getAutoscalingLimits(), + getParentForChildren(), + isClean()); autoscalingLimits_ = null; } return autoscalingLimitsBuilder_; } - private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - autoscalingTargets_; + private com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscalingTargets_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder> - autoscalingTargetsBuilder_; + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder> autoscalingTargetsBuilder_; /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ public boolean hasAutoscalingTargets() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - getAutoscalingTargets() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets getAutoscalingTargets() { if (autoscalingTargetsBuilder_ == null) { - return autoscalingTargets_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - .getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } else { return autoscalingTargetsBuilder_.getMessage(); } } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAutoscalingTargets( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets value) { + public Builder setAutoscalingTargets(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2895,19 +2488,14 @@ public Builder setAutoscalingTargets( return this; } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingTargets( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder - builderForValue) { + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder builderForValue) { if (autoscalingTargetsBuilder_ == null) { autoscalingTargets_ = builderForValue.build(); } else { @@ -2918,24 +2506,17 @@ public Builder setAutoscalingTargets( return this; } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAutoscalingTargets( - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets value) { + public Builder mergeAutoscalingTargets(com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && autoscalingTargets_ != null - && autoscalingTargets_ - != com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + autoscalingTargets_ != null && + autoscalingTargets_ != com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.getDefaultInstance()) { getAutoscalingTargetsBuilder().mergeFrom(value); } else { autoscalingTargets_ = value; @@ -2950,15 +2531,11 @@ public Builder mergeAutoscalingTargets( return this; } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingTargets() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2971,74 +2548,55 @@ public Builder clearAutoscalingTargets() { return this; } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder - getAutoscalingTargetsBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder getAutoscalingTargetsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAutoscalingTargetsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { if (autoscalingTargetsBuilder_ != null) { return autoscalingTargetsBuilder_.getMessageOrBuilder(); } else { - return autoscalingTargets_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets - .getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } } /** - * - * *
      * Required. The autoscaling targets for an instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder> + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder> getAutoscalingTargetsFieldBuilder() { if (autoscalingTargetsBuilder_ == null) { - autoscalingTargetsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder>( - getAutoscalingTargets(), getParentForChildren(), isClean()); + autoscalingTargetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder>( + getAutoscalingTargets(), + getParentForChildren(), + isClean()); autoscalingTargets_ = null; } return autoscalingTargetsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3048,12 +2606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.AutoscalingConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.AutoscalingConfig) private static final com.google.spanner.admin.instance.v1.AutoscalingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.AutoscalingConfig(); } @@ -3062,27 +2620,27 @@ public static com.google.spanner.admin.instance.v1.AutoscalingConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingConfig 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingConfig 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; @@ -3097,4 +2655,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.AutoscalingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfigOrBuilder.java new file mode 100644 index 00000000000..22c9af56b21 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfigOrBuilder.java @@ -0,0 +1,64 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.instance.v1; + +public interface AutoscalingConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.AutoscalingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Autoscaling limits for an instance.
+   * 
+ * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the autoscalingLimits field is set. + */ + boolean hasAutoscalingLimits(); + /** + *
+   * Required. Autoscaling limits for an instance.
+   * 
+ * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The autoscalingLimits. + */ + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits getAutoscalingLimits(); + /** + *
+   * Required. Autoscaling limits for an instance.
+   * 
+ * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder(); + + /** + *
+   * Required. The autoscaling targets for an instance.
+   * 
+ * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the autoscalingTargets field is set. + */ + boolean hasAutoscalingTargets(); + /** + *
+   * Required. The autoscaling targets for an instance.
+   * 
+ * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The autoscalingTargets. + */ + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets getAutoscalingTargets(); + /** + *
+   * Required. The autoscaling targets for an instance.
+   * 
+ * + * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java new file mode 100644 index 00000000000..16658b9b97c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java @@ -0,0 +1,61 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/common.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.instance.v1; + +public final class CommonProto { + private CommonProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_OperationProgress_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-google/spanner/admin/instance/v1/commo" + + "n.proto\022 google.spanner.admin.instance.v" + + "1\032\037google/protobuf/timestamp.proto\"\213\001\n\021O" + + "perationProgress\022\030\n\020progress_percent\030\001 \001" + + "(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr" + + "otobuf.TimestampB\375\001\n$com.google.spanner." + + "admin.instance.v1B\013CommonProtoP\001ZFcloud." + + "google.com/go/spanner/admin/instance/api" + + "v1/instancepb;instancepb\252\002&Google.Cloud." + + "Spanner.Admin.Instance.V1\312\002&Google\\Cloud" + + "\\Spanner\\Admin\\Instance\\V1\352\002+Google::Clo" + + "ud::Spanner::Admin::Instance::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor, + new java.lang.String[] { "ProgressPercent", "StartTime", "EndTime", }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java similarity index 69% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java index 90b291a6d7a..6fdc567d549 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigMetadata}
  */
-public final class CreateInstanceConfigMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstanceConfigMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
     CreateInstanceConfigMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstanceConfigMetadata.newBuilder() to construct.
   private CreateInstanceConfigMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateInstanceConfigMetadata() {}
+  private CreateInstanceConfigMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceConfigMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
-   *
-   *
    * 
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -81,25 +60,18 @@ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * The target instance config end state.
    * 
@@ -108,16 +80,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.instance.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -125,7 +93,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -133,8 +100,6 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -142,18 +107,13 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -164,22 +124,17 @@ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -187,14 +142,11 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -202,8 +154,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled.
    * 
@@ -216,7 +166,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstanceConfig()); } @@ -248,13 +198,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstanceConfig()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -264,25 +217,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other = - (com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) obj; + com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other = (com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) return false; } if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -313,105 +268,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - 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 com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata 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 com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].
@@ -419,44 +367,41 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
       com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceConfigFieldBuilder();
         getProgressFieldBuilder();
         getCancelTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -480,14 +425,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance();
     }
 
@@ -502,30 +446,31 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -535,50 +480,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other) {
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance()) return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -614,31 +555,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -648,52 +591,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * The target instance config end state.
      * 
@@ -714,8 +643,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -734,8 +661,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -744,10 +669,9 @@ public Builder setInstanceConfig( */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -762,8 +686,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -781,8 +703,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -795,27 +715,21 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * The target instance config end state.
      * 
@@ -823,17 +737,14 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -841,13 +752,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo private com.google.spanner.admin.instance.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.OperationProgress, - com.google.spanner.admin.instance.v1.OperationProgress.Builder, - com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -855,15 +761,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -871,21 +774,16 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -908,8 +806,6 @@ public Builder setProgress(com.google.spanner.admin.instance.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -930,8 +826,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -942,10 +836,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -960,8 +853,6 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -981,8 +872,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -997,8 +886,6 @@ public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -1011,14 +898,11 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -1028,17 +912,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.OperationProgress,
-            com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-            com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.instance.v1.OperationProgress,
-                com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-                com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1046,47 +927,34 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1107,15 +975,14 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; */ - public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCancelTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (cancelTimeBuilder_ == null) { cancelTime_ = builderForValue.build(); } else { @@ -1126,8 +993,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1136,9 +1001,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cancelTime_ != null - && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cancelTime_ != null && + cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCancelTimeBuilder().mergeFrom(value); } else { cancelTime_ = value; @@ -1153,8 +1018,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1172,8 +1035,6 @@ public Builder clearCancelTime() { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1186,8 +1047,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { return getCancelTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1198,14 +1057,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { if (cancelTimeBuilder_ != null) { return cancelTimeBuilder_.getMessageOrBuilder(); } else { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1213,24 +1069,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * .google.protobuf.Timestamp cancel_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCancelTimeFieldBuilder() { if (cancelTimeBuilder_ == null) { - cancelTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCancelTime(), getParentForChildren(), isClean()); + cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCancelTime(), + getParentForChildren(), + isClean()); cancelTime_ = null; } return cancelTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1240,43 +1093,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) - private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceConfigMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceConfigMetadata 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; @@ -1288,8 +1139,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java index 60afae919aa..89f256f9953 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface CreateInstanceConfigMetadataOrBuilder - extends +public interface CreateInstanceConfigMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * The target instance config end state.
    * 
@@ -60,8 +36,6 @@ public interface CreateInstanceConfigMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -69,13 +43,10 @@ public interface CreateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -83,13 +54,10 @@ public interface CreateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ com.google.spanner.admin.instance.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -101,32 +69,24 @@ public interface CreateInstanceConfigMetadataOrBuilder
   com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java index 9affa283aa0..80f3c93a0dd 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigRequest}
  */
-public final class CreateInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceConfigRequest)
     CreateInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstanceConfigRequest.newBuilder() to construct.
   private CreateInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateInstanceConfigRequest() {
     parent_ = "";
     instanceConfigId_ = "";
@@ -46,42 +28,35 @@ private CreateInstanceConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project in which to create the instance config.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project in which to create the instance config.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_CONFIG_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceConfigId_ = ""; /** - * - * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -138,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceConfigId. */ @java.lang.Override @@ -147,15 +116,14 @@ public java.lang.String getInstanceConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; } } /** - * - * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -164,15 +132,16 @@ public java.lang.String getInstanceConfigId() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -183,8 +152,6 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { public static final int INSTANCE_CONFIG_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -193,10 +160,7 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -204,8 +168,6 @@ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -214,21 +176,14 @@ public boolean hasInstanceConfig() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -237,29 +192,22 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -268,7 +216,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -309,10 +257,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceConfigId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstanceConfig()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -322,21 +272,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceConfigId().equals(other.getInstanceConfigId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceConfigId() + .equals(other.getInstanceConfigId())) return false; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,111 +310,106 @@ public int hashCode() { hash = (53 * hash) + getInstanceConfig().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
@@ -469,23 +417,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.CreateInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.newBuilder()
@@ -493,17 +439,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -520,14 +466,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -542,17 +487,13 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -562,8 +503,9 @@ private void buildPartial0(
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -576,50 +518,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -662,37 +600,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                instanceConfigId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              instanceConfigId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              validateOnly_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            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) {
@@ -702,28 +637,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project in which to create the instance config.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -732,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project in which to create the instance config.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -757,41 +684,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project in which to create the instance config.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project in which to create the instance config.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -801,24 +717,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project in which to create the instance config.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -828,8 +738,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceConfigId_ = ""; /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -838,13 +746,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceConfigId. */ public java.lang.String getInstanceConfigId() { java.lang.Object ref = instanceConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; @@ -853,8 +761,6 @@ public java.lang.String getInstanceConfigId() { } } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -863,14 +769,15 @@ public java.lang.String getInstanceConfigId() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceConfigId. */ - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -878,8 +785,6 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { } } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -888,22 +793,18 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceConfigId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -912,7 +813,6 @@ public Builder setInstanceConfigId(java.lang.String value) {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceConfigId() { @@ -922,8 +822,6 @@ public Builder clearInstanceConfigId() { return this; } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -932,14 +830,12 @@ public Builder clearInstanceConfigId() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceConfigId_ = value; bitField0_ |= 0x00000002; @@ -949,13 +845,8 @@ public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> - instanceConfigBuilder_; + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_; /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -964,18 +855,13 @@ public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -984,24 +870,17 @@ public boolean hasInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1010,9 +889,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { @@ -1028,8 +905,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1038,9 +913,7 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig( com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -1054,8 +927,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1064,16 +935,13 @@ public Builder setInstanceConfig(
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -1088,8 +956,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1098,9 +964,7 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1113,8 +977,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1123,9 +985,7 @@ public Builder clearInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { bitField0_ |= 0x00000004; @@ -1133,8 +993,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1143,23 +1001,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1168,38 +1020,30 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1207,15 +1051,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1227,15 +1068,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1244,9 +1082,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1256,43 +1094,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceConfigRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceConfigRequest 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; @@ -1304,8 +1140,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java index 43aa88a39d2..e59d8099e32 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface CreateInstanceConfigRequestOrBuilder - extends +public interface CreateInstanceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project in which to create the instance config.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project in which to create the instance config.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -66,13 +39,10 @@ public interface CreateInstanceConfigRequestOrBuilder
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceConfigId. */ java.lang.String getInstanceConfigId(); /** - * - * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -81,14 +51,12 @@ public interface CreateInstanceConfigRequestOrBuilder
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceConfigId. */ - com.google.protobuf.ByteString getInstanceConfigIdBytes(); + com.google.protobuf.ByteString + getInstanceConfigIdBytes(); /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -97,16 +65,11 @@ public interface CreateInstanceConfigRequestOrBuilder
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -115,16 +78,11 @@ public interface CreateInstanceConfigRequestOrBuilder
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -133,22 +91,17 @@ public interface CreateInstanceConfigRequestOrBuilder
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java index 0a51bdc8d48..6805ca38db5 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceMetadata}
  */
-public final class CreateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstanceMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceMetadata)
     CreateInstanceMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstanceMetadata.newBuilder() to construct.
   private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateInstanceMetadata() {}
+  private CreateInstanceMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
-   *
-   *
    * 
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -81,25 +60,18 @@ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * The instance being created.
    * 
@@ -108,16 +80,12 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -125,7 +93,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -133,8 +100,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -142,7 +107,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -150,8 +114,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -168,8 +130,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -177,7 +137,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -185,8 +144,6 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -194,7 +151,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -202,8 +158,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -220,14 +174,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -235,14 +186,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -250,8 +198,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -264,7 +210,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstance()); } @@ -299,16 +245,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstance()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,29 +268,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstanceMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceMetadata other = - (com.google.spanner.admin.instance.v1.CreateInstanceMetadata) obj; + com.google.spanner.admin.instance.v1.CreateInstanceMetadata other = (com.google.spanner.admin.instance.v1.CreateInstanceMetadata) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -375,104 +328,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstanceMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -480,23 +427,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceMetadata)
       com.google.spanner.admin.instance.v1.CreateInstanceMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.CreateInstanceMetadata.newBuilder()
@@ -504,20 +449,20 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceFieldBuilder();
         getStartTimeFieldBuilder();
         getCancelTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -546,9 +491,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -567,11 +512,8 @@ public com.google.spanner.admin.instance.v1.CreateInstanceMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -580,19 +522,27 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceMe
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build();
+        result.instance_ = instanceBuilder_ == null
+            ? instance_
+            : instanceBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       result.bitField0_ |= to_bitField0_;
@@ -602,39 +552,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceMe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -642,8 +591,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceMetadata.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -682,37 +630,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -722,52 +673,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * The instance being created.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The instance being created.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * The instance being created.
      * 
@@ -788,8 +725,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The instance being created.
      * 
@@ -808,8 +743,6 @@ public Builder setInstance( return this; } /** - * - * *
      * The instance being created.
      * 
@@ -818,9 +751,9 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -835,8 +768,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * The instance being created.
      * 
@@ -854,8 +785,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * The instance being created.
      * 
@@ -868,8 +797,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * The instance being created.
      * 
@@ -880,14 +807,11 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * The instance being created.
      * 
@@ -895,17 +819,14 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild * .google.spanner.admin.instance.v1.Instance instance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -913,13 +834,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -927,15 +843,12 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -943,7 +856,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -954,8 +866,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -978,8 +888,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -988,7 +896,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -999,8 +908,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1011,9 +918,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1028,8 +935,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1049,8 +954,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1065,8 +968,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1079,12 +980,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1094,17 +994,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1112,13 +1009,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1126,15 +1018,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1142,21 +1031,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1179,8 +1063,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1189,7 +1071,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1200,8 +1083,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1212,9 +1093,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1229,8 +1110,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1250,8 +1129,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1266,8 +1143,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1280,14 +1155,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1297,17 +1169,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1315,33 +1184,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1352,8 +1212,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1374,15 +1232,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1393,8 +1250,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1403,9 +1258,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1420,8 +1275,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1439,8 +1292,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1453,8 +1304,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1465,12 +1314,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1478,24 +1326,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1505,12 +1350,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceMetadata) private static final com.google.spanner.admin.instance.v1.CreateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(); } @@ -1519,27 +1364,27 @@ public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceMetadata 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; @@ -1554,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.CreateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java index 36b6e8ef001..b6f6a5bfe17 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface CreateInstanceMetadataOrBuilder - extends +public interface CreateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * The instance being created.
    * 
@@ -60,8 +36,6 @@ public interface CreateInstanceMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -69,13 +43,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -83,13 +54,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -101,8 +69,6 @@ public interface CreateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -110,13 +76,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -124,13 +87,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -142,32 +102,24 @@ public interface CreateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadata.java similarity index 71% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadata.java index 1e2431b6ae3..727d39ae346 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition].
@@ -29,52 +12,47 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstancePartitionMetadata}
  */
-public final class CreateInstancePartitionMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstancePartitionMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstancePartitionMetadata)
     CreateInstancePartitionMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstancePartitionMetadata.newBuilder() to construct.
-  private CreateInstancePartitionMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateInstancePartitionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateInstancePartitionMetadata() {}
+  private CreateInstancePartitionMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstancePartitionMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.class,
-            com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.class, com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_PARTITION_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_;
   /**
-   *
-   *
    * 
    * The instance partition being created.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return Whether the instancePartition field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The instance partition being created.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return The instancePartition. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } /** - * - * *
    * The instance partition being created.
    * 
@@ -108,18 +79,13 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which the
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -127,7 +93,6 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -135,8 +100,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -144,7 +107,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -152,8 +114,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which the
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -170,8 +130,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -179,7 +137,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -187,8 +144,6 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -196,7 +151,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -204,8 +158,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -222,14 +174,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -237,14 +186,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -252,8 +198,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -266,7 +210,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstancePartition()); } @@ -301,16 +245,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstancePartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstancePartition()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,29 +268,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata other = - (com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) obj; + com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata other = (com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) obj; if (hasInstancePartition() != other.hasInstancePartition()) return false; if (hasInstancePartition()) { - if (!getInstancePartition().equals(other.getInstancePartition())) return false; + if (!getInstancePartition() + .equals(other.getInstancePartition())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -377,105 +328,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata - 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 com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata 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 com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition].
@@ -483,45 +427,42 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstancePartitionMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstancePartitionMetadata)
       com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.class,
-              com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.class, com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstancePartitionFieldBuilder();
         getStartTimeFieldBuilder();
         getCancelTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -550,16 +491,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -573,36 +512,37 @@ public com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata buil
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata result =
-          new com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata result = new com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instancePartition_ =
-            instancePartitionBuilder_ == null
-                ? instancePartition_
-                : instancePartitionBuilder_.build();
+        result.instancePartition_ = instancePartitionBuilder_ == null
+            ? instancePartition_
+            : instancePartitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       result.bitField0_ |= to_bitField0_;
@@ -612,51 +552,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata other) {
+      if (other == com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata.getDefaultInstance()) return this;
       if (other.hasInstancePartition()) {
         mergeInstancePartition(other.getInstancePartition());
       }
@@ -695,38 +630,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getInstancePartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstancePartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -736,60 +673,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstancePartition,
-            com.google.spanner.admin.instance.v1.InstancePartition.Builder,
-            com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>
-        instancePartitionBuilder_;
+        com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> instancePartitionBuilder_;
     /**
-     *
-     *
      * 
      * The instance partition being created.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return Whether the instancePartition field is set. */ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The instance partition being created.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return The instancePartition. */ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { if (instancePartitionBuilder_ == null) { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } else { return instancePartitionBuilder_.getMessage(); } } /** - * - * *
      * The instance partition being created.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public Builder setInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder setInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -803,8 +725,6 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * The instance partition being created.
      * 
@@ -823,21 +743,17 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * The instance partition being created.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public Builder mergeInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder mergeInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instancePartition_ != null - && instancePartition_ - != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instancePartition_ != null && + instancePartition_ != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { getInstancePartitionBuilder().mergeFrom(value); } else { instancePartition_ = value; @@ -852,8 +768,6 @@ public Builder mergeInstancePartition( return this; } /** - * - * *
      * The instance partition being created.
      * 
@@ -871,42 +785,33 @@ public Builder clearInstancePartition() { return this; } /** - * - * *
      * The instance partition being created.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartition.Builder - getInstancePartitionBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartition.Builder getInstancePartitionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getInstancePartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The instance partition being created.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { if (instancePartitionBuilder_ != null) { return instancePartitionBuilder_.getMessageOrBuilder(); } else { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? + com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } } /** - * - * *
      * The instance partition being created.
      * 
@@ -914,17 +819,14 @@ public Builder clearInstancePartition() { * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> getInstancePartitionFieldBuilder() { if (instancePartitionBuilder_ == null) { - instancePartitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( - getInstancePartition(), getParentForChildren(), isClean()); + instancePartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( + getInstancePartition(), + getParentForChildren(), + isClean()); instancePartition_ = null; } return instancePartitionBuilder_; @@ -932,13 +834,8 @@ public Builder clearInstancePartition() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -946,15 +843,12 @@ public Builder clearInstancePartition() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -962,7 +856,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -973,8 +866,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -997,8 +888,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -1007,7 +896,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -1018,8 +908,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -1030,9 +918,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1047,8 +935,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -1068,8 +954,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -1084,8 +968,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -1098,12 +980,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -1113,17 +994,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1131,13 +1009,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1145,15 +1018,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1161,21 +1031,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1198,8 +1063,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1208,7 +1071,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1219,8 +1083,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1231,9 +1093,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1248,8 +1110,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1269,8 +1129,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1285,8 +1143,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1299,14 +1155,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1316,17 +1169,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1334,33 +1184,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1371,8 +1212,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1393,15 +1232,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1412,8 +1250,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1422,9 +1258,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1439,8 +1275,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1458,8 +1292,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1472,8 +1304,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1484,12 +1314,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1497,24 +1326,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1524,43 +1350,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) - private static final com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata(); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstancePartitionMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstancePartitionMetadata 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; @@ -1572,8 +1396,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstancePartitionMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadataOrBuilder.java index f29d343bb48..461f8c0d170 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface CreateInstancePartitionMetadataOrBuilder - extends +public interface CreateInstancePartitionMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instance partition being created.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return Whether the instancePartition field is set. */ boolean hasInstancePartition(); /** - * - * *
    * The instance partition being created.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return The instancePartition. */ com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition(); /** - * - * *
    * The instance partition being created.
    * 
@@ -60,8 +36,6 @@ public interface CreateInstancePartitionMetadataOrBuilder com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder(); /** - * - * *
    * The time at which the
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -69,13 +43,10 @@ public interface CreateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which the
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -83,13 +54,10 @@ public interface CreateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which the
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
@@ -101,8 +69,6 @@ public interface CreateInstancePartitionMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -110,13 +76,10 @@ public interface CreateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -124,13 +87,10 @@ public interface CreateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -142,32 +102,24 @@ public interface CreateInstancePartitionMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequest.java similarity index 63% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequest.java index 636a12c5ce9..35a76e88f87 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition].
@@ -29,17 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstancePartitionRequest}
  */
-public final class CreateInstancePartitionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstancePartitionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstancePartitionRequest)
     CreateInstancePartitionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstancePartitionRequest.newBuilder() to construct.
-  private CreateInstancePartitionRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateInstancePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateInstancePartitionRequest() {
     parent_ = "";
     instancePartitionId_ = "";
@@ -47,43 +28,36 @@ private CreateInstancePartitionRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstancePartitionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.class,
-            com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance in which to create the instance
    * partition. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance in which to create the instance
    * partition. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,12 +99,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_PARTITION_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instancePartitionId_ = ""; /** - * - * *
    * Required. The ID of the instance partition to create. Valid identifiers are
    * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -140,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instancePartitionId. */ @java.lang.Override @@ -149,15 +117,14 @@ public java.lang.String getInstancePartitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instancePartitionId_ = s; return s; } } /** - * - * *
    * Required. The ID of the instance partition to create. Valid identifiers are
    * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -165,15 +132,16 @@ public java.lang.String getInstancePartitionId() {
    * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instancePartitionId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstancePartitionIdBytes() { + public com.google.protobuf.ByteString + getInstancePartitionIdBytes() { java.lang.Object ref = instancePartitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instancePartitionId_ = b; return b; } else { @@ -184,18 +152,13 @@ public com.google.protobuf.ByteString getInstancePartitionIdBytes() { public static final int INSTANCE_PARTITION_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_; /** - * - * *
    * Required. The instance partition to create. The instance_partition.name may
    * be omitted, but if specified must be
    * `<parent>/instancePartitions/<instance_partition_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instancePartition field is set. */ @java.lang.Override @@ -203,49 +166,34 @@ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The instance partition to create. The instance_partition.name may
    * be omitted, but if specified must be
    * `<parent>/instancePartitions/<instance_partition_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instancePartition. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } /** - * - * *
    * Required. The instance partition to create. The instance_partition.name may
    * be omitted, but if specified must be
    * `<parent>/instancePartitions/<instance_partition_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -283,7 +232,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instancePartitionId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstancePartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstancePartition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -293,19 +243,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest other = - (com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest) obj; + com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest other = (com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstancePartitionId().equals(other.getInstancePartitionId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstancePartitionId() + .equals(other.getInstancePartitionId())) return false; if (hasInstancePartition() != other.hasInstancePartition()) return false; if (hasInstancePartition()) { - if (!getInstancePartition().equals(other.getInstancePartition())) return false; + if (!getInstancePartition() + .equals(other.getInstancePartition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -332,105 +284,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest - 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 com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest 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 com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition].
@@ -438,42 +383,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstancePartitionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstancePartitionRequest)
       com.google.spanner.admin.instance.v1.CreateInstancePartitionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.class,
-              com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstancePartitionFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -489,16 +431,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -512,17 +452,13 @@ public com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest build
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest result =
-          new com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest result = new com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -532,10 +468,9 @@ private void buildPartial0(
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instancePartition_ =
-            instancePartitionBuilder_ == null
-                ? instancePartition_
-                : instancePartitionBuilder_.build();
+        result.instancePartition_ = instancePartitionBuilder_ == null
+            ? instancePartition_
+            : instancePartitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -545,51 +480,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -629,32 +559,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                instancePartitionId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getInstancePartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              instancePartitionId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstancePartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -664,29 +591,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance in which to create the instance
      * partition. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -695,25 +617,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which to create the instance
      * partition. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -721,43 +640,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which to create the instance
      * partition. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the instance
      * partition. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -767,25 +675,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance in which to create the instance
      * partition. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -795,8 +697,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instancePartitionId_ = ""; /** - * - * *
      * Required. The ID of the instance partition to create. Valid identifiers are
      * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -804,13 +704,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instancePartitionId. */ public java.lang.String getInstancePartitionId() { java.lang.Object ref = instancePartitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instancePartitionId_ = s; return s; @@ -819,8 +719,6 @@ public java.lang.String getInstancePartitionId() { } } /** - * - * *
      * Required. The ID of the instance partition to create. Valid identifiers are
      * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -828,14 +726,15 @@ public java.lang.String getInstancePartitionId() {
      * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instancePartitionId. */ - public com.google.protobuf.ByteString getInstancePartitionIdBytes() { + public com.google.protobuf.ByteString + getInstancePartitionIdBytes() { java.lang.Object ref = instancePartitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instancePartitionId_ = b; return b; } else { @@ -843,8 +742,6 @@ public com.google.protobuf.ByteString getInstancePartitionIdBytes() { } } /** - * - * *
      * Required. The ID of the instance partition to create. Valid identifiers are
      * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -852,22 +749,18 @@ public com.google.protobuf.ByteString getInstancePartitionIdBytes() {
      * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instancePartitionId to set. * @return This builder for chaining. */ - public Builder setInstancePartitionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstancePartitionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instancePartitionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the instance partition to create. Valid identifiers are
      * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -875,7 +768,6 @@ public Builder setInstancePartitionId(java.lang.String value) {
      * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstancePartitionId() { @@ -885,8 +777,6 @@ public Builder clearInstancePartitionId() { return this; } /** - * - * *
      * Required. The ID of the instance partition to create. Valid identifiers are
      * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -894,14 +784,12 @@ public Builder clearInstancePartitionId() {
      * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instancePartitionId to set. * @return This builder for chaining. */ - public Builder setInstancePartitionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstancePartitionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instancePartitionId_ = value; bitField0_ |= 0x00000002; @@ -911,67 +799,47 @@ public Builder setInstancePartitionIdBytes(com.google.protobuf.ByteString value) private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> - instancePartitionBuilder_; + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> instancePartitionBuilder_; /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instancePartition field is set. */ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instancePartition. */ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { if (instancePartitionBuilder_ == null) { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } else { return instancePartitionBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder setInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -985,17 +853,13 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstancePartition( com.google.spanner.admin.instance.v1.InstancePartition.Builder builderForValue) { @@ -1009,25 +873,19 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder mergeInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instancePartition_ != null - && instancePartition_ - != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instancePartition_ != null && + instancePartition_ != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { getInstancePartitionBuilder().mergeFrom(value); } else { instancePartition_ = value; @@ -1042,17 +900,13 @@ public Builder mergeInstancePartition( return this; } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstancePartition() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1065,79 +919,61 @@ public Builder clearInstancePartition() { return this; } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstancePartition.Builder - getInstancePartitionBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartition.Builder getInstancePartitionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getInstancePartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { if (instancePartitionBuilder_ != null) { return instancePartitionBuilder_.getMessageOrBuilder(); } else { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? + com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } } /** - * - * *
      * Required. The instance partition to create. The instance_partition.name may
      * be omitted, but if specified must be
      * `<parent>/instancePartitions/<instance_partition_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> getInstancePartitionFieldBuilder() { if (instancePartitionBuilder_ == null) { - instancePartitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( - getInstancePartition(), getParentForChildren(), isClean()); + instancePartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( + getInstancePartition(), + getParentForChildren(), + isClean()); instancePartition_ = null; } return instancePartitionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1147,43 +983,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstancePartitionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstancePartitionRequest) - private static final com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest(); } - public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstancePartitionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstancePartitionRequest 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; @@ -1195,8 +1029,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstancePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequestOrBuilder.java index fae12b0bfe5..35c6c91b657 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstancePartitionRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface CreateInstancePartitionRequestOrBuilder - extends +public interface CreateInstancePartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstancePartitionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance in which to create the instance
    * partition. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the instance in which to create the instance
    * partition. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the instance partition to create. Valid identifiers are
    * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -67,13 +40,10 @@ public interface CreateInstancePartitionRequestOrBuilder
    * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instancePartitionId. */ java.lang.String getInstancePartitionId(); /** - * - * *
    * Required. The ID of the instance partition to create. Valid identifiers are
    * of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -81,55 +51,41 @@ public interface CreateInstancePartitionRequestOrBuilder
    * 
* * string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instancePartitionId. */ - com.google.protobuf.ByteString getInstancePartitionIdBytes(); + com.google.protobuf.ByteString + getInstancePartitionIdBytes(); /** - * - * *
    * Required. The instance partition to create. The instance_partition.name may
    * be omitted, but if specified must be
    * `<parent>/instancePartitions/<instance_partition_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instancePartition field is set. */ boolean hasInstancePartition(); /** - * - * *
    * Required. The instance partition to create. The instance_partition.name may
    * be omitted, but if specified must be
    * `<parent>/instancePartitions/<instance_partition_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instancePartition. */ com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition(); /** - * - * *
    * Required. The instance partition to create. The instance_partition.name may
    * be omitted, but if specified must be
    * `<parent>/instancePartitions/<instance_partition_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java similarity index 66% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java index 08c8730eff5..ac3c5525c02 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceRequest}
  */
-public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceRequest)
     CreateInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstanceRequest.newBuilder() to construct.
   private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateInstanceRequest() {
     parent_ = "";
     instanceId_ = "";
@@ -46,42 +28,35 @@ private CreateInstanceRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project in which to create the instance. Values
    * are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project in which to create the instance. Values
    * are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. The ID of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -137,7 +107,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -146,15 +115,14 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Required. The ID of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -162,15 +130,16 @@ public java.lang.String getInstanceId() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -181,17 +150,12 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.Instance instance_; /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -199,46 +163,32 @@ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -276,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -286,19 +238,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceRequest other = - (com.google.spanner.admin.instance.v1.CreateInstanceRequest) obj; + com.google.spanner.admin.instance.v1.CreateInstanceRequest other = (com.google.spanner.admin.instance.v1.CreateInstanceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -325,104 +279,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstanceRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -430,23 +378,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceRequest)
       com.google.spanner.admin.instance.v1.CreateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.CreateInstanceRequest.newBuilder()
@@ -454,17 +400,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -480,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -501,11 +447,8 @@ public com.google.spanner.admin.instance.v1.CreateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -520,7 +463,9 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceRe
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build();
+        result.instance_ = instanceBuilder_ == null
+            ? instance_
+            : instanceBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -530,39 +475,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,8 +514,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -611,31 +554,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                instanceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              instanceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -645,28 +586,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project in which to create the instance. Values
      * are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -675,24 +611,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project in which to create the instance. Values
      * are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -700,41 +633,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project in which to create the instance. Values
      * are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project in which to create the instance. Values
      * are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -744,24 +666,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project in which to create the instance. Values
      * are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -771,8 +687,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -780,13 +694,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -795,8 +709,6 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -804,14 +716,15 @@ public java.lang.String getInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -819,8 +732,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -828,22 +739,18 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -851,7 +758,6 @@ public Builder setInstanceId(java.lang.String value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -861,8 +767,6 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -870,14 +774,12 @@ public Builder clearInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -887,61 +789,42 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.instance.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { @@ -957,16 +840,12 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance( com.google.spanner.admin.instance.v1.Instance.Builder builderForValue) { @@ -980,22 +859,18 @@ public Builder setInstance( return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1010,16 +885,12 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1032,16 +903,12 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1049,57 +916,45 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceRequest) private static final com.google.spanner.admin.instance.v1.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceRequest(); } @@ -1123,27 +978,27 @@ public static com.google.spanner.admin.instance.v1.CreateInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest 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; @@ -1158,4 +1013,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java index 94c29d1eeca..a6587a632a5 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project in which to create the instance. Values
    * are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project in which to create the instance. Values
    * are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -65,13 +38,10 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. The ID of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -79,52 +49,38 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java index d1712540674..f757d009920 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceConfigRequest}
  */
-public final class DeleteInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)
     DeleteInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteInstanceConfigRequest.newBuilder() to construct.
   private DeleteInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteInstanceConfigRequest() {
     name_ = "";
     etag_ = "";
@@ -46,42 +28,35 @@ private DeleteInstanceConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteInstanceConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,12 +98,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -142,7 +112,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -151,15 +120,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -171,15 +139,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 2; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -190,15 +159,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -207,7 +173,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +184,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -245,7 +211,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -255,17 +222,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,111 +251,106 @@ public int hashCode() { hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest].
@@ -394,32 +358,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,14 +396,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -453,17 +417,13 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -480,50 +440,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -563,31 +519,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              validateOnly_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            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) {
@@ -597,29 +549,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -628,25 +575,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -654,43 +598,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -700,25 +633,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -728,8 +655,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -741,13 +666,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 2; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -756,8 +681,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -769,14 +692,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -784,8 +708,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -797,22 +719,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 2; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -824,7 +742,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -834,8 +751,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -847,14 +762,12 @@ public Builder clearEtag() {
      * 
* * string etag = 2; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; @@ -862,17 +775,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -880,15 +790,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -900,15 +807,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -917,9 +821,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -929,43 +833,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceConfigRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceConfigRequest 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; @@ -977,8 +879,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java index 2e52cd21234..4277751a6c8 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface DeleteInstanceConfigRequestOrBuilder - extends +public interface DeleteInstanceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -71,13 +44,10 @@ public interface DeleteInstanceConfigRequestOrBuilder
    * 
* * string etag = 2; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -89,21 +59,18 @@ public interface DeleteInstanceConfigRequestOrBuilder
    * 
* * string etag = 2; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequest.java similarity index 64% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequest.java index c4186941ca4..204bc455a9a 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [DeleteInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstancePartition].
@@ -29,17 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstancePartitionRequest}
  */
-public final class DeleteInstancePartitionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteInstancePartitionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.DeleteInstancePartitionRequest)
     DeleteInstancePartitionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteInstancePartitionRequest.newBuilder() to construct.
-  private DeleteInstancePartitionRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DeleteInstancePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteInstancePartitionRequest() {
     name_ = "";
     etag_ = "";
@@ -47,42 +28,35 @@ private DeleteInstancePartitionRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteInstancePartitionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.class,
-            com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance partition to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,33 +65,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the instance partition to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,12 +98,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. If not empty, the API only deletes the instance partition when
    * the etag provided matches the current status of the requested instance
@@ -140,7 +109,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -149,15 +117,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Optional. If not empty, the API only deletes the instance partition when
    * the etag provided matches the current status of the requested instance
@@ -166,15 +133,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 2; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -183,7 +151,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -225,16 +193,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest other = - (com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) obj; + com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest other = (com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,105 +225,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest - 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 com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest 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 com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [DeleteInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstancePartition].
@@ -362,33 +324,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstancePartitionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.DeleteInstancePartitionRequest)
       com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.class,
-              com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,16 +361,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -422,17 +382,13 @@ public com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest build
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest result =
-          new com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest result = new com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -446,51 +402,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -527,25 +478,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              etag_ = 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) {
@@ -555,29 +503,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance partition to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -586,25 +529,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the instance partition to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -612,43 +552,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the instance partition to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance partition to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -658,25 +587,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the instance partition to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -686,8 +609,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. If not empty, the API only deletes the instance partition when
      * the etag provided matches the current status of the requested instance
@@ -696,13 +617,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 2; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -711,8 +632,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. If not empty, the API only deletes the instance partition when
      * the etag provided matches the current status of the requested instance
@@ -721,14 +640,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -736,8 +656,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. If not empty, the API only deletes the instance partition when
      * the etag provided matches the current status of the requested instance
@@ -746,22 +664,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 2; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. If not empty, the API only deletes the instance partition when
      * the etag provided matches the current status of the requested instance
@@ -770,7 +684,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -780,8 +693,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. If not empty, the API only deletes the instance partition when
      * the etag provided matches the current status of the requested instance
@@ -790,23 +701,21 @@ public Builder clearEtag() {
      * 
* * string etag = 2; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,43 +725,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) - private static final com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest(); } - public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstancePartitionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstancePartitionRequest 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; @@ -864,8 +771,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequestOrBuilder.java index 83b455310a4..be87f56e0cf 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstancePartitionRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface DeleteInstancePartitionRequestOrBuilder - extends +public interface DeleteInstancePartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstancePartitionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance partition to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the instance partition to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. If not empty, the API only deletes the instance partition when
    * the etag provided matches the current status of the requested instance
@@ -68,13 +41,10 @@ public interface DeleteInstancePartitionRequestOrBuilder
    * 
* * string etag = 2; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. If not empty, the API only deletes the instance partition when
    * the etag provided matches the current status of the requested instance
@@ -83,8 +53,8 @@ public interface DeleteInstancePartitionRequestOrBuilder
    * 
* * string etag = 2; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java similarity index 64% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java index d3ab4d260d9..57881861ce1 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].
@@ -29,57 +12,49 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceRequest}
  */
-public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.DeleteInstanceRequest)
     DeleteInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteInstanceRequest.newBuilder() to construct.
   private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteInstanceRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance to be deleted. Values are of the form
    * `projects/<project>/instances/<instance>`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,32 +63,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the instance to be deleted. Values are of the form
    * `projects/<project>/instances/<instance>`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -158,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.DeleteInstanceRequest other = - (com.google.spanner.admin.instance.v1.DeleteInstanceRequest) obj; + com.google.spanner.admin.instance.v1.DeleteInstanceRequest other = (com.google.spanner.admin.instance.v1.DeleteInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +159,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.DeleteInstanceRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.DeleteInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].
@@ -291,32 +258,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.DeleteInstanceRequest)
       com.google.spanner.admin.instance.v1.DeleteInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.DeleteInstanceRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +315,8 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.DeleteInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +332,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstanceRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.DeleteInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -407,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.DeleteInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,19 +403,17 @@ public Builder mergeFrom(
             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:
+            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) {
@@ -462,28 +423,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance to be deleted. Values are of the form
      * `projects/<project>/instances/<instance>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -492,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the instance to be deleted. Values are of the form
      * `projects/<project>/instances/<instance>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -517,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the instance to be deleted. Values are of the form
      * `projects/<project>/instances/<instance>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance to be deleted. Values are of the form
      * `projects/<project>/instances/<instance>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -561,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the instance to be deleted. Values are of the form
      * `projects/<project>/instances/<instance>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstanceRequest) private static final com.google.spanner.admin.instance.v1.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(); } @@ -611,27 +547,27 @@ public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest 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; @@ -646,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 00000000000..b4798c0a922 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.instance.v1; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the instance to be deleted. Values are of the form
+   * `projects/<project>/instances/<instance>`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the instance to be deleted. Values are of the form
+   * `projects/<project>/instances/<instance>`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java similarity index 63% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java index 6427160ee95..7471f940e78 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].
@@ -29,57 +12,49 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceConfigRequest}
  */
-public final class GetInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.GetInstanceConfigRequest)
     GetInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetInstanceConfigRequest.newBuilder() to construct.
   private GetInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetInstanceConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetInstanceConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the requested instance configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<config>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,32 +63,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the requested instance configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<config>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -158,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.GetInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +159,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].
@@ -291,32 +258,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.GetInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.GetInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,14 +294,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -348,17 +315,13 @@ public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -369,39 +332,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -409,9 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -443,19 +403,17 @@ public Builder mergeFrom(
             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:
+            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) {
@@ -465,28 +423,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -495,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -564,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,13 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.GetInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.GetInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.GetInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(); } @@ -615,27 +547,27 @@ public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceConfigRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceConfigRequest 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; @@ -650,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java new file mode 100644 index 00000000000..6601b5feb26 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.instance.v1; + +public interface GetInstanceConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the requested instance configuration. Values are of
+   * the form `projects/<project>/instanceConfigs/<config>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the requested instance configuration. Values are of
+   * the form `projects/<project>/instanceConfigs/<config>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequest.java similarity index 62% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequest.java index 2181f408aab..216858d6367 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [GetInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.GetInstancePartition].
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.GetInstancePartitionRequest}
  */
-public final class GetInstancePartitionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetInstancePartitionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.GetInstancePartitionRequest)
     GetInstancePartitionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetInstancePartitionRequest.newBuilder() to construct.
   private GetInstancePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetInstancePartitionRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetInstancePartitionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.class,
-            com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the requested instance partition. Values are of
    * the form
    * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the requested instance partition. Values are of
    * the form
    * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.GetInstancePartitionRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.GetInstancePartitionRequest other = - (com.google.spanner.admin.instance.v1.GetInstancePartitionRequest) obj; + com.google.spanner.admin.instance.v1.GetInstancePartitionRequest other = (com.google.spanner.admin.instance.v1.GetInstancePartitionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,104 +161,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.GetInstancePartitionRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.GetInstancePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [GetInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.GetInstancePartition].
@@ -293,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.GetInstancePartitionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.GetInstancePartitionRequest)
       com.google.spanner.admin.instance.v1.GetInstancePartitionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.class,
-              com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,14 +296,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.GetInstancePartitionRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.GetInstancePartitionRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.getDefaultInstance();
     }
 
@@ -350,17 +317,13 @@ public com.google.spanner.admin.instance.v1.GetInstancePartitionRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.GetInstancePartitionRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.GetInstancePartitionRequest result =
-          new com.google.spanner.admin.instance.v1.GetInstancePartitionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.GetInstancePartitionRequest result = new com.google.spanner.admin.instance.v1.GetInstancePartitionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.GetInstancePartitionRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstancePartitionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -371,50 +334,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.GetInstancePartitionRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstancePartitionRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstancePartitionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.GetInstancePartitionRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.GetInstancePartitionRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.GetInstancePartitionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -446,19 +405,17 @@ public Builder mergeFrom(
             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:
+            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) {
@@ -468,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the requested instance partition. Values are of
      * the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -499,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the requested instance partition. Values are of
      * the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -525,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the requested instance partition. Values are of
      * the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the requested instance partition. Values are of
      * the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -571,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the requested instance partition. Values are of
      * the form
      * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -608,43 +540,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.GetInstancePartitionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstancePartitionRequest) - private static final com.google.spanner.admin.instance.v1.GetInstancePartitionRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.GetInstancePartitionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.GetInstancePartitionRequest(); } - public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.GetInstancePartitionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstancePartitionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstancePartitionRequest 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; @@ -656,8 +586,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.GetInstancePartitionRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.GetInstancePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequestOrBuilder.java new file mode 100644 index 00000000000..a5d67e9958d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.instance.v1; + +public interface GetInstancePartitionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstancePartitionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the requested instance partition. Values are of
+   * the form
+   * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the requested instance partition. Values are of
+   * the form
+   * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java similarity index 70% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java index 78cbfa579a2..4d62bc6be7e 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceRequest}
  */
-public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.GetInstanceRequest)
     GetInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetInstanceRequest.newBuilder() to construct.
   private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetInstanceRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.GetInstanceRequest.class, com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the requested instance. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the requested instance. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FIELD_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask fieldMask_; /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -135,7 +106,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -143,8 +113,6 @@ public boolean hasFieldMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -153,7 +121,6 @@ public boolean hasFieldMask() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ @java.lang.Override @@ -161,8 +128,6 @@ public com.google.protobuf.FieldMask getFieldMask() { return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -178,7 +143,6 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,7 +154,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  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_);
     }
@@ -210,7 +175,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getFieldMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -220,18 +186,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.instance.v1.GetInstanceRequest)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.instance.v1.GetInstanceRequest other =
-        (com.google.spanner.admin.instance.v1.GetInstanceRequest) obj;
+    com.google.spanner.admin.instance.v1.GetInstanceRequest other = (com.google.spanner.admin.instance.v1.GetInstanceRequest) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasFieldMask() != other.hasFieldMask()) return false;
     if (hasFieldMask()) {
-      if (!getFieldMask().equals(other.getFieldMask())) return false;
+      if (!getFieldMask()
+          .equals(other.getFieldMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -256,104 +223,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.instance.v1.GetInstanceRequest prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.instance.v1.GetInstanceRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
@@ -361,23 +322,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.GetInstanceRequest)
       com.google.spanner.admin.instance.v1.GetInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.GetInstanceRequest.class, com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.GetInstanceRequest.newBuilder()
@@ -385,17 +344,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getFieldMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -410,9 +369,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -431,11 +390,8 @@ public com.google.spanner.admin.instance.v1.GetInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.GetInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.GetInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.GetInstanceRequest result = new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -447,7 +403,9 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceReque
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.fieldMask_ = fieldMaskBuilder_ == null ? fieldMask_ : fieldMaskBuilder_.build();
+        result.fieldMask_ = fieldMaskBuilder_ == null
+            ? fieldMask_
+            : fieldMaskBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -457,39 +415,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.GetInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.GetInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -533,25 +489,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getFieldMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getFieldMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -561,28 +516,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the requested instance. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -591,24 +541,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the requested instance. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -616,41 +563,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the requested instance. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the requested instance. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -660,24 +596,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the requested instance. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -687,13 +617,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask fieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - fieldMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> fieldMaskBuilder_; /** - * - * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -702,15 +627,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -719,7 +641,6 @@ public boolean hasFieldMask() {
      * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -730,8 +651,6 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** - * - * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -755,8 +674,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -766,7 +683,8 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask field_mask = 2;
      */
-    public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setFieldMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (fieldMaskBuilder_ == null) {
         fieldMask_ = builderForValue.build();
       } else {
@@ -777,8 +695,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -790,9 +706,9 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
      */
     public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       if (fieldMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && fieldMask_ != null
-            && fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          fieldMask_ != null &&
+          fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getFieldMaskBuilder().mergeFrom(value);
         } else {
           fieldMask_ = value;
@@ -807,8 +723,6 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -829,8 +743,6 @@ public Builder clearFieldMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -846,8 +758,6 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
       return getFieldMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -861,12 +771,11 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
       if (fieldMaskBuilder_ != null) {
         return fieldMaskBuilder_.getMessageOrBuilder();
       } else {
-        return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
+        return fieldMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
       }
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -877,24 +786,21 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
      * .google.protobuf.FieldMask field_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getFieldMaskFieldBuilder() {
       if (fieldMaskBuilder_ == null) {
-        fieldMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getFieldMask(), getParentForChildren(), isClean());
+        fieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getFieldMask(),
+                getParentForChildren(),
+                isClean());
         fieldMask_ = null;
       }
       return fieldMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -904,12 +810,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.GetInstanceRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceRequest)
   private static final com.google.spanner.admin.instance.v1.GetInstanceRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.GetInstanceRequest();
   }
@@ -918,27 +824,27 @@ public static com.google.spanner.admin.instance.v1.GetInstanceRequest getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GetInstanceRequest 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GetInstanceRequest 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;
@@ -953,4 +859,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.instance.v1.GetInstanceRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
similarity index 66%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
index d46308742c9..b692ea256d8 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
@@ -1,63 +1,36 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.instance.v1;
 
-public interface GetInstanceRequestOrBuilder
-    extends
+public interface GetInstanceRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The name of the requested instance. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the requested instance. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -66,13 +39,10 @@ public interface GetInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return Whether the fieldMask field is set. */ boolean hasFieldMask(); /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -81,13 +51,10 @@ public interface GetInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ com.google.protobuf.FieldMask getFieldMask(); /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
similarity index 73%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
index 94d3654af77..76f5db666ef 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
@@ -20,41 +5,40 @@
 package com.google.spanner.admin.instance.v1;
 
 /**
- *
- *
  * 
  * An isolated set of Cloud Spanner resources on which databases can be hosted.
  * 
* * Protobuf type {@code google.spanner.admin.instance.v1.Instance} */ -public final class Instance extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Instance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.Instance) InstanceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Instance.newBuilder() to construct. private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Instance() { name_ = ""; config_ = ""; displayName_ = ""; state_ = 0; - endpointUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + endpointUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Instance(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -65,33 +49,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 7: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.Instance.class, - com.google.spanner.admin.instance.v1.Instance.Builder.class); + com.google.spanner.admin.instance.v1.Instance.class, com.google.spanner.admin.instance.v1.Instance.Builder.class); } /** - * - * *
    * Indicates the current state of the instance.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -100,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance is still being created. Resources may not be
      * available yet, and operations such as database creation may not
@@ -112,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The instance is fully created and ready to do work such as
      * creating databases.
@@ -126,8 +101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -136,8 +109,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance is still being created. Resources may not be
      * available yet, and operations such as database creation may not
@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is fully created and ready to do work such as
      * creating databases.
@@ -159,6 +128,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -183,49 +153,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return CREATING;
-        case 2:
-          return READY;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.spanner.admin.instance.v1.Instance.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -244,12 +214,9 @@ private State(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -258,7 +225,6 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -267,15 +233,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -284,15 +249,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -301,12 +267,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CONFIG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object config_ = ""; /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -314,10 +277,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ @java.lang.Override @@ -326,15 +286,14 @@ public java.lang.String getConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; } } /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -342,18 +301,17 @@ public java.lang.String getConfig() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ @java.lang.Override - public com.google.protobuf.ByteString getConfigBytes() { + public com.google.protobuf.ByteString + getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); config_ = b; return b; } else { @@ -362,19 +320,15 @@ public com.google.protobuf.ByteString getConfigBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -383,30 +337,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -417,8 +371,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 5; private int nodeCount_ = 0; /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message.
@@ -435,7 +387,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * int32 node_count = 5; - * * @return The nodeCount. */ @java.lang.Override @@ -446,8 +397,6 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 9; private int processingUnits_ = 0; /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message.
@@ -464,7 +413,6 @@ public int getNodeCount() {
    * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ @java.lang.Override @@ -475,8 +423,6 @@ public int getProcessingUnits() { public static final int AUTOSCALING_CONFIG_FIELD_NUMBER = 17; private com.google.spanner.admin.instance.v1.AutoscalingConfig autoscalingConfig_; /** - * - * *
    * Optional. The autoscaling configuration. Autoscaling is enabled if this
    * field is set. When autoscaling is enabled, node_count and processing_units
@@ -484,10 +430,7 @@ public int getProcessingUnits() {
    * allocated to the instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the autoscalingConfig field is set. */ @java.lang.Override @@ -495,8 +438,6 @@ public boolean hasAutoscalingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Optional. The autoscaling configuration. Autoscaling is enabled if this
    * field is set. When autoscaling is enabled, node_count and processing_units
@@ -504,21 +445,14 @@ public boolean hasAutoscalingConfig() {
    * allocated to the instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * @return The autoscalingConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig() { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } /** - * - * *
    * Optional. The autoscaling configuration. Autoscaling is enabled if this
    * field is set. When autoscaling is enabled, node_count and processing_units
@@ -526,23 +460,16 @@ public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConf
    * allocated to the instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder - getAutoscalingConfigOrBuilder() { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder() { + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -551,19 +478,13 @@ public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConf
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -572,50 +493,41 @@ public int getStateValue() {
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.Instance.State getState() { - com.google.spanner.admin.instance.v1.Instance.State result = - com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.Instance.State getState() { + com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -643,21 +555,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -689,8 +600,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -718,19 +627,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -758,11 +665,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -770,47 +677,38 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ENDPOINT_URIS_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList endpointUris_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return A list containing the endpointUris. */ - public com.google.protobuf.ProtocolStringList getEndpointUrisList() { + public com.google.protobuf.ProtocolStringList + getEndpointUrisList() { return endpointUris_; } /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return The count of endpointUris. */ public int getEndpointUrisCount() { return endpointUris_.size(); } /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the element to return. * @return The endpointUris at the given index. */ @@ -818,33 +716,27 @@ public java.lang.String getEndpointUris(int index) { return endpointUris_.get(index); } /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - public com.google.protobuf.ByteString getEndpointUrisBytes(int index) { + public com.google.protobuf.ByteString + getEndpointUrisBytes(int index) { return endpointUris_.getByteString(index); } public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -852,15 +744,11 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -868,14 +756,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -885,15 +770,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -901,15 +782,11 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -917,14 +794,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -932,7 +806,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -944,7 +817,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -957,12 +831,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (nodeCount_ != 0) { output.writeInt32(5, nodeCount_); } - if (state_ - != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); for (int i = 0; i < endpointUris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, endpointUris_.getRaw(i)); } @@ -997,21 +874,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, nodeCount_); - } - if (state_ - != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, nodeCount_); + } + if (state_ != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, labels__); } { int dataSize = 0; @@ -1022,16 +900,20 @@ public int getSerializedSize() { size += 1 * getEndpointUrisList().size(); } if (processingUnits_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, processingUnits_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, processingUnits_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getCreateTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getUpdateTime()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getAutoscalingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getAutoscalingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1041,33 +923,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.Instance)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.Instance other = - (com.google.spanner.admin.instance.v1.Instance) obj; - - if (!getName().equals(other.getName())) return false; - if (!getConfig().equals(other.getConfig())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (getNodeCount() != other.getNodeCount()) return false; - if (getProcessingUnits() != other.getProcessingUnits()) return false; + com.google.spanner.admin.instance.v1.Instance other = (com.google.spanner.admin.instance.v1.Instance) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (getNodeCount() + != other.getNodeCount()) return false; + if (getProcessingUnits() + != other.getProcessingUnits()) return false; if (hasAutoscalingConfig() != other.hasAutoscalingConfig()) return false; if (hasAutoscalingConfig()) { - if (!getAutoscalingConfig().equals(other.getAutoscalingConfig())) return false; + if (!getAutoscalingConfig() + .equals(other.getAutoscalingConfig())) return false; } if (state_ != other.state_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getEndpointUrisList().equals(other.getEndpointUrisList())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getEndpointUrisList() + .equals(other.getEndpointUrisList())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1117,117 +1008,112 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.instance.v1.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.instance.v1.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.Instance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.Instance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.Instance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.Instance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An isolated set of Cloud Spanner resources on which databases can be hosted.
    * 
* * Protobuf type {@code google.spanner.admin.instance.v1.Instance} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.Instance) com.google.spanner.admin.instance.v1.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -1237,10 +1123,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 7: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -1248,18 +1134,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 7: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.Instance.class, - com.google.spanner.admin.instance.v1.Instance.Builder.class); + com.google.spanner.admin.instance.v1.Instance.class, com.google.spanner.admin.instance.v1.Instance.Builder.class); } // Construct using com.google.spanner.admin.instance.v1.Instance.newBuilder() @@ -1267,19 +1151,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAutoscalingConfigFieldBuilder(); getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1296,7 +1180,8 @@ public Builder clear() { } state_ = 0; internalGetMutableLabels().clear(); - endpointUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + endpointUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); @@ -1311,9 +1196,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; } @java.lang.Override @@ -1332,11 +1217,8 @@ public com.google.spanner.admin.instance.v1.Instance build() { @java.lang.Override public com.google.spanner.admin.instance.v1.Instance buildPartial() { - com.google.spanner.admin.instance.v1.Instance result = - new com.google.spanner.admin.instance.v1.Instance(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.instance.v1.Instance result = new com.google.spanner.admin.instance.v1.Instance(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1360,10 +1242,9 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.Instance result) } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000020) != 0)) { - result.autoscalingConfig_ = - autoscalingConfigBuilder_ == null - ? autoscalingConfig_ - : autoscalingConfigBuilder_.build(); + result.autoscalingConfig_ = autoscalingConfigBuilder_ == null + ? autoscalingConfig_ + : autoscalingConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000040) != 0)) { @@ -1378,11 +1259,15 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.Instance result) result.endpointUris_ = endpointUris_; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -1392,39 +1277,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.Instance result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.instance.v1.Instance) { - return mergeFrom((com.google.spanner.admin.instance.v1.Instance) other); + return mergeFrom((com.google.spanner.admin.instance.v1.Instance)other); } else { super.mergeFrom(other); return this; @@ -1460,7 +1344,8 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.Instance other) { if (other.state_ != 0) { setStateValue(other.getStateValue()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000080; if (!other.endpointUris_.isEmpty()) { if (endpointUris_.isEmpty()) { @@ -1504,87 +1389,78 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - config_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 40: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - case 48: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEndpointUrisIsMutable(); - endpointUris_.add(s); - break; - } // case 66 - case 72: - { - processingUnits_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 72 - case 90: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - case 138: - { - input.readMessage( - getAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 138 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + config_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 40: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 40 + case 48: { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEndpointUrisIsMutable(); + endpointUris_.add(s); + break; + } // case 66 + case 72: { + processingUnits_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 72 + case 90: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 138: { + input.readMessage( + getAutoscalingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 138 + 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) { @@ -1594,13 +1470,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1609,13 +1482,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1624,8 +1497,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1634,14 +1505,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1649,8 +1521,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1659,22 +1529,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1683,7 +1549,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1693,8 +1558,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1703,14 +1566,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1720,8 +1581,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object config_ = ""; /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1729,16 +1588,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ public java.lang.String getConfig() { java.lang.Object ref = config_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; @@ -1747,8 +1604,6 @@ public java.lang.String getConfig() { } } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1756,17 +1611,16 @@ public java.lang.String getConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ - public com.google.protobuf.ByteString getConfigBytes() { + public com.google.protobuf.ByteString + getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); config_ = b; return b; } else { @@ -1774,8 +1628,6 @@ public com.google.protobuf.ByteString getConfigBytes() { } } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1783,25 +1635,19 @@ public com.google.protobuf.ByteString getConfigBytes() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The config to set. * @return This builder for chaining. */ - public Builder setConfig(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConfig( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } config_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1809,10 +1655,7 @@ public Builder setConfig(java.lang.String value) {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearConfig() { @@ -1822,8 +1665,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1831,17 +1672,13 @@ public Builder clearConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for config to set. * @return This builder for chaining. */ - public Builder setConfigBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConfigBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); config_ = value; bitField0_ |= 0x00000002; @@ -1851,21 +1688,19 @@ public Builder setConfigBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1874,22 +1709,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1897,37 +1731,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1937,22 +1764,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1960,10 +1783,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message.
@@ -1980,7 +1801,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 node_count = 5; - * * @return The nodeCount. */ @java.lang.Override @@ -1988,8 +1808,6 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message.
@@ -2006,7 +1824,6 @@ public int getNodeCount() {
      * 
* * int32 node_count = 5; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -2018,8 +1835,6 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message.
@@ -2036,7 +1851,6 @@ public Builder setNodeCount(int value) {
      * 
* * int32 node_count = 5; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -2046,10 +1860,8 @@ public Builder clearNodeCount() { return this; } - private int processingUnits_; + private int processingUnits_ ; /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message.
@@ -2066,7 +1878,6 @@ public Builder clearNodeCount() {
      * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ @java.lang.Override @@ -2074,8 +1885,6 @@ public int getProcessingUnits() { return processingUnits_; } /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message.
@@ -2092,7 +1901,6 @@ public int getProcessingUnits() {
      * 
* * int32 processing_units = 9; - * * @param value The processingUnits to set. * @return This builder for chaining. */ @@ -2104,8 +1912,6 @@ public Builder setProcessingUnits(int value) { return this; } /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message.
@@ -2122,7 +1928,6 @@ public Builder setProcessingUnits(int value) {
      * 
* * int32 processing_units = 9; - * * @return This builder for chaining. */ public Builder clearProcessingUnits() { @@ -2134,13 +1939,8 @@ public Builder clearProcessingUnits() { private com.google.spanner.admin.instance.v1.AutoscalingConfig autoscalingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> - autoscalingConfigBuilder_; + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> autoscalingConfigBuilder_; /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2148,18 +1948,13 @@ public Builder clearProcessingUnits() {
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2167,24 +1962,17 @@ public boolean hasAutoscalingConfig() {
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * @return The autoscalingConfig. */ public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig() { if (autoscalingConfigBuilder_ == null) { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } else { return autoscalingConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2192,12 +1980,9 @@ public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConf
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAutoscalingConfig( - com.google.spanner.admin.instance.v1.AutoscalingConfig value) { + public Builder setAutoscalingConfig(com.google.spanner.admin.instance.v1.AutoscalingConfig value) { if (autoscalingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2211,8 +1996,6 @@ public Builder setAutoscalingConfig( return this; } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2220,9 +2003,7 @@ public Builder setAutoscalingConfig(
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAutoscalingConfig( com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder builderForValue) { @@ -2236,8 +2017,6 @@ public Builder setAutoscalingConfig( return this; } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2245,17 +2024,13 @@ public Builder setAutoscalingConfig(
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeAutoscalingConfig( - com.google.spanner.admin.instance.v1.AutoscalingConfig value) { + public Builder mergeAutoscalingConfig(com.google.spanner.admin.instance.v1.AutoscalingConfig value) { if (autoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && autoscalingConfig_ != null - && autoscalingConfig_ - != com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + autoscalingConfig_ != null && + autoscalingConfig_ != com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) { getAutoscalingConfigBuilder().mergeFrom(value); } else { autoscalingConfig_ = value; @@ -2270,8 +2045,6 @@ public Builder mergeAutoscalingConfig( return this; } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2279,9 +2052,7 @@ public Builder mergeAutoscalingConfig(
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAutoscalingConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2294,8 +2065,6 @@ public Builder clearAutoscalingConfig() { return this; } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2303,19 +2072,14 @@ public Builder clearAutoscalingConfig() {
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder - getAutoscalingConfigBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder getAutoscalingConfigBuilder() { bitField0_ |= 0x00000020; onChanged(); return getAutoscalingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2323,23 +2087,17 @@ public Builder clearAutoscalingConfig() {
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder - getAutoscalingConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder() { if (autoscalingConfigBuilder_ != null) { return autoscalingConfigBuilder_.getMessageOrBuilder(); } else { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? + com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } } /** - * - * *
      * Optional. The autoscaling configuration. Autoscaling is enabled if this
      * field is set. When autoscaling is enabled, node_count and processing_units
@@ -2347,22 +2105,17 @@ public Builder clearAutoscalingConfig() {
      * allocated to the instance.
      * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> getAutoscalingConfigFieldBuilder() { if (autoscalingConfigBuilder_ == null) { - autoscalingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder>( - getAutoscalingConfig(), getParentForChildren(), isClean()); + autoscalingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder>( + getAutoscalingConfig(), + getParentForChildren(), + isClean()); autoscalingConfig_ = null; } return autoscalingConfigBuilder_; @@ -2370,8 +2123,6 @@ public Builder clearAutoscalingConfig() { private int state_ = 0; /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2380,19 +2131,13 @@ public Builder clearAutoscalingConfig() {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2401,10 +2146,7 @@ public int getStateValue() {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2415,8 +2157,6 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2425,23 +2165,15 @@ public Builder setStateValue(int value) {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance.State getState() { - com.google.spanner.admin.instance.v1.Instance.State result = - com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2450,10 +2182,7 @@ public com.google.spanner.admin.instance.v1.Instance.State getState() {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2467,8 +2196,6 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu return this; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2477,10 +2204,7 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2490,19 +2214,21 @@ public Builder clearState() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2511,13 +2237,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2545,21 +2268,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2591,8 +2313,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2620,19 +2340,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2660,25 +2378,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000080);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2705,22 +2421,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000080;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2747,20 +2464,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 7;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000080;
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2787,15 +2501,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 7;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000080;
       return this;
     }
 
     private com.google.protobuf.LazyStringArrayList endpointUris_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureEndpointUrisIsMutable() {
       if (!endpointUris_.isModifiable()) {
         endpointUris_ = new com.google.protobuf.LazyStringArrayList(endpointUris_);
@@ -2803,43 +2518,35 @@ private void ensureEndpointUrisIsMutable() {
       bitField0_ |= 0x00000100;
     }
     /**
-     *
-     *
      * 
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @return A list containing the endpointUris. */ - public com.google.protobuf.ProtocolStringList getEndpointUrisList() { + public com.google.protobuf.ProtocolStringList + getEndpointUrisList() { endpointUris_.makeImmutable(); return endpointUris_; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @return The count of endpointUris. */ public int getEndpointUrisCount() { return endpointUris_.size(); } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the element to return. * @return The endpointUris at the given index. */ @@ -2847,37 +2554,31 @@ public java.lang.String getEndpointUris(int index) { return endpointUris_.get(index); } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - public com.google.protobuf.ByteString getEndpointUrisBytes(int index) { + public com.google.protobuf.ByteString + getEndpointUrisBytes(int index) { return endpointUris_.getByteString(index); } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param index The index to set the value at. * @param value The endpointUris to set. * @return This builder for chaining. */ - public Builder setEndpointUris(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpointUris( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEndpointUrisIsMutable(); endpointUris_.set(index, value); bitField0_ |= 0x00000100; @@ -2885,21 +2586,17 @@ public Builder setEndpointUris(int index, java.lang.String value) { return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param value The endpointUris to add. * @return This builder for chaining. */ - public Builder addEndpointUris(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEndpointUris( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEndpointUrisIsMutable(); endpointUris_.add(value); bitField0_ |= 0x00000100; @@ -2907,58 +2604,50 @@ public Builder addEndpointUris(java.lang.String value) { return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param values The endpointUris to add. * @return This builder for chaining. */ - public Builder addAllEndpointUris(java.lang.Iterable values) { + public Builder addAllEndpointUris( + java.lang.Iterable values) { ensureEndpointUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, endpointUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, endpointUris_); bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @return This builder for chaining. */ public Builder clearEndpointUris() { - endpointUris_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); - ; + endpointUris_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param value The bytes of the endpointUris to add. * @return This builder for chaining. */ - public Builder addEndpointUrisBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEndpointUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEndpointUrisIsMutable(); endpointUris_.add(value); @@ -2969,58 +2658,39 @@ public Builder addEndpointUrisBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3036,17 +2706,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3057,21 +2724,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3086,15 +2749,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3107,15 +2766,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3123,48 +2778,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3172,58 +2815,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3239,17 +2863,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3260,21 +2881,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3289,15 +2906,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3310,15 +2923,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000400; @@ -3326,55 +2935,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3384,12 +2981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.Instance) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.Instance) private static final com.google.spanner.admin.instance.v1.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.Instance(); } @@ -3398,27 +2995,27 @@ public static com.google.spanner.admin.instance.v1.Instance getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance 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; @@ -3433,4 +3030,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java similarity index 74% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java index 83b55e315a9..cedc7443e1c 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * A possible configuration for a Cloud Spanner instance. Configurations
  * define the geographic placement of nodes and their replication.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.InstanceConfig}
  */
-public final class InstanceConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InstanceConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.InstanceConfig)
     InstanceConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InstanceConfig.newBuilder() to construct.
   private InstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InstanceConfig() {
     name_ = "";
     displayName_ = "";
@@ -47,19 +29,21 @@ private InstanceConfig() {
     optionalReplicas_ = java.util.Collections.emptyList();
     baseConfig_ = "";
     etag_ = "";
-    leaderOptions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    leaderOptions_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     state_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InstanceConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -70,33 +54,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 8:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.InstanceConfig.class,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
+            com.google.spanner.admin.instance.v1.InstanceConfig.class, com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of this configuration.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.InstanceConfig.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -105,8 +84,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Google managed configuration.
      * 
@@ -115,8 +92,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_MANAGED(1), /** - * - * *
      * User managed configuration.
      * 
@@ -128,8 +103,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -138,8 +111,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Google managed configuration.
      * 
@@ -148,8 +119,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_MANAGED_VALUE = 1; /** - * - * *
      * User managed configuration.
      * 
@@ -158,6 +127,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_MANAGED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -182,51 +152,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return GOOGLE_MANAGED; - case 2: - return USER_MANAGED; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return GOOGLE_MANAGED; + case 2: return USER_MANAGED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -244,18 +212,15 @@ private Type(int value) { } /** - * - * *
    * Indicates the current state of the instance config.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.InstanceConfig.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -264,8 +229,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance config is still being created.
      * 
@@ -274,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * The instance config is fully created and ready to be used to create
      * instances.
@@ -288,8 +249,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -298,8 +257,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance config is still being created.
      * 
@@ -308,8 +265,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * The instance config is fully created and ready to be used to create
      * instances.
@@ -319,6 +274,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -343,51 +299,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return CREATING;
-        case 2:
-          return READY;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -405,12 +359,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -418,7 +369,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -427,15 +377,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -443,15 +392,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -460,18 +410,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -480,29 +426,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -513,53 +459,35 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CONFIG_TYPE_FIELD_NUMBER = 5; private int configType_ = 0; /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for configType. */ - @java.lang.Override - public int getConfigTypeValue() { + @java.lang.Override public int getConfigTypeValue() { return configType_; } /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The configType. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = - com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { + com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED : result; } public static final int REPLICAS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List replicas_; /** - * - * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -572,8 +500,6 @@ public java.util.List getRepli
     return replicas_;
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -582,13 +508,11 @@ public java.util.List getRepli
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getReplicasOrBuilderList() {
     return replicas_;
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -601,8 +525,6 @@ public int getReplicasCount() {
     return replicas_.size();
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -615,8 +537,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
     return replicas_.get(index);
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -625,91 +545,70 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
   @java.lang.Override
-  public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index) {
+  public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
+      int index) {
     return replicas_.get(index);
   }
 
   public static final int OPTIONAL_REPLICAS_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private java.util.List optionalReplicas_;
   /**
-   *
-   *
    * 
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getOptionalReplicasList() { + public java.util.List getOptionalReplicasList() { return optionalReplicas_; } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getOptionalReplicasOrBuilderList() { return optionalReplicas_; } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getOptionalReplicasCount() { return optionalReplicas_.size(); } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index) { return optionalReplicas_.get(index); } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( @@ -718,12 +617,9 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl } public static final int BASE_CONFIG_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object baseConfig_ = ""; /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -732,7 +628,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The baseConfig. */ @java.lang.Override @@ -741,15 +636,14 @@ public java.lang.String getBaseConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfig_ = s; return s; } } /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -758,15 +652,16 @@ public java.lang.String getBaseConfig() {
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseConfig. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseConfigBytes() { + public com.google.protobuf.ByteString + getBaseConfigBytes() { java.lang.Object ref = baseConfig_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseConfig_ = b; return b; } else { @@ -775,34 +670,32 @@ public com.google.protobuf.ByteString getBaseConfigBytes() { } public static final int LABELS_FIELD_NUMBER = 8; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -830,21 +723,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -876,8 +768,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -905,19 +795,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -945,11 +833,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -957,12 +845,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ETAG_FIELD_NUMBER = 9;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object etag_ = "";
   /**
-   *
-   *
    * 
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -977,7 +862,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * string etag = 9; - * * @return The etag. */ @java.lang.Override @@ -986,15 +870,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -1009,15 +892,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 9; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1026,50 +910,41 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int LEADER_OPTIONS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList leaderOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return A list containing the leaderOptions. */ - public com.google.protobuf.ProtocolStringList getLeaderOptionsList() { + public com.google.protobuf.ProtocolStringList + getLeaderOptionsList() { return leaderOptions_; } /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return The count of leaderOptions. */ public int getLeaderOptionsCount() { return leaderOptions_.size(); } /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ @@ -1077,34 +952,29 @@ public java.lang.String getLeaderOptions(int index) { return leaderOptions_.get(index); } /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - public com.google.protobuf.ByteString getLeaderOptionsBytes(int index) { + public com.google.protobuf.ByteString + getLeaderOptionsBytes(int index) { return leaderOptions_.getByteString(index); } public static final int RECONCILING_FIELD_NUMBER = 10; private boolean reconciling_ = false; /** - * - * *
    * Output only. If true, the instance config is being created or updated. If
    * false, there are no ongoing operations for the instance config.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1115,46 +985,30 @@ public boolean getReconciling() { public static final int STATE_FIELD_NUMBER = 11; private int state_ = 0; /** - * - * *
    * Output only. The current instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { - com.google.spanner.admin.instance.v1.InstanceConfig.State result = - com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { + com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1166,7 +1020,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -1179,8 +1034,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < leaderOptions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, leaderOptions_.getRaw(i)); } - if (configType_ - != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { + if (configType_ != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, configType_); } for (int i = 0; i < optionalReplicas_.size(); i++) { @@ -1189,17 +1043,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseConfig_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, baseConfig_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, etag_); } if (reconciling_ != false) { output.writeBool(10, reconciling_); } - if (state_ - != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(11, state_); } getUnknownFields().writeTo(output); @@ -1218,7 +1074,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } for (int i = 0; i < replicas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, replicas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, replicas_.get(i)); } { int dataSize = 0; @@ -1228,36 +1085,37 @@ public int getSerializedSize() { size += dataSize; size += 1 * getLeaderOptionsList().size(); } - if (configType_ - != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, configType_); + if (configType_ != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, configType_); } for (int i = 0; i < optionalReplicas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, optionalReplicas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, optionalReplicas_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseConfig_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, baseConfig_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, etag_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, reconciling_); } - if (state_ - != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, state_); + if (state_ != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1267,24 +1125,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.InstanceConfig)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.InstanceConfig other = - (com.google.spanner.admin.instance.v1.InstanceConfig) obj; + com.google.spanner.admin.instance.v1.InstanceConfig other = (com.google.spanner.admin.instance.v1.InstanceConfig) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (configType_ != other.configType_) return false; - if (!getReplicasList().equals(other.getReplicasList())) return false; - if (!getOptionalReplicasList().equals(other.getOptionalReplicasList())) return false; - if (!getBaseConfig().equals(other.getBaseConfig())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getLeaderOptionsList().equals(other.getLeaderOptionsList())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getReplicasList() + .equals(other.getReplicasList())) return false; + if (!getOptionalReplicasList() + .equals(other.getOptionalReplicasList())) return false; + if (!getBaseConfig() + .equals(other.getBaseConfig())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!getLeaderOptionsList() + .equals(other.getLeaderOptionsList())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1324,7 +1190,8 @@ public int hashCode() { hash = (53 * hash) + getLeaderOptionsList().hashCode(); } hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -1333,103 +1200,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.InstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A possible configuration for a Cloud Spanner instance. Configurations
    * define the geographic placement of nodes and their replication.
@@ -1437,13 +1299,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.InstanceConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.InstanceConfig)
       com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -1453,10 +1315,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 8:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -1464,27 +1326,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 8:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.InstanceConfig.class,
-              com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
+              com.google.spanner.admin.instance.v1.InstanceConfig.class, com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1509,16 +1372,17 @@ public Builder clear() {
       baseConfig_ = "";
       internalGetMutableLabels().clear();
       etag_ = "";
-      leaderOptions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      leaderOptions_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       reconciling_ = false;
       state_ = 0;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1537,18 +1401,14 @@ public com.google.spanner.admin.instance.v1.InstanceConfig build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.InstanceConfig buildPartial() {
-      com.google.spanner.admin.instance.v1.InstanceConfig result =
-          new com.google.spanner.admin.instance.v1.InstanceConfig(this);
+      com.google.spanner.admin.instance.v1.InstanceConfig result = new com.google.spanner.admin.instance.v1.InstanceConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.InstanceConfig result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.InstanceConfig result) {
       if (replicasBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           replicas_ = java.util.Collections.unmodifiableList(replicas_);
@@ -1606,39 +1466,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.InstanceConfig r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.InstanceConfig) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.InstanceConfig) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.InstanceConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1646,8 +1505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig other) {
-      if (other == com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1679,10 +1537,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             replicasBuilder_ = null;
             replicas_ = other.replicas_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            replicasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getReplicasFieldBuilder()
-                    : null;
+            replicasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getReplicasFieldBuilder() : null;
           } else {
             replicasBuilder_.addAllMessages(other.replicas_);
           }
@@ -1706,10 +1563,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             optionalReplicasBuilder_ = null;
             optionalReplicas_ = other.optionalReplicas_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            optionalReplicasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOptionalReplicasFieldBuilder()
-                    : null;
+            optionalReplicasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOptionalReplicasFieldBuilder() : null;
           } else {
             optionalReplicasBuilder_.addAllMessages(other.optionalReplicas_);
           }
@@ -1720,7 +1576,8 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
@@ -1769,102 +1626,88 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.spanner.admin.instance.v1.ReplicaInfo m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
-                        extensionRegistry);
-                if (replicasBuilder_ == null) {
-                  ensureReplicasIsMutable();
-                  replicas_.add(m);
-                } else {
-                  replicasBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLeaderOptionsIsMutable();
-                leaderOptions_.add(s);
-                break;
-              } // case 34
-            case 40:
-              {
-                configType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 40
-            case 50:
-              {
-                com.google.spanner.admin.instance.v1.ReplicaInfo m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
-                        extensionRegistry);
-                if (optionalReplicasBuilder_ == null) {
-                  ensureOptionalReplicasIsMutable();
-                  optionalReplicas_.add(m);
-                } else {
-                  optionalReplicasBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            case 58:
-              {
-                baseConfig_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 66:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 66
-            case 74:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 74
-            case 80:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 80
-            case 88:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 88
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.spanner.admin.instance.v1.ReplicaInfo m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
+                      extensionRegistry);
+              if (replicasBuilder_ == null) {
+                ensureReplicasIsMutable();
+                replicas_.add(m);
+              } else {
+                replicasBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureLeaderOptionsIsMutable();
+              leaderOptions_.add(s);
+              break;
+            } // case 34
+            case 40: {
+              configType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 40
+            case 50: {
+              com.google.spanner.admin.instance.v1.ReplicaInfo m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
+                      extensionRegistry);
+              if (optionalReplicasBuilder_ == null) {
+                ensureOptionalReplicasIsMutable();
+                optionalReplicas_.add(m);
+              } else {
+                optionalReplicasBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            case 58: {
+              baseConfig_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 66: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 66
+            case 74: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 74
+            case 80: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 80
+            case 88: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 88
+            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) {
@@ -1874,13 +1717,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1888,13 +1728,13 @@ public Builder mergeFrom(
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1903,8 +1743,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1912,14 +1750,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1927,8 +1766,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1936,22 +1773,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1959,7 +1792,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1969,8 +1801,6 @@ public Builder clearName() { return this; } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1978,14 +1808,12 @@ public Builder clearName() {
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1995,20 +1823,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2017,21 +1843,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2039,35 +1864,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2077,21 +1895,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -2101,35 +1915,24 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int configType_ = 0; /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for configType. */ - @java.lang.Override - public int getConfigTypeValue() { + @java.lang.Override public int getConfigTypeValue() { return configType_; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for configType to set. * @return This builder for chaining. */ @@ -2140,39 +1943,26 @@ public Builder setConfigTypeValue(int value) { return this; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The configType. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = - com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The configType to set. * @return This builder for chaining. */ @@ -2186,17 +1976,12 @@ public Builder setConfigType(com.google.spanner.admin.instance.v1.InstanceConfig return this; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConfigType() { @@ -2207,25 +1992,18 @@ public Builder clearConfigType() { } private java.util.List replicas_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReplicasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - replicas_ = - new java.util.ArrayList(replicas_); + replicas_ = new java.util.ArrayList(replicas_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> - replicasBuilder_; + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> replicasBuilder_; /** - * - * *
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2241,8 +2019,6 @@ public java.util.List getRepli
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2258,8 +2034,6 @@ public int getReplicasCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2275,8 +2049,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2284,7 +2056,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public Builder setReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
+    public Builder setReplicas(
+        int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
       if (replicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2298,8 +2071,6 @@ public Builder setReplicas(int index, com.google.spanner.admin.instance.v1.Repli
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2319,8 +2090,6 @@ public Builder setReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2342,8 +2111,6 @@ public Builder addReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2351,7 +2118,8 @@ public Builder addReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo valu
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public Builder addReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
+    public Builder addReplicas(
+        int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
       if (replicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2365,8 +2133,6 @@ public Builder addReplicas(int index, com.google.spanner.admin.instance.v1.Repli
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2386,8 +2152,6 @@ public Builder addReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2407,8 +2171,6 @@ public Builder addReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2420,7 +2182,8 @@ public Builder addAllReplicas(
         java.lang.Iterable values) {
       if (replicasBuilder_ == null) {
         ensureReplicasIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicas_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, replicas_);
         onChanged();
       } else {
         replicasBuilder_.addAllMessages(values);
@@ -2428,8 +2191,6 @@ public Builder addAllReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2448,8 +2209,6 @@ public Builder clearReplicas() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2468,8 +2227,6 @@ public Builder removeReplicas(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2477,12 +2234,11 @@ public Builder removeReplicas(int index) {
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder(int index) {
+    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder(
+        int index) {
       return getReplicasFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2493,14 +2249,11 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuild
     public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
         int index) {
       if (replicasBuilder_ == null) {
-        return replicas_.get(index);
-      } else {
+        return replicas_.get(index);  } else {
         return replicasBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2508,8 +2261,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public java.util.List
-        getReplicasOrBuilderList() {
+    public java.util.List 
+         getReplicasOrBuilderList() {
       if (replicasBuilder_ != null) {
         return replicasBuilder_.getMessageOrBuilderList();
       } else {
@@ -2517,8 +2270,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2527,12 +2278,10 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
     public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder() {
-      return getReplicasFieldBuilder()
-          .addBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
+      return getReplicasFieldBuilder().addBuilder(
+          com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2540,13 +2289,12 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuild
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder(int index) {
-      return getReplicasFieldBuilder()
-          .addBuilder(index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
+    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder(
+        int index) {
+      return getReplicasFieldBuilder().addBuilder(
+          index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2554,60 +2302,46 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuild
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public java.util.List
-        getReplicasBuilderList() {
+    public java.util.List 
+         getReplicasBuilderList() {
       return getReplicasFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.ReplicaInfo,
-            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
-            com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>
+        com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> 
         getReplicasFieldBuilder() {
       if (replicasBuilder_ == null) {
-        replicasBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.admin.instance.v1.ReplicaInfo,
-                com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
-                com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>(
-                replicas_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        replicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>(
+                replicas_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         replicas_ = null;
       }
       return replicasBuilder_;
     }
 
     private java.util.List optionalReplicas_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOptionalReplicasIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        optionalReplicas_ =
-            new java.util.ArrayList(
-                optionalReplicas_);
+        optionalReplicas_ = new java.util.ArrayList(optionalReplicas_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.ReplicaInfo,
-            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
-            com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>
-        optionalReplicasBuilder_;
+        com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> optionalReplicasBuilder_;
 
     /**
-     *
-     *
      * 
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getOptionalReplicasList() { + public java.util.List getOptionalReplicasList() { if (optionalReplicasBuilder_ == null) { return java.util.Collections.unmodifiableList(optionalReplicas_); } else { @@ -2615,16 +2349,12 @@ private void ensureOptionalReplicasIsMutable() { } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getOptionalReplicasCount() { if (optionalReplicasBuilder_ == null) { @@ -2634,16 +2364,12 @@ public int getOptionalReplicasCount() { } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index) { if (optionalReplicasBuilder_ == null) { @@ -2653,16 +2379,12 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { @@ -2679,16 +2401,12 @@ public Builder setOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2702,16 +2420,12 @@ public Builder setOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo value) { if (optionalReplicasBuilder_ == null) { @@ -2727,16 +2441,12 @@ public Builder addOptionalReplicas(com.google.spanner.admin.instance.v1.ReplicaI return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { @@ -2753,16 +2463,12 @@ public Builder addOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas( com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2776,16 +2482,12 @@ public Builder addOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2799,22 +2501,19 @@ public Builder addOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllOptionalReplicas( java.lang.Iterable values) { if (optionalReplicasBuilder_ == null) { ensureOptionalReplicasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, optionalReplicas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, optionalReplicas_); onChanged(); } else { optionalReplicasBuilder_.addAllMessages(values); @@ -2822,16 +2521,12 @@ public Builder addAllOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOptionalReplicas() { if (optionalReplicasBuilder_ == null) { @@ -2844,16 +2539,12 @@ public Builder clearOptionalReplicas() { return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeOptionalReplicas(int index) { if (optionalReplicasBuilder_ == null) { @@ -2866,55 +2557,42 @@ public Builder removeOptionalReplicas(int index) { return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getOptionalReplicasBuilder( int index) { return getOptionalReplicasFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( int index) { if (optionalReplicasBuilder_ == null) { - return optionalReplicas_.get(index); - } else { + return optionalReplicas_.get(index); } else { return optionalReplicasBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getOptionalReplicasOrBuilderList() { + public java.util.List + getOptionalReplicasOrBuilderList() { if (optionalReplicasBuilder_ != null) { return optionalReplicasBuilder_.getMessageOrBuilderList(); } else { @@ -2922,66 +2600,48 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalReplicasBuilder() { - return getOptionalReplicasFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + return getOptionalReplicasFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalReplicasBuilder( int index) { - return getOptionalReplicasFieldBuilder() - .addBuilder(index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + return getOptionalReplicasFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getOptionalReplicasBuilderList() { + public java.util.List + getOptionalReplicasBuilderList() { return getOptionalReplicasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> getOptionalReplicasFieldBuilder() { if (optionalReplicasBuilder_ == null) { - optionalReplicasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( + optionalReplicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( optionalReplicas_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -2993,8 +2653,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalRepli private java.lang.Object baseConfig_ = ""; /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3003,13 +2661,13 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalRepli
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The baseConfig. */ public java.lang.String getBaseConfig() { java.lang.Object ref = baseConfig_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfig_ = s; return s; @@ -3018,8 +2676,6 @@ public java.lang.String getBaseConfig() { } } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3028,14 +2684,15 @@ public java.lang.String getBaseConfig() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseConfig. */ - public com.google.protobuf.ByteString getBaseConfigBytes() { + public com.google.protobuf.ByteString + getBaseConfigBytes() { java.lang.Object ref = baseConfig_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseConfig_ = b; return b; } else { @@ -3043,8 +2700,6 @@ public com.google.protobuf.ByteString getBaseConfigBytes() { } } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3053,22 +2708,18 @@ public com.google.protobuf.ByteString getBaseConfigBytes() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @param value The baseConfig to set. * @return This builder for chaining. */ - public Builder setBaseConfig(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseConfig( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } baseConfig_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3077,7 +2728,6 @@ public Builder setBaseConfig(java.lang.String value) {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBaseConfig() { @@ -3087,8 +2737,6 @@ public Builder clearBaseConfig() { return this; } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3097,14 +2745,12 @@ public Builder clearBaseConfig() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for baseConfig to set. * @return This builder for chaining. */ - public Builder setBaseConfigBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseConfigBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); baseConfig_ = value; bitField0_ |= 0x00000020; @@ -3112,19 +2758,21 @@ public Builder setBaseConfigBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3133,13 +2781,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3167,21 +2812,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3213,8 +2857,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3242,19 +2884,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3282,25 +2922,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000040);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3327,22 +2965,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3369,20 +3008,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 8;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000040;
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3409,16 +3045,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 8;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000040;
       return this;
     }
 
     private java.lang.Object etag_ = "";
     /**
-     *
-     *
      * 
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3433,13 +3069,13 @@ public Builder putAllLabels(java.util.Map va
      * 
* * string etag = 9; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3448,8 +3084,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3464,14 +3098,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 9; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -3479,8 +3114,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3495,22 +3128,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 9; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3525,7 +3154,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 9; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3535,8 +3163,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3551,14 +3177,12 @@ public Builder clearEtag() {
      * 
* * string etag = 9; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000080; @@ -3568,7 +3192,6 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList leaderOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureLeaderOptionsIsMutable() { if (!leaderOptions_.isModifiable()) { leaderOptions_ = new com.google.protobuf.LazyStringArrayList(leaderOptions_); @@ -3576,46 +3199,38 @@ private void ensureLeaderOptionsIsMutable() { bitField0_ |= 0x00000100; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @return A list containing the leaderOptions. */ - public com.google.protobuf.ProtocolStringList getLeaderOptionsList() { + public com.google.protobuf.ProtocolStringList + getLeaderOptionsList() { leaderOptions_.makeImmutable(); return leaderOptions_; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @return The count of leaderOptions. */ public int getLeaderOptionsCount() { return leaderOptions_.size(); } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ @@ -3623,39 +3238,33 @@ public java.lang.String getLeaderOptions(int index) { return leaderOptions_.get(index); } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - public com.google.protobuf.ByteString getLeaderOptionsBytes(int index) { + public com.google.protobuf.ByteString + getLeaderOptionsBytes(int index) { return leaderOptions_.getByteString(index); } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param index The index to set the value at. * @param value The leaderOptions to set. * @return This builder for chaining. */ - public Builder setLeaderOptions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLeaderOptions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLeaderOptionsIsMutable(); leaderOptions_.set(index, value); bitField0_ |= 0x00000100; @@ -3663,22 +3272,18 @@ public Builder setLeaderOptions(int index, java.lang.String value) { return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param value The leaderOptions to add. * @return This builder for chaining. */ - public Builder addLeaderOptions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLeaderOptions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); bitField0_ |= 0x00000100; @@ -3686,61 +3291,53 @@ public Builder addLeaderOptions(java.lang.String value) { return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param values The leaderOptions to add. * @return This builder for chaining. */ - public Builder addAllLeaderOptions(java.lang.Iterable values) { + public Builder addAllLeaderOptions( + java.lang.Iterable values) { ensureLeaderOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, leaderOptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, leaderOptions_); bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @return This builder for chaining. */ public Builder clearLeaderOptions() { - leaderOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); - ; + leaderOptions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param value The bytes of the leaderOptions to add. * @return This builder for chaining. */ - public Builder addLeaderOptionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLeaderOptionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); @@ -3749,17 +3346,14 @@ public Builder addLeaderOptionsBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -3767,15 +3361,12 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -3787,15 +3378,12 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3807,33 +3395,22 @@ public Builder clearReconciling() { private int state_ = 0; /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3844,37 +3421,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { - com.google.spanner.admin.instance.v1.InstanceConfig.State result = - com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3888,16 +3452,11 @@ public Builder setState(com.google.spanner.admin.instance.v1.InstanceConfig.Stat return this; } /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -3906,9 +3465,9 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3918,12 +3477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.InstanceConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.InstanceConfig) private static final com.google.spanner.admin.instance.v1.InstanceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.InstanceConfig(); } @@ -3932,27 +3491,27 @@ public static com.google.spanner.admin.instance.v1.InstanceConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceConfig 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceConfig 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; @@ -3967,4 +3526,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.InstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java similarity index 100% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java index b7f4c4cf5a3..70755996964 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface InstanceConfigOrBuilder - extends +public interface InstanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.InstanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -34,13 +16,10 @@ public interface InstanceConfigOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -48,70 +27,53 @@ public interface InstanceConfigOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for configType. */ int getConfigTypeValue(); /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The configType. */ com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType(); /** - * - * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -119,10 +81,9 @@ public interface InstanceConfigOrBuilder
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  java.util.List getReplicasList();
+  java.util.List 
+      getReplicasList();
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -132,8 +93,6 @@ public interface InstanceConfigOrBuilder
    */
   com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index);
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -143,8 +102,6 @@ public interface InstanceConfigOrBuilder
    */
   int getReplicasCount();
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -152,11 +109,9 @@ public interface InstanceConfigOrBuilder
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  java.util.List
+  java.util.List 
       getReplicasOrBuilderList();
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -164,78 +119,59 @@ public interface InstanceConfigOrBuilder
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index);
+  com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getOptionalReplicasList(); + java.util.List + getOptionalReplicasList(); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getOptionalReplicasCount(); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getOptionalReplicasOrBuilderList(); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder(int index); + com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( + int index); /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -244,13 +180,10 @@ public interface InstanceConfigOrBuilder
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The baseConfig. */ java.lang.String getBaseConfig(); /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -259,14 +192,12 @@ public interface InstanceConfigOrBuilder
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseConfig. */ - com.google.protobuf.ByteString getBaseConfigBytes(); + com.google.protobuf.ByteString + getBaseConfigBytes(); /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -295,8 +226,6 @@ public interface InstanceConfigOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -323,13 +252,15 @@ public interface InstanceConfigOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -356,10 +287,9 @@ public interface InstanceConfigOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -387,13 +317,11 @@ public interface InstanceConfigOrBuilder
    * map<string, string> labels = 8;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -420,11 +348,10 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 8;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -439,13 +366,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 9; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -460,105 +384,82 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 9; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return A list containing the leaderOptions. */ - java.util.List getLeaderOptionsList(); + java.util.List + getLeaderOptionsList(); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return The count of leaderOptions. */ int getLeaderOptionsCount(); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ java.lang.String getLeaderOptions(int index); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - com.google.protobuf.ByteString getLeaderOptionsBytes(int index); + com.google.protobuf.ByteString + getLeaderOptionsBytes(int index); /** - * - * *
    * Output only. If true, the instance config is being created or updated. If
    * false, there are no ongoing operations for the instance config.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The current instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.instance.v1.InstanceConfig.State getState(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java similarity index 100% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java similarity index 84% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java index 3db4ec97076..79d320b6d3e 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -35,13 +17,10 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -50,14 +29,12 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -65,16 +42,11 @@ public interface InstanceOrBuilder
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ java.lang.String getConfig(); /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -82,44 +54,35 @@ public interface InstanceOrBuilder
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ - com.google.protobuf.ByteString getConfigBytes(); + com.google.protobuf.ByteString + getConfigBytes(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message.
@@ -136,14 +99,11 @@ public interface InstanceOrBuilder
    * 
* * int32 node_count = 5; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message.
@@ -160,14 +120,11 @@ public interface InstanceOrBuilder
    * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ int getProcessingUnits(); /** - * - * *
    * Optional. The autoscaling configuration. Autoscaling is enabled if this
    * field is set. When autoscaling is enabled, node_count and processing_units
@@ -175,16 +132,11 @@ public interface InstanceOrBuilder
    * allocated to the instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the autoscalingConfig field is set. */ boolean hasAutoscalingConfig(); /** - * - * *
    * Optional. The autoscaling configuration. Autoscaling is enabled if this
    * field is set. When autoscaling is enabled, node_count and processing_units
@@ -192,16 +144,11 @@ public interface InstanceOrBuilder
    * allocated to the instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; * @return The autoscalingConfig. */ com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig(); /** - * - * *
    * Optional. The autoscaling configuration. Autoscaling is enabled if this
    * field is set. When autoscaling is enabled, node_count and processing_units
@@ -209,15 +156,11 @@ public interface InstanceOrBuilder
    * allocated to the instance.
    * 
* - * - * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder(); /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -226,16 +169,11 @@ public interface InstanceOrBuilder
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -244,17 +182,12 @@ public interface InstanceOrBuilder
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.instance.v1.Instance.State getState(); /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -283,8 +216,6 @@ public interface InstanceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -311,13 +242,15 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -344,10 +277,9 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -375,13 +307,11 @@ public interface InstanceOrBuilder
    * map<string, string> labels = 7;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -408,132 +338,101 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return A list containing the endpointUris. */ - java.util.List getEndpointUrisList(); + java.util.List + getEndpointUrisList(); /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return The count of endpointUris. */ int getEndpointUrisCount(); /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the element to return. * @return The endpointUris at the given index. */ java.lang.String getEndpointUris(int index); /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - com.google.protobuf.ByteString getEndpointUrisBytes(int index); + com.google.protobuf.ByteString + getEndpointUrisBytes(int index); /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartition.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartition.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartition.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartition.java index b4ca244120f..eb730436c4d 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartition.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartition.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * An isolated set of Cloud Spanner resources that databases can define
  * placements on.
@@ -29,60 +12,57 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.InstancePartition}
  */
-public final class InstancePartition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InstancePartition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.InstancePartition)
     InstancePartitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InstancePartition.newBuilder() to construct.
   private InstancePartition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InstancePartition() {
     name_ = "";
     config_ = "";
     displayName_ = "";
     state_ = 0;
-    referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList();
-    referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    referencingDatabases_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+    referencingBackups_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     etag_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InstancePartition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.InstancePartition.class,
-            com.google.spanner.admin.instance.v1.InstancePartition.Builder.class);
+            com.google.spanner.admin.instance.v1.InstancePartition.class, com.google.spanner.admin.instance.v1.InstancePartition.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Indicates the current state of the instance partition.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.InstancePartition.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -91,8 +71,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance partition is still being created. Resources may not be
      * available yet, and operations such as creating placements using this
@@ -103,8 +81,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The instance partition is fully created and ready to do work such as
      * creating placements and using in databases.
@@ -117,8 +93,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -127,8 +101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance partition is still being created. Resources may not be
      * available yet, and operations such as creating placements using this
@@ -139,8 +111,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance partition is fully created and ready to do work such as
      * creating placements and using in databases.
@@ -150,6 +120,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -174,51 +145,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return CREATING;
-        case 2:
-          return READY;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.InstancePartition.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.InstancePartition.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -237,19 +206,15 @@ private State(int value) {
 
   private int bitField0_;
   private int computeCapacityCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object computeCapacity_;
-
   public enum ComputeCapacityCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     NODE_COUNT(5),
     PROCESSING_UNITS(6),
     COMPUTECAPACITY_NOT_SET(0);
     private final int value;
-
     private ComputeCapacityCase(int value) {
       this.value = value;
     }
@@ -265,33 +230,27 @@ public static ComputeCapacityCase valueOf(int value) {
 
     public static ComputeCapacityCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return NODE_COUNT;
-        case 6:
-          return PROCESSING_UNITS;
-        case 0:
-          return COMPUTECAPACITY_NOT_SET;
-        default:
-          return null;
+        case 5: return NODE_COUNT;
+        case 6: return PROCESSING_UNITS;
+        case 0: return COMPUTECAPACITY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ComputeCapacityCase getComputeCapacityCase() {
-    return ComputeCapacityCase.forNumber(computeCapacityCase_);
+  public ComputeCapacityCase
+  getComputeCapacityCase() {
+    return ComputeCapacityCase.forNumber(
+        computeCapacityCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. A unique identifier for the instance partition. Values are of the
    * form
@@ -302,7 +261,6 @@ public ComputeCapacityCase getComputeCapacityCase() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -311,15 +269,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A unique identifier for the instance partition. Values are of the
    * form
@@ -330,15 +287,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -347,12 +305,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CONFIG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object config_ = ""; /** - * - * *
    * Required. The name of the instance partition's configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -360,10 +315,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ @java.lang.Override @@ -372,15 +324,14 @@ public java.lang.String getConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; } } /** - * - * *
    * Required. The name of the instance partition's configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -388,18 +339,17 @@ public java.lang.String getConfig() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ @java.lang.Override - public com.google.protobuf.ByteString getConfigBytes() { + public com.google.protobuf.ByteString + getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); config_ = b; return b; } else { @@ -408,19 +358,15 @@ public com.google.protobuf.ByteString getConfigBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. The descriptive name for this instance partition as it appears in
    * UIs. Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -429,30 +375,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The descriptive name for this instance partition as it appears in
    * UIs. Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -462,8 +408,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 5; /** - * - * *
    * The number of nodes allocated to this instance partition.
    *
@@ -475,7 +419,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * int32 node_count = 5; - * * @return Whether the nodeCount field is set. */ @java.lang.Override @@ -483,8 +426,6 @@ public boolean hasNodeCount() { return computeCapacityCase_ == 5; } /** - * - * *
    * The number of nodes allocated to this instance partition.
    *
@@ -496,7 +437,6 @@ public boolean hasNodeCount() {
    * 
* * int32 node_count = 5; - * * @return The nodeCount. */ @java.lang.Override @@ -509,8 +449,6 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 6; /** - * - * *
    * The number of processing units allocated to this instance partition.
    *
@@ -522,7 +460,6 @@ public int getNodeCount() {
    * 
* * int32 processing_units = 6; - * * @return Whether the processingUnits field is set. */ @java.lang.Override @@ -530,8 +467,6 @@ public boolean hasProcessingUnits() { return computeCapacityCase_ == 6; } /** - * - * *
    * The number of processing units allocated to this instance partition.
    *
@@ -543,7 +478,6 @@ public boolean hasProcessingUnits() {
    * 
* * int32 processing_units = 6; - * * @return The processingUnits. */ @java.lang.Override @@ -557,56 +491,37 @@ public int getProcessingUnits() { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current instance partition state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current instance partition state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.InstancePartition.State getState() { - com.google.spanner.admin.instance.v1.InstancePartition.State result = - com.google.spanner.admin.instance.v1.InstancePartition.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.InstancePartition.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.InstancePartition.State getState() { + com.google.spanner.admin.instance.v1.InstancePartition.State result = com.google.spanner.admin.instance.v1.InstancePartition.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.InstancePartition.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which the instance partition was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -614,15 +529,11 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The time at which the instance partition was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -630,14 +541,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the instance partition was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -647,16 +555,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which the instance partition was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -664,16 +568,12 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. The time at which the instance partition was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -681,15 +581,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which the instance partition was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -697,13 +594,10 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int REFERENCING_DATABASES_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -711,17 +605,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList + getReferencingDatabasesList() { return referencingDatabases_; } /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -729,17 +620,13 @@ public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() {
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -747,9 +634,7 @@ public int getReferencingDatabasesCount() {
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -757,8 +642,6 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -766,24 +649,20 @@ public java.lang.String getReferencingDatabases(int index) {
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } public static final int REFERENCING_BACKUPS_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -791,17 +670,14 @@ public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) {
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList + getReferencingBackupsList() { return referencingBackups_; } /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -809,17 +685,13 @@ public com.google.protobuf.ProtocolStringList getReferencingBackupsList() {
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -827,9 +699,7 @@ public int getReferencingBackupsCount() {
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -837,8 +707,6 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -846,23 +714,19 @@ public java.lang.String getReferencingBackups(int index) {
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString + getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } public static final int ETAG_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance partition from
@@ -877,7 +741,6 @@ public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) {
    * 
* * string etag = 12; - * * @return The etag. */ @java.lang.Override @@ -886,15 +749,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance partition from
@@ -909,15 +771,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 12; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -926,7 +789,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -938,7 +800,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -949,14 +812,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_); } if (computeCapacityCase_ == 5) { - output.writeInt32(5, (int) ((java.lang.Integer) computeCapacity_)); + output.writeInt32( + 5, (int)((java.lang.Integer) computeCapacity_)); } if (computeCapacityCase_ == 6) { - output.writeInt32(6, (int) ((java.lang.Integer) computeCapacity_)); + output.writeInt32( + 6, (int)((java.lang.Integer) computeCapacity_)); } - if (state_ - != com.google.spanner.admin.instance.v1.InstancePartition.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.spanner.admin.instance.v1.InstancePartition.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -966,8 +829,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(9, getUpdateTime()); } for (int i = 0; i < referencingDatabases_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 10, referencingDatabases_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, referencingDatabases_.getRaw(i)); } for (int i = 0; i < referencingBackups_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, referencingBackups_.getRaw(i)); @@ -994,25 +856,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (computeCapacityCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 5, (int) ((java.lang.Integer) computeCapacity_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 5, (int)((java.lang.Integer) computeCapacity_)); } if (computeCapacityCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 6, (int) ((java.lang.Integer) computeCapacity_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 6, (int)((java.lang.Integer) computeCapacity_)); } - if (state_ - != com.google.spanner.admin.instance.v1.InstancePartition.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + if (state_ != com.google.spanner.admin.instance.v1.InstancePartition.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getUpdateTime()); } { int dataSize = 0; @@ -1041,36 +904,45 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.InstancePartition)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.InstancePartition other = - (com.google.spanner.admin.instance.v1.InstancePartition) obj; + com.google.spanner.admin.instance.v1.InstancePartition other = (com.google.spanner.admin.instance.v1.InstancePartition) obj; - if (!getName().equals(other.getName())) return false; - if (!getConfig().equals(other.getConfig())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (state_ != other.state_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!getReferencingDatabasesList().equals(other.getReferencingDatabasesList())) return false; - if (!getReferencingBackupsList().equals(other.getReferencingBackupsList())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getReferencingDatabasesList() + .equals(other.getReferencingDatabasesList())) return false; + if (!getReferencingBackupsList() + .equals(other.getReferencingBackupsList())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getComputeCapacityCase().equals(other.getComputeCapacityCase())) return false; switch (computeCapacityCase_) { case 5: - if (getNodeCount() != other.getNodeCount()) return false; + if (getNodeCount() + != other.getNodeCount()) return false; break; case 6: - if (getProcessingUnits() != other.getProcessingUnits()) return false; + if (getProcessingUnits() + != other.getProcessingUnits()) return false; break; case 0: default: @@ -1130,104 +1002,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.InstancePartition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.InstancePartition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.InstancePartition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.InstancePartition prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.InstancePartition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An isolated set of Cloud Spanner resources that databases can define
    * placements on.
@@ -1235,23 +1101,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.InstancePartition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.InstancePartition)
       com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.InstancePartition.class,
-              com.google.spanner.admin.instance.v1.InstancePartition.Builder.class);
+              com.google.spanner.admin.instance.v1.InstancePartition.class, com.google.spanner.admin.instance.v1.InstancePartition.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.InstancePartition.newBuilder()
@@ -1259,18 +1123,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getCreateTimeFieldBuilder();
         getUpdateTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1289,8 +1153,10 @@ public Builder clear() {
         updateTimeBuilder_.dispose();
         updateTimeBuilder_ = null;
       }
-      referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList();
-      referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      referencingDatabases_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+      referencingBackups_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       etag_ = "";
       computeCapacityCase_ = 0;
       computeCapacity_ = null;
@@ -1298,9 +1164,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor;
     }
 
     @java.lang.Override
@@ -1319,11 +1185,8 @@ public com.google.spanner.admin.instance.v1.InstancePartition build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.InstancePartition buildPartial() {
-      com.google.spanner.admin.instance.v1.InstancePartition result =
-          new com.google.spanner.admin.instance.v1.InstancePartition(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.InstancePartition result = new com.google.spanner.admin.instance.v1.InstancePartition(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1345,11 +1208,15 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.InstancePartitio
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
@@ -1375,39 +1242,38 @@ private void buildPartialOneofs(com.google.spanner.admin.instance.v1.InstancePar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.InstancePartition) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.InstancePartition) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.InstancePartition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1415,8 +1281,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstancePartition other) {
-      if (other == com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1467,20 +1332,17 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstancePartition
         onChanged();
       }
       switch (other.getComputeCapacityCase()) {
-        case NODE_COUNT:
-          {
-            setNodeCount(other.getNodeCount());
-            break;
-          }
-        case PROCESSING_UNITS:
-          {
-            setProcessingUnits(other.getProcessingUnits());
-            break;
-          }
-        case COMPUTECAPACITY_NOT_SET:
-          {
-            break;
-          }
+        case NODE_COUNT: {
+          setNodeCount(other.getNodeCount());
+          break;
+        }
+        case PROCESSING_UNITS: {
+          setProcessingUnits(other.getProcessingUnits());
+          break;
+        }
+        case COMPUTECAPACITY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1508,81 +1370,73 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                config_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 40:
-              {
-                computeCapacity_ = input.readInt32();
-                computeCapacityCase_ = 5;
-                break;
-              } // case 40
-            case 48:
-              {
-                computeCapacity_ = input.readInt32();
-                computeCapacityCase_ = 6;
-                break;
-              } // case 48
-            case 56:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 56
-            case 66:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 74
-            case 82:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureReferencingDatabasesIsMutable();
-                referencingDatabases_.add(s);
-                break;
-              } // case 82
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureReferencingBackupsIsMutable();
-                referencingBackups_.add(s);
-                break;
-              } // case 90
-            case 98:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 98
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              config_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 40: {
+              computeCapacity_ = input.readInt32();
+              computeCapacityCase_ = 5;
+              break;
+            } // case 40
+            case 48: {
+              computeCapacity_ = input.readInt32();
+              computeCapacityCase_ = 6;
+              break;
+            } // case 48
+            case 56: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 56
+            case 66: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 74
+            case 82: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureReferencingDatabasesIsMutable();
+              referencingDatabases_.add(s);
+              break;
+            } // case 82
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureReferencingBackupsIsMutable();
+              referencingBackups_.add(s);
+              break;
+            } // case 90
+            case 98: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 98
+            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) {
@@ -1592,12 +1446,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int computeCapacityCase_ = 0;
     private java.lang.Object computeCapacity_;
-
-    public ComputeCapacityCase getComputeCapacityCase() {
-      return ComputeCapacityCase.forNumber(computeCapacityCase_);
+    public ComputeCapacityCase
+        getComputeCapacityCase() {
+      return ComputeCapacityCase.forNumber(
+          computeCapacityCase_);
     }
 
     public Builder clearComputeCapacity() {
@@ -1611,8 +1465,6 @@ public Builder clearComputeCapacity() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. A unique identifier for the instance partition. Values are of the
      * form
@@ -1623,13 +1475,13 @@ public Builder clearComputeCapacity() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1638,8 +1490,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A unique identifier for the instance partition. Values are of the
      * form
@@ -1650,14 +1500,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1665,8 +1516,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A unique identifier for the instance partition. Values are of the
      * form
@@ -1677,22 +1526,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A unique identifier for the instance partition. Values are of the
      * form
@@ -1703,7 +1548,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1713,8 +1557,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A unique identifier for the instance partition. Values are of the
      * form
@@ -1725,14 +1567,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1742,8 +1582,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object config_ = ""; /** - * - * *
      * Required. The name of the instance partition's configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -1751,16 +1589,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ public java.lang.String getConfig() { java.lang.Object ref = config_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; @@ -1769,8 +1605,6 @@ public java.lang.String getConfig() { } } /** - * - * *
      * Required. The name of the instance partition's configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -1778,17 +1612,16 @@ public java.lang.String getConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ - public com.google.protobuf.ByteString getConfigBytes() { + public com.google.protobuf.ByteString + getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); config_ = b; return b; } else { @@ -1796,8 +1629,6 @@ public com.google.protobuf.ByteString getConfigBytes() { } } /** - * - * *
      * Required. The name of the instance partition's configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -1805,25 +1636,19 @@ public com.google.protobuf.ByteString getConfigBytes() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The config to set. * @return This builder for chaining. */ - public Builder setConfig(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConfig( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } config_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance partition's configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -1831,10 +1656,7 @@ public Builder setConfig(java.lang.String value) {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearConfig() { @@ -1844,8 +1666,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Required. The name of the instance partition's configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -1853,17 +1673,13 @@ public Builder clearConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for config to set. * @return This builder for chaining. */ - public Builder setConfigBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConfigBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); config_ = value; bitField0_ |= 0x00000002; @@ -1873,21 +1689,19 @@ public Builder setConfigBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The descriptive name for this instance partition as it appears in
      * UIs. Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1896,22 +1710,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The descriptive name for this instance partition as it appears in
      * UIs. Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1919,37 +1732,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The descriptive name for this instance partition as it appears in
      * UIs. Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The descriptive name for this instance partition as it appears in
      * UIs. Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1959,22 +1765,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. The descriptive name for this instance partition as it appears in
      * UIs. Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1983,8 +1785,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The number of nodes allocated to this instance partition.
      *
@@ -1996,15 +1796,12 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 node_count = 5; - * * @return Whether the nodeCount field is set. */ public boolean hasNodeCount() { return computeCapacityCase_ == 5; } /** - * - * *
      * The number of nodes allocated to this instance partition.
      *
@@ -2016,7 +1813,6 @@ public boolean hasNodeCount() {
      * 
* * int32 node_count = 5; - * * @return The nodeCount. */ public int getNodeCount() { @@ -2026,8 +1822,6 @@ public int getNodeCount() { return 0; } /** - * - * *
      * The number of nodes allocated to this instance partition.
      *
@@ -2039,7 +1833,6 @@ public int getNodeCount() {
      * 
* * int32 node_count = 5; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -2051,8 +1844,6 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
      * The number of nodes allocated to this instance partition.
      *
@@ -2064,7 +1855,6 @@ public Builder setNodeCount(int value) {
      * 
* * int32 node_count = 5; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -2077,8 +1867,6 @@ public Builder clearNodeCount() { } /** - * - * *
      * The number of processing units allocated to this instance partition.
      *
@@ -2090,15 +1878,12 @@ public Builder clearNodeCount() {
      * 
* * int32 processing_units = 6; - * * @return Whether the processingUnits field is set. */ public boolean hasProcessingUnits() { return computeCapacityCase_ == 6; } /** - * - * *
      * The number of processing units allocated to this instance partition.
      *
@@ -2110,7 +1895,6 @@ public boolean hasProcessingUnits() {
      * 
* * int32 processing_units = 6; - * * @return The processingUnits. */ public int getProcessingUnits() { @@ -2120,8 +1904,6 @@ public int getProcessingUnits() { return 0; } /** - * - * *
      * The number of processing units allocated to this instance partition.
      *
@@ -2133,7 +1915,6 @@ public int getProcessingUnits() {
      * 
* * int32 processing_units = 6; - * * @param value The processingUnits to set. * @return This builder for chaining. */ @@ -2145,8 +1926,6 @@ public Builder setProcessingUnits(int value) { return this; } /** - * - * *
      * The number of processing units allocated to this instance partition.
      *
@@ -2158,7 +1937,6 @@ public Builder setProcessingUnits(int value) {
      * 
* * int32 processing_units = 6; - * * @return This builder for chaining. */ public Builder clearProcessingUnits() { @@ -2172,33 +1950,22 @@ public Builder clearProcessingUnits() { private int state_ = 0; /** - * - * *
      * Output only. The current instance partition state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current instance partition state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2209,37 +1976,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current instance partition state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstancePartition.State getState() { - com.google.spanner.admin.instance.v1.InstancePartition.State result = - com.google.spanner.admin.instance.v1.InstancePartition.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.InstancePartition.State.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.InstancePartition.State result = com.google.spanner.admin.instance.v1.InstancePartition.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.InstancePartition.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current instance partition state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2253,16 +2007,11 @@ public Builder setState(com.google.spanner.admin.instance.v1.InstancePartition.S return this; } /** - * - * *
      * Output only. The current instance partition state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2274,58 +2023,39 @@ public Builder clearState() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2341,17 +2071,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2362,21 +2089,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2391,15 +2114,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2412,15 +2131,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000040; @@ -2428,48 +2143,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which the instance partition was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2477,61 +2180,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2547,18 +2231,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2569,22 +2250,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2599,16 +2276,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2621,16 +2294,12 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000080; @@ -2638,50 +2307,38 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which the instance partition was most recently
      * updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2689,7 +2346,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.LazyStringArrayList referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureReferencingDatabasesIsMutable() { if (!referencingDatabases_.isModifiable()) { referencingDatabases_ = new com.google.protobuf.LazyStringArrayList(referencingDatabases_); @@ -2697,8 +2353,6 @@ private void ensureReferencingDatabasesIsMutable() { bitField0_ |= 0x00000100; } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2706,19 +2360,15 @@ private void ensureReferencingDatabasesIsMutable() {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList + getReferencingDatabasesList() { referencingDatabases_.makeImmutable(); return referencingDatabases_; } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2726,18 +2376,13 @@ public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2745,10 +2390,7 @@ public int getReferencingDatabasesCount() {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -2756,8 +2398,6 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2765,19 +2405,15 @@ public java.lang.String getReferencingDatabases(int index) {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2785,18 +2421,14 @@ public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The referencingDatabases to set. * @return This builder for chaining. */ - public Builder setReferencingDatabases(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferencingDatabases( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingDatabasesIsMutable(); referencingDatabases_.set(index, value); bitField0_ |= 0x00000100; @@ -2804,8 +2436,6 @@ public Builder setReferencingDatabases(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2813,17 +2443,13 @@ public Builder setReferencingDatabases(int index, java.lang.String value) {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabases(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingDatabases( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); bitField0_ |= 0x00000100; @@ -2831,8 +2457,6 @@ public Builder addReferencingDatabases(java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2840,23 +2464,20 @@ public Builder addReferencingDatabases(java.lang.String value) {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addAllReferencingDatabases(java.lang.Iterable values) { + public Builder addAllReferencingDatabases( + java.lang.Iterable values) { ensureReferencingDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingDatabases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, referencingDatabases_); bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2864,22 +2485,17 @@ public Builder addAllReferencingDatabases(java.lang.Iterable v
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearReferencingDatabases() { - referencingDatabases_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); - ; + referencingDatabases_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** - * - * *
      * Output only. The names of the databases that reference this
      * instance partition. Referencing databases should share the parent instance.
@@ -2887,17 +2503,13 @@ public Builder clearReferencingDatabases() {
      * from being deleted.
      * 
* - * - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingDatabasesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); @@ -2908,7 +2520,6 @@ public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value private com.google.protobuf.LazyStringArrayList referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureReferencingBackupsIsMutable() { if (!referencingBackups_.isModifiable()) { referencingBackups_ = new com.google.protobuf.LazyStringArrayList(referencingBackups_); @@ -2916,8 +2527,6 @@ private void ensureReferencingBackupsIsMutable() { bitField0_ |= 0x00000200; } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -2925,18 +2534,15 @@ private void ensureReferencingBackupsIsMutable() {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList + getReferencingBackupsList() { referencingBackups_.makeImmutable(); return referencingBackups_; } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -2944,17 +2550,13 @@ public com.google.protobuf.ProtocolStringList getReferencingBackupsList() {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -2962,9 +2564,7 @@ public int getReferencingBackupsCount() {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -2972,8 +2572,6 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -2981,18 +2579,15 @@ public java.lang.String getReferencingBackups(int index) {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString + getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -3000,17 +2595,14 @@ public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The referencingBackups to set. * @return This builder for chaining. */ - public Builder setReferencingBackups(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferencingBackups( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingBackupsIsMutable(); referencingBackups_.set(index, value); bitField0_ |= 0x00000200; @@ -3018,8 +2610,6 @@ public Builder setReferencingBackups(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -3027,16 +2617,13 @@ public Builder setReferencingBackups(int index, java.lang.String value) {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackups(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingBackups( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); bitField0_ |= 0x00000200; @@ -3044,8 +2631,6 @@ public Builder addReferencingBackups(java.lang.String value) { return this; } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -3053,22 +2638,20 @@ public Builder addReferencingBackups(java.lang.String value) {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The referencingBackups to add. * @return This builder for chaining. */ - public Builder addAllReferencingBackups(java.lang.Iterable values) { + public Builder addAllReferencingBackups( + java.lang.Iterable values) { ensureReferencingBackupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingBackups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, referencingBackups_); bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -3076,21 +2659,17 @@ public Builder addAllReferencingBackups(java.lang.Iterable val
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearReferencingBackups() { - referencingBackups_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); - ; + referencingBackups_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** - * - * *
      * Output only. The names of the backups that reference this instance
      * partition. Referencing backups should share the parent instance. The
@@ -3098,16 +2677,13 @@ public Builder clearReferencingBackups() {
      * being deleted.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingBackupsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); @@ -3118,8 +2694,6 @@ public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) private java.lang.Object etag_ = ""; /** - * - * *
      * Used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance partition from
@@ -3134,13 +2708,13 @@ public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value)
      * 
* * string etag = 12; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3149,8 +2723,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance partition from
@@ -3165,14 +2737,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 12; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -3180,8 +2753,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance partition from
@@ -3196,22 +2767,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 12; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance partition from
@@ -3226,7 +2793,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 12; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3236,8 +2802,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance partition from
@@ -3252,23 +2816,21 @@ public Builder clearEtag() {
      * 
* * string etag = 12; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3278,12 +2840,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.InstancePartition) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.InstancePartition) private static final com.google.spanner.admin.instance.v1.InstancePartition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.InstancePartition(); } @@ -3292,27 +2854,27 @@ public static com.google.spanner.admin.instance.v1.InstancePartition getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstancePartition 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstancePartition 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; @@ -3327,4 +2889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.InstancePartition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionName.java similarity index 100% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionName.java diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionOrBuilder.java similarity index 81% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionOrBuilder.java index d8c91e9ab7f..e33b7e8626d 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstancePartitionOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface InstancePartitionOrBuilder - extends +public interface InstancePartitionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.InstancePartition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A unique identifier for the instance partition. Values are of the
    * form
@@ -37,13 +19,10 @@ public interface InstancePartitionOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. A unique identifier for the instance partition. Values are of the
    * form
@@ -54,14 +33,12 @@ public interface InstancePartitionOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The name of the instance partition's configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -69,16 +46,11 @@ public interface InstancePartitionOrBuilder
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ java.lang.String getConfig(); /** - * - * *
    * Required. The name of the instance partition's configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<configuration>`. See also
@@ -86,44 +58,35 @@ public interface InstancePartitionOrBuilder
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ - com.google.protobuf.ByteString getConfigBytes(); + com.google.protobuf.ByteString + getConfigBytes(); /** - * - * *
    * Required. The descriptive name for this instance partition as it appears in
    * UIs. Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The descriptive name for this instance partition as it appears in
    * UIs. Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The number of nodes allocated to this instance partition.
    *
@@ -135,13 +98,10 @@ public interface InstancePartitionOrBuilder
    * 
* * int32 node_count = 5; - * * @return Whether the nodeCount field is set. */ boolean hasNodeCount(); /** - * - * *
    * The number of nodes allocated to this instance partition.
    *
@@ -153,14 +113,11 @@ public interface InstancePartitionOrBuilder
    * 
* * int32 node_count = 5; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
    * The number of processing units allocated to this instance partition.
    *
@@ -172,13 +129,10 @@ public interface InstancePartitionOrBuilder
    * 
* * int32 processing_units = 6; - * * @return Whether the processingUnits field is set. */ boolean hasProcessingUnits(); /** - * - * *
    * The number of processing units allocated to this instance partition.
    *
@@ -190,122 +144,87 @@ public interface InstancePartitionOrBuilder
    * 
* * int32 processing_units = 6; - * * @return The processingUnits. */ int getProcessingUnits(); /** - * - * *
    * Output only. The current instance partition state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current instance partition state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.instance.v1.InstancePartition.State getState(); /** - * - * *
    * Output only. The time at which the instance partition was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the instance partition was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the instance partition was created.
    * 
* - * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which the instance partition was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which the instance partition was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which the instance partition was most recently
    * updated.
    * 
* - * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -313,15 +232,12 @@ public interface InstancePartitionOrBuilder
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the referencingDatabases. */ - java.util.List getReferencingDatabasesList(); + java.util.List + getReferencingDatabasesList(); /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -329,15 +245,11 @@ public interface InstancePartitionOrBuilder
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of referencingDatabases. */ int getReferencingDatabasesCount(); /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -345,16 +257,12 @@ public interface InstancePartitionOrBuilder
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ java.lang.String getReferencingDatabases(int index); /** - * - * *
    * Output only. The names of the databases that reference this
    * instance partition. Referencing databases should share the parent instance.
@@ -362,17 +270,14 @@ public interface InstancePartitionOrBuilder
    * from being deleted.
    * 
* - * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - com.google.protobuf.ByteString getReferencingDatabasesBytes(int index); + com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index); /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -380,15 +285,12 @@ public interface InstancePartitionOrBuilder
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the referencingBackups. */ - java.util.List getReferencingBackupsList(); + java.util.List + getReferencingBackupsList(); /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -396,15 +298,11 @@ public interface InstancePartitionOrBuilder
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of referencingBackups. */ int getReferencingBackupsCount(); /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -412,16 +310,12 @@ public interface InstancePartitionOrBuilder
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The referencingBackups at the given index. */ java.lang.String getReferencingBackups(int index); /** - * - * *
    * Output only. The names of the backups that reference this instance
    * partition. Referencing backups should share the parent instance. The
@@ -429,17 +323,14 @@ public interface InstancePartitionOrBuilder
    * being deleted.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - com.google.protobuf.ByteString getReferencingBackupsBytes(int index); + com.google.protobuf.ByteString + getReferencingBackupsBytes(int index); /** - * - * *
    * Used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance partition from
@@ -454,13 +345,10 @@ public interface InstancePartitionOrBuilder
    * 
* * string etag = 12; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance partition from
@@ -475,11 +363,10 @@ public interface InstancePartitionOrBuilder
    * 
* * string etag = 12; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); - com.google.spanner.admin.instance.v1.InstancePartition.ComputeCapacityCase - getComputeCapacityCase(); + com.google.spanner.admin.instance.v1.InstancePartition.ComputeCapacityCase getComputeCapacityCase(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java similarity index 76% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java index ae3eb2679b6..61ca55b199a 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -29,18 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest}
  */
-public final class ListInstanceConfigOperationsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigOperationsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)
     ListInstanceConfigOperationsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigOperationsRequest.newBuilder() to construct.
-  private ListInstanceConfigOperationsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceConfigOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -49,41 +29,34 @@ private ListInstanceConfigOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigOperationsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The project of the instance config operations.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project of the instance config operations.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -179,7 +147,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -188,15 +155,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -244,15 +210,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -263,15 +230,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -280,12 +244,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -295,7 +256,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -304,15 +264,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -322,15 +281,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -339,7 +299,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +310,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -380,7 +340,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -393,19 +354,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other = (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -431,105 +394,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - 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 com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest 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 com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -537,34 +493,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)
       com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder
-                  .class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -577,22 +532,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest build() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result =
-          buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -601,17 +553,13 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -631,52 +579,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other
-          instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) other);
+      if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) {
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -721,37 +663,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = 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) {
@@ -761,28 +698,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The project of the instance config operations.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -791,24 +723,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project of the instance config operations.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -816,41 +745,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project of the instance config operations.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The project of the instance config operations.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -860,24 +778,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The project of the instance config operations.
      * Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -887,8 +799,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -936,13 +846,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -951,8 +861,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -1000,14 +908,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1015,8 +924,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -1064,22 +971,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -1127,7 +1030,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1137,8 +1039,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      *
@@ -1186,14 +1086,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1201,17 +1099,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1219,15 +1114,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1239,15 +1131,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1259,8 +1148,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1270,13 +1157,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1285,8 +1172,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1296,14 +1181,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1311,8 +1197,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1322,22 +1206,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1347,7 +1227,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1357,8 +1236,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1368,23 +1245,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1394,44 +1269,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigOperationsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigOperationsRequest 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; @@ -1443,8 +1315,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java similarity index 85% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java index 32099b3c731..5241c6618d6 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigOperationsRequestOrBuilder - extends +public interface ListInstanceConfigOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project of the instance config operations.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The project of the instance config operations.
    * Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -105,13 +78,10 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned operations.
    *
@@ -159,28 +129,23 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -190,13 +155,10 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -206,8 +168,8 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java index 6d23169d773..194d817141e 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The response for
  * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -29,18 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse}
  */
-public final class ListInstanceConfigOperationsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigOperationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)
     ListInstanceConfigOperationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigOperationsResponse.newBuilder() to construct.
-  private ListInstanceConfigOperationsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceConfigOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -48,33 +28,28 @@ private ListInstanceConfigOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigOperationsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder
-                .class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -90,8 +65,6 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -103,13 +76,11 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -125,8 +96,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -142,8 +111,6 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -155,17 +122,15 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index) {
     return operations_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -173,7 +138,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -182,15 +146,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -198,15 +161,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -215,7 +179,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +190,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -244,7 +208,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +222,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other = (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -291,105 +256,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - 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 com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse 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 com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -397,34 +355,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)
       com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder
-                  .class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,22 +398,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse build() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result =
-          buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -464,20 +418,15 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-        buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(this);
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse buildPartial() {
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -489,8 +438,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -501,52 +449,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other
-          instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) other);
+      if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) {
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -565,10 +507,9 @@ public Builder mergeFrom(
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOperationsFieldBuilder()
-                    : null;
+            operationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOperationsFieldBuilder() : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -605,31 +546,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (operationsBuilder_ == null) {
-                  ensureOperationsIsMutable();
-                  operations_.add(m);
-                } else {
-                  operationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (operationsBuilder_ == null) {
+                ensureOperationsIsMutable();
+                operations_.add(m);
+              } else {
+                operationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = 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) {
@@ -639,28 +579,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List operations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
-        operationsBuilder_;
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -679,8 +612,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -699,8 +630,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -719,8 +648,6 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -731,7 +658,8 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -745,8 +673,6 @@ public Builder setOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -769,8 +695,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -795,8 +719,6 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -807,7 +729,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -821,8 +744,6 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -833,7 +754,8 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(
+        com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -844,8 +766,6 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -868,8 +788,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -884,7 +802,8 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -892,8 +811,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -915,8 +832,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -938,8 +853,6 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -950,12 +863,11 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(
+        int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -966,16 +878,14 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+        int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);
-      } else {
+        return operations_.get(index);  } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -986,8 +896,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List
-        getOperationsOrBuilderList() {
+    public java.util.List 
+         getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -995,8 +905,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1008,12 +916,10 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder()
-          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder().addBuilder(
+          com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1024,13 +930,12 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
-      return getOperationsFieldBuilder()
-          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(
+        int index) {
+      return getOperationsFieldBuilder().addBuilder(
+          index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1041,22 +946,20 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List getOperationsBuilderList() {
+    public java.util.List 
+         getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.longrunning.Operation,
-                com.google.longrunning.Operation.Builder,
-                com.google.longrunning.OperationOrBuilder>(
-                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
+                operations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1064,8 +967,6 @@ public java.util.List getOperationsBui
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1073,13 +974,13 @@ public java.util.List getOperationsBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1088,8 +989,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1097,14 +996,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1112,8 +1012,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1121,22 +1019,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1144,7 +1038,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1154,8 +1047,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1163,23 +1054,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,44 +1078,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigOperationsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigOperationsResponse 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; @@ -1238,8 +1124,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java index ae8e52e6062..20217294815 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigOperationsResponseOrBuilder - extends +public interface ListInstanceConfigOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -37,10 +19,9 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsList();
+  java.util.List 
+      getOperationsList();
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -53,8 +34,6 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -67,8 +46,6 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    */
   int getOperationsCount();
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -79,10 +56,9 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsOrBuilderList();
+  java.util.List 
+      getOperationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -93,11 +69,10 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -105,13 +80,10 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -119,8 +91,8 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java similarity index 67% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java index 0311a7d86d7..a8bb64d5e48 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsRequest}
  */
-public final class ListInstanceConfigsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigsRequest)
     ListInstanceConfigsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigsRequest.newBuilder() to construct.
   private ListInstanceConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -46,42 +28,35 @@ private ListInstanceConfigsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project for which a list of supported instance
    * configurations is requested. Values are of the form
    * `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project for which a list of supported instance
    * configurations is requested. Values are of the form
    * `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +100,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of instance configurations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -249,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other = (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,104 +252,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -388,32 +351,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigsRequest)
       com.google.spanner.admin.instance.v1.ListInstanceConfigsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -425,14 +389,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance();
     }
 
@@ -447,17 +410,13 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -474,50 +433,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -557,31 +512,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              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) {
@@ -591,29 +542,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project for which a list of supported instance
      * configurations is requested. Values are of the form
      * `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -622,25 +568,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project for which a list of supported instance
      * configurations is requested. Values are of the form
      * `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -648,43 +591,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project for which a list of supported instance
      * configurations is requested. Values are of the form
      * `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project for which a list of supported instance
      * configurations is requested. Values are of the form
      * `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -694,25 +626,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project for which a list of supported instance
      * configurations is requested. Values are of the form
      * `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -720,17 +646,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -738,15 +661,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -758,15 +678,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -778,8 +695,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -788,13 +703,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -803,8 +718,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -813,14 +726,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -828,8 +742,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -838,22 +750,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -862,7 +770,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -872,8 +779,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -882,23 +787,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -908,43 +811,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigsRequest 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; @@ -956,8 +857,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java index a9d9ad22d89..09c1b6d31b3 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigsRequestOrBuilder - extends +public interface ListInstanceConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project for which a list of supported instance
    * configurations is requested. Values are of the form
    * `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project for which a list of supported instance
    * configurations is requested. Values are of the form
    * `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Number of instance configurations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -82,13 +52,10 @@ public interface ListInstanceConfigsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -97,8 +64,8 @@ public interface ListInstanceConfigsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java similarity index 72% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java index 1833cc83c12..619b8fe66f5 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The response for
  * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsResponse}
  */
-public final class ListInstanceConfigsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigsResponse)
     ListInstanceConfigsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigsResponse.newBuilder() to construct.
   private ListInstanceConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigsResponse() {
     instanceConfigs_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,32 +28,28 @@ private ListInstanceConfigsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
   }
 
   public static final int INSTANCE_CONFIGS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List instanceConfigs_;
   /**
-   *
-   *
    * 
    * The list of requested instance configurations.
    * 
@@ -79,13 +57,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ @java.lang.Override - public java.util.List - getInstanceConfigsList() { + public java.util.List getInstanceConfigsList() { return instanceConfigs_; } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -93,13 +68,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstanceConfigsOrBuilderList() { return instanceConfigs_; } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -111,8 +84,6 @@ public int getInstanceConfigsCount() { return instanceConfigs_.size(); } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -124,8 +95,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in return instanceConfigs_.get(index); } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -139,12 +108,9 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -152,7 +118,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -161,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -177,15 +141,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instanceConfigs_.size(); i++) { output.writeMessage(1, instanceConfigs_.get(i)); } @@ -223,7 +188,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instanceConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instanceConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instanceConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other = (com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) obj; - if (!getInstanceConfigsList().equals(other.getInstanceConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInstanceConfigsList() + .equals(other.getInstanceConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,104 +236,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -374,32 +335,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigsResponse)
       com.google.spanner.admin.instance.v1.ListInstanceConfigsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -416,14 +378,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance();
     }
 
@@ -438,18 +399,14 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(this);
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result = new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
       if (instanceConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           instanceConfigs_ = java.util.Collections.unmodifiableList(instanceConfigs_);
@@ -461,8 +418,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -473,50 +429,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance()) return this;
       if (instanceConfigsBuilder_ == null) {
         if (!other.instanceConfigs_.isEmpty()) {
           if (instanceConfigs_.isEmpty()) {
@@ -535,10 +487,9 @@ public Builder mergeFrom(
             instanceConfigsBuilder_ = null;
             instanceConfigs_ = other.instanceConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            instanceConfigsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInstanceConfigsFieldBuilder()
-                    : null;
+            instanceConfigsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInstanceConfigsFieldBuilder() : null;
           } else {
             instanceConfigsBuilder_.addAllMessages(other.instanceConfigs_);
           }
@@ -575,33 +526,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.instance.v1.InstanceConfig m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
-                        extensionRegistry);
-                if (instanceConfigsBuilder_ == null) {
-                  ensureInstanceConfigsIsMutable();
-                  instanceConfigs_.add(m);
-                } else {
-                  instanceConfigsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.admin.instance.v1.InstanceConfig m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
+                      extensionRegistry);
+              if (instanceConfigsBuilder_ == null) {
+                ensureInstanceConfigsIsMutable();
+                instanceConfigs_.add(m);
+              } else {
+                instanceConfigsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = 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) {
@@ -611,38 +559,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List instanceConfigs_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureInstanceConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        instanceConfigs_ =
-            new java.util.ArrayList(
-                instanceConfigs_);
+        instanceConfigs_ = new java.util.ArrayList(instanceConfigs_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigsBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsList() { + public java.util.List getInstanceConfigsList() { if (instanceConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(instanceConfigs_); } else { @@ -650,8 +588,6 @@ private void ensureInstanceConfigsIsMutable() { } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -666,8 +602,6 @@ public int getInstanceConfigsCount() { } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -682,8 +616,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -705,8 +637,6 @@ public Builder setInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -725,8 +655,6 @@ public Builder setInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -747,8 +675,6 @@ public Builder addInstanceConfigs(com.google.spanner.admin.instance.v1.InstanceC return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -770,8 +696,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -790,8 +714,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -810,8 +732,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -822,7 +742,8 @@ public Builder addAllInstanceConfigs( java.lang.Iterable values) { if (instanceConfigsBuilder_ == null) { ensureInstanceConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceConfigs_); onChanged(); } else { instanceConfigsBuilder_.addAllMessages(values); @@ -830,8 +751,6 @@ public Builder addAllInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -849,8 +768,6 @@ public Builder clearInstanceConfigs() { return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -868,8 +785,6 @@ public Builder removeInstanceConfigs(int index) { return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -881,8 +796,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -892,22 +805,19 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsOrBuilder( int index) { if (instanceConfigsBuilder_ == null) { - return instanceConfigs_.get(index); - } else { + return instanceConfigs_.get(index); } else { return instanceConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsOrBuilderList() { + public java.util.List + getInstanceConfigsOrBuilderList() { if (instanceConfigsBuilder_ != null) { return instanceConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -915,8 +825,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -924,12 +832,10 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceConfigsBuilder() { - return getInstanceConfigsFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + return getInstanceConfigsFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -938,35 +844,26 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceConfigsBuilder( int index) { - return getInstanceConfigsFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + return getInstanceConfigsFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** - * - * *
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsBuilderList() { + public java.util.List + getInstanceConfigsBuilderList() { return getInstanceConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigsFieldBuilder() { if (instanceConfigsBuilder_ == null) { - instanceConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + instanceConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( instanceConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -978,8 +875,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -987,13 +882,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,8 +897,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1011,14 +904,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,8 +920,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1035,22 +927,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1058,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1068,8 +955,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1077,23 +962,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,43 +986,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigsResponse 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; @@ -1151,8 +1032,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java index 61cc6b2a436..bc2dd8f2e12 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigsResponseOrBuilder - extends +public interface ListInstanceConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested instance configurations.
    * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - java.util.List getInstanceConfigsList(); + java.util.List + getInstanceConfigsList(); /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -45,8 +26,6 @@ public interface ListInstanceConfigsResponseOrBuilder */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(int index); /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -55,19 +34,15 @@ public interface ListInstanceConfigsResponseOrBuilder */ int getInstanceConfigsCount(); /** - * - * *
    * The list of requested instance configurations.
    * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - java.util.List + java.util.List getInstanceConfigsOrBuilderList(); /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -78,8 +53,6 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -87,13 +60,10 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -101,8 +71,8 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequest.java similarity index 74% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequest.java index 4d7bc75f014..97a5ffbe9c8 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].
@@ -29,18 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest}
  */
-public final class ListInstancePartitionOperationsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstancePartitionOperationsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest)
     ListInstancePartitionOperationsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstancePartitionOperationsRequest.newBuilder() to construct.
-  private ListInstancePartitionOperationsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstancePartitionOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstancePartitionOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -49,43 +29,35 @@ private ListInstancePartitionOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancePartitionOperationsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.Builder
-                .class);
+            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent instance of the instance partition operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent instance of the instance partition operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,12 +98,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. An expression that filters the list of returned operations.
    *
@@ -181,7 +148,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -190,15 +156,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. An expression that filters the list of returned operations.
    *
@@ -246,15 +211,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -265,15 +231,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Optional. Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -282,12 +245,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -297,7 +257,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -306,15 +265,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -324,15 +282,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -343,8 +302,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int INSTANCE_PARTITION_DEADLINE_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp instancePartitionDeadline_; /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partition
    * operations. Instance partitions whose operation metadata cannot be
@@ -353,10 +310,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePartitionDeadline field is set. */ @java.lang.Override @@ -364,8 +318,6 @@ public boolean hasInstancePartitionDeadline() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partition
    * operations. Instance partitions whose operation metadata cannot be
@@ -374,21 +326,14 @@ public boolean hasInstancePartitionDeadline() {
    * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePartitionDeadline. */ @java.lang.Override public com.google.protobuf.Timestamp getInstancePartitionDeadline() { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partition
    * operations. Instance partitions whose operation metadata cannot be
@@ -397,19 +342,14 @@ public com.google.protobuf.Timestamp getInstancePartitionDeadline() {
    * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuilder() { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,7 +361,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -453,15 +394,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getInstancePartitionDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInstancePartitionDeadline()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -471,23 +412,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest other = - (com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) obj; + com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest other = (com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasInstancePartitionDeadline() != other.hasInstancePartitionDeadline()) return false; if (hasInstancePartitionDeadline()) { - if (!getInstancePartitionDeadline().equals(other.getInstancePartitionDeadline())) - return false; + if (!getInstancePartitionDeadline() + .equals(other.getInstancePartitionDeadline())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -517,111 +460,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].
@@ -629,43 +560,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest)
       com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.Builder
-                  .class);
+              com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstancePartitionDeadlineFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -683,22 +610,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest build() {
-      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest result =
-          buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -706,19 +630,14 @@ public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsReque
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest
-        buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest buildPartial() {
+      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest result = new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -734,10 +653,9 @@ private void buildPartial0(
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.instancePartitionDeadline_ =
-            instancePartitionDeadlineBuilder_ == null
-                ? instancePartitionDeadline_
-                : instancePartitionDeadlineBuilder_.build();
+        result.instancePartitionDeadline_ = instancePartitionDeadlineBuilder_ == null
+            ? instancePartitionDeadline_
+            : instancePartitionDeadlineBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -747,52 +665,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other
-          instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) other);
+      if (other instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) {
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -840,44 +752,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(
-                    getInstancePartitionDeadlineFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getInstancePartitionDeadlineFieldBuilder().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) {
@@ -887,28 +794,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent instance of the instance partition operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -917,24 +819,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent instance of the instance partition operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -942,41 +841,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent instance of the instance partition operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent instance of the instance partition operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -986,24 +874,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent instance of the instance partition operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1013,8 +895,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. An expression that filters the list of returned operations.
      *
@@ -1062,13 +942,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1077,8 +957,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. An expression that filters the list of returned operations.
      *
@@ -1126,14 +1004,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1141,8 +1020,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. An expression that filters the list of returned operations.
      *
@@ -1190,22 +1067,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An expression that filters the list of returned operations.
      *
@@ -1253,7 +1126,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1263,8 +1135,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. An expression that filters the list of returned operations.
      *
@@ -1312,14 +1182,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1327,17 +1195,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1345,15 +1210,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1365,15 +1227,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1385,8 +1244,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -1396,13 +1253,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1411,8 +1268,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -1422,14 +1277,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1437,8 +1293,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -1448,22 +1302,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -1473,7 +1323,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1483,8 +1332,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -1494,14 +1341,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1511,13 +1356,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp instancePartitionDeadline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - instancePartitionDeadlineBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> instancePartitionDeadlineBuilder_; /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1526,18 +1366,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePartitionDeadline field is set. */ public boolean hasInstancePartitionDeadline() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1546,24 +1381,17 @@ public boolean hasInstancePartitionDeadline() {
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePartitionDeadline. */ public com.google.protobuf.Timestamp getInstancePartitionDeadline() { if (instancePartitionDeadlineBuilder_ == null) { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } else { return instancePartitionDeadlineBuilder_.getMessage(); } } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1572,9 +1400,7 @@ public com.google.protobuf.Timestamp getInstancePartitionDeadline() {
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInstancePartitionDeadline(com.google.protobuf.Timestamp value) { if (instancePartitionDeadlineBuilder_ == null) { @@ -1590,8 +1416,6 @@ public Builder setInstancePartitionDeadline(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1600,9 +1424,7 @@ public Builder setInstancePartitionDeadline(com.google.protobuf.Timestamp value)
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInstancePartitionDeadline( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1616,8 +1438,6 @@ public Builder setInstancePartitionDeadline( return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1626,15 +1446,13 @@ public Builder setInstancePartitionDeadline(
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeInstancePartitionDeadline(com.google.protobuf.Timestamp value) { if (instancePartitionDeadlineBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && instancePartitionDeadline_ != null - && instancePartitionDeadline_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + instancePartitionDeadline_ != null && + instancePartitionDeadline_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getInstancePartitionDeadlineBuilder().mergeFrom(value); } else { instancePartitionDeadline_ = value; @@ -1649,8 +1467,6 @@ public Builder mergeInstancePartitionDeadline(com.google.protobuf.Timestamp valu return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1659,9 +1475,7 @@ public Builder mergeInstancePartitionDeadline(com.google.protobuf.Timestamp valu
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearInstancePartitionDeadline() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1674,8 +1488,6 @@ public Builder clearInstancePartitionDeadline() { return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1684,9 +1496,7 @@ public Builder clearInstancePartitionDeadline() {
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getInstancePartitionDeadlineBuilder() { bitField0_ |= 0x00000010; @@ -1694,8 +1504,6 @@ public com.google.protobuf.Timestamp.Builder getInstancePartitionDeadlineBuilder return getInstancePartitionDeadlineFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1704,22 +1512,17 @@ public com.google.protobuf.Timestamp.Builder getInstancePartitionDeadlineBuilder
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuilder() { if (instancePartitionDeadlineBuilder_ != null) { return instancePartitionDeadlineBuilder_.getMessageOrBuilder(); } else { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partition
      * operations. Instance partitions whose operation metadata cannot be
@@ -1728,29 +1531,24 @@ public com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuil
      * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getInstancePartitionDeadlineFieldBuilder() { if (instancePartitionDeadlineBuilder_ == null) { - instancePartitionDeadlineBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getInstancePartitionDeadline(), getParentForChildren(), isClean()); + instancePartitionDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getInstancePartitionDeadline(), + getParentForChildren(), + isClean()); instancePartitionDeadline_ = null; } return instancePartitionDeadlineBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1760,44 +1558,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancePartitionOperationsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancePartitionOperationsRequest 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; @@ -1809,8 +1604,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequestOrBuilder.java similarity index 85% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequestOrBuilder.java index e6f3e31013f..421ca0e3b33 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstancePartitionOperationsRequestOrBuilder - extends +public interface ListInstancePartitionOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent instance of the instance partition operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent instance of the instance partition operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. An expression that filters the list of returned operations.
    *
@@ -105,13 +78,10 @@ public interface ListInstancePartitionOperationsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. An expression that filters the list of returned operations.
    *
@@ -159,28 +129,23 @@ public interface ListInstancePartitionOperationsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -190,13 +155,10 @@ public interface ListInstancePartitionOperationsRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.next_page_token]
@@ -206,14 +168,12 @@ public interface ListInstancePartitionOperationsRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partition
    * operations. Instance partitions whose operation metadata cannot be
@@ -222,16 +182,11 @@ public interface ListInstancePartitionOperationsRequestOrBuilder
    * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePartitionDeadline field is set. */ boolean hasInstancePartitionDeadline(); /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partition
    * operations. Instance partitions whose operation metadata cannot be
@@ -240,16 +195,11 @@ public interface ListInstancePartitionOperationsRequestOrBuilder
    * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePartitionDeadline. */ com.google.protobuf.Timestamp getInstancePartitionDeadline(); /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partition
    * operations. Instance partitions whose operation metadata cannot be
@@ -258,9 +208,7 @@ public interface ListInstancePartitionOperationsRequestOrBuilder
    * [ListInstancePartitionOperationsResponse][google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponse.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponse.java index 847e20cd187..62427d367d0 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The response for
  * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].
@@ -29,53 +12,46 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse}
  */
-public final class ListInstancePartitionOperationsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstancePartitionOperationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse)
     ListInstancePartitionOperationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstancePartitionOperationsResponse.newBuilder() to construct.
-  private ListInstancePartitionOperationsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstancePartitionOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstancePartitionOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
-    unreachableInstancePartitions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    unreachableInstancePartitions_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancePartitionOperationsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.Builder
-                .class);
+            com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -91,8 +67,6 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -104,13 +78,11 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -126,8 +98,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -143,8 +113,6 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -156,17 +124,15 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index) {
     return operations_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -174,7 +140,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -183,15 +148,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -199,15 +163,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,13 +181,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_INSTANCE_PARTITIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachableInstancePartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -231,15 +193,13 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @return A list containing the unreachableInstancePartitions. */ - public com.google.protobuf.ProtocolStringList getUnreachableInstancePartitionsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableInstancePartitionsList() { return unreachableInstancePartitions_; } /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -248,15 +208,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableInstancePartitionsLi
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @return The count of unreachableInstancePartitions. */ public int getUnreachableInstancePartitionsCount() { return unreachableInstancePartitions_.size(); } /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -265,7 +222,6 @@ public int getUnreachableInstancePartitionsCount() {
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @param index The index of the element to return. * @return The unreachableInstancePartitions at the given index. */ @@ -273,8 +229,6 @@ public java.lang.String getUnreachableInstancePartitions(int index) { return unreachableInstancePartitions_.get(index); } /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -283,16 +237,15 @@ public java.lang.String getUnreachableInstancePartitions(int index) {
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableInstancePartitions at the given index. */ - public com.google.protobuf.ByteString getUnreachableInstancePartitionsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableInstancePartitionsBytes(int index) { return unreachableInstancePartitions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -312,8 +266,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachableInstancePartitions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, unreachableInstancePartitions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachableInstancePartitions_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -325,7 +278,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -346,17 +300,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse other = - (com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse other = (com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnreachableInstancePartitionsList() .equals(other.getUnreachableInstancePartitionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -385,111 +339,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse 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 com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].
@@ -497,34 +439,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse)
       com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.Builder
-                  .class);
+              com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -537,27 +478,25 @@ public Builder clear() {
       }
       bitField0_ = (bitField0_ & ~0x00000001);
       nextPageToken_ = "";
-      unreachableInstancePartitions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      unreachableInstancePartitions_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse build() {
-      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result =
-          buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -565,20 +504,15 @@ public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRespo
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
-        buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse(this);
+    public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse buildPartial() {
+      com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result = new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -590,8 +524,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -606,52 +539,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other
-          instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) other);
+      if (other instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) {
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -670,10 +597,9 @@ public Builder mergeFrom(
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOperationsFieldBuilder()
-                    : null;
+            operationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOperationsFieldBuilder() : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -720,38 +646,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (operationsBuilder_ == null) {
-                  ensureOperationsIsMutable();
-                  operations_.add(m);
-                } else {
-                  operationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureUnreachableInstancePartitionsIsMutable();
-                unreachableInstancePartitions_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (operationsBuilder_ == null) {
+                ensureOperationsIsMutable();
+                operations_.add(m);
+              } else {
+                operationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureUnreachableInstancePartitionsIsMutable();
+              unreachableInstancePartitions_.add(s);
+              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) {
@@ -761,28 +685,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List operations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
-        operationsBuilder_;
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -801,8 +718,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -821,8 +736,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -841,8 +754,6 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -853,7 +764,8 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -867,8 +779,6 @@ public Builder setOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -891,8 +801,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -917,8 +825,6 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -929,7 +835,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -943,8 +850,6 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -955,7 +860,8 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(
+        com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -966,8 +872,6 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -990,8 +894,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1006,7 +908,8 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -1014,8 +917,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1037,8 +938,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1060,8 +959,6 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1072,12 +969,11 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(
+        int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1088,16 +984,14 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+        int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);
-      } else {
+        return operations_.get(index);  } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1108,8 +1002,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List
-        getOperationsOrBuilderList() {
+    public java.util.List 
+         getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1117,8 +1011,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1130,12 +1022,10 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder()
-          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder().addBuilder(
+          com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1146,13 +1036,12 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
-      return getOperationsFieldBuilder()
-          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(
+        int index) {
+      return getOperationsFieldBuilder().addBuilder(
+          index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching instance partition [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1163,22 +1052,20 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List getOperationsBuilderList() {
+    public java.util.List 
+         getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.longrunning.Operation,
-                com.google.longrunning.Operation.Builder,
-                com.google.longrunning.OperationOrBuilder>(
-                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
+                operations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1186,8 +1073,6 @@ public java.util.List getOperationsBui
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -1195,13 +1080,13 @@ public java.util.List getOperationsBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1210,8 +1095,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -1219,14 +1102,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1234,8 +1118,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -1243,22 +1125,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -1266,7 +1144,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1276,8 +1153,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -1285,14 +1160,12 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1302,17 +1175,13 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachableInstancePartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableInstancePartitionsIsMutable() { if (!unreachableInstancePartitions_.isModifiable()) { - unreachableInstancePartitions_ = - new com.google.protobuf.LazyStringArrayList(unreachableInstancePartitions_); + unreachableInstancePartitions_ = new com.google.protobuf.LazyStringArrayList(unreachableInstancePartitions_); } bitField0_ |= 0x00000004; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1321,16 +1190,14 @@ private void ensureUnreachableInstancePartitionsIsMutable() {
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @return A list containing the unreachableInstancePartitions. */ - public com.google.protobuf.ProtocolStringList getUnreachableInstancePartitionsList() { + public com.google.protobuf.ProtocolStringList + getUnreachableInstancePartitionsList() { unreachableInstancePartitions_.makeImmutable(); return unreachableInstancePartitions_; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1339,15 +1206,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableInstancePartitionsLi
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @return The count of unreachableInstancePartitions. */ public int getUnreachableInstancePartitionsCount() { return unreachableInstancePartitions_.size(); } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1356,7 +1220,6 @@ public int getUnreachableInstancePartitionsCount() {
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @param index The index of the element to return. * @return The unreachableInstancePartitions at the given index. */ @@ -1364,8 +1227,6 @@ public java.lang.String getUnreachableInstancePartitions(int index) { return unreachableInstancePartitions_.get(index); } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1374,16 +1235,14 @@ public java.lang.String getUnreachableInstancePartitions(int index) {
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableInstancePartitions at the given index. */ - public com.google.protobuf.ByteString getUnreachableInstancePartitionsBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableInstancePartitionsBytes(int index) { return unreachableInstancePartitions_.getByteString(index); } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1392,15 +1251,13 @@ public com.google.protobuf.ByteString getUnreachableInstancePartitionsBytes(int
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @param index The index to set the value at. * @param value The unreachableInstancePartitions to set. * @return This builder for chaining. */ - public Builder setUnreachableInstancePartitions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachableInstancePartitions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableInstancePartitionsIsMutable(); unreachableInstancePartitions_.set(index, value); bitField0_ |= 0x00000004; @@ -1408,8 +1265,6 @@ public Builder setUnreachableInstancePartitions(int index, java.lang.String valu return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1418,14 +1273,12 @@ public Builder setUnreachableInstancePartitions(int index, java.lang.String valu
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @param value The unreachableInstancePartitions to add. * @return This builder for chaining. */ - public Builder addUnreachableInstancePartitions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableInstancePartitions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableInstancePartitionsIsMutable(); unreachableInstancePartitions_.add(value); bitField0_ |= 0x00000004; @@ -1433,8 +1286,6 @@ public Builder addUnreachableInstancePartitions(java.lang.String value) { return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1443,7 +1294,6 @@ public Builder addUnreachableInstancePartitions(java.lang.String value) {
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @param values The unreachableInstancePartitions to add. * @return This builder for chaining. */ @@ -1457,8 +1307,6 @@ public Builder addAllUnreachableInstancePartitions( return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1467,19 +1315,16 @@ public Builder addAllUnreachableInstancePartitions(
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @return This builder for chaining. */ public Builder clearUnreachableInstancePartitions() { - unreachableInstancePartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachableInstancePartitions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose operation metadata could
@@ -1488,14 +1333,12 @@ public Builder clearUnreachableInstancePartitions() {
      * 
* * repeated string unreachable_instance_partitions = 3; - * * @param value The bytes of the unreachableInstancePartitions to add. * @return This builder for chaining. */ - public Builder addUnreachableInstancePartitionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableInstancePartitionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableInstancePartitionsIsMutable(); unreachableInstancePartitions_.add(value); @@ -1503,9 +1346,9 @@ public Builder addUnreachableInstancePartitionsBytes(com.google.protobuf.ByteStr onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1515,44 +1358,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancePartitionOperationsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancePartitionOperationsResponse 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; @@ -1564,8 +1404,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponseOrBuilder.java similarity index 84% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponseOrBuilder.java index f0d7b224276..37d01d4bb74 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionOperationsResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstancePartitionOperationsResponseOrBuilder - extends +public interface ListInstancePartitionOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -37,10 +19,9 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsList();
+  java.util.List 
+      getOperationsList();
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -53,8 +34,6 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -67,8 +46,6 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    */
   int getOperationsCount();
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -79,10 +56,9 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsOrBuilderList();
+  java.util.List 
+      getOperationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching instance partition [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -93,11 +69,10 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -105,13 +80,10 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
@@ -119,14 +91,12 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -135,13 +105,11 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @return A list containing the unreachableInstancePartitions. */ - java.util.List getUnreachableInstancePartitionsList(); + java.util.List + getUnreachableInstancePartitionsList(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -150,13 +118,10 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @return The count of unreachableInstancePartitions. */ int getUnreachableInstancePartitionsCount(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -165,14 +130,11 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @param index The index of the element to return. * @return The unreachableInstancePartitions at the given index. */ java.lang.String getUnreachableInstancePartitions(int index); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose operation metadata could
@@ -181,9 +143,9 @@ public interface ListInstancePartitionOperationsResponseOrBuilder
    * 
* * repeated string unreachable_instance_partitions = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachableInstancePartitions at the given index. */ - com.google.protobuf.ByteString getUnreachableInstancePartitionsBytes(int index); + com.google.protobuf.ByteString + getUnreachableInstancePartitionsBytes(int index); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequest.java index 617de48ebe3..b96e4d944e8 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionsRequest}
  */
-public final class ListInstancePartitionsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstancePartitionsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstancePartitionsRequest)
     ListInstancePartitionsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstancePartitionsRequest.newBuilder() to construct.
   private ListInstancePartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstancePartitionsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -46,42 +28,35 @@ private ListInstancePartitionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancePartitionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.class, com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The instance whose instance partitions should be listed. Values
    * are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The instance whose instance partitions should be listed. Values
    * are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,15 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of instance partitions to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -143,12 +113,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -157,7 +124,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -166,15 +132,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -183,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,8 +168,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int INSTANCE_PARTITION_DEADLINE_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp instancePartitionDeadline_; /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partitions.
    * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -213,10 +177,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePartitionDeadline field is set. */ @java.lang.Override @@ -224,8 +185,6 @@ public boolean hasInstancePartitionDeadline() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partitions.
    * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -235,21 +194,14 @@ public boolean hasInstancePartitionDeadline() {
    * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePartitionDeadline. */ @java.lang.Override public com.google.protobuf.Timestamp getInstancePartitionDeadline() { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partitions.
    * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -259,19 +211,14 @@ public com.google.protobuf.Timestamp getInstancePartitionDeadline() {
    * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuilder() { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -309,15 +257,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getInstancePartitionDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInstancePartitionDeadline()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,21 +275,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest other = - (com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest other = (com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasInstancePartitionDeadline() != other.hasInstancePartitionDeadline()) return false; if (hasInstancePartitionDeadline()) { - if (!getInstancePartitionDeadline().equals(other.getInstancePartitionDeadline())) - return false; + if (!getInstancePartitionDeadline() + .equals(other.getInstancePartitionDeadline())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -370,105 +320,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest - 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 com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest 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 com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].
@@ -476,42 +419,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstancePartitionsRequest)
       com.google.spanner.admin.instance.v1.ListInstancePartitionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.class, com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstancePartitionDeadlineFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -528,16 +468,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -551,17 +489,13 @@ public com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest build(
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest result = new com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -574,10 +508,9 @@ private void buildPartial0(
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.instancePartitionDeadline_ =
-            instancePartitionDeadlineBuilder_ == null
-                ? instancePartitionDeadline_
-                : instancePartitionDeadlineBuilder_.build();
+        result.instancePartitionDeadline_ = instancePartitionDeadlineBuilder_ == null
+            ? instancePartitionDeadline_
+            : instancePartitionDeadlineBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -587,51 +520,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -674,38 +602,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getInstancePartitionDeadlineFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getInstancePartitionDeadlineFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -715,28 +639,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The instance whose instance partitions should be listed. Values
      * are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -745,24 +664,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance whose instance partitions should be listed. Values
      * are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -770,41 +686,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance whose instance partitions should be listed. Values
      * are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The instance whose instance partitions should be listed. Values
      * are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -814,24 +719,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance whose instance partitions should be listed. Values
      * are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -839,17 +738,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of instance partitions to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -857,15 +753,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of instance partitions to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -877,15 +770,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of instance partitions to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -897,8 +787,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -907,13 +795,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -922,8 +810,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -932,14 +818,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -947,8 +834,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -957,22 +842,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -981,7 +862,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -991,8 +871,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -1001,14 +879,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1018,13 +894,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp instancePartitionDeadline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - instancePartitionDeadlineBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> instancePartitionDeadlineBuilder_; /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1034,18 +905,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePartitionDeadline field is set. */ public boolean hasInstancePartitionDeadline() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1055,24 +921,17 @@ public boolean hasInstancePartitionDeadline() {
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePartitionDeadline. */ public com.google.protobuf.Timestamp getInstancePartitionDeadline() { if (instancePartitionDeadlineBuilder_ == null) { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } else { return instancePartitionDeadlineBuilder_.getMessage(); } } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1082,9 +941,7 @@ public com.google.protobuf.Timestamp getInstancePartitionDeadline() {
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInstancePartitionDeadline(com.google.protobuf.Timestamp value) { if (instancePartitionDeadlineBuilder_ == null) { @@ -1100,8 +957,6 @@ public Builder setInstancePartitionDeadline(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1111,9 +966,7 @@ public Builder setInstancePartitionDeadline(com.google.protobuf.Timestamp value)
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInstancePartitionDeadline( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1127,8 +980,6 @@ public Builder setInstancePartitionDeadline( return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1138,15 +989,13 @@ public Builder setInstancePartitionDeadline(
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeInstancePartitionDeadline(com.google.protobuf.Timestamp value) { if (instancePartitionDeadlineBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && instancePartitionDeadline_ != null - && instancePartitionDeadline_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + instancePartitionDeadline_ != null && + instancePartitionDeadline_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getInstancePartitionDeadlineBuilder().mergeFrom(value); } else { instancePartitionDeadline_ = value; @@ -1161,8 +1010,6 @@ public Builder mergeInstancePartitionDeadline(com.google.protobuf.Timestamp valu return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1172,9 +1019,7 @@ public Builder mergeInstancePartitionDeadline(com.google.protobuf.Timestamp valu
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearInstancePartitionDeadline() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1187,8 +1032,6 @@ public Builder clearInstancePartitionDeadline() { return this; } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1198,9 +1041,7 @@ public Builder clearInstancePartitionDeadline() {
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getInstancePartitionDeadlineBuilder() { bitField0_ |= 0x00000008; @@ -1208,8 +1049,6 @@ public com.google.protobuf.Timestamp.Builder getInstancePartitionDeadlineBuilder return getInstancePartitionDeadlineFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1219,22 +1058,17 @@ public com.google.protobuf.Timestamp.Builder getInstancePartitionDeadlineBuilder
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuilder() { if (instancePartitionDeadlineBuilder_ != null) { return instancePartitionDeadlineBuilder_.getMessageOrBuilder(); } else { - return instancePartitionDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instancePartitionDeadline_; + return instancePartitionDeadline_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : instancePartitionDeadline_; } } /** - * - * *
      * Optional. Deadline used while retrieving metadata for instance partitions.
      * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -1244,29 +1078,24 @@ public com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuil
      * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
      * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getInstancePartitionDeadlineFieldBuilder() { if (instancePartitionDeadlineBuilder_ == null) { - instancePartitionDeadlineBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getInstancePartitionDeadline(), getParentForChildren(), isClean()); + instancePartitionDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getInstancePartitionDeadline(), + getParentForChildren(), + isClean()); instancePartitionDeadline_ = null; } return instancePartitionDeadlineBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1276,43 +1105,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancePartitionsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancePartitionsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancePartitionsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancePartitionsRequest 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; @@ -1324,8 +1151,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstancePartitionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequestOrBuilder.java index 4258e48f6ad..d2f07a02f27 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsRequestOrBuilder.java @@ -1,77 +1,47 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstancePartitionsRequestOrBuilder - extends +public interface ListInstancePartitionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancePartitionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance whose instance partitions should be listed. Values
    * are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The instance whose instance partitions should be listed. Values
    * are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Number of instance partitions to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -80,13 +50,10 @@ public interface ListInstancePartitionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancePartitionsResponse.next_page_token]
@@ -95,14 +62,12 @@ public interface ListInstancePartitionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partitions.
    * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -112,16 +77,11 @@ public interface ListInstancePartitionsRequestOrBuilder
    * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePartitionDeadline field is set. */ boolean hasInstancePartitionDeadline(); /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partitions.
    * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -131,16 +91,11 @@ public interface ListInstancePartitionsRequestOrBuilder
    * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePartitionDeadline. */ com.google.protobuf.Timestamp getInstancePartitionDeadline(); /** - * - * *
    * Optional. Deadline used while retrieving metadata for instance partitions.
    * Instance partitions whose metadata cannot be retrieved within this deadline
@@ -150,9 +105,7 @@ public interface ListInstancePartitionsRequestOrBuilder
    * [ListInstancePartitionsResponse][google.spanner.admin.instance.v1.ListInstancePartitionsResponse].
    * 
* - * - * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp instance_partition_deadline = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getInstancePartitionDeadlineOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponse.java similarity index 70% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponse.java index 12de299c491..962c2588f8a 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The response for
  * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].
@@ -29,130 +12,107 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionsResponse}
  */
-public final class ListInstancePartitionsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstancePartitionsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstancePartitionsResponse)
     ListInstancePartitionsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstancePartitionsResponse.newBuilder() to construct.
-  private ListInstancePartitionsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstancePartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstancePartitionsResponse() {
     instancePartitions_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
-    unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    unreachable_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancePartitionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.class, com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.Builder.class);
   }
 
   public static final int INSTANCE_PARTITIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
-  private java.util.List
-      instancePartitions_;
+  private java.util.List instancePartitions_;
   /**
-   *
-   *
    * 
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ @java.lang.Override - public java.util.List - getInstancePartitionsList() { + public java.util.List getInstancePartitionsList() { return instancePartitions_; } /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancePartitionsOrBuilderList() { return instancePartitions_; } /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ @java.lang.Override public int getInstancePartitionsCount() { return instancePartitions_.size(); } /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartitions(int index) { return instancePartitions_.get(index); } /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionsOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionsOrBuilder( + int index) { return instancePartitions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -160,7 +120,6 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -169,15 +128,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -185,15 +143,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -202,13 +161,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -217,15 +173,13 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -234,15 +188,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableList() {
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -251,7 +202,6 @@ public int getUnreachableCount() {
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -259,8 +209,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -269,16 +217,15 @@ public java.lang.String getUnreachable(int index) {
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,7 +237,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instancePartitions_.size(); i++) { output.writeMessage(1, instancePartitions_.get(i)); } @@ -310,8 +258,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instancePartitions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, instancePartitions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instancePartitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -332,17 +280,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse other = - (com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse other = (com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse) obj; - if (!getInstancePartitionsList().equals(other.getInstancePartitionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInstancePartitionsList() + .equals(other.getInstancePartitionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,105 +320,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse - 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 com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse 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 com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].
@@ -476,33 +419,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancePartitionsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstancePartitionsResponse)
       com.google.spanner.admin.instance.v1.ListInstancePartitionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.class, com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -515,21 +458,20 @@ public Builder clear() {
       }
       bitField0_ = (bitField0_ & ~0x00000001);
       nextPageToken_ = "";
-      unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      unreachable_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -543,18 +485,14 @@ public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse build
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse(this);
+      com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse result = new com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse result) {
       if (instancePartitionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           instancePartitions_ = java.util.Collections.unmodifiableList(instancePartitions_);
@@ -566,8 +504,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -582,51 +519,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.getDefaultInstance()) return this;
       if (instancePartitionsBuilder_ == null) {
         if (!other.instancePartitions_.isEmpty()) {
           if (instancePartitions_.isEmpty()) {
@@ -645,10 +577,9 @@ public Builder mergeFrom(
             instancePartitionsBuilder_ = null;
             instancePartitions_ = other.instancePartitions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            instancePartitionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInstancePartitionsFieldBuilder()
-                    : null;
+            instancePartitionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInstancePartitionsFieldBuilder() : null;
           } else {
             instancePartitionsBuilder_.addAllMessages(other.instancePartitions_);
           }
@@ -695,40 +626,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.instance.v1.InstancePartition m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.InstancePartition.parser(),
-                        extensionRegistry);
-                if (instancePartitionsBuilder_ == null) {
-                  ensureInstancePartitionsIsMutable();
-                  instancePartitions_.add(m);
-                } else {
-                  instancePartitionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureUnreachableIsMutable();
-                unreachable_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.admin.instance.v1.InstancePartition m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.InstancePartition.parser(),
+                      extensionRegistry);
+              if (instancePartitionsBuilder_ == null) {
+                ensureInstancePartitionsIsMutable();
+                instancePartitions_.add(m);
+              } else {
+                instancePartitionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureUnreachableIsMutable();
+              unreachable_.add(s);
+              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) {
@@ -738,39 +665,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        instancePartitions_ = java.util.Collections.emptyList();
-
+    private java.util.List instancePartitions_ =
+      java.util.Collections.emptyList();
     private void ensureInstancePartitionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        instancePartitions_ =
-            new java.util.ArrayList(
-                instancePartitions_);
+        instancePartitions_ = new java.util.ArrayList(instancePartitions_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstancePartition,
-            com.google.spanner.admin.instance.v1.InstancePartition.Builder,
-            com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>
-        instancePartitionsBuilder_;
+        com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> instancePartitionsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public java.util.List - getInstancePartitionsList() { + public java.util.List getInstancePartitionsList() { if (instancePartitionsBuilder_ == null) { return java.util.Collections.unmodifiableList(instancePartitions_); } else { @@ -778,14 +694,11 @@ private void ensureInstancePartitionsIsMutable() { } } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public int getInstancePartitionsCount() { if (instancePartitionsBuilder_ == null) { @@ -795,14 +708,11 @@ public int getInstancePartitionsCount() { } } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartitions(int index) { if (instancePartitionsBuilder_ == null) { @@ -812,14 +722,11 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti } } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder setInstancePartitions( int index, com.google.spanner.admin.instance.v1.InstancePartition value) { @@ -836,14 +743,11 @@ public Builder setInstancePartitions( return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder setInstancePartitions( int index, com.google.spanner.admin.instance.v1.InstancePartition.Builder builderForValue) { @@ -857,17 +761,13 @@ public Builder setInstancePartitions( return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public Builder addInstancePartitions( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder addInstancePartitions(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -881,14 +781,11 @@ public Builder addInstancePartitions( return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder addInstancePartitions( int index, com.google.spanner.admin.instance.v1.InstancePartition value) { @@ -905,14 +802,11 @@ public Builder addInstancePartitions( return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder addInstancePartitions( com.google.spanner.admin.instance.v1.InstancePartition.Builder builderForValue) { @@ -926,14 +820,11 @@ public Builder addInstancePartitions( return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder addInstancePartitions( int index, com.google.spanner.admin.instance.v1.InstancePartition.Builder builderForValue) { @@ -947,21 +838,18 @@ public Builder addInstancePartitions( return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder addAllInstancePartitions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (instancePartitionsBuilder_ == null) { ensureInstancePartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instancePartitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instancePartitions_); onChanged(); } else { instancePartitionsBuilder_.addAllMessages(values); @@ -969,14 +857,11 @@ public Builder addAllInstancePartitions( return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder clearInstancePartitions() { if (instancePartitionsBuilder_ == null) { @@ -989,14 +874,11 @@ public Builder clearInstancePartitions() { return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ public Builder removeInstancePartitions(int index) { if (instancePartitionsBuilder_ == null) { @@ -1009,49 +891,39 @@ public Builder removeInstancePartitions(int index) { return this; } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartition.Builder - getInstancePartitionsBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstancePartition.Builder getInstancePartitionsBuilder( + int index) { return getInstancePartitionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionsOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionsOrBuilder( + int index) { if (instancePartitionsBuilder_ == null) { - return instancePartitions_.get(index); - } else { + return instancePartitions_.get(index); } else { return instancePartitionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public java.util.List - getInstancePartitionsOrBuilderList() { + public java.util.List + getInstancePartitionsOrBuilderList() { if (instancePartitionsBuilder_ != null) { return instancePartitionsBuilder_.getMessageOrBuilderList(); } else { @@ -1059,62 +931,45 @@ public Builder removeInstancePartitions(int index) { } } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartition.Builder - addInstancePartitionsBuilder() { - return getInstancePartitionsFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.InstancePartition.Builder addInstancePartitionsBuilder() { + return getInstancePartitionsFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()); } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartition.Builder - addInstancePartitionsBuilder(int index) { - return getInstancePartitionsFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.InstancePartition.Builder addInstancePartitionsBuilder( + int index) { + return getInstancePartitionsFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()); } /** - * - * *
      * The list of requested instancePartitions.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - public java.util.List - getInstancePartitionsBuilderList() { + public java.util.List + getInstancePartitionsBuilderList() { return getInstancePartitionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> getInstancePartitionsFieldBuilder() { if (instancePartitionsBuilder_ == null) { - instancePartitionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( + instancePartitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( instancePartitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1126,8 +981,6 @@ public Builder removeInstancePartitions(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -1135,13 +988,13 @@ public Builder removeInstancePartitions(int index) {
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1150,8 +1003,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -1159,14 +1010,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1174,8 +1026,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -1183,22 +1033,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -1206,7 +1052,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1216,8 +1061,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -1225,14 +1068,12 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1242,7 +1083,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1250,8 +1090,6 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1260,16 +1098,14 @@ private void ensureUnreachableIsMutable() {
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1278,15 +1114,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableList() {
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1295,7 +1128,6 @@ public int getUnreachableCount() {
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1303,8 +1135,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1313,16 +1143,14 @@ public java.lang.String getUnreachable(int index) {
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1331,15 +1159,13 @@ public com.google.protobuf.ByteString getUnreachableBytes(int index) {
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1347,8 +1173,6 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1357,14 +1181,12 @@ public Builder setUnreachable(int index, java.lang.String value) {
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1372,8 +1194,6 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1382,20 +1202,19 @@ public Builder addUnreachable(java.lang.String value) {
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1404,19 +1223,16 @@ public Builder addAllUnreachable(java.lang.Iterable values) {
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * The list of unreachable instance partitions.
      * It includes the names of instance partitions whose metadata could
@@ -1425,14 +1241,12 @@ public Builder clearUnreachable() {
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1440,9 +1254,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1452,43 +1266,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancePartitionsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancePartitionsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancePartitionsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancePartitionsResponse 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; @@ -1500,8 +1312,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponseOrBuilder.java similarity index 76% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponseOrBuilder.java index c5b595b14df..4be248a15b2 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancePartitionsResponseOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstancePartitionsResponseOrBuilder - extends +public interface ListInstancePartitionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancePartitionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - java.util.List + java.util.List getInstancePartitionsList(); /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ com.google.spanner.admin.instance.v1.InstancePartition getInstancePartitions(int index); /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ int getInstancePartitionsCount(); /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ - java.util.List + java.util.List getInstancePartitionsOrBuilderList(); /** - * - * *
    * The list of requested instancePartitions.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; - * + * repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; */ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionsOrBuilder( int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -93,13 +60,10 @@ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstanceParti
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
@@ -107,14 +71,12 @@ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstanceParti
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -123,13 +85,11 @@ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstanceParti
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -138,13 +98,10 @@ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstanceParti
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -153,14 +110,11 @@ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstanceParti
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * The list of unreachable instance partitions.
    * It includes the names of instance partitions whose metadata could
@@ -169,9 +123,9 @@ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstanceParti
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java similarity index 75% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java index 0a4bc5959f5..397693abcdf 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancesRequest}
  */
-public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstancesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstancesRequest)
     ListInstancesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstancesRequest.newBuilder() to construct.
   private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstancesRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -47,42 +29,35 @@ private ListInstancesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancesRequest.class, com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project for which a list of instances is
    * requested. Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project for which a list of instances is
    * requested. Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +100,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of instances to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -184,15 +149,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -201,12 +167,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -230,7 +193,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -239,15 +201,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -271,15 +232,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -290,8 +252,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int INSTANCE_DEADLINE_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp instanceDeadline_; /** - * - * *
    * Deadline used while retrieving metadata for instances.
    * Instances whose metadata cannot be retrieved within this deadline will be
@@ -302,7 +262,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * .google.protobuf.Timestamp instance_deadline = 5; - * * @return Whether the instanceDeadline field is set. */ @java.lang.Override @@ -310,8 +269,6 @@ public boolean hasInstanceDeadline() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Deadline used while retrieving metadata for instances.
    * Instances whose metadata cannot be retrieved within this deadline will be
@@ -322,18 +279,13 @@ public boolean hasInstanceDeadline() {
    * 
* * .google.protobuf.Timestamp instance_deadline = 5; - * * @return The instanceDeadline. */ @java.lang.Override public com.google.protobuf.Timestamp getInstanceDeadline() { - return instanceDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instanceDeadline_; + return instanceDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instanceDeadline_; } /** - * - * *
    * Deadline used while retrieving metadata for instances.
    * Instances whose metadata cannot be retrieved within this deadline will be
@@ -347,13 +299,10 @@ public com.google.protobuf.Timestamp getInstanceDeadline() {
    */
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getInstanceDeadlineOrBuilder() {
-    return instanceDeadline_ == null
-        ? com.google.protobuf.Timestamp.getDefaultInstance()
-        : instanceDeadline_;
+    return instanceDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instanceDeadline_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -365,7 +314,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -394,7 +344,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (pageSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, pageSize_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
@@ -403,7 +354,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInstanceDeadline());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getInstanceDeadline());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -413,21 +365,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstancesRequest)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.instance.v1.ListInstancesRequest other =
-        (com.google.spanner.admin.instance.v1.ListInstancesRequest) obj;
+    com.google.spanner.admin.instance.v1.ListInstancesRequest other = (com.google.spanner.admin.instance.v1.ListInstancesRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (getPageSize() != other.getPageSize()) return false;
-    if (!getPageToken().equals(other.getPageToken())) return false;
-    if (!getFilter().equals(other.getFilter())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (getPageSize()
+        != other.getPageSize()) return false;
+    if (!getPageToken()
+        .equals(other.getPageToken())) return false;
+    if (!getFilter()
+        .equals(other.getFilter())) return false;
     if (hasInstanceDeadline() != other.hasInstanceDeadline()) return false;
     if (hasInstanceDeadline()) {
-      if (!getInstanceDeadline().equals(other.getInstanceDeadline())) return false;
+      if (!getInstanceDeadline()
+          .equals(other.getInstanceDeadline())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -458,104 +414,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.instance.v1.ListInstancesRequest prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstancesRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -563,23 +513,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstancesRequest)
       com.google.spanner.admin.instance.v1.ListInstancesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancesRequest.class, com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstancesRequest.newBuilder()
@@ -587,17 +535,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceDeadlineFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -615,9 +563,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -636,11 +584,8 @@ public com.google.spanner.admin.instance.v1.ListInstancesRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancesRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancesRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.ListInstancesRequest result = new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -661,8 +606,9 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancesReq
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.instanceDeadline_ =
-            instanceDeadlineBuilder_ == null ? instanceDeadline_ : instanceDeadlineBuilder_.build();
+        result.instanceDeadline_ = instanceDeadlineBuilder_ == null
+            ? instanceDeadline_
+            : instanceDeadlineBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -672,39 +618,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancesReq
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancesRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -712,8 +657,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -761,44 +705,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(
-                    getInstanceDeadlineFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getInstanceDeadlineFieldBuilder().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) {
@@ -808,28 +747,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -838,24 +772,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -863,41 +794,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -907,24 +827,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project for which a list of instances is
      * requested. Values are of the form `projects/<project>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -932,17 +846,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -950,15 +861,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -970,15 +878,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -990,8 +895,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -1000,13 +903,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1015,8 +918,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -1025,14 +926,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1040,8 +942,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -1050,22 +950,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -1074,7 +970,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1084,8 +979,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -1094,14 +987,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1111,8 +1002,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1136,13 +1025,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1151,8 +1040,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1176,14 +1063,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1191,8 +1079,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1216,22 +1102,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1255,7 +1137,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1265,8 +1146,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1290,14 +1169,12 @@ public Builder clearFilter() {
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1307,13 +1184,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp instanceDeadline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - instanceDeadlineBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> instanceDeadlineBuilder_; /** - * - * *
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1324,15 +1196,12 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp instance_deadline = 5; - * * @return Whether the instanceDeadline field is set. */ public boolean hasInstanceDeadline() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1343,21 +1212,16 @@ public boolean hasInstanceDeadline() {
      * 
* * .google.protobuf.Timestamp instance_deadline = 5; - * * @return The instanceDeadline. */ public com.google.protobuf.Timestamp getInstanceDeadline() { if (instanceDeadlineBuilder_ == null) { - return instanceDeadline_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : instanceDeadline_; + return instanceDeadline_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : instanceDeadline_; } else { return instanceDeadlineBuilder_.getMessage(); } } /** - * - * *
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1383,8 +1247,6 @@ public Builder setInstanceDeadline(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1396,7 +1258,8 @@ public Builder setInstanceDeadline(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp instance_deadline = 5;
      */
-    public Builder setInstanceDeadline(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setInstanceDeadline(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (instanceDeadlineBuilder_ == null) {
         instanceDeadline_ = builderForValue.build();
       } else {
@@ -1407,8 +1270,6 @@ public Builder setInstanceDeadline(com.google.protobuf.Timestamp.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1422,9 +1283,9 @@ public Builder setInstanceDeadline(com.google.protobuf.Timestamp.Builder builder
      */
     public Builder mergeInstanceDeadline(com.google.protobuf.Timestamp value) {
       if (instanceDeadlineBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && instanceDeadline_ != null
-            && instanceDeadline_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          instanceDeadline_ != null &&
+          instanceDeadline_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getInstanceDeadlineBuilder().mergeFrom(value);
         } else {
           instanceDeadline_ = value;
@@ -1439,8 +1300,6 @@ public Builder mergeInstanceDeadline(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1463,8 +1322,6 @@ public Builder clearInstanceDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1482,8 +1339,6 @@ public com.google.protobuf.Timestamp.Builder getInstanceDeadlineBuilder() {
       return getInstanceDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1499,14 +1354,11 @@ public com.google.protobuf.TimestampOrBuilder getInstanceDeadlineOrBuilder() {
       if (instanceDeadlineBuilder_ != null) {
         return instanceDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return instanceDeadline_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : instanceDeadline_;
+        return instanceDeadline_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : instanceDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * Deadline used while retrieving metadata for instances.
      * Instances whose metadata cannot be retrieved within this deadline will be
@@ -1519,24 +1371,21 @@ public com.google.protobuf.TimestampOrBuilder getInstanceDeadlineOrBuilder() {
      * .google.protobuf.Timestamp instance_deadline = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getInstanceDeadlineFieldBuilder() {
       if (instanceDeadlineBuilder_ == null) {
-        instanceDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getInstanceDeadline(), getParentForChildren(), isClean());
+        instanceDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getInstanceDeadline(),
+                getParentForChildren(),
+                isClean());
         instanceDeadline_ = null;
       }
       return instanceDeadlineBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1546,12 +1395,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancesRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesRequest)
   private static final com.google.spanner.admin.instance.v1.ListInstancesRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancesRequest();
   }
@@ -1560,27 +1409,27 @@ public static com.google.spanner.admin.instance.v1.ListInstancesRequest getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListInstancesRequest 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListInstancesRequest 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;
@@ -1595,4 +1444,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java
similarity index 81%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java
index db6046fab89..06995c6b572 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java
@@ -1,77 +1,47 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.instance.v1;
 
-public interface ListInstancesRequestOrBuilder
-    extends
+public interface ListInstancesRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancesRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The name of the project for which a list of instances is
    * requested. Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project for which a list of instances is
    * requested. Values are of the form `projects/<project>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Number of instances to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -80,13 +50,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -95,14 +62,12 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -126,13 +91,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -156,14 +118,12 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Deadline used while retrieving metadata for instances.
    * Instances whose metadata cannot be retrieved within this deadline will be
@@ -174,13 +134,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * .google.protobuf.Timestamp instance_deadline = 5; - * * @return Whether the instanceDeadline field is set. */ boolean hasInstanceDeadline(); /** - * - * *
    * Deadline used while retrieving metadata for instances.
    * Instances whose metadata cannot be retrieved within this deadline will be
@@ -191,13 +148,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * .google.protobuf.Timestamp instance_deadline = 5; - * * @return The instanceDeadline. */ com.google.protobuf.Timestamp getInstanceDeadline(); /** - * - * *
    * Deadline used while retrieving metadata for instances.
    * Instances whose metadata cannot be retrieved within this deadline will be
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java
similarity index 74%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java
index 806f77bfe9f..e5f840f6c38 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.admin.instance.v1;
 
 /**
- *
- *
  * 
  * The response for
  * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -29,50 +12,46 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancesResponse}
  */
-public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstancesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstancesResponse)
     ListInstancesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstancesResponse.newBuilder() to construct.
   private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstancesResponse() {
     instances_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
-    unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    unreachable_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancesResponse.class, com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
   }
 
   public static final int INSTANCES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List instances_;
   /**
-   *
-   *
    * 
    * The list of requested instances.
    * 
@@ -84,8 +63,6 @@ public java.util.List getInstance return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -93,13 +70,11 @@ public java.util.List getInstance * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -111,8 +86,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of requested instances.
    * 
@@ -124,8 +97,6 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of requested instances.
    * 
@@ -133,17 +104,15 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -151,7 +120,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,15 +128,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -176,15 +143,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,13 +161,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -208,15 +173,13 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -225,15 +188,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableList() {
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -242,7 +202,6 @@ public int getUnreachableCount() {
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -250,8 +209,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -260,16 +217,15 @@ public java.lang.String getUnreachable(int index) {
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +237,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -301,7 +258,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -322,17 +280,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstancesResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancesResponse other = - (com.google.spanner.admin.instance.v1.ListInstancesResponse) obj; + com.google.spanner.admin.instance.v1.ListInstancesResponse other = (com.google.spanner.admin.instance.v1.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -360,104 +320,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstancesResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -465,32 +419,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstancesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstancesResponse)
       com.google.spanner.admin.instance.v1.ListInstancesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancesResponse.class, com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstancesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,14 +458,15 @@ public Builder clear() {
       }
       bitField0_ = (bitField0_ & ~0x00000001);
       nextPageToken_ = "";
-      unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      unreachable_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -529,18 +485,14 @@ public com.google.spanner.admin.instance.v1.ListInstancesResponse build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancesResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancesResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstancesResponse(this);
+      com.google.spanner.admin.instance.v1.ListInstancesResponse result = new com.google.spanner.admin.instance.v1.ListInstancesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstancesResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstancesResponse result) {
       if (instancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           instances_ = java.util.Collections.unmodifiableList(instances_);
@@ -567,39 +519,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancesRes
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancesResponse) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesResponse) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -607,8 +558,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesResponse other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance()) return this;
       if (instancesBuilder_ == null) {
         if (!other.instances_.isEmpty()) {
           if (instances_.isEmpty()) {
@@ -627,10 +577,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRespo
             instancesBuilder_ = null;
             instances_ = other.instances_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            instancesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInstancesFieldBuilder()
-                    : null;
+            instancesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInstancesFieldBuilder() : null;
           } else {
             instancesBuilder_.addAllMessages(other.instances_);
           }
@@ -677,39 +626,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.instance.v1.Instance m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.Instance.parser(), extensionRegistry);
-                if (instancesBuilder_ == null) {
-                  ensureInstancesIsMutable();
-                  instances_.add(m);
-                } else {
-                  instancesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureUnreachableIsMutable();
-                unreachable_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.admin.instance.v1.Instance m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.Instance.parser(),
+                      extensionRegistry);
+              if (instancesBuilder_ == null) {
+                ensureInstancesIsMutable();
+                instances_.add(m);
+              } else {
+                instancesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureUnreachableIsMutable();
+              unreachable_.add(s);
+              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) {
@@ -719,29 +665,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List instances_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureInstancesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        instances_ =
-            new java.util.ArrayList(instances_);
+        instances_ = new java.util.ArrayList(instances_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instancesBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instancesBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of requested instances.
      * 
@@ -756,8 +694,6 @@ public java.util.List getInstance } } /** - * - * *
      * The list of requested instances.
      * 
@@ -772,8 +708,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of requested instances.
      * 
@@ -788,15 +722,14 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public Builder setInstances(int index, com.google.spanner.admin.instance.v1.Instance value) { + public Builder setInstances( + int index, com.google.spanner.admin.instance.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -810,8 +743,6 @@ public Builder setInstances(int index, com.google.spanner.admin.instance.v1.Inst return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -830,8 +761,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -852,15 +781,14 @@ public Builder addInstances(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public Builder addInstances(int index, com.google.spanner.admin.instance.v1.Instance value) { + public Builder addInstances( + int index, com.google.spanner.admin.instance.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -874,8 +802,6 @@ public Builder addInstances(int index, com.google.spanner.admin.instance.v1.Inst return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -894,8 +820,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -914,8 +838,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -926,7 +848,8 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -934,8 +857,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -953,8 +874,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -972,44 +891,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.Instance.Builder getInstancesBuilder(int index) { + public com.google.spanner.admin.instance.v1.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -1017,8 +931,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil } } /** - * - * *
      * The list of requested instances.
      * 
@@ -1026,48 +938,42 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1075,8 +981,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1084,13 +988,13 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1099,8 +1003,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1108,14 +1010,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1123,8 +1026,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1132,22 +1033,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1155,7 +1052,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1165,8 +1061,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1174,14 +1068,12 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1191,7 +1083,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1199,8 +1090,6 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1209,16 +1098,14 @@ private void ensureUnreachableIsMutable() {
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1227,15 +1114,12 @@ public com.google.protobuf.ProtocolStringList getUnreachableList() {
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1244,7 +1128,6 @@ public int getUnreachableCount() {
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1252,8 +1135,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1262,16 +1143,14 @@ public java.lang.String getUnreachable(int index) {
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1280,15 +1159,13 @@ public com.google.protobuf.ByteString getUnreachableBytes(int index) {
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1296,8 +1173,6 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1306,14 +1181,12 @@ public Builder setUnreachable(int index, java.lang.String value) {
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1321,8 +1194,6 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1331,20 +1202,19 @@ public Builder addUnreachable(java.lang.String value) {
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1353,19 +1223,16 @@ public Builder addAllUnreachable(java.lang.Iterable values) {
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * The list of unreachable instances.
      * It includes the names of instances whose metadata could not be retrieved
@@ -1374,14 +1241,12 @@ public Builder clearUnreachable() {
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1389,9 +1254,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1401,12 +1266,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesResponse) private static final com.google.spanner.admin.instance.v1.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancesResponse(); } @@ -1415,27 +1280,27 @@ public static com.google.spanner.admin.instance.v1.ListInstancesResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse 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; @@ -1450,4 +1315,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java index 38b12c3faa4..cc83fd81375 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * The list of requested instances.
    * 
@@ -45,8 +26,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.spanner.admin.instance.v1.Instance getInstances(int index); /** - * - * *
    * The list of requested instances.
    * 
@@ -55,30 +34,25 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -86,13 +60,10 @@ public interface ListInstancesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -100,14 +71,12 @@ public interface ListInstancesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -116,13 +85,11 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -131,13 +98,10 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -146,14 +110,11 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * The list of unreachable instances.
    * It includes the names of instances whose metadata could not be retrieved
@@ -162,9 +123,9 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java similarity index 70% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java index 828eab461de..2fad9a8a7b5 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/common.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Encapsulates progress related information for a Cloud Spanner long
  * running instance operations.
@@ -29,52 +12,48 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.OperationProgress}
  */
-public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OperationProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.OperationProgress)
     OperationProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private OperationProgress() {}
+  private OperationProgress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.CommonProto
-        .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.CommonProto
-        .internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.OperationProgress.class,
-            com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
+            com.google.spanner.admin.instance.v1.OperationProgress.class, com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROGRESS_PERCENT_FIELD_NUMBER = 1;
   private int progressPercent_ = 0;
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -85,14 +64,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -100,14 +76,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -115,8 +88,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -131,15 +102,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -147,15 +115,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -163,8 +128,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -178,7 +141,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,7 +152,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -210,13 +173,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, progressPercent_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -226,22 +192,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.instance.v1.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.instance.v1.OperationProgress other =
-        (com.google.spanner.admin.instance.v1.OperationProgress) obj;
+    com.google.spanner.admin.instance.v1.OperationProgress other = (com.google.spanner.admin.instance.v1.OperationProgress) obj;
 
-    if (getProgressPercent() != other.getProgressPercent()) return false;
+    if (getProgressPercent()
+        != other.getProgressPercent()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -270,104 +238,98 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.admin.instance.v1.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.admin.instance.v1.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.instance.v1.OperationProgress prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.instance.v1.OperationProgress prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Encapsulates progress related information for a Cloud Spanner long
    * running instance operations.
@@ -375,23 +337,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.OperationProgress}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.OperationProgress)
       com.google.spanner.admin.instance.v1.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.CommonProto
-          .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.CommonProto
-          .internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.OperationProgress.class,
-              com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
+              com.google.spanner.admin.instance.v1.OperationProgress.class, com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.OperationProgress.newBuilder()
@@ -399,18 +359,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.CommonProto
-          .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -451,11 +411,8 @@ public com.google.spanner.admin.instance.v1.OperationProgress build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.OperationProgress buildPartial() {
-      com.google.spanner.admin.instance.v1.OperationProgress result =
-          new com.google.spanner.admin.instance.v1.OperationProgress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.OperationProgress result = new com.google.spanner.admin.instance.v1.OperationProgress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -467,11 +424,15 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.OperationProgres
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -481,39 +442,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.OperationProgres
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.OperationProgress) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.OperationProgress) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.OperationProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -521,8 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.OperationProgress other) {
-      if (other == com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) return this;
       if (other.getProgressPercent() != 0) {
         setProgressPercent(other.getProgressPercent());
       }
@@ -558,31 +517,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              progressPercent_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -592,20 +551,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int progressPercent_;
+    private int progressPercent_ ;
     /**
-     *
-     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -613,15 +568,12 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ @@ -633,15 +585,12 @@ public Builder setProgressPercent(int value) { return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -653,33 +602,24 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -690,8 +630,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -712,15 +650,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -731,8 +668,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -741,9 +676,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -758,8 +693,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -777,8 +710,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -791,8 +722,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -803,12 +732,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time the request was received.
      * 
@@ -816,17 +744,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -834,35 +759,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -873,8 +789,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -896,8 +810,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -905,7 +817,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -916,8 +829,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -927,9 +838,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -944,8 +855,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -964,8 +873,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -979,8 +886,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -992,12 +897,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -1006,24 +910,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1033,12 +934,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.OperationProgress)
   private static final com.google.spanner.admin.instance.v1.OperationProgress DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.OperationProgress();
   }
@@ -1047,27 +948,27 @@ public static com.google.spanner.admin.instance.v1.OperationProgress getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OperationProgress 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OperationProgress 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;
@@ -1082,4 +983,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.instance.v1.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
similarity index 72%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
index e0855d53677..708f950b665 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
@@ -1,70 +1,43 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/common.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.instance.v1;
 
-public interface OperationProgressOrBuilder
-    extends
+public interface OperationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.OperationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time the request was received.
    * 
@@ -74,34 +47,26 @@ public interface OperationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
similarity index 100%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
similarity index 71%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
index 98ead9cec9d..43d1e017bb4 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
@@ -1,35 +1,21 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.admin.instance.v1;
 
-/** Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} */
-public final class ReplicaInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+/**
+ * Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo}
+ */
+public final class ReplicaInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ReplicaInfo)
     ReplicaInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReplicaInfo.newBuilder() to construct.
   private ReplicaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReplicaInfo() {
     location_ = "";
     type_ = 0;
@@ -37,28 +23,25 @@ private ReplicaInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReplicaInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ReplicaInfo.class,
-            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class);
+            com.google.spanner.admin.instance.v1.ReplicaInfo.class, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Indicates the type of replica.  See the [replica types
    * documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
@@ -67,10 +50,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType}
    */
-  public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ReplicaType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -79,8 +61,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Read-write replicas support both reads and writes. These replicas:
      *
@@ -95,8 +75,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_WRITE(1),
     /**
-     *
-     *
      * 
      * Read-only replicas only support reads (not writes). Read-only replicas:
      *
@@ -110,8 +88,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_ONLY(2),
     /**
-     *
-     *
      * 
      * Witness replicas don't support reads but do participate in voting to
      * commit writes. Witness replicas:
@@ -129,8 +105,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -139,8 +113,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Read-write replicas support both reads and writes. These replicas:
      *
@@ -155,8 +127,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_WRITE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Read-only replicas only support reads (not writes). Read-only replicas:
      *
@@ -170,8 +140,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_ONLY_VALUE = 2;
     /**
-     *
-     *
      * 
      * Witness replicas don't support reads but do participate in voting to
      * commit writes. Witness replicas:
@@ -186,6 +154,7 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WITNESS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -210,51 +179,50 @@ public static ReplicaType valueOf(int value) {
      */
     public static ReplicaType forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return READ_WRITE;
-        case 2:
-          return READ_ONLY;
-        case 3:
-          return WITNESS;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return READ_WRITE;
+        case 2: return READ_ONLY;
+        case 3: return WITNESS;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ReplicaType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ReplicaType findValueByNumber(int number) {
+              return ReplicaType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ReplicaType findValueByNumber(int number) {
-            return ReplicaType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.spanner.admin.instance.v1.ReplicaInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ReplicaType[] VALUES = values();
 
-    public static ReplicaType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ReplicaType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -272,18 +240,14 @@ private ReplicaType(int value) {
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object location_ = "";
   /**
-   *
-   *
    * 
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @return The location. */ @java.lang.Override @@ -292,29 +256,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -325,45 +289,32 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); - return result == null - ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); + return result == null ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED : result; } public static final int DEFAULT_LEADER_LOCATION_FIELD_NUMBER = 3; private boolean defaultLeaderLocation_ = false; /** - * - * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -372,7 +323,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() {
    * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -381,7 +331,6 @@ public boolean getDefaultLeaderLocation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,13 +342,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } - if (type_ - != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (defaultLeaderLocation_ != false) { @@ -417,13 +365,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, location_); } - if (type_ - != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (defaultLeaderLocation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, defaultLeaderLocation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, defaultLeaderLocation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -433,17 +381,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.ReplicaInfo)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ReplicaInfo other = - (com.google.spanner.admin.instance.v1.ReplicaInfo) obj; + com.google.spanner.admin.instance.v1.ReplicaInfo other = (com.google.spanner.admin.instance.v1.ReplicaInfo) obj; - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (type_ != other.type_) return false; - if (getDefaultLeaderLocation() != other.getDefaultLeaderLocation()) return false; + if (getDefaultLeaderLocation() + != other.getDefaultLeaderLocation()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -460,134 +409,135 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + DEFAULT_LEADER_LOCATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultLeaderLocation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDefaultLeaderLocation()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ReplicaInfo) com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.ReplicaInfo.class, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class); + com.google.spanner.admin.instance.v1.ReplicaInfo.class, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class); } // Construct using com.google.spanner.admin.instance.v1.ReplicaInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -599,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; } @java.lang.Override @@ -620,11 +570,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo build() { @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo buildPartial() { - com.google.spanner.admin.instance.v1.ReplicaInfo result = - new com.google.spanner.admin.instance.v1.ReplicaInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.instance.v1.ReplicaInfo result = new com.google.spanner.admin.instance.v1.ReplicaInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -646,39 +593,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ReplicaInfo resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.instance.v1.ReplicaInfo) { - return mergeFrom((com.google.spanner.admin.instance.v1.ReplicaInfo) other); + return mergeFrom((com.google.spanner.admin.instance.v1.ReplicaInfo)other); } else { super.mergeFrom(other); return this; @@ -686,8 +632,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.instance.v1.ReplicaInfo other) { - if (other == com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; bitField0_ |= 0x00000001; @@ -725,31 +670,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - defaultLeaderLocation_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + defaultLeaderLocation_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + 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) { @@ -759,25 +700,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object location_ = ""; /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -786,21 +724,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -808,35 +745,28 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -846,21 +776,17 @@ public Builder clearLocation() { return this; } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000001; @@ -870,29 +796,22 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -903,33 +822,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The type. */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); - return result == null - ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); + return result == null ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED : result; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -943,14 +853,11 @@ public Builder setType(com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaT return this; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -960,10 +867,8 @@ public Builder clearType() { return this; } - private boolean defaultLeaderLocation_; + private boolean defaultLeaderLocation_ ; /** - * - * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -972,7 +877,6 @@ public Builder clearType() {
      * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -980,8 +884,6 @@ public boolean getDefaultLeaderLocation() { return defaultLeaderLocation_; } /** - * - * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -990,7 +892,6 @@ public boolean getDefaultLeaderLocation() {
      * 
* * bool default_leader_location = 3; - * * @param value The defaultLeaderLocation to set. * @return This builder for chaining. */ @@ -1002,8 +903,6 @@ public Builder setDefaultLeaderLocation(boolean value) { return this; } /** - * - * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -1012,7 +911,6 @@ public Builder setDefaultLeaderLocation(boolean value) {
      * 
* * bool default_leader_location = 3; - * * @return This builder for chaining. */ public Builder clearDefaultLeaderLocation() { @@ -1021,9 +919,9 @@ public Builder clearDefaultLeaderLocation() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1033,12 +931,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ReplicaInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ReplicaInfo) private static final com.google.spanner.admin.instance.v1.ReplicaInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ReplicaInfo(); } @@ -1047,27 +945,27 @@ public static com.google.spanner.admin.instance.v1.ReplicaInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicaInfo 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicaInfo 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; @@ -1082,4 +980,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ReplicaInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java index 3018d01a0bf..a1db56732ce 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java @@ -1,82 +1,53 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface ReplicaInfoOrBuilder - extends +public interface ReplicaInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ReplicaInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The type. */ com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType(); /** - * - * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -85,7 +56,6 @@ public interface ReplicaInfoOrBuilder
    * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ boolean getDefaultLeaderLocation(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java new file mode 100644 index 00000000000..a63ce441f97 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java @@ -0,0 +1,810 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.admin.instance.v1; + +public final class SpannerInstanceAdminProto { + private SpannerInstanceAdminProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_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=google/spanner/admin/instance/v1/spann" + + "er_instance_admin.proto\022 google.spanner." + + "admin.instance.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\036google/iam/v1/iam_policy.p" + + "roto\032\032google/iam/v1/policy.proto\032#google" + + "/longrunning/operations.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\032-google/spanner/admin/instance/v1/" + + "common.proto\"\332\001\n\013ReplicaInfo\022\020\n\010location" + + "\030\001 \001(\t\022G\n\004type\030\002 \001(\01629.google.spanner.ad" + + "min.instance.v1.ReplicaInfo.ReplicaType\022" + + "\037\n\027default_leader_location\030\003 \001(\010\"O\n\013Repl" + + "icaType\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nREAD_WR" + + "ITE\020\001\022\r\n\tREAD_ONLY\020\002\022\013\n\007WITNESS\020\003\"\276\006\n\016In" + + "stanceConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" + + "me\030\002 \001(\t\022O\n\013config_type\030\005 \001(\01625.google.s" + + "panner.admin.instance.v1.InstanceConfig." + + "TypeB\003\340A\003\022?\n\010replicas\030\003 \003(\0132-.google.spa" + + "nner.admin.instance.v1.ReplicaInfo\022M\n\021op" + + "tional_replicas\030\006 \003(\0132-.google.spanner.a" + + "dmin.instance.v1.ReplicaInfoB\003\340A\003\022?\n\013bas" + + "e_config\030\007 \001(\tB*\372A\'\n%spanner.googleapis." + + "com/InstanceConfig\022L\n\006labels\030\010 \003(\0132<.goo" + + "gle.spanner.admin.instance.v1.InstanceCo" + + "nfig.LabelsEntry\022\014\n\004etag\030\t \001(\t\022\026\n\016leader" + + "_options\030\004 \003(\t\022\030\n\013reconciling\030\n \001(\010B\003\340A\003" + + "\022J\n\005state\030\013 \001(\01626.google.spanner.admin.i" + + "nstance.v1.InstanceConfig.StateB\003\340A\003\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"B\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016GOO" + + "GLE_MANAGED\020\001\022\020\n\014USER_MANAGED\020\002\"7\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n" + + "\005READY\020\002:`\352A]\n%spanner.googleapis.com/In" + + "stanceConfig\0224projects/{project}/instanc" + + "eConfigs/{instance_config}\"\363\003\n\021Autoscali" + + "ngConfig\022f\n\022autoscaling_limits\030\001 \001(\0132E.g" + + "oogle.spanner.admin.instance.v1.Autoscal" + + "ingConfig.AutoscalingLimitsB\003\340A\002\022h\n\023auto" + + "scaling_targets\030\002 \001(\0132F.google.spanner.a" + + "dmin.instance.v1.AutoscalingConfig.Autos" + + "calingTargetsB\003\340A\002\032\227\001\n\021AutoscalingLimits" + + "\022\023\n\tmin_nodes\030\001 \001(\005H\000\022\036\n\024min_processing_" + + "units\030\002 \001(\005H\000\022\023\n\tmax_nodes\030\003 \001(\005H\001\022\036\n\024ma" + + "x_processing_units\030\004 \001(\005H\001B\013\n\tmin_limitB" + + "\013\n\tmax_limit\032r\n\022AutoscalingTargets\0222\n%hi" + + "gh_priority_cpu_utilization_percent\030\001 \001(" + + "\005B\003\340A\002\022(\n\033storage_utilization_percent\030\002 " + + "\001(\005B\003\340A\002\"\303\005\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\002" + + "\022=\n\006config\030\002 \001(\tB-\340A\002\372A\'\n%spanner.google" + + "apis.com/InstanceConfig\022\031\n\014display_name\030" + + "\003 \001(\tB\003\340A\002\022\022\n\nnode_count\030\005 \001(\005\022\030\n\020proces" + + "sing_units\030\t \001(\005\022T\n\022autoscaling_config\030\021" + + " \001(\01323.google.spanner.admin.instance.v1." + + "AutoscalingConfigB\003\340A\001\022D\n\005state\030\006 \001(\01620." + + "google.spanner.admin.instance.v1.Instanc" + + "e.StateB\003\340A\003\022F\n\006labels\030\007 \003(\01326.google.sp" + + "anner.admin.instance.v1.Instance.LabelsE" + + "ntry\022\025\n\rendpoint_uris\030\010 \003(\t\0224\n\013create_ti" + + "me\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0224\n\013update_time\030\014 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"7\n\005State\022\025\n\021STATE" + + "_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:" + + "M\352AJ\n\037spanner.googleapis.com/Instance\022\'p" + + "rojects/{project}/instances/{instance}\"\210" + + "\001\n\032ListInstanceConfigsRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n" + + "\npage_token\030\003 \001(\t\"\202\001\n\033ListInstanceConfig" + + "sResponse\022J\n\020instance_configs\030\001 \003(\01320.go" + + "ogle.spanner.admin.instance.v1.InstanceC" + + "onfig\022\027\n\017next_page_token\030\002 \001(\t\"W\n\030GetIns" + + "tanceConfigRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'" + + "\n%spanner.googleapis.com/InstanceConfig\"" + + "\352\001\n\033CreateInstanceConfigRequest\022C\n\006paren" + + "t\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.go" + + "ogleapis.com/Project\022\037\n\022instance_config_" + + "id\030\002 \001(\tB\003\340A\002\022N\n\017instance_config\030\003 \001(\01320" + + ".google.spanner.admin.instance.v1.Instan" + + "ceConfigB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010\"\272\001\n" + + "\033UpdateInstanceConfigRequest\022N\n\017instance" + + "_config\030\001 \001(\01320.google.spanner.admin.ins" + + "tance.v1.InstanceConfigB\003\340A\002\0224\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340" + + "A\002\022\025\n\rvalidate_only\030\003 \001(\010\"\177\n\033DeleteInsta" + + "nceConfigRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + + "spanner.googleapis.com/InstanceConfig\022\014\n" + + "\004etag\030\002 \001(\t\022\025\n\rvalidate_only\030\003 \001(\010\"\241\001\n#L" + + "istInstanceConfigOperationsRequest\022C\n\006pa" + + "rent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager" + + ".googleapis.com/Project\022\016\n\006filter\030\002 \001(\t\022" + + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"r" + + "\n$ListInstanceConfigOperationsResponse\0221" + + "\n\noperations\030\001 \003(\0132\035.google.longrunning." + + "Operation\022\027\n\017next_page_token\030\002 \001(\t\"{\n\022Ge" + + "tInstanceRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" + + "spanner.googleapis.com/Instance\022.\n\nfield" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + + "\271\001\n\025CreateInstanceRequest\022C\n\006parent\030\001 \001(" + + "\tB3\340A\002\372A-\n+cloudresourcemanager.googleap" + + "is.com/Project\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002" + + "\022A\n\010instance\030\003 \001(\0132*.google.spanner.admi" + + "n.instance.v1.InstanceB\003\340A\002\"\311\001\n\024ListInst" + + "ancesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cl" + + "oudresourcemanager.googleapis.com/Projec" + + "t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\0225\n\021instance_deadline\030\005 " + + "\001(\0132\032.google.protobuf.Timestamp\"\204\001\n\025List" + + "InstancesResponse\022=\n\tinstances\030\001 \003(\0132*.g" + + "oogle.spanner.admin.instance.v1.Instance" + + "\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable" + + "\030\003 \003(\t\"\217\001\n\025UpdateInstanceRequest\022A\n\010inst" + + "ance\030\001 \001(\0132*.google.spanner.admin.instan" + + "ce.v1.InstanceB\003\340A\002\0223\n\nfield_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMaskB\003\340A\002\"N\n\025Dele" + + "teInstanceRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037spanner.googleapis.com/Instance\"\345\001\n\026Cre" + + "ateInstanceMetadata\022<\n\010instance\030\001 \001(\0132*." + + "google.spanner.admin.instance.v1.Instanc" + + "e\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf." + + "Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032.google." + + "protobuf.Timestamp\022,\n\010end_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\"\345\001\n\026UpdateInsta" + + "nceMetadata\022<\n\010instance\030\001 \001(\0132*.google.s" + + "panner.admin.instance.v1.Instance\022.\n\nsta" + + "rt_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013cancel_time\030\003 \001(\0132\032.google.protobuf" + + ".Timestamp\022,\n\010end_time\030\004 \001(\0132\032.google.pr" + + "otobuf.Timestamp\"\341\001\n\034CreateInstanceConfi" + + "gMetadata\022I\n\017instance_config\030\001 \001(\01320.goo" + + "gle.spanner.admin.instance.v1.InstanceCo" + + "nfig\022E\n\010progress\030\002 \001(\01323.google.spanner." + + "admin.instance.v1.OperationProgress\022/\n\013c" + + "ancel_time\030\003 \001(\0132\032.google.protobuf.Times" + + "tamp\"\341\001\n\034UpdateInstanceConfigMetadata\022I\n" + + "\017instance_config\030\001 \001(\01320.google.spanner." + + "admin.instance.v1.InstanceConfig\022E\n\010prog" + + "ress\030\002 \001(\01323.google.spanner.admin.instan" + + "ce.v1.OperationProgress\022/\n\013cancel_time\030\003" + + " \001(\0132\032.google.protobuf.Timestamp\"\216\005\n\021Ins" + + "tancePartition\022\021\n\004name\030\001 \001(\tB\003\340A\002\022=\n\006con" + + "fig\030\002 \001(\tB-\340A\002\372A\'\n%spanner.googleapis.co" + + "m/InstanceConfig\022\031\n\014display_name\030\003 \001(\tB\003" + + "\340A\002\022\024\n\nnode_count\030\005 \001(\005H\000\022\032\n\020processing_" + + "units\030\006 \001(\005H\000\022M\n\005state\030\007 \001(\01629.google.sp" + + "anner.admin.instance.v1.InstancePartitio" + + "n.StateB\003\340A\003\0224\n\013create_time\030\010 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" + + "e\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022\"\n\025referencing_databases\030\n \003(\tB\003\340A\003\022 \n\023" + + "referencing_backups\030\013 \003(\tB\003\340A\003\022\014\n\004etag\030\014" + + " \001(\t\"7\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010" + + "CREATING\020\001\022\t\n\005READY\020\002:~\352A{\n(spanner.goog" + + "leapis.com/InstancePartition\022Oprojects/{" + + "project}/instances/{instance}/instancePa" + + "rtitions/{instance_partition}B\022\n\020compute" + + "_capacity\"\201\002\n\037CreateInstancePartitionMet" + + "adata\022O\n\022instance_partition\030\001 \001(\01323.goog" + + "le.spanner.admin.instance.v1.InstancePar" + + "tition\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022,\n\010end_time\030\004 \001(" + + "\0132\032.google.protobuf.Timestamp\"\323\001\n\036Create" + + "InstancePartitionRequest\0227\n\006parent\030\001 \001(\t" + + "B\'\340A\002\372A!\n\037spanner.googleapis.com/Instanc" + + "e\022\"\n\025instance_partition_id\030\002 \001(\tB\003\340A\002\022T\n" + + "\022instance_partition\030\003 \001(\01323.google.spann" + + "er.admin.instance.v1.InstancePartitionB\003" + + "\340A\002\"n\n\036DeleteInstancePartitionRequest\022>\n" + + "\004name\030\001 \001(\tB0\340A\002\372A*\n(spanner.googleapis." + + "com/InstancePartition\022\014\n\004etag\030\002 \001(\t\"]\n\033G" + + "etInstancePartitionRequest\022>\n\004name\030\001 \001(\t" + + "B0\340A\002\372A*\n(spanner.googleapis.com/Instanc" + + "ePartition\"\253\001\n\036UpdateInstancePartitionRe" + + "quest\022T\n\022instance_partition\030\001 \001(\01323.goog" + + "le.spanner.admin.instance.v1.InstancePar" + + "titionB\003\340A\002\0223\n\nfield_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMaskB\003\340A\002\"\201\002\n\037UpdateInsta" + + "ncePartitionMetadata\022O\n\022instance_partiti" + + "on\030\001 \001(\01323.google.spanner.admin.instance" + + ".v1.InstancePartition\022.\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022/\n\013cancel_" + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022," + + "\n\010end_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tamp\"\305\001\n\035ListInstancePartitionsRequest\0227" + + "\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleap" + + "is.com/Instance\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\022D\n\033instance_partition_dea" + + "dline\030\004 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\001\"\240\001\n\036ListInstancePartitionsResponse\022" + + "P\n\023instance_partitions\030\001 \003(\01323.google.sp" + + "anner.admin.instance.v1.InstancePartitio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachabl" + + "e\030\003 \003(\t\"\355\001\n&ListInstancePartitionOperati" + + "onsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037span" + + "ner.googleapis.com/Instance\022\023\n\006filter\030\002 " + + "\001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage" + + "_token\030\004 \001(\tB\003\340A\001\022D\n\033instance_partition_" + + "deadline\030\005 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\001\"\236\001\n\'ListInstancePartitionOperati" + + "onsResponse\0221\n\noperations\030\001 \003(\0132\035.google" + + ".longrunning.Operation\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\022\'\n\037unreachable_instance_partitio" + + "ns\030\003 \003(\t2\316%\n\rInstanceAdmin\022\314\001\n\023ListInsta" + + "nceConfigs\022<.google.spanner.admin.instan" + + "ce.v1.ListInstanceConfigsRequest\032=.googl" + + "e.spanner.admin.instance.v1.ListInstance" + + "ConfigsResponse\"8\332A\006parent\202\323\344\223\002)\022\'/v1/{p" + + "arent=projects/*}/instanceConfigs\022\271\001\n\021Ge" + + "tInstanceConfig\022:.google.spanner.admin.i" + + "nstance.v1.GetInstanceConfigRequest\0320.go" + + "ogle.spanner.admin.instance.v1.InstanceC" + + "onfig\"6\332A\004name\202\323\344\223\002)\022\'/v1/{name=projects" + + "/*/instanceConfigs/*}\022\310\002\n\024CreateInstance" + + "Config\022=.google.spanner.admin.instance.v" + + "1.CreateInstanceConfigRequest\032\035.google.l" + + "ongrunning.Operation\"\321\001\312Ap\n/google.spann" + + "er.admin.instance.v1.InstanceConfig\022=goo" + + "gle.spanner.admin.instance.v1.CreateInst" + + "anceConfigMetadata\332A)parent,instance_con" + + "fig,instance_config_id\202\323\344\223\002,\"\'/v1/{paren" + + "t=projects/*}/instanceConfigs:\001*\022\312\002\n\024Upd" + + "ateInstanceConfig\022=.google.spanner.admin" + + ".instance.v1.UpdateInstanceConfigRequest" + + "\032\035.google.longrunning.Operation\"\323\001\312Ap\n/g" + + "oogle.spanner.admin.instance.v1.Instance" + + "Config\022=google.spanner.admin.instance.v1" + + ".UpdateInstanceConfigMetadata\332A\033instance" + + "_config,update_mask\202\323\344\223\002<27/v1/{instance" + + "_config.name=projects/*/instanceConfigs/" + + "*}:\001*\022\245\001\n\024DeleteInstanceConfig\022=.google." + + "spanner.admin.instance.v1.DeleteInstance" + + "ConfigRequest\032\026.google.protobuf.Empty\"6\332" + + "A\004name\202\323\344\223\002)*\'/v1/{name=projects/*/insta" + + "nceConfigs/*}\022\360\001\n\034ListInstanceConfigOper" + + "ations\022E.google.spanner.admin.instance.v" + + "1.ListInstanceConfigOperationsRequest\032F." + + "google.spanner.admin.instance.v1.ListIns" + + "tanceConfigOperationsResponse\"A\332A\006parent" + + "\202\323\344\223\0022\0220/v1/{parent=projects/*}/instance" + + "ConfigOperations\022\264\001\n\rListInstances\0226.goo" + + "gle.spanner.admin.instance.v1.ListInstan" + + "cesRequest\0327.google.spanner.admin.instan" + + "ce.v1.ListInstancesResponse\"2\332A\006parent\202\323" + + "\344\223\002#\022!/v1/{parent=projects/*}/instances\022" + + "\344\001\n\026ListInstancePartitions\022?.google.span" + + "ner.admin.instance.v1.ListInstancePartit" + + "ionsRequest\032@.google.spanner.admin.insta" + + "nce.v1.ListInstancePartitionsResponse\"G\332" + + "A\006parent\202\323\344\223\0028\0226/v1/{parent=projects/*/i" + + "nstances/*}/instancePartitions\022\241\001\n\013GetIn" + + "stance\0224.google.spanner.admin.instance.v" + + "1.GetInstanceRequest\032*.google.spanner.ad" + + "min.instance.v1.Instance\"0\332A\004name\202\323\344\223\002#\022" + + "!/v1/{name=projects/*/instances/*}\022\234\002\n\016C" + + "reateInstance\0227.google.spanner.admin.ins" + + "tance.v1.CreateInstanceRequest\032\035.google." + + "longrunning.Operation\"\261\001\312Ad\n)google.span" + + "ner.admin.instance.v1.Instance\0227google.s" + + "panner.admin.instance.v1.CreateInstanceM" + + "etadata\332A\033parent,instance_id,instance\202\323\344" + + "\223\002&\"!/v1/{parent=projects/*}/instances:\001" + + "*\022\235\002\n\016UpdateInstance\0227.google.spanner.ad" + + "min.instance.v1.UpdateInstanceRequest\032\035." + + "google.longrunning.Operation\"\262\001\312Ad\n)goog" + + "le.spanner.admin.instance.v1.Instance\0227g" + + "oogle.spanner.admin.instance.v1.UpdateIn" + + "stanceMetadata\332A\023instance,field_mask\202\323\344\223" + + "\002/2*/v1/{instance.name=projects/*/instan" + + "ces/*}:\001*\022\223\001\n\016DeleteInstance\0227.google.sp" + + "anner.admin.instance.v1.DeleteInstanceRe" + + "quest\032\026.google.protobuf.Empty\"0\332A\004name\202\323" + + "\344\223\002#*!/v1/{name=projects/*/instances/*}\022" + + "\232\001\n\014SetIamPolicy\022\".google.iam.v1.SetIamP" + + "olicyRequest\032\025.google.iam.v1.Policy\"O\332A\017" + + "resource,policy\202\323\344\223\0027\"2/v1/{resource=pro" + + "jects/*/instances/*}:setIamPolicy:\001*\022\223\001\n" + + "\014GetIamPolicy\022\".google.iam.v1.GetIamPoli" + + "cyRequest\032\025.google.iam.v1.Policy\"H\332A\010res" + + "ource\202\323\344\223\0027\"2/v1/{resource=projects/*/in" + + "stances/*}:getIamPolicy:\001*\022\305\001\n\022TestIamPe" + + "rmissions\022(.google.iam.v1.TestIamPermiss" + + "ionsRequest\032).google.iam.v1.TestIamPermi" + + "ssionsResponse\"Z\332A\024resource,permissions\202" + + "\323\344\223\002=\"8/v1/{resource=projects/*/instance" + + "s/*}:testIamPermissions:\001*\022\321\001\n\024GetInstan" + + "cePartition\022=.google.spanner.admin.insta" + + "nce.v1.GetInstancePartitionRequest\0323.goo" + + "gle.spanner.admin.instance.v1.InstancePa" + + "rtition\"E\332A\004name\202\323\344\223\0028\0226/v1/{name=projec" + + "ts/*/instances/*/instancePartitions/*}\022\351" + + "\002\n\027CreateInstancePartition\022@.google.span" + + "ner.admin.instance.v1.CreateInstancePart" + + "itionRequest\032\035.google.longrunning.Operat" + + "ion\"\354\001\312Av\n2google.spanner.admin.instance" + + ".v1.InstancePartition\022@google.spanner.ad" + + "min.instance.v1.CreateInstancePartitionM" + + "etadata\332A/parent,instance_partition,inst" + + "ance_partition_id\202\323\344\223\002;\"6/v1/{parent=pro" + + "jects/*/instances/*}/instancePartitions:" + + "\001*\022\272\001\n\027DeleteInstancePartition\022@.google." + + "spanner.admin.instance.v1.DeleteInstance" + + "PartitionRequest\032\026.google.protobuf.Empty" + + "\"E\332A\004name\202\323\344\223\0028*6/v1/{name=projects/*/in" + + "stances/*/instancePartitions/*}\022\352\002\n\027Upda" + + "teInstancePartition\022@.google.spanner.adm" + + "in.instance.v1.UpdateInstancePartitionRe" + + "quest\032\035.google.longrunning.Operation\"\355\001\312" + + "Av\n2google.spanner.admin.instance.v1.Ins" + + "tancePartition\022@google.spanner.admin.ins" + + "tance.v1.UpdateInstancePartitionMetadata" + + "\332A\035instance_partition,field_mask\202\323\344\223\002N2I" + + "/v1/{instance_partition.name=projects/*/" + + "instances/*/instancePartitions/*}:\001*\022\210\002\n" + + "\037ListInstancePartitionOperations\022H.googl" + + "e.spanner.admin.instance.v1.ListInstance" + + "PartitionOperationsRequest\032I.google.span" + + "ner.admin.instance.v1.ListInstancePartit" + + "ionOperationsResponse\"P\332A\006parent\202\323\344\223\002A\022?" + + "/v1/{parent=projects/*/instances/*}/inst" + + "ancePartitionOperations\032x\312A\026spanner.goog" + + "leapis.com\322A\\https://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/spanner.adminB\213\002\n$com.google" + + ".spanner.admin.instance.v1B\031SpannerInsta" + + "nceAdminProtoP\001ZFcloud.google.com/go/spa" + + "nner/admin/instance/apiv1/instancepb;ins" + + "tancepb\252\002&Google.Cloud.Spanner.Admin.Ins" + + "tance.V1\312\002&Google\\Cloud\\Spanner\\Admin\\In" + + "stance\\V1\352\002+Google::Cloud::Spanner::Admi" + + "n::Instance::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor, + new java.lang.String[] { "Location", "Type", "DefaultLeaderLocation", }); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor, + new java.lang.String[] { "Name", "DisplayName", "ConfigType", "Replicas", "OptionalReplicas", "BaseConfig", "Labels", "Etag", "LeaderOptions", "Reconciling", "State", }); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor = + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor, + new java.lang.String[] { "AutoscalingLimits", "AutoscalingTargets", }); + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor = + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor, + new java.lang.String[] { "MinNodes", "MinProcessingUnits", "MaxNodes", "MaxProcessingUnits", "MinLimit", "MaxLimit", }); + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor = + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor.getNestedTypes().get(1); + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor, + new java.lang.String[] { "HighPriorityCpuUtilizationPercent", "StorageUtilizationPercent", }); + internal_static_google_spanner_admin_instance_v1_Instance_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_Instance_descriptor, + new java.lang.String[] { "Name", "Config", "DisplayName", "NodeCount", "ProcessingUnits", "AutoscalingConfig", "State", "Labels", "EndpointUris", "CreateTime", "UpdateTime", }); + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor = + internal_static_google_spanner_admin_instance_v1_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor, + new java.lang.String[] { "InstanceConfigs", "NextPageToken", }); + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceConfigId", "InstanceConfig", "ValidateOnly", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor, + new java.lang.String[] { "InstanceConfig", "UpdateMask", "ValidateOnly", }); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor, + new java.lang.String[] { "Name", "Etag", "ValidateOnly", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor, + new java.lang.String[] { "Operations", "NextPageToken", }); + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", "FieldMask", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", }); + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "InstanceDeadline", }); + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "NextPageToken", "Unreachable", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor, + new java.lang.String[] { "Instance", "FieldMask", }); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor, + new java.lang.String[] { "Instance", "StartTime", "CancelTime", "EndTime", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor, + new java.lang.String[] { "Instance", "StartTime", "CancelTime", "EndTime", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor, + new java.lang.String[] { "InstanceConfig", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor, + new java.lang.String[] { "InstanceConfig", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor, + new java.lang.String[] { "Name", "Config", "DisplayName", "NodeCount", "ProcessingUnits", "State", "CreateTime", "UpdateTime", "ReferencingDatabases", "ReferencingBackups", "Etag", "ComputeCapacity", }); + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor, + new java.lang.String[] { "InstancePartition", "StartTime", "CancelTime", "EndTime", }); + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor, + new java.lang.String[] { "Parent", "InstancePartitionId", "InstancePartition", }); + internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor, + new java.lang.String[] { "Name", "Etag", }); + internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor, + new java.lang.String[] { "InstancePartition", "FieldMask", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor, + new java.lang.String[] { "InstancePartition", "StartTime", "CancelTime", "EndTime", }); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "InstancePartitionDeadline", }); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor, + new java.lang.String[] { "InstancePartitions", "NextPageToken", "Unreachable", }); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "InstancePartitionDeadline", }); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor, + new java.lang.String[] { "Operations", "NextPageToken", "UnreachableInstancePartitions", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java similarity index 69% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java index 772a067e62b..bae7f8a84c1 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata}
  */
-public final class UpdateInstanceConfigMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceConfigMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)
     UpdateInstanceConfigMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceConfigMetadata.newBuilder() to construct.
   private UpdateInstanceConfigMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceConfigMetadata() {}
+  private UpdateInstanceConfigMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceConfigMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
-   *
-   *
    * 
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -81,25 +60,18 @@ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * The desired instance config after updating.
    * 
@@ -108,16 +80,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.instance.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -125,7 +93,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -133,8 +100,6 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -142,18 +107,13 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -164,22 +124,17 @@ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -187,14 +142,11 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -202,8 +154,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled.
    * 
@@ -216,7 +166,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstanceConfig()); } @@ -248,13 +198,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstanceConfig()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -264,25 +217,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other = - (com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other = (com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) return false; } if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -313,105 +268,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - 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 com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata 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 com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].
@@ -419,44 +367,41 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)
       com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceConfigFieldBuilder();
         getProgressFieldBuilder();
         getCancelTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -480,14 +425,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance();
     }
 
@@ -502,30 +446,31 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -535,50 +480,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other) {
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance()) return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -614,31 +555,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -648,52 +591,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -714,8 +643,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -734,8 +661,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -744,10 +669,9 @@ public Builder setInstanceConfig( */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -762,8 +686,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -781,8 +703,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -795,27 +715,21 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -823,17 +737,14 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -841,13 +752,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo private com.google.spanner.admin.instance.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.OperationProgress, - com.google.spanner.admin.instance.v1.OperationProgress.Builder, - com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -855,15 +761,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -871,21 +774,16 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -908,8 +806,6 @@ public Builder setProgress(com.google.spanner.admin.instance.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -930,8 +826,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -942,10 +836,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -960,8 +853,6 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -981,8 +872,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -997,8 +886,6 @@ public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -1011,14 +898,11 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -1028,17 +912,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.OperationProgress,
-            com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-            com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.instance.v1.OperationProgress,
-                com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-                com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1046,47 +927,34 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1107,15 +975,14 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; */ - public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCancelTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (cancelTimeBuilder_ == null) { cancelTime_ = builderForValue.build(); } else { @@ -1126,8 +993,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1136,9 +1001,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cancelTime_ != null - && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cancelTime_ != null && + cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCancelTimeBuilder().mergeFrom(value); } else { cancelTime_ = value; @@ -1153,8 +1018,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1172,8 +1035,6 @@ public Builder clearCancelTime() { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1186,8 +1047,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { return getCancelTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1198,14 +1057,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { if (cancelTimeBuilder_ != null) { return cancelTimeBuilder_.getMessageOrBuilder(); } else { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1213,24 +1069,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * .google.protobuf.Timestamp cancel_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCancelTimeFieldBuilder() { if (cancelTimeBuilder_ == null) { - cancelTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCancelTime(), getParentForChildren(), isClean()); + cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCancelTime(), + getParentForChildren(), + isClean()); cancelTime_ = null; } return cancelTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1240,43 +1093,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) - private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceConfigMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceConfigMetadata 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; @@ -1288,8 +1139,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java index cd65f9262cb..a9a08848071 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceConfigMetadataOrBuilder - extends +public interface UpdateInstanceConfigMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * The desired instance config after updating.
    * 
@@ -60,8 +36,6 @@ public interface UpdateInstanceConfigMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -69,13 +43,10 @@ public interface UpdateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -83,13 +54,10 @@ public interface UpdateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ com.google.spanner.admin.instance.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -101,32 +69,24 @@ public interface UpdateInstanceConfigMetadataOrBuilder
   com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java similarity index 70% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java index 46f771b2be2..d625cdae132 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
@@ -29,45 +12,42 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigRequest}
  */
-public final class UpdateInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)
     UpdateInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceConfigRequest.newBuilder() to construct.
   private UpdateInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceConfigRequest() {}
+  private UpdateInstanceConfigRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
-   *
-   *
    * 
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -77,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -88,8 +65,6 @@ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -99,21 +74,14 @@ public boolean hasInstanceConfig() {
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -123,22 +91,16 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -148,9 +110,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * display_name and labels can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -158,8 +118,6 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -169,9 +127,7 @@ public boolean hasUpdateMask() {
    * display_name and labels can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -179,8 +135,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -190,8 +144,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * display_name and labels can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -201,15 +154,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -218,7 +168,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstanceConfig()); } @@ -250,13 +200,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstanceConfig()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -266,23 +219,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,111 +258,106 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
@@ -415,23 +365,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.newBuilder()
@@ -439,18 +387,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceConfigFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,14 +418,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -492,26 +439,25 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -524,50 +470,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance()) return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -603,31 +545,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              validateOnly_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            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) {
@@ -637,18 +579,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -658,18 +594,13 @@ public Builder mergeFrom(
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -679,24 +610,17 @@ public boolean hasInstanceConfig() {
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -706,9 +630,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { @@ -724,8 +646,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -735,9 +655,7 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig( com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -751,8 +669,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -762,16 +678,13 @@ public Builder setInstanceConfig(
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -786,8 +699,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -797,9 +708,7 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -812,8 +721,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -823,9 +730,7 @@ public Builder clearInstanceConfig() {
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { bitField0_ |= 0x00000001; @@ -833,8 +738,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -844,23 +747,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -870,22 +767,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -893,13 +785,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -909,17 +796,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -929,23 +812,17 @@ public boolean hasUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -955,8 +832,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -972,8 +848,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -983,10 +857,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -997,8 +871,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1008,14 +880,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1030,8 +901,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1041,8 +910,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1055,8 +923,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1066,8 +932,7 @@ public Builder clearUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -1075,8 +940,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1086,21 +949,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1110,37 +969,30 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * display_name and labels can be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -1148,15 +1000,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1168,15 +1017,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1185,9 +1031,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1197,43 +1043,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceConfigRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceConfigRequest 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; @@ -1245,8 +1089,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java index 31c2b95daff..f9a1c893d7e 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceConfigRequestOrBuilder - extends +public interface UpdateInstanceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -36,16 +18,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -55,16 +32,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -74,15 +46,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -92,15 +60,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * display_name and labels can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -110,15 +74,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * display_name and labels can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -128,21 +88,17 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * display_name and labels can be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java index a059f9bd7f2..57943e68708 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceMetadata}
  */
-public final class UpdateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceMetadata)
     UpdateInstanceMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceMetadata.newBuilder() to construct.
   private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceMetadata() {}
+  private UpdateInstanceMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
-   *
-   *
    * 
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -81,25 +60,18 @@ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * The desired end state of the update.
    * 
@@ -108,16 +80,12 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -125,7 +93,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -133,8 +100,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -142,7 +107,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -150,8 +114,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -168,8 +130,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -177,7 +137,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -185,8 +144,6 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -194,7 +151,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -202,8 +158,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -220,14 +174,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -235,14 +186,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -250,8 +198,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -264,7 +210,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstance()); } @@ -299,16 +245,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstance()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -318,29 +268,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstanceMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other = - (com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other = (com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -375,104 +328,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstanceMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -480,23 +427,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceMetadata)
       com.google.spanner.admin.instance.v1.UpdateInstanceMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.newBuilder()
@@ -504,20 +449,20 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceFieldBuilder();
         getStartTimeFieldBuilder();
         getCancelTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -546,9 +491,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -567,11 +512,8 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -580,19 +522,27 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceMe
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build();
+        result.instance_ = instanceBuilder_ == null
+            ? instance_
+            : instanceBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       result.bitField0_ |= to_bitField0_;
@@ -602,39 +552,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceMe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -642,8 +591,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -682,37 +630,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -722,52 +673,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * The desired end state of the update.
      * 
@@ -788,8 +725,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -808,8 +743,6 @@ public Builder setInstance( return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -818,9 +751,9 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -835,8 +768,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -854,8 +785,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -868,8 +797,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * The desired end state of the update.
      * 
@@ -880,14 +807,11 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * The desired end state of the update.
      * 
@@ -895,17 +819,14 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild * .google.spanner.admin.instance.v1.Instance instance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -913,13 +834,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -927,15 +843,12 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -943,7 +856,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -954,8 +866,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -978,8 +888,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -988,7 +896,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -999,8 +908,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1011,9 +918,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1028,8 +935,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1049,8 +954,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1065,8 +968,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1079,12 +980,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1094,17 +994,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1112,13 +1009,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1126,15 +1018,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1142,21 +1031,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1179,8 +1063,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1189,7 +1071,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1200,8 +1083,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1212,9 +1093,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1229,8 +1110,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1250,8 +1129,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1266,8 +1143,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1280,14 +1155,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1297,17 +1169,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1315,33 +1184,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1352,8 +1212,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1374,15 +1232,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1393,8 +1250,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1403,9 +1258,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1420,8 +1275,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1439,8 +1292,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1453,8 +1304,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1465,12 +1314,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1478,24 +1326,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1505,12 +1350,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata) private static final com.google.spanner.admin.instance.v1.UpdateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(); } @@ -1519,27 +1364,27 @@ public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceMetadata 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; @@ -1554,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java index f35b53a8ad3..13537e53bf8 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceMetadataOrBuilder - extends +public interface UpdateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * The desired end state of the update.
    * 
@@ -60,8 +36,6 @@ public interface UpdateInstanceMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -69,13 +43,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -83,13 +54,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -101,8 +69,6 @@ public interface UpdateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -110,13 +76,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -124,13 +87,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -142,32 +102,24 @@ public interface UpdateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadata.java similarity index 71% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadata.java index ffd1dc82147..23c220c5a19 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].
@@ -29,52 +12,47 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata}
  */
-public final class UpdateInstancePartitionMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstancePartitionMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata)
     UpdateInstancePartitionMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstancePartitionMetadata.newBuilder() to construct.
-  private UpdateInstancePartitionMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateInstancePartitionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstancePartitionMetadata() {}
+  private UpdateInstancePartitionMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstancePartitionMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.class,
-            com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_PARTITION_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_;
   /**
-   *
-   *
    * 
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return Whether the instancePartition field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return The instancePartition. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } /** - * - * *
    * The desired end state of the update.
    * 
@@ -108,18 +79,13 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -127,7 +93,6 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -135,8 +100,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -144,7 +107,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -152,8 +114,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -170,8 +130,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -179,7 +137,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -187,8 +144,6 @@ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -196,7 +151,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -204,8 +158,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -222,14 +174,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -237,14 +186,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -252,8 +198,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -266,7 +210,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstancePartition()); } @@ -301,16 +245,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstancePartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstancePartition()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -320,29 +268,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata other = - (com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata) obj; + com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata other = (com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata) obj; if (hasInstancePartition() != other.hasInstancePartition()) return false; if (hasInstancePartition()) { - if (!getInstancePartition().equals(other.getInstancePartition())) return false; + if (!getInstancePartition() + .equals(other.getInstancePartition())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -377,105 +328,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata - 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 com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata 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 com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].
@@ -483,45 +427,42 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata)
       com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.class,
-              com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstancePartitionFieldBuilder();
         getStartTimeFieldBuilder();
         getCancelTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -550,16 +491,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -573,36 +512,37 @@ public com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata buil
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata result =
-          new com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instancePartition_ =
-            instancePartitionBuilder_ == null
-                ? instancePartition_
-                : instancePartitionBuilder_.build();
+        result.instancePartition_ = instancePartitionBuilder_ == null
+            ? instancePartition_
+            : instancePartitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       result.bitField0_ |= to_bitField0_;
@@ -612,51 +552,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata other) {
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.getDefaultInstance()) return this;
       if (other.hasInstancePartition()) {
         mergeInstancePartition(other.getInstancePartition());
       }
@@ -695,38 +630,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getInstancePartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstancePartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -736,60 +673,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstancePartition,
-            com.google.spanner.admin.instance.v1.InstancePartition.Builder,
-            com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>
-        instancePartitionBuilder_;
+        com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> instancePartitionBuilder_;
     /**
-     *
-     *
      * 
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return Whether the instancePartition field is set. */ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return The instancePartition. */ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { if (instancePartitionBuilder_ == null) { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } else { return instancePartitionBuilder_.getMessage(); } } /** - * - * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public Builder setInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder setInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -803,8 +725,6 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -823,21 +743,17 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public Builder mergeInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder mergeInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instancePartition_ != null - && instancePartition_ - != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instancePartition_ != null && + instancePartition_ != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { getInstancePartitionBuilder().mergeFrom(value); } else { instancePartition_ = value; @@ -852,8 +768,6 @@ public Builder mergeInstancePartition( return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -871,42 +785,33 @@ public Builder clearInstancePartition() { return this; } /** - * - * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartition.Builder - getInstancePartitionBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartition.Builder getInstancePartitionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getInstancePartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { if (instancePartitionBuilder_ != null) { return instancePartitionBuilder_.getMessageOrBuilder(); } else { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? + com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } } /** - * - * *
      * The desired end state of the update.
      * 
@@ -914,17 +819,14 @@ public Builder clearInstancePartition() { * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> getInstancePartitionFieldBuilder() { if (instancePartitionBuilder_ == null) { - instancePartitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( - getInstancePartition(), getParentForChildren(), isClean()); + instancePartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( + getInstancePartition(), + getParentForChildren(), + isClean()); instancePartition_ = null; } return instancePartitionBuilder_; @@ -932,13 +834,8 @@ public Builder clearInstancePartition() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -946,15 +843,12 @@ public Builder clearInstancePartition() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -962,7 +856,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -973,8 +866,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -997,8 +888,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -1007,7 +896,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -1018,8 +908,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -1030,9 +918,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1047,8 +935,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -1068,8 +954,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -1084,8 +968,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -1098,12 +980,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -1113,17 +994,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1131,13 +1009,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1145,15 +1018,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1161,21 +1031,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1198,8 +1063,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1208,7 +1071,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1219,8 +1083,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1231,9 +1093,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1248,8 +1110,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1269,8 +1129,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1285,8 +1143,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1299,14 +1155,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1316,17 +1169,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1334,33 +1184,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1371,8 +1212,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1393,15 +1232,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1412,8 +1250,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1422,9 +1258,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1439,8 +1275,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1458,8 +1292,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1472,8 +1304,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1484,12 +1314,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1497,24 +1326,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1524,43 +1350,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata) - private static final com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata(); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstancePartitionMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstancePartitionMetadata 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; @@ -1572,8 +1396,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadataOrBuilder.java index 94ed05800bd..a4784841eae 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface UpdateInstancePartitionMetadataOrBuilder - extends +public interface UpdateInstancePartitionMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return Whether the instancePartition field is set. */ boolean hasInstancePartition(); /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; - * * @return The instancePartition. */ com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition(); /** - * - * *
    * The desired end state of the update.
    * 
@@ -60,8 +36,6 @@ public interface UpdateInstancePartitionMetadataOrBuilder com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder(); /** - * - * *
    * The time at which
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -69,13 +43,10 @@ public interface UpdateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -83,13 +54,10 @@ public interface UpdateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
@@ -101,8 +69,6 @@ public interface UpdateInstancePartitionMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -110,13 +76,10 @@ public interface UpdateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -124,13 +87,10 @@ public interface UpdateInstancePartitionMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -142,32 +102,24 @@ public interface UpdateInstancePartitionMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequest.java similarity index 66% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequest.java index 8ddc1564de5..7f27a47881f 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].
@@ -29,46 +12,42 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstancePartitionRequest}
  */
-public final class UpdateInstancePartitionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstancePartitionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstancePartitionRequest)
     UpdateInstancePartitionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstancePartitionRequest.newBuilder() to construct.
-  private UpdateInstancePartitionRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateInstancePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstancePartitionRequest() {}
+  private UpdateInstancePartitionRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstancePartitionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.class,
-            com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_PARTITION_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_;
   /**
-   *
-   *
    * 
    * Required. The instance partition to update, which must always include the
    * instance partition name. Otherwise, only fields mentioned in
@@ -76,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instancePartition field is set. */ @java.lang.Override @@ -87,8 +63,6 @@ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The instance partition to update, which must always include the
    * instance partition name. Otherwise, only fields mentioned in
@@ -96,21 +70,14 @@ public boolean hasInstancePartition() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instancePartition. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } /** - * - * *
    * Required. The instance partition to update, which must always include the
    * instance partition name. Otherwise, only fields mentioned in
@@ -118,23 +85,16 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } public static final int FIELD_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask fieldMask_; /** - * - * *
    * Required. A mask specifying which fields in
    * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -144,9 +104,7 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti
    * from being erased accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -154,8 +112,6 @@ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. A mask specifying which fields in
    * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -165,9 +121,7 @@ public boolean hasFieldMask() {
    * from being erased accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ @java.lang.Override @@ -175,8 +129,6 @@ public com.google.protobuf.FieldMask getFieldMask() { return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } /** - * - * *
    * Required. A mask specifying which fields in
    * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -186,8 +138,7 @@ public com.google.protobuf.FieldMask getFieldMask() {
    * from being erased accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { @@ -195,7 +146,6 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstancePartition()); } @@ -224,10 +175,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstancePartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstancePartition()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFieldMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,21 +190,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest other = - (com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) obj; + com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest other = (com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) obj; if (hasInstancePartition() != other.hasInstancePartition()) return false; if (hasInstancePartition()) { - if (!getInstancePartition().equals(other.getInstancePartition())) return false; + if (!getInstancePartition() + .equals(other.getInstancePartition())) return false; } if (hasFieldMask() != other.hasFieldMask()) return false; if (hasFieldMask()) { - if (!getFieldMask().equals(other.getFieldMask())) return false; + if (!getFieldMask() + .equals(other.getFieldMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -278,105 +232,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest - 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 com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest 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 com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].
@@ -384,43 +331,40 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstancePartitionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstancePartitionRequest)
       com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.class,
-              com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.class, com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.newBuilder()
+    // Construct using com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstancePartitionFieldBuilder();
         getFieldMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,16 +383,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -462,28 +404,25 @@ public com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest build
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest result =
-          new com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest result = new com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instancePartition_ =
-            instancePartitionBuilder_ == null
-                ? instancePartition_
-                : instancePartitionBuilder_.build();
+        result.instancePartition_ = instancePartitionBuilder_ == null
+            ? instancePartition_
+            : instancePartitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.fieldMask_ = fieldMaskBuilder_ == null ? fieldMask_ : fieldMaskBuilder_.build();
+        result.fieldMask_ = fieldMaskBuilder_ == null
+            ? fieldMask_
+            : fieldMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -493,51 +432,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.getDefaultInstance()) return this;
       if (other.hasInstancePartition()) {
         mergeInstancePartition(other.getInstancePartition());
       }
@@ -570,26 +504,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getInstancePartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getFieldMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstancePartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getFieldMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -599,18 +533,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstancePartition instancePartition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstancePartition,
-            com.google.spanner.admin.instance.v1.InstancePartition.Builder,
-            com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>
-        instancePartitionBuilder_;
+        com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> instancePartitionBuilder_;
     /**
-     *
-     *
      * 
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -618,18 +546,13 @@ public Builder mergeFrom(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instancePartition field is set. */ public boolean hasInstancePartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -637,24 +560,17 @@ public boolean hasInstancePartition() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instancePartition. */ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition() { if (instancePartitionBuilder_ == null) { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } else { return instancePartitionBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -662,12 +578,9 @@ public com.google.spanner.admin.instance.v1.InstancePartition getInstancePartiti
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder setInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -681,8 +594,6 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -690,9 +601,7 @@ public Builder setInstancePartition(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstancePartition( com.google.spanner.admin.instance.v1.InstancePartition.Builder builderForValue) { @@ -706,8 +615,6 @@ public Builder setInstancePartition( return this; } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -715,17 +622,13 @@ public Builder setInstancePartition(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeInstancePartition( - com.google.spanner.admin.instance.v1.InstancePartition value) { + public Builder mergeInstancePartition(com.google.spanner.admin.instance.v1.InstancePartition value) { if (instancePartitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instancePartition_ != null - && instancePartition_ - != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instancePartition_ != null && + instancePartition_ != com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance()) { getInstancePartitionBuilder().mergeFrom(value); } else { instancePartition_ = value; @@ -740,8 +643,6 @@ public Builder mergeInstancePartition( return this; } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -749,9 +650,7 @@ public Builder mergeInstancePartition(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstancePartition() { bitField0_ = (bitField0_ & ~0x00000001); @@ -764,8 +663,6 @@ public Builder clearInstancePartition() { return this; } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -773,19 +670,14 @@ public Builder clearInstancePartition() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstancePartition.Builder - getInstancePartitionBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartition.Builder getInstancePartitionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getInstancePartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -793,23 +685,17 @@ public Builder clearInstancePartition() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder - getInstancePartitionOrBuilder() { + public com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder() { if (instancePartitionBuilder_ != null) { return instancePartitionBuilder_.getMessageOrBuilder(); } else { - return instancePartition_ == null - ? com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() - : instancePartition_; + return instancePartition_ == null ? + com.google.spanner.admin.instance.v1.InstancePartition.getDefaultInstance() : instancePartition_; } } /** - * - * *
      * Required. The instance partition to update, which must always include the
      * instance partition name. Otherwise, only fields mentioned in
@@ -817,22 +703,17 @@ public Builder clearInstancePartition() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder> getInstancePartitionFieldBuilder() { if (instancePartitionBuilder_ == null) { - instancePartitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstancePartition, - com.google.spanner.admin.instance.v1.InstancePartition.Builder, - com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( - getInstancePartition(), getParentForChildren(), isClean()); + instancePartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstancePartition, com.google.spanner.admin.instance.v1.InstancePartition.Builder, com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder>( + getInstancePartition(), + getParentForChildren(), + isClean()); instancePartition_ = null; } return instancePartitionBuilder_; @@ -840,13 +721,8 @@ public Builder clearInstancePartition() { private com.google.protobuf.FieldMask fieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - fieldMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> fieldMaskBuilder_; /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -856,17 +732,13 @@ public Builder clearInstancePartition() {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -876,9 +748,7 @@ public boolean hasFieldMask() {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -889,8 +759,6 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -900,8 +768,7 @@ public com.google.protobuf.FieldMask getFieldMask() {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { @@ -917,8 +784,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -928,10 +793,10 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setFieldMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (fieldMaskBuilder_ == null) { fieldMask_ = builderForValue.build(); } else { @@ -942,8 +807,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -953,14 +816,13 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && fieldMask_ != null - && fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + fieldMask_ != null && + fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getFieldMaskBuilder().mergeFrom(value); } else { fieldMask_ = value; @@ -975,8 +837,6 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -986,8 +846,7 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFieldMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1000,8 +859,6 @@ public Builder clearFieldMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -1011,8 +868,7 @@ public Builder clearFieldMask() {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { bitField0_ |= 0x00000002; @@ -1020,8 +876,6 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { return getFieldMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -1031,19 +885,17 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { if (fieldMaskBuilder_ != null) { return fieldMaskBuilder_.getMessageOrBuilder(); } else { - return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; + return fieldMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -1053,28 +905,24 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
      * from being erased accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getFieldMaskFieldBuilder() { if (fieldMaskBuilder_ == null) { - fieldMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getFieldMask(), getParentForChildren(), isClean()); + fieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getFieldMask(), + getParentForChildren(), + isClean()); fieldMask_ = null; } return fieldMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1084,43 +932,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) - private static final com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest(); } - public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstancePartitionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstancePartitionRequest 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; @@ -1132,8 +978,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstancePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequestOrBuilder.java index ffeebecf28e..c652df8eee9 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstancePartitionRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface UpdateInstancePartitionRequestOrBuilder - extends +public interface UpdateInstancePartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstancePartitionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance partition to update, which must always include the
    * instance partition name. Otherwise, only fields mentioned in
@@ -34,16 +16,11 @@ public interface UpdateInstancePartitionRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instancePartition field is set. */ boolean hasInstancePartition(); /** - * - * *
    * Required. The instance partition to update, which must always include the
    * instance partition name. Otherwise, only fields mentioned in
@@ -51,16 +28,11 @@ public interface UpdateInstancePartitionRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instancePartition. */ com.google.spanner.admin.instance.v1.InstancePartition getInstancePartition(); /** - * - * *
    * Required. The instance partition to update, which must always include the
    * instance partition name. Otherwise, only fields mentioned in
@@ -68,15 +40,11 @@ public interface UpdateInstancePartitionRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstancePartition instance_partition = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstancePartitionOrBuilder getInstancePartitionOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields in
    * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -86,15 +54,11 @@ public interface UpdateInstancePartitionRequestOrBuilder
    * from being erased accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ boolean hasFieldMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -104,15 +68,11 @@ public interface UpdateInstancePartitionRequestOrBuilder
    * from being erased accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ com.google.protobuf.FieldMask getFieldMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
@@ -122,8 +82,7 @@ public interface UpdateInstancePartitionRequestOrBuilder
    * from being erased accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java similarity index 69% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java index 9ba5f0e2939..67e68b0e461 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -20,8 +5,6 @@ package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -29,45 +12,42 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceRequest}
  */
-public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceRequest)
     UpdateInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceRequest.newBuilder() to construct.
   private UpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceRequest() {}
+  private UpdateInstanceRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
-   *
-   *
    * 
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -75,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -86,8 +63,6 @@ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -95,21 +70,14 @@ public boolean hasInstance() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -117,22 +85,16 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } public static final int FIELD_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask fieldMask_; /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -141,9 +103,7 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -151,8 +111,6 @@ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -161,9 +119,7 @@ public boolean hasFieldMask() {
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ @java.lang.Override @@ -171,8 +127,6 @@ public com.google.protobuf.FieldMask getFieldMask() { return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -181,8 +135,7 @@ public com.google.protobuf.FieldMask getFieldMask() {
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { @@ -190,7 +143,6 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstance()); } @@ -219,10 +172,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstance()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFieldMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,21 +187,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceRequest other = - (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceRequest other = (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (hasFieldMask() != other.hasFieldMask()) return false; if (hasFieldMask()) { - if (!getFieldMask().equals(other.getFieldMask())) return false; + if (!getFieldMask() + .equals(other.getFieldMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -273,104 +229,98 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -378,23 +328,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceRequest)
       com.google.spanner.admin.instance.v1.UpdateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceRequest.newBuilder()
@@ -402,18 +350,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getInstanceFieldBuilder();
         getFieldMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -453,11 +401,8 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -466,11 +411,15 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceRe
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build();
+        result.instance_ = instanceBuilder_ == null
+            ? instance_
+            : instanceBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.fieldMask_ = fieldMaskBuilder_ == null ? fieldMask_ : fieldMaskBuilder_.build();
+        result.fieldMask_ = fieldMaskBuilder_ == null
+            ? fieldMask_
+            : fieldMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -480,39 +429,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -520,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -554,25 +501,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getFieldMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getFieldMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -582,18 +530,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -601,18 +543,13 @@ public Builder mergeFrom(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -620,24 +557,17 @@ public boolean hasInstance() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -645,9 +575,7 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { @@ -663,8 +591,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -672,9 +598,7 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value)
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance( com.google.spanner.admin.instance.v1.Instance.Builder builderForValue) { @@ -688,8 +612,6 @@ public Builder setInstance( return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -697,15 +619,13 @@ public Builder setInstance(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -720,8 +640,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -729,9 +647,7 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); @@ -744,8 +660,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -753,9 +667,7 @@ public Builder clearInstance() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000001; @@ -763,8 +675,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -772,22 +682,17 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -795,22 +700,17 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -818,13 +718,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild private com.google.protobuf.FieldMask fieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - fieldMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> fieldMaskBuilder_; /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -833,17 +728,13 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -852,9 +743,7 @@ public boolean hasFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -865,8 +754,6 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -875,8 +762,7 @@ public com.google.protobuf.FieldMask getFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { @@ -892,8 +778,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -902,10 +786,10 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setFieldMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (fieldMaskBuilder_ == null) { fieldMask_ = builderForValue.build(); } else { @@ -916,8 +800,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -926,14 +808,13 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && fieldMask_ != null - && fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + fieldMask_ != null && + fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getFieldMaskBuilder().mergeFrom(value); } else { fieldMask_ = value; @@ -948,8 +829,6 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -958,8 +837,7 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFieldMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -972,8 +850,6 @@ public Builder clearFieldMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -982,8 +858,7 @@ public Builder clearFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { bitField0_ |= 0x00000002; @@ -991,8 +866,6 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { return getFieldMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -1001,19 +874,17 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { if (fieldMaskBuilder_ != null) { return fieldMaskBuilder_.getMessageOrBuilder(); } else { - return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; + return fieldMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -1022,28 +893,24 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getFieldMaskFieldBuilder() { if (fieldMaskBuilder_ == null) { - fieldMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getFieldMask(), getParentForChildren(), isClean()); + fieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getFieldMask(), + getParentForChildren(), + isClean()); fieldMask_ = null; } return fieldMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1053,12 +920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceRequest) private static final com.google.spanner.admin.instance.v1.UpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(); } @@ -1067,27 +934,27 @@ public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceRequest 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; @@ -1102,4 +969,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java index 20f4f4729bd..d4141953756 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceRequestOrBuilder - extends +public interface UpdateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -34,16 +16,11 @@ public interface UpdateInstanceRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -51,16 +28,11 @@ public interface UpdateInstanceRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -68,15 +40,11 @@ public interface UpdateInstanceRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -85,15 +53,11 @@ public interface UpdateInstanceRequestOrBuilder
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ boolean hasFieldMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -102,15 +66,11 @@ public interface UpdateInstanceRequestOrBuilder
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ com.google.protobuf.FieldMask getFieldMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -119,8 +79,7 @@ public interface UpdateInstanceRequestOrBuilder
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto similarity index 100% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto similarity index 100% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminAction.java index 4f3bcefbdb2..96b367c5e0f 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * AdminAction defines all the cloud spanner admin actions, including
  * instance/database admin ops, backup ops and operation actions.
@@ -29,47 +12,43 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.AdminAction}
  */
-public final class AdminAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AdminAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.AdminAction)
     AdminActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AdminAction.newBuilder() to construct.
   private AdminAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AdminAction() {}
+  private AdminAction() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AdminAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_AdminAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.AdminAction.class,
-            com.google.spanner.executor.v1.AdminAction.Builder.class);
+            com.google.spanner.executor.v1.AdminAction.class, com.google.spanner.executor.v1.AdminAction.Builder.class);
   }
 
   private int actionCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object action_;
-
   public enum ActionCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CREATE_USER_INSTANCE_CONFIG(1),
     UPDATE_USER_INSTANCE_CONFIG(2),
@@ -101,7 +80,6 @@ public enum ActionCase
     RECONFIGURE_CLOUD_DATABASE(28),
     ACTION_NOT_SET(0);
     private final int value;
-
     private ActionCase(int value) {
       this.value = value;
     }
@@ -117,90 +95,56 @@ public static ActionCase valueOf(int value) {
 
     public static ActionCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return CREATE_USER_INSTANCE_CONFIG;
-        case 2:
-          return UPDATE_USER_INSTANCE_CONFIG;
-        case 3:
-          return DELETE_USER_INSTANCE_CONFIG;
-        case 4:
-          return GET_CLOUD_INSTANCE_CONFIG;
-        case 5:
-          return LIST_INSTANCE_CONFIGS;
-        case 6:
-          return CREATE_CLOUD_INSTANCE;
-        case 7:
-          return UPDATE_CLOUD_INSTANCE;
-        case 8:
-          return DELETE_CLOUD_INSTANCE;
-        case 9:
-          return LIST_CLOUD_INSTANCES;
-        case 10:
-          return GET_CLOUD_INSTANCE;
-        case 11:
-          return CREATE_CLOUD_DATABASE;
-        case 12:
-          return UPDATE_CLOUD_DATABASE_DDL;
-        case 27:
-          return UPDATE_CLOUD_DATABASE;
-        case 13:
-          return DROP_CLOUD_DATABASE;
-        case 14:
-          return LIST_CLOUD_DATABASES;
-        case 15:
-          return LIST_CLOUD_DATABASE_OPERATIONS;
-        case 16:
-          return RESTORE_CLOUD_DATABASE;
-        case 17:
-          return GET_CLOUD_DATABASE;
-        case 18:
-          return CREATE_CLOUD_BACKUP;
-        case 19:
-          return COPY_CLOUD_BACKUP;
-        case 20:
-          return GET_CLOUD_BACKUP;
-        case 21:
-          return UPDATE_CLOUD_BACKUP;
-        case 22:
-          return DELETE_CLOUD_BACKUP;
-        case 23:
-          return LIST_CLOUD_BACKUPS;
-        case 24:
-          return LIST_CLOUD_BACKUP_OPERATIONS;
-        case 25:
-          return GET_OPERATION;
-        case 26:
-          return CANCEL_OPERATION;
-        case 28:
-          return RECONFIGURE_CLOUD_DATABASE;
-        case 0:
-          return ACTION_NOT_SET;
-        default:
-          return null;
+        case 1: return CREATE_USER_INSTANCE_CONFIG;
+        case 2: return UPDATE_USER_INSTANCE_CONFIG;
+        case 3: return DELETE_USER_INSTANCE_CONFIG;
+        case 4: return GET_CLOUD_INSTANCE_CONFIG;
+        case 5: return LIST_INSTANCE_CONFIGS;
+        case 6: return CREATE_CLOUD_INSTANCE;
+        case 7: return UPDATE_CLOUD_INSTANCE;
+        case 8: return DELETE_CLOUD_INSTANCE;
+        case 9: return LIST_CLOUD_INSTANCES;
+        case 10: return GET_CLOUD_INSTANCE;
+        case 11: return CREATE_CLOUD_DATABASE;
+        case 12: return UPDATE_CLOUD_DATABASE_DDL;
+        case 27: return UPDATE_CLOUD_DATABASE;
+        case 13: return DROP_CLOUD_DATABASE;
+        case 14: return LIST_CLOUD_DATABASES;
+        case 15: return LIST_CLOUD_DATABASE_OPERATIONS;
+        case 16: return RESTORE_CLOUD_DATABASE;
+        case 17: return GET_CLOUD_DATABASE;
+        case 18: return CREATE_CLOUD_BACKUP;
+        case 19: return COPY_CLOUD_BACKUP;
+        case 20: return GET_CLOUD_BACKUP;
+        case 21: return UPDATE_CLOUD_BACKUP;
+        case 22: return DELETE_CLOUD_BACKUP;
+        case 23: return LIST_CLOUD_BACKUPS;
+        case 24: return LIST_CLOUD_BACKUP_OPERATIONS;
+        case 25: return GET_OPERATION;
+        case 26: return CANCEL_OPERATION;
+        case 28: return RECONFIGURE_CLOUD_DATABASE;
+        case 0: return ACTION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ActionCase getActionCase() {
-    return ActionCase.forNumber(actionCase_);
+  public ActionCase
+  getActionCase() {
+    return ActionCase.forNumber(
+        actionCase_);
   }
 
   public static final int CREATE_USER_INSTANCE_CONFIG_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Action that creates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; * @return Whether the createUserInstanceConfig field is set. */ @java.lang.Override @@ -208,58 +152,42 @@ public boolean hasCreateUserInstanceConfig() { return actionCase_ == 1; } /** - * - * *
    * Action that creates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; * @return The createUserInstanceConfig. */ @java.lang.Override - public com.google.spanner.executor.v1.CreateUserInstanceConfigAction - getCreateUserInstanceConfig() { + public com.google.spanner.executor.v1.CreateUserInstanceConfigAction getCreateUserInstanceConfig() { if (actionCase_ == 1) { - return (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_; } return com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance(); } /** - * - * *
    * Action that creates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder - getCreateUserInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder getCreateUserInstanceConfigOrBuilder() { if (actionCase_ == 1) { - return (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_; } return com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance(); } public static final int UPDATE_USER_INSTANCE_CONFIG_FIELD_NUMBER = 2; /** - * - * *
    * Action that updates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; * @return Whether the updateUserInstanceConfig field is set. */ @java.lang.Override @@ -267,58 +195,42 @@ public boolean hasUpdateUserInstanceConfig() { return actionCase_ == 2; } /** - * - * *
    * Action that updates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; * @return The updateUserInstanceConfig. */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction - getUpdateUserInstanceConfig() { + public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction getUpdateUserInstanceConfig() { if (actionCase_ == 2) { - return (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_; } return com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance(); } /** - * - * *
    * Action that updates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder - getUpdateUserInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder getUpdateUserInstanceConfigOrBuilder() { if (actionCase_ == 2) { - return (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_; } return com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance(); } public static final int DELETE_USER_INSTANCE_CONFIG_FIELD_NUMBER = 3; /** - * - * *
    * Action that deletes a user instance config.
    * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; * @return Whether the deleteUserInstanceConfig field is set. */ @java.lang.Override @@ -326,57 +238,42 @@ public boolean hasDeleteUserInstanceConfig() { return actionCase_ == 3; } /** - * - * *
    * Action that deletes a user instance config.
    * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; * @return The deleteUserInstanceConfig. */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction - getDeleteUserInstanceConfig() { + public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction getDeleteUserInstanceConfig() { if (actionCase_ == 3) { - return (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_; } return com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance(); } /** - * - * *
    * Action that deletes a user instance config.
    * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder - getDeleteUserInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder getDeleteUserInstanceConfigOrBuilder() { if (actionCase_ == 3) { - return (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_; } return com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance(); } public static final int GET_CLOUD_INSTANCE_CONFIG_FIELD_NUMBER = 4; /** - * - * *
    * Action that gets a user instance config.
    * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; * @return Whether the getCloudInstanceConfig field is set. */ @java.lang.Override @@ -384,54 +281,42 @@ public boolean hasGetCloudInstanceConfig() { return actionCase_ == 4; } /** - * - * *
    * Action that gets a user instance config.
    * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; * @return The getCloudInstanceConfig. */ @java.lang.Override public com.google.spanner.executor.v1.GetCloudInstanceConfigAction getGetCloudInstanceConfig() { if (actionCase_ == 4) { - return (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_; } return com.google.spanner.executor.v1.GetCloudInstanceConfigAction.getDefaultInstance(); } /** - * - * *
    * Action that gets a user instance config.
    * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ @java.lang.Override - public com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder - getGetCloudInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder getGetCloudInstanceConfigOrBuilder() { if (actionCase_ == 4) { - return (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_; + return (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_; } return com.google.spanner.executor.v1.GetCloudInstanceConfigAction.getDefaultInstance(); } public static final int LIST_INSTANCE_CONFIGS_FIELD_NUMBER = 5; /** - * - * *
    * Action that lists user instance configs.
    * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; * @return Whether the listInstanceConfigs field is set. */ @java.lang.Override @@ -439,53 +324,42 @@ public boolean hasListInstanceConfigs() { return actionCase_ == 5; } /** - * - * *
    * Action that lists user instance configs.
    * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; * @return The listInstanceConfigs. */ @java.lang.Override public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction getListInstanceConfigs() { if (actionCase_ == 5) { - return (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_; + return (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_; } return com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance(); } /** - * - * *
    * Action that lists user instance configs.
    * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder - getListInstanceConfigsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder getListInstanceConfigsOrBuilder() { if (actionCase_ == 5) { - return (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_; + return (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_; } return com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance(); } public static final int CREATE_CLOUD_INSTANCE_FIELD_NUMBER = 6; /** - * - * *
    * Action that creates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; - * * @return Whether the createCloudInstance field is set. */ @java.lang.Override @@ -493,26 +367,21 @@ public boolean hasCreateCloudInstance() { return actionCase_ == 6; } /** - * - * *
    * Action that creates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; - * * @return The createCloudInstance. */ @java.lang.Override public com.google.spanner.executor.v1.CreateCloudInstanceAction getCreateCloudInstance() { if (actionCase_ == 6) { - return (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_; } return com.google.spanner.executor.v1.CreateCloudInstanceAction.getDefaultInstance(); } /** - * - * *
    * Action that creates a Cloud Spanner instance.
    * 
@@ -520,24 +389,20 @@ public com.google.spanner.executor.v1.CreateCloudInstanceAction getCreateCloudIn * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder - getCreateCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder getCreateCloudInstanceOrBuilder() { if (actionCase_ == 6) { - return (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_; } return com.google.spanner.executor.v1.CreateCloudInstanceAction.getDefaultInstance(); } public static final int UPDATE_CLOUD_INSTANCE_FIELD_NUMBER = 7; /** - * - * *
    * Action that updates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; - * * @return Whether the updateCloudInstance field is set. */ @java.lang.Override @@ -545,26 +410,21 @@ public boolean hasUpdateCloudInstance() { return actionCase_ == 7; } /** - * - * *
    * Action that updates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; - * * @return The updateCloudInstance. */ @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudInstanceAction getUpdateCloudInstance() { if (actionCase_ == 7) { - return (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_; } return com.google.spanner.executor.v1.UpdateCloudInstanceAction.getDefaultInstance(); } /** - * - * *
    * Action that updates a Cloud Spanner instance.
    * 
@@ -572,24 +432,20 @@ public com.google.spanner.executor.v1.UpdateCloudInstanceAction getUpdateCloudIn * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder - getUpdateCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder getUpdateCloudInstanceOrBuilder() { if (actionCase_ == 7) { - return (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_; } return com.google.spanner.executor.v1.UpdateCloudInstanceAction.getDefaultInstance(); } public static final int DELETE_CLOUD_INSTANCE_FIELD_NUMBER = 8; /** - * - * *
    * Action that deletes a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; - * * @return Whether the deleteCloudInstance field is set. */ @java.lang.Override @@ -597,26 +453,21 @@ public boolean hasDeleteCloudInstance() { return actionCase_ == 8; } /** - * - * *
    * Action that deletes a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; - * * @return The deleteCloudInstance. */ @java.lang.Override public com.google.spanner.executor.v1.DeleteCloudInstanceAction getDeleteCloudInstance() { if (actionCase_ == 8) { - return (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_; } return com.google.spanner.executor.v1.DeleteCloudInstanceAction.getDefaultInstance(); } /** - * - * *
    * Action that deletes a Cloud Spanner instance.
    * 
@@ -624,24 +475,20 @@ public com.google.spanner.executor.v1.DeleteCloudInstanceAction getDeleteCloudIn * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder - getDeleteCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder getDeleteCloudInstanceOrBuilder() { if (actionCase_ == 8) { - return (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_; } return com.google.spanner.executor.v1.DeleteCloudInstanceAction.getDefaultInstance(); } public static final int LIST_CLOUD_INSTANCES_FIELD_NUMBER = 9; /** - * - * *
    * Action that lists Cloud Spanner instances.
    * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; - * * @return Whether the listCloudInstances field is set. */ @java.lang.Override @@ -649,26 +496,21 @@ public boolean hasListCloudInstances() { return actionCase_ == 9; } /** - * - * *
    * Action that lists Cloud Spanner instances.
    * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; - * * @return The listCloudInstances. */ @java.lang.Override public com.google.spanner.executor.v1.ListCloudInstancesAction getListCloudInstances() { if (actionCase_ == 9) { - return (com.google.spanner.executor.v1.ListCloudInstancesAction) action_; + return (com.google.spanner.executor.v1.ListCloudInstancesAction) action_; } return com.google.spanner.executor.v1.ListCloudInstancesAction.getDefaultInstance(); } /** - * - * *
    * Action that lists Cloud Spanner instances.
    * 
@@ -676,24 +518,20 @@ public com.google.spanner.executor.v1.ListCloudInstancesAction getListCloudInsta * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder - getListCloudInstancesOrBuilder() { + public com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder getListCloudInstancesOrBuilder() { if (actionCase_ == 9) { - return (com.google.spanner.executor.v1.ListCloudInstancesAction) action_; + return (com.google.spanner.executor.v1.ListCloudInstancesAction) action_; } return com.google.spanner.executor.v1.ListCloudInstancesAction.getDefaultInstance(); } public static final int GET_CLOUD_INSTANCE_FIELD_NUMBER = 10; /** - * - * *
    * Action that retrieves a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; - * * @return Whether the getCloudInstance field is set. */ @java.lang.Override @@ -701,26 +539,21 @@ public boolean hasGetCloudInstance() { return actionCase_ == 10; } /** - * - * *
    * Action that retrieves a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; - * * @return The getCloudInstance. */ @java.lang.Override public com.google.spanner.executor.v1.GetCloudInstanceAction getGetCloudInstance() { if (actionCase_ == 10) { - return (com.google.spanner.executor.v1.GetCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.GetCloudInstanceAction) action_; } return com.google.spanner.executor.v1.GetCloudInstanceAction.getDefaultInstance(); } /** - * - * *
    * Action that retrieves a Cloud Spanner instance.
    * 
@@ -728,24 +561,20 @@ public com.google.spanner.executor.v1.GetCloudInstanceAction getGetCloudInstance * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; */ @java.lang.Override - public com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder - getGetCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder getGetCloudInstanceOrBuilder() { if (actionCase_ == 10) { - return (com.google.spanner.executor.v1.GetCloudInstanceAction) action_; + return (com.google.spanner.executor.v1.GetCloudInstanceAction) action_; } return com.google.spanner.executor.v1.GetCloudInstanceAction.getDefaultInstance(); } public static final int CREATE_CLOUD_DATABASE_FIELD_NUMBER = 11; /** - * - * *
    * Action that creates a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * * @return Whether the createCloudDatabase field is set. */ @java.lang.Override @@ -753,26 +582,21 @@ public boolean hasCreateCloudDatabase() { return actionCase_ == 11; } /** - * - * *
    * Action that creates a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * * @return The createCloudDatabase. */ @java.lang.Override public com.google.spanner.executor.v1.CreateCloudDatabaseAction getCreateCloudDatabase() { if (actionCase_ == 11) { - return (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.CreateCloudDatabaseAction.getDefaultInstance(); } /** - * - * *
    * Action that creates a Cloud Spanner database.
    * 
@@ -780,25 +604,20 @@ public com.google.spanner.executor.v1.CreateCloudDatabaseAction getCreateCloudDa * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder - getCreateCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder getCreateCloudDatabaseOrBuilder() { if (actionCase_ == 11) { - return (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.CreateCloudDatabaseAction.getDefaultInstance(); } public static final int UPDATE_CLOUD_DATABASE_DDL_FIELD_NUMBER = 12; /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; * @return Whether the updateCloudDatabaseDdl field is set. */ @java.lang.Override @@ -806,53 +625,42 @@ public boolean hasUpdateCloudDatabaseDdl() { return actionCase_ == 12; } /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; * @return The updateCloudDatabaseDdl. */ @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction getUpdateCloudDatabaseDdl() { if (actionCase_ == 12) { - return (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_; } return com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.getDefaultInstance(); } /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder - getUpdateCloudDatabaseDdlOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder getUpdateCloudDatabaseDdlOrBuilder() { if (actionCase_ == 12) { - return (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_; } return com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.getDefaultInstance(); } public static final int UPDATE_CLOUD_DATABASE_FIELD_NUMBER = 27; /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * * @return Whether the updateCloudDatabase field is set. */ @java.lang.Override @@ -860,26 +668,21 @@ public boolean hasUpdateCloudDatabase() { return actionCase_ == 27; } /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * * @return The updateCloudDatabase. */ @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudDatabaseAction getUpdateCloudDatabase() { if (actionCase_ == 27) { - return (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.UpdateCloudDatabaseAction.getDefaultInstance(); } /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
@@ -887,24 +690,20 @@ public com.google.spanner.executor.v1.UpdateCloudDatabaseAction getUpdateCloudDa * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder - getUpdateCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder getUpdateCloudDatabaseOrBuilder() { if (actionCase_ == 27) { - return (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.UpdateCloudDatabaseAction.getDefaultInstance(); } public static final int DROP_CLOUD_DATABASE_FIELD_NUMBER = 13; /** - * - * *
    * Action that drops a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; - * * @return Whether the dropCloudDatabase field is set. */ @java.lang.Override @@ -912,26 +711,21 @@ public boolean hasDropCloudDatabase() { return actionCase_ == 13; } /** - * - * *
    * Action that drops a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; - * * @return The dropCloudDatabase. */ @java.lang.Override public com.google.spanner.executor.v1.DropCloudDatabaseAction getDropCloudDatabase() { if (actionCase_ == 13) { - return (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.DropCloudDatabaseAction.getDefaultInstance(); } /** - * - * *
    * Action that drops a Cloud Spanner database.
    * 
@@ -939,24 +733,20 @@ public com.google.spanner.executor.v1.DropCloudDatabaseAction getDropCloudDataba * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; */ @java.lang.Override - public com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder - getDropCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder getDropCloudDatabaseOrBuilder() { if (actionCase_ == 13) { - return (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.DropCloudDatabaseAction.getDefaultInstance(); } public static final int LIST_CLOUD_DATABASES_FIELD_NUMBER = 14; /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; - * * @return Whether the listCloudDatabases field is set. */ @java.lang.Override @@ -964,26 +754,21 @@ public boolean hasListCloudDatabases() { return actionCase_ == 14; } /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; - * * @return The listCloudDatabases. */ @java.lang.Override public com.google.spanner.executor.v1.ListCloudDatabasesAction getListCloudDatabases() { if (actionCase_ == 14) { - return (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_; + return (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_; } return com.google.spanner.executor.v1.ListCloudDatabasesAction.getDefaultInstance(); } /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
@@ -991,26 +776,20 @@ public com.google.spanner.executor.v1.ListCloudDatabasesAction getListCloudDatab * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder - getListCloudDatabasesOrBuilder() { + public com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder getListCloudDatabasesOrBuilder() { if (actionCase_ == 14) { - return (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_; + return (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_; } return com.google.spanner.executor.v1.ListCloudDatabasesAction.getDefaultInstance(); } public static final int LIST_CLOUD_DATABASE_OPERATIONS_FIELD_NUMBER = 15; /** - * - * *
    * Action that lists Cloud Spanner database operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; * @return Whether the listCloudDatabaseOperations field is set. */ @java.lang.Override @@ -1018,57 +797,42 @@ public boolean hasListCloudDatabaseOperations() { return actionCase_ == 15; } /** - * - * *
    * Action that lists Cloud Spanner database operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; * @return The listCloudDatabaseOperations. */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - getListCloudDatabaseOperations() { + public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction getListCloudDatabaseOperations() { if (actionCase_ == 15) { - return (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_; + return (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_; } return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); } /** - * - * *
    * Action that lists Cloud Spanner database operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder - getListCloudDatabaseOperationsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder getListCloudDatabaseOperationsOrBuilder() { if (actionCase_ == 15) { - return (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_; + return (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_; } return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); } public static final int RESTORE_CLOUD_DATABASE_FIELD_NUMBER = 16; /** - * - * *
    * Action that restores a Cloud Spanner database from a backup.
    * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; * @return Whether the restoreCloudDatabase field is set. */ @java.lang.Override @@ -1076,53 +840,42 @@ public boolean hasRestoreCloudDatabase() { return actionCase_ == 16; } /** - * - * *
    * Action that restores a Cloud Spanner database from a backup.
    * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; * @return The restoreCloudDatabase. */ @java.lang.Override public com.google.spanner.executor.v1.RestoreCloudDatabaseAction getRestoreCloudDatabase() { if (actionCase_ == 16) { - return (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.RestoreCloudDatabaseAction.getDefaultInstance(); } /** - * - * *
    * Action that restores a Cloud Spanner database from a backup.
    * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ @java.lang.Override - public com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder - getRestoreCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder getRestoreCloudDatabaseOrBuilder() { if (actionCase_ == 16) { - return (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.RestoreCloudDatabaseAction.getDefaultInstance(); } public static final int GET_CLOUD_DATABASE_FIELD_NUMBER = 17; /** - * - * *
    * Action that gets a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; - * * @return Whether the getCloudDatabase field is set. */ @java.lang.Override @@ -1130,26 +883,21 @@ public boolean hasGetCloudDatabase() { return actionCase_ == 17; } /** - * - * *
    * Action that gets a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; - * * @return The getCloudDatabase. */ @java.lang.Override public com.google.spanner.executor.v1.GetCloudDatabaseAction getGetCloudDatabase() { if (actionCase_ == 17) { - return (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.GetCloudDatabaseAction.getDefaultInstance(); } /** - * - * *
    * Action that gets a Cloud Spanner database.
    * 
@@ -1157,24 +905,20 @@ public com.google.spanner.executor.v1.GetCloudDatabaseAction getGetCloudDatabase * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; */ @java.lang.Override - public com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder - getGetCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder getGetCloudDatabaseOrBuilder() { if (actionCase_ == 17) { - return (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.GetCloudDatabaseAction.getDefaultInstance(); } public static final int CREATE_CLOUD_BACKUP_FIELD_NUMBER = 18; /** - * - * *
    * Action that creates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; - * * @return Whether the createCloudBackup field is set. */ @java.lang.Override @@ -1182,26 +926,21 @@ public boolean hasCreateCloudBackup() { return actionCase_ == 18; } /** - * - * *
    * Action that creates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; - * * @return The createCloudBackup. */ @java.lang.Override public com.google.spanner.executor.v1.CreateCloudBackupAction getCreateCloudBackup() { if (actionCase_ == 18) { - return (com.google.spanner.executor.v1.CreateCloudBackupAction) action_; + return (com.google.spanner.executor.v1.CreateCloudBackupAction) action_; } return com.google.spanner.executor.v1.CreateCloudBackupAction.getDefaultInstance(); } /** - * - * *
    * Action that creates a Cloud Spanner database backup.
    * 
@@ -1209,24 +948,20 @@ public com.google.spanner.executor.v1.CreateCloudBackupAction getCreateCloudBack * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder - getCreateCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder getCreateCloudBackupOrBuilder() { if (actionCase_ == 18) { - return (com.google.spanner.executor.v1.CreateCloudBackupAction) action_; + return (com.google.spanner.executor.v1.CreateCloudBackupAction) action_; } return com.google.spanner.executor.v1.CreateCloudBackupAction.getDefaultInstance(); } public static final int COPY_CLOUD_BACKUP_FIELD_NUMBER = 19; /** - * - * *
    * Action that copies a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; - * * @return Whether the copyCloudBackup field is set. */ @java.lang.Override @@ -1234,26 +969,21 @@ public boolean hasCopyCloudBackup() { return actionCase_ == 19; } /** - * - * *
    * Action that copies a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; - * * @return The copyCloudBackup. */ @java.lang.Override public com.google.spanner.executor.v1.CopyCloudBackupAction getCopyCloudBackup() { if (actionCase_ == 19) { - return (com.google.spanner.executor.v1.CopyCloudBackupAction) action_; + return (com.google.spanner.executor.v1.CopyCloudBackupAction) action_; } return com.google.spanner.executor.v1.CopyCloudBackupAction.getDefaultInstance(); } /** - * - * *
    * Action that copies a Cloud Spanner database backup.
    * 
@@ -1261,24 +991,20 @@ public com.google.spanner.executor.v1.CopyCloudBackupAction getCopyCloudBackup() * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; */ @java.lang.Override - public com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder - getCopyCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder getCopyCloudBackupOrBuilder() { if (actionCase_ == 19) { - return (com.google.spanner.executor.v1.CopyCloudBackupAction) action_; + return (com.google.spanner.executor.v1.CopyCloudBackupAction) action_; } return com.google.spanner.executor.v1.CopyCloudBackupAction.getDefaultInstance(); } public static final int GET_CLOUD_BACKUP_FIELD_NUMBER = 20; /** - * - * *
    * Action that gets a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; - * * @return Whether the getCloudBackup field is set. */ @java.lang.Override @@ -1286,26 +1012,21 @@ public boolean hasGetCloudBackup() { return actionCase_ == 20; } /** - * - * *
    * Action that gets a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; - * * @return The getCloudBackup. */ @java.lang.Override public com.google.spanner.executor.v1.GetCloudBackupAction getGetCloudBackup() { if (actionCase_ == 20) { - return (com.google.spanner.executor.v1.GetCloudBackupAction) action_; + return (com.google.spanner.executor.v1.GetCloudBackupAction) action_; } return com.google.spanner.executor.v1.GetCloudBackupAction.getDefaultInstance(); } /** - * - * *
    * Action that gets a Cloud Spanner database backup.
    * 
@@ -1315,21 +1036,18 @@ public com.google.spanner.executor.v1.GetCloudBackupAction getGetCloudBackup() { @java.lang.Override public com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder getGetCloudBackupOrBuilder() { if (actionCase_ == 20) { - return (com.google.spanner.executor.v1.GetCloudBackupAction) action_; + return (com.google.spanner.executor.v1.GetCloudBackupAction) action_; } return com.google.spanner.executor.v1.GetCloudBackupAction.getDefaultInstance(); } public static final int UPDATE_CLOUD_BACKUP_FIELD_NUMBER = 21; /** - * - * *
    * Action that updates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; - * * @return Whether the updateCloudBackup field is set. */ @java.lang.Override @@ -1337,26 +1055,21 @@ public boolean hasUpdateCloudBackup() { return actionCase_ == 21; } /** - * - * *
    * Action that updates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; - * * @return The updateCloudBackup. */ @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudBackupAction getUpdateCloudBackup() { if (actionCase_ == 21) { - return (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_; } return com.google.spanner.executor.v1.UpdateCloudBackupAction.getDefaultInstance(); } /** - * - * *
    * Action that updates a Cloud Spanner database backup.
    * 
@@ -1364,24 +1077,20 @@ public com.google.spanner.executor.v1.UpdateCloudBackupAction getUpdateCloudBack * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder - getUpdateCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder getUpdateCloudBackupOrBuilder() { if (actionCase_ == 21) { - return (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_; + return (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_; } return com.google.spanner.executor.v1.UpdateCloudBackupAction.getDefaultInstance(); } public static final int DELETE_CLOUD_BACKUP_FIELD_NUMBER = 22; /** - * - * *
    * Action that deletes a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; - * * @return Whether the deleteCloudBackup field is set. */ @java.lang.Override @@ -1389,26 +1098,21 @@ public boolean hasDeleteCloudBackup() { return actionCase_ == 22; } /** - * - * *
    * Action that deletes a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; - * * @return The deleteCloudBackup. */ @java.lang.Override public com.google.spanner.executor.v1.DeleteCloudBackupAction getDeleteCloudBackup() { if (actionCase_ == 22) { - return (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_; + return (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_; } return com.google.spanner.executor.v1.DeleteCloudBackupAction.getDefaultInstance(); } /** - * - * *
    * Action that deletes a Cloud Spanner database backup.
    * 
@@ -1416,24 +1120,20 @@ public com.google.spanner.executor.v1.DeleteCloudBackupAction getDeleteCloudBack * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder - getDeleteCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder getDeleteCloudBackupOrBuilder() { if (actionCase_ == 22) { - return (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_; + return (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_; } return com.google.spanner.executor.v1.DeleteCloudBackupAction.getDefaultInstance(); } public static final int LIST_CLOUD_BACKUPS_FIELD_NUMBER = 23; /** - * - * *
    * Action that lists Cloud Spanner database backups.
    * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; - * * @return Whether the listCloudBackups field is set. */ @java.lang.Override @@ -1441,26 +1141,21 @@ public boolean hasListCloudBackups() { return actionCase_ == 23; } /** - * - * *
    * Action that lists Cloud Spanner database backups.
    * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; - * * @return The listCloudBackups. */ @java.lang.Override public com.google.spanner.executor.v1.ListCloudBackupsAction getListCloudBackups() { if (actionCase_ == 23) { - return (com.google.spanner.executor.v1.ListCloudBackupsAction) action_; + return (com.google.spanner.executor.v1.ListCloudBackupsAction) action_; } return com.google.spanner.executor.v1.ListCloudBackupsAction.getDefaultInstance(); } /** - * - * *
    * Action that lists Cloud Spanner database backups.
    * 
@@ -1468,26 +1163,20 @@ public com.google.spanner.executor.v1.ListCloudBackupsAction getListCloudBackups * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder - getListCloudBackupsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder getListCloudBackupsOrBuilder() { if (actionCase_ == 23) { - return (com.google.spanner.executor.v1.ListCloudBackupsAction) action_; + return (com.google.spanner.executor.v1.ListCloudBackupsAction) action_; } return com.google.spanner.executor.v1.ListCloudBackupsAction.getDefaultInstance(); } public static final int LIST_CLOUD_BACKUP_OPERATIONS_FIELD_NUMBER = 24; /** - * - * *
    * Action that lists Cloud Spanner database backup operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; * @return Whether the listCloudBackupOperations field is set. */ @java.lang.Override @@ -1495,56 +1184,42 @@ public boolean hasListCloudBackupOperations() { return actionCase_ == 24; } /** - * - * *
    * Action that lists Cloud Spanner database backup operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; * @return The listCloudBackupOperations. */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupOperationsAction - getListCloudBackupOperations() { + public com.google.spanner.executor.v1.ListCloudBackupOperationsAction getListCloudBackupOperations() { if (actionCase_ == 24) { - return (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_; + return (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_; } return com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance(); } /** - * - * *
    * Action that lists Cloud Spanner database backup operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder - getListCloudBackupOperationsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder getListCloudBackupOperationsOrBuilder() { if (actionCase_ == 24) { - return (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_; + return (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_; } return com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance(); } public static final int GET_OPERATION_FIELD_NUMBER = 25; /** - * - * *
    * Action that gets an operation.
    * 
* * .google.spanner.executor.v1.GetOperationAction get_operation = 25; - * * @return Whether the getOperation field is set. */ @java.lang.Override @@ -1552,26 +1227,21 @@ public boolean hasGetOperation() { return actionCase_ == 25; } /** - * - * *
    * Action that gets an operation.
    * 
* * .google.spanner.executor.v1.GetOperationAction get_operation = 25; - * * @return The getOperation. */ @java.lang.Override public com.google.spanner.executor.v1.GetOperationAction getGetOperation() { if (actionCase_ == 25) { - return (com.google.spanner.executor.v1.GetOperationAction) action_; + return (com.google.spanner.executor.v1.GetOperationAction) action_; } return com.google.spanner.executor.v1.GetOperationAction.getDefaultInstance(); } /** - * - * *
    * Action that gets an operation.
    * 
@@ -1581,21 +1251,18 @@ public com.google.spanner.executor.v1.GetOperationAction getGetOperation() { @java.lang.Override public com.google.spanner.executor.v1.GetOperationActionOrBuilder getGetOperationOrBuilder() { if (actionCase_ == 25) { - return (com.google.spanner.executor.v1.GetOperationAction) action_; + return (com.google.spanner.executor.v1.GetOperationAction) action_; } return com.google.spanner.executor.v1.GetOperationAction.getDefaultInstance(); } public static final int CANCEL_OPERATION_FIELD_NUMBER = 26; /** - * - * *
    * Action that cancels an operation.
    * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; - * * @return Whether the cancelOperation field is set. */ @java.lang.Override @@ -1603,26 +1270,21 @@ public boolean hasCancelOperation() { return actionCase_ == 26; } /** - * - * *
    * Action that cancels an operation.
    * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; - * * @return The cancelOperation. */ @java.lang.Override public com.google.spanner.executor.v1.CancelOperationAction getCancelOperation() { if (actionCase_ == 26) { - return (com.google.spanner.executor.v1.CancelOperationAction) action_; + return (com.google.spanner.executor.v1.CancelOperationAction) action_; } return com.google.spanner.executor.v1.CancelOperationAction.getDefaultInstance(); } /** - * - * *
    * Action that cancels an operation.
    * 
@@ -1630,26 +1292,20 @@ public com.google.spanner.executor.v1.CancelOperationAction getCancelOperation() * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; */ @java.lang.Override - public com.google.spanner.executor.v1.CancelOperationActionOrBuilder - getCancelOperationOrBuilder() { + public com.google.spanner.executor.v1.CancelOperationActionOrBuilder getCancelOperationOrBuilder() { if (actionCase_ == 26) { - return (com.google.spanner.executor.v1.CancelOperationAction) action_; + return (com.google.spanner.executor.v1.CancelOperationAction) action_; } return com.google.spanner.executor.v1.CancelOperationAction.getDefaultInstance(); } public static final int RECONFIGURE_CLOUD_DATABASE_FIELD_NUMBER = 28; /** - * - * *
    * Action that reconfigures a Cloud Spanner database.
    * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; * @return Whether the reconfigureCloudDatabase field is set. */ @java.lang.Override @@ -1657,48 +1313,36 @@ public boolean hasReconfigureCloudDatabase() { return actionCase_ == 28; } /** - * - * *
    * Action that reconfigures a Cloud Spanner database.
    * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; * @return The reconfigureCloudDatabase. */ @java.lang.Override - public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction - getReconfigureCloudDatabase() { + public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction getReconfigureCloudDatabase() { if (actionCase_ == 28) { - return (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance(); } /** - * - * *
    * Action that reconfigures a Cloud Spanner database.
    * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ @java.lang.Override - public com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder - getReconfigureCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder getReconfigureCloudDatabaseOrBuilder() { if (actionCase_ == 28) { - return (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_; + return (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_; } return com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1710,25 +1354,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (actionCase_ == 1) { - output.writeMessage( - 1, (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_); + output.writeMessage(1, (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_); } if (actionCase_ == 2) { - output.writeMessage( - 2, (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_); + output.writeMessage(2, (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_); } if (actionCase_ == 3) { - output.writeMessage( - 3, (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_); + output.writeMessage(3, (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_); } if (actionCase_ == 4) { output.writeMessage(4, (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_); } if (actionCase_ == 5) { - output.writeMessage( - 5, (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_); + output.writeMessage(5, (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_); } if (actionCase_ == 6) { output.writeMessage(6, (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_); @@ -1749,8 +1390,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(11, (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_); } if (actionCase_ == 12) { - output.writeMessage( - 12, (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_); + output.writeMessage(12, (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_); } if (actionCase_ == 13) { output.writeMessage(13, (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_); @@ -1759,8 +1399,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(14, (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_); } if (actionCase_ == 15) { - output.writeMessage( - 15, (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_); + output.writeMessage(15, (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_); } if (actionCase_ == 16) { output.writeMessage(16, (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_); @@ -1787,8 +1426,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(23, (com.google.spanner.executor.v1.ListCloudBackupsAction) action_); } if (actionCase_ == 24) { - output.writeMessage( - 24, (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_); + output.writeMessage(24, (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_); } if (actionCase_ == 25) { output.writeMessage(25, (com.google.spanner.executor.v1.GetOperationAction) action_); @@ -1800,8 +1438,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(27, (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_); } if (actionCase_ == 28) { - output.writeMessage( - 28, (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_); + output.writeMessage(28, (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_); } getUnknownFields().writeTo(output); } @@ -1813,144 +1450,116 @@ public int getSerializedSize() { size = 0; if (actionCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_); } if (actionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_); } if (actionCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_); } if (actionCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_); } if (actionCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_); } if (actionCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_); } if (actionCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_); } if (actionCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_); } if (actionCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.spanner.executor.v1.ListCloudInstancesAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.spanner.executor.v1.ListCloudInstancesAction) action_); } if (actionCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.spanner.executor.v1.GetCloudInstanceAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.spanner.executor.v1.GetCloudInstanceAction) action_); } if (actionCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_); } if (actionCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_); } if (actionCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_); } if (actionCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_); } if (actionCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_); } if (actionCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_); } if (actionCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 17, (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_); } if (actionCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, (com.google.spanner.executor.v1.CreateCloudBackupAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (com.google.spanner.executor.v1.CreateCloudBackupAction) action_); } if (actionCase_ == 19) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 19, (com.google.spanner.executor.v1.CopyCloudBackupAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, (com.google.spanner.executor.v1.CopyCloudBackupAction) action_); } if (actionCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, (com.google.spanner.executor.v1.GetCloudBackupAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.google.spanner.executor.v1.GetCloudBackupAction) action_); } if (actionCase_ == 21) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_); } if (actionCase_ == 22) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_); } if (actionCase_ == 23) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 23, (com.google.spanner.executor.v1.ListCloudBackupsAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, (com.google.spanner.executor.v1.ListCloudBackupsAction) action_); } if (actionCase_ == 24) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 24, (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_); } if (actionCase_ == 25) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 25, (com.google.spanner.executor.v1.GetOperationAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, (com.google.spanner.executor.v1.GetOperationAction) action_); } if (actionCase_ == 26) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 26, (com.google.spanner.executor.v1.CancelOperationAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, (com.google.spanner.executor.v1.CancelOperationAction) action_); } if (actionCase_ == 27) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 27, (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_); } if (actionCase_ == 28) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 28, (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1960,105 +1569,126 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.AdminAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.AdminAction other = - (com.google.spanner.executor.v1.AdminAction) obj; + com.google.spanner.executor.v1.AdminAction other = (com.google.spanner.executor.v1.AdminAction) obj; if (!getActionCase().equals(other.getActionCase())) return false; switch (actionCase_) { case 1: - if (!getCreateUserInstanceConfig().equals(other.getCreateUserInstanceConfig())) - return false; + if (!getCreateUserInstanceConfig() + .equals(other.getCreateUserInstanceConfig())) return false; break; case 2: - if (!getUpdateUserInstanceConfig().equals(other.getUpdateUserInstanceConfig())) - return false; + if (!getUpdateUserInstanceConfig() + .equals(other.getUpdateUserInstanceConfig())) return false; break; case 3: - if (!getDeleteUserInstanceConfig().equals(other.getDeleteUserInstanceConfig())) - return false; + if (!getDeleteUserInstanceConfig() + .equals(other.getDeleteUserInstanceConfig())) return false; break; case 4: - if (!getGetCloudInstanceConfig().equals(other.getGetCloudInstanceConfig())) return false; + if (!getGetCloudInstanceConfig() + .equals(other.getGetCloudInstanceConfig())) return false; break; case 5: - if (!getListInstanceConfigs().equals(other.getListInstanceConfigs())) return false; + if (!getListInstanceConfigs() + .equals(other.getListInstanceConfigs())) return false; break; case 6: - if (!getCreateCloudInstance().equals(other.getCreateCloudInstance())) return false; + if (!getCreateCloudInstance() + .equals(other.getCreateCloudInstance())) return false; break; case 7: - if (!getUpdateCloudInstance().equals(other.getUpdateCloudInstance())) return false; + if (!getUpdateCloudInstance() + .equals(other.getUpdateCloudInstance())) return false; break; case 8: - if (!getDeleteCloudInstance().equals(other.getDeleteCloudInstance())) return false; + if (!getDeleteCloudInstance() + .equals(other.getDeleteCloudInstance())) return false; break; case 9: - if (!getListCloudInstances().equals(other.getListCloudInstances())) return false; + if (!getListCloudInstances() + .equals(other.getListCloudInstances())) return false; break; case 10: - if (!getGetCloudInstance().equals(other.getGetCloudInstance())) return false; + if (!getGetCloudInstance() + .equals(other.getGetCloudInstance())) return false; break; case 11: - if (!getCreateCloudDatabase().equals(other.getCreateCloudDatabase())) return false; + if (!getCreateCloudDatabase() + .equals(other.getCreateCloudDatabase())) return false; break; case 12: - if (!getUpdateCloudDatabaseDdl().equals(other.getUpdateCloudDatabaseDdl())) return false; + if (!getUpdateCloudDatabaseDdl() + .equals(other.getUpdateCloudDatabaseDdl())) return false; break; case 27: - if (!getUpdateCloudDatabase().equals(other.getUpdateCloudDatabase())) return false; + if (!getUpdateCloudDatabase() + .equals(other.getUpdateCloudDatabase())) return false; break; case 13: - if (!getDropCloudDatabase().equals(other.getDropCloudDatabase())) return false; + if (!getDropCloudDatabase() + .equals(other.getDropCloudDatabase())) return false; break; case 14: - if (!getListCloudDatabases().equals(other.getListCloudDatabases())) return false; + if (!getListCloudDatabases() + .equals(other.getListCloudDatabases())) return false; break; case 15: - if (!getListCloudDatabaseOperations().equals(other.getListCloudDatabaseOperations())) - return false; + if (!getListCloudDatabaseOperations() + .equals(other.getListCloudDatabaseOperations())) return false; break; case 16: - if (!getRestoreCloudDatabase().equals(other.getRestoreCloudDatabase())) return false; + if (!getRestoreCloudDatabase() + .equals(other.getRestoreCloudDatabase())) return false; break; case 17: - if (!getGetCloudDatabase().equals(other.getGetCloudDatabase())) return false; + if (!getGetCloudDatabase() + .equals(other.getGetCloudDatabase())) return false; break; case 18: - if (!getCreateCloudBackup().equals(other.getCreateCloudBackup())) return false; + if (!getCreateCloudBackup() + .equals(other.getCreateCloudBackup())) return false; break; case 19: - if (!getCopyCloudBackup().equals(other.getCopyCloudBackup())) return false; + if (!getCopyCloudBackup() + .equals(other.getCopyCloudBackup())) return false; break; case 20: - if (!getGetCloudBackup().equals(other.getGetCloudBackup())) return false; + if (!getGetCloudBackup() + .equals(other.getGetCloudBackup())) return false; break; case 21: - if (!getUpdateCloudBackup().equals(other.getUpdateCloudBackup())) return false; + if (!getUpdateCloudBackup() + .equals(other.getUpdateCloudBackup())) return false; break; case 22: - if (!getDeleteCloudBackup().equals(other.getDeleteCloudBackup())) return false; + if (!getDeleteCloudBackup() + .equals(other.getDeleteCloudBackup())) return false; break; case 23: - if (!getListCloudBackups().equals(other.getListCloudBackups())) return false; + if (!getListCloudBackups() + .equals(other.getListCloudBackups())) return false; break; case 24: - if (!getListCloudBackupOperations().equals(other.getListCloudBackupOperations())) - return false; + if (!getListCloudBackupOperations() + .equals(other.getListCloudBackupOperations())) return false; break; case 25: - if (!getGetOperation().equals(other.getGetOperation())) return false; + if (!getGetOperation() + .equals(other.getGetOperation())) return false; break; case 26: - if (!getCancelOperation().equals(other.getCancelOperation())) return false; + if (!getCancelOperation() + .equals(other.getCancelOperation())) return false; break; case 28: - if (!getReconfigureCloudDatabase().equals(other.getReconfigureCloudDatabase())) - return false; + if (!getReconfigureCloudDatabase() + .equals(other.getReconfigureCloudDatabase())) return false; break; case 0: default: @@ -2195,104 +1825,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.AdminAction parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.AdminAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.AdminAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.AdminAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.AdminAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.AdminAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.AdminAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.AdminAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.AdminAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.AdminAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AdminAction defines all the cloud spanner admin actions, including
    * instance/database admin ops, backup ops and operation actions.
@@ -2300,32 +1925,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.AdminAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.AdminAction)
       com.google.spanner.executor.v1.AdminActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_AdminAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.AdminAction.class,
-              com.google.spanner.executor.v1.AdminAction.Builder.class);
+              com.google.spanner.executor.v1.AdminAction.class, com.google.spanner.executor.v1.AdminAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.AdminAction.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2420,9 +2046,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_AdminAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminAction_descriptor;
     }
 
     @java.lang.Override
@@ -2441,11 +2067,8 @@ public com.google.spanner.executor.v1.AdminAction build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.AdminAction buildPartial() {
-      com.google.spanner.executor.v1.AdminAction result =
-          new com.google.spanner.executor.v1.AdminAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.AdminAction result = new com.google.spanner.executor.v1.AdminAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2458,88 +2081,116 @@ private void buildPartial0(com.google.spanner.executor.v1.AdminAction result) {
     private void buildPartialOneofs(com.google.spanner.executor.v1.AdminAction result) {
       result.actionCase_ = actionCase_;
       result.action_ = this.action_;
-      if (actionCase_ == 1 && createUserInstanceConfigBuilder_ != null) {
+      if (actionCase_ == 1 &&
+          createUserInstanceConfigBuilder_ != null) {
         result.action_ = createUserInstanceConfigBuilder_.build();
       }
-      if (actionCase_ == 2 && updateUserInstanceConfigBuilder_ != null) {
+      if (actionCase_ == 2 &&
+          updateUserInstanceConfigBuilder_ != null) {
         result.action_ = updateUserInstanceConfigBuilder_.build();
       }
-      if (actionCase_ == 3 && deleteUserInstanceConfigBuilder_ != null) {
+      if (actionCase_ == 3 &&
+          deleteUserInstanceConfigBuilder_ != null) {
         result.action_ = deleteUserInstanceConfigBuilder_.build();
       }
-      if (actionCase_ == 4 && getCloudInstanceConfigBuilder_ != null) {
+      if (actionCase_ == 4 &&
+          getCloudInstanceConfigBuilder_ != null) {
         result.action_ = getCloudInstanceConfigBuilder_.build();
       }
-      if (actionCase_ == 5 && listInstanceConfigsBuilder_ != null) {
+      if (actionCase_ == 5 &&
+          listInstanceConfigsBuilder_ != null) {
         result.action_ = listInstanceConfigsBuilder_.build();
       }
-      if (actionCase_ == 6 && createCloudInstanceBuilder_ != null) {
+      if (actionCase_ == 6 &&
+          createCloudInstanceBuilder_ != null) {
         result.action_ = createCloudInstanceBuilder_.build();
       }
-      if (actionCase_ == 7 && updateCloudInstanceBuilder_ != null) {
+      if (actionCase_ == 7 &&
+          updateCloudInstanceBuilder_ != null) {
         result.action_ = updateCloudInstanceBuilder_.build();
       }
-      if (actionCase_ == 8 && deleteCloudInstanceBuilder_ != null) {
+      if (actionCase_ == 8 &&
+          deleteCloudInstanceBuilder_ != null) {
         result.action_ = deleteCloudInstanceBuilder_.build();
       }
-      if (actionCase_ == 9 && listCloudInstancesBuilder_ != null) {
+      if (actionCase_ == 9 &&
+          listCloudInstancesBuilder_ != null) {
         result.action_ = listCloudInstancesBuilder_.build();
       }
-      if (actionCase_ == 10 && getCloudInstanceBuilder_ != null) {
+      if (actionCase_ == 10 &&
+          getCloudInstanceBuilder_ != null) {
         result.action_ = getCloudInstanceBuilder_.build();
       }
-      if (actionCase_ == 11 && createCloudDatabaseBuilder_ != null) {
+      if (actionCase_ == 11 &&
+          createCloudDatabaseBuilder_ != null) {
         result.action_ = createCloudDatabaseBuilder_.build();
       }
-      if (actionCase_ == 12 && updateCloudDatabaseDdlBuilder_ != null) {
+      if (actionCase_ == 12 &&
+          updateCloudDatabaseDdlBuilder_ != null) {
         result.action_ = updateCloudDatabaseDdlBuilder_.build();
       }
-      if (actionCase_ == 27 && updateCloudDatabaseBuilder_ != null) {
+      if (actionCase_ == 27 &&
+          updateCloudDatabaseBuilder_ != null) {
         result.action_ = updateCloudDatabaseBuilder_.build();
       }
-      if (actionCase_ == 13 && dropCloudDatabaseBuilder_ != null) {
+      if (actionCase_ == 13 &&
+          dropCloudDatabaseBuilder_ != null) {
         result.action_ = dropCloudDatabaseBuilder_.build();
       }
-      if (actionCase_ == 14 && listCloudDatabasesBuilder_ != null) {
+      if (actionCase_ == 14 &&
+          listCloudDatabasesBuilder_ != null) {
         result.action_ = listCloudDatabasesBuilder_.build();
       }
-      if (actionCase_ == 15 && listCloudDatabaseOperationsBuilder_ != null) {
+      if (actionCase_ == 15 &&
+          listCloudDatabaseOperationsBuilder_ != null) {
         result.action_ = listCloudDatabaseOperationsBuilder_.build();
       }
-      if (actionCase_ == 16 && restoreCloudDatabaseBuilder_ != null) {
+      if (actionCase_ == 16 &&
+          restoreCloudDatabaseBuilder_ != null) {
         result.action_ = restoreCloudDatabaseBuilder_.build();
       }
-      if (actionCase_ == 17 && getCloudDatabaseBuilder_ != null) {
+      if (actionCase_ == 17 &&
+          getCloudDatabaseBuilder_ != null) {
         result.action_ = getCloudDatabaseBuilder_.build();
       }
-      if (actionCase_ == 18 && createCloudBackupBuilder_ != null) {
+      if (actionCase_ == 18 &&
+          createCloudBackupBuilder_ != null) {
         result.action_ = createCloudBackupBuilder_.build();
       }
-      if (actionCase_ == 19 && copyCloudBackupBuilder_ != null) {
+      if (actionCase_ == 19 &&
+          copyCloudBackupBuilder_ != null) {
         result.action_ = copyCloudBackupBuilder_.build();
       }
-      if (actionCase_ == 20 && getCloudBackupBuilder_ != null) {
+      if (actionCase_ == 20 &&
+          getCloudBackupBuilder_ != null) {
         result.action_ = getCloudBackupBuilder_.build();
       }
-      if (actionCase_ == 21 && updateCloudBackupBuilder_ != null) {
+      if (actionCase_ == 21 &&
+          updateCloudBackupBuilder_ != null) {
         result.action_ = updateCloudBackupBuilder_.build();
       }
-      if (actionCase_ == 22 && deleteCloudBackupBuilder_ != null) {
+      if (actionCase_ == 22 &&
+          deleteCloudBackupBuilder_ != null) {
         result.action_ = deleteCloudBackupBuilder_.build();
       }
-      if (actionCase_ == 23 && listCloudBackupsBuilder_ != null) {
+      if (actionCase_ == 23 &&
+          listCloudBackupsBuilder_ != null) {
         result.action_ = listCloudBackupsBuilder_.build();
       }
-      if (actionCase_ == 24 && listCloudBackupOperationsBuilder_ != null) {
+      if (actionCase_ == 24 &&
+          listCloudBackupOperationsBuilder_ != null) {
         result.action_ = listCloudBackupOperationsBuilder_.build();
       }
-      if (actionCase_ == 25 && getOperationBuilder_ != null) {
+      if (actionCase_ == 25 &&
+          getOperationBuilder_ != null) {
         result.action_ = getOperationBuilder_.build();
       }
-      if (actionCase_ == 26 && cancelOperationBuilder_ != null) {
+      if (actionCase_ == 26 &&
+          cancelOperationBuilder_ != null) {
         result.action_ = cancelOperationBuilder_.build();
       }
-      if (actionCase_ == 28 && reconfigureCloudDatabaseBuilder_ != null) {
+      if (actionCase_ == 28 &&
+          reconfigureCloudDatabaseBuilder_ != null) {
         result.action_ = reconfigureCloudDatabaseBuilder_.build();
       }
     }
@@ -2548,39 +2199,38 @@ private void buildPartialOneofs(com.google.spanner.executor.v1.AdminAction resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.AdminAction) {
-        return mergeFrom((com.google.spanner.executor.v1.AdminAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.AdminAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2590,150 +2240,121 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.executor.v1.AdminAction other) {
       if (other == com.google.spanner.executor.v1.AdminAction.getDefaultInstance()) return this;
       switch (other.getActionCase()) {
-        case CREATE_USER_INSTANCE_CONFIG:
-          {
-            mergeCreateUserInstanceConfig(other.getCreateUserInstanceConfig());
-            break;
-          }
-        case UPDATE_USER_INSTANCE_CONFIG:
-          {
-            mergeUpdateUserInstanceConfig(other.getUpdateUserInstanceConfig());
-            break;
-          }
-        case DELETE_USER_INSTANCE_CONFIG:
-          {
-            mergeDeleteUserInstanceConfig(other.getDeleteUserInstanceConfig());
-            break;
-          }
-        case GET_CLOUD_INSTANCE_CONFIG:
-          {
-            mergeGetCloudInstanceConfig(other.getGetCloudInstanceConfig());
-            break;
-          }
-        case LIST_INSTANCE_CONFIGS:
-          {
-            mergeListInstanceConfigs(other.getListInstanceConfigs());
-            break;
-          }
-        case CREATE_CLOUD_INSTANCE:
-          {
-            mergeCreateCloudInstance(other.getCreateCloudInstance());
-            break;
-          }
-        case UPDATE_CLOUD_INSTANCE:
-          {
-            mergeUpdateCloudInstance(other.getUpdateCloudInstance());
-            break;
-          }
-        case DELETE_CLOUD_INSTANCE:
-          {
-            mergeDeleteCloudInstance(other.getDeleteCloudInstance());
-            break;
-          }
-        case LIST_CLOUD_INSTANCES:
-          {
-            mergeListCloudInstances(other.getListCloudInstances());
-            break;
-          }
-        case GET_CLOUD_INSTANCE:
-          {
-            mergeGetCloudInstance(other.getGetCloudInstance());
-            break;
-          }
-        case CREATE_CLOUD_DATABASE:
-          {
-            mergeCreateCloudDatabase(other.getCreateCloudDatabase());
-            break;
-          }
-        case UPDATE_CLOUD_DATABASE_DDL:
-          {
-            mergeUpdateCloudDatabaseDdl(other.getUpdateCloudDatabaseDdl());
-            break;
-          }
-        case UPDATE_CLOUD_DATABASE:
-          {
-            mergeUpdateCloudDatabase(other.getUpdateCloudDatabase());
-            break;
-          }
-        case DROP_CLOUD_DATABASE:
-          {
-            mergeDropCloudDatabase(other.getDropCloudDatabase());
-            break;
-          }
-        case LIST_CLOUD_DATABASES:
-          {
-            mergeListCloudDatabases(other.getListCloudDatabases());
-            break;
-          }
-        case LIST_CLOUD_DATABASE_OPERATIONS:
-          {
-            mergeListCloudDatabaseOperations(other.getListCloudDatabaseOperations());
-            break;
-          }
-        case RESTORE_CLOUD_DATABASE:
-          {
-            mergeRestoreCloudDatabase(other.getRestoreCloudDatabase());
-            break;
-          }
-        case GET_CLOUD_DATABASE:
-          {
-            mergeGetCloudDatabase(other.getGetCloudDatabase());
-            break;
-          }
-        case CREATE_CLOUD_BACKUP:
-          {
-            mergeCreateCloudBackup(other.getCreateCloudBackup());
-            break;
-          }
-        case COPY_CLOUD_BACKUP:
-          {
-            mergeCopyCloudBackup(other.getCopyCloudBackup());
-            break;
-          }
-        case GET_CLOUD_BACKUP:
-          {
-            mergeGetCloudBackup(other.getGetCloudBackup());
-            break;
-          }
-        case UPDATE_CLOUD_BACKUP:
-          {
-            mergeUpdateCloudBackup(other.getUpdateCloudBackup());
-            break;
-          }
-        case DELETE_CLOUD_BACKUP:
-          {
-            mergeDeleteCloudBackup(other.getDeleteCloudBackup());
-            break;
-          }
-        case LIST_CLOUD_BACKUPS:
-          {
-            mergeListCloudBackups(other.getListCloudBackups());
-            break;
-          }
-        case LIST_CLOUD_BACKUP_OPERATIONS:
-          {
-            mergeListCloudBackupOperations(other.getListCloudBackupOperations());
-            break;
-          }
-        case GET_OPERATION:
-          {
-            mergeGetOperation(other.getGetOperation());
-            break;
-          }
-        case CANCEL_OPERATION:
-          {
-            mergeCancelOperation(other.getCancelOperation());
-            break;
-          }
-        case RECONFIGURE_CLOUD_DATABASE:
-          {
-            mergeReconfigureCloudDatabase(other.getReconfigureCloudDatabase());
-            break;
-          }
-        case ACTION_NOT_SET:
-          {
-            break;
-          }
+        case CREATE_USER_INSTANCE_CONFIG: {
+          mergeCreateUserInstanceConfig(other.getCreateUserInstanceConfig());
+          break;
+        }
+        case UPDATE_USER_INSTANCE_CONFIG: {
+          mergeUpdateUserInstanceConfig(other.getUpdateUserInstanceConfig());
+          break;
+        }
+        case DELETE_USER_INSTANCE_CONFIG: {
+          mergeDeleteUserInstanceConfig(other.getDeleteUserInstanceConfig());
+          break;
+        }
+        case GET_CLOUD_INSTANCE_CONFIG: {
+          mergeGetCloudInstanceConfig(other.getGetCloudInstanceConfig());
+          break;
+        }
+        case LIST_INSTANCE_CONFIGS: {
+          mergeListInstanceConfigs(other.getListInstanceConfigs());
+          break;
+        }
+        case CREATE_CLOUD_INSTANCE: {
+          mergeCreateCloudInstance(other.getCreateCloudInstance());
+          break;
+        }
+        case UPDATE_CLOUD_INSTANCE: {
+          mergeUpdateCloudInstance(other.getUpdateCloudInstance());
+          break;
+        }
+        case DELETE_CLOUD_INSTANCE: {
+          mergeDeleteCloudInstance(other.getDeleteCloudInstance());
+          break;
+        }
+        case LIST_CLOUD_INSTANCES: {
+          mergeListCloudInstances(other.getListCloudInstances());
+          break;
+        }
+        case GET_CLOUD_INSTANCE: {
+          mergeGetCloudInstance(other.getGetCloudInstance());
+          break;
+        }
+        case CREATE_CLOUD_DATABASE: {
+          mergeCreateCloudDatabase(other.getCreateCloudDatabase());
+          break;
+        }
+        case UPDATE_CLOUD_DATABASE_DDL: {
+          mergeUpdateCloudDatabaseDdl(other.getUpdateCloudDatabaseDdl());
+          break;
+        }
+        case UPDATE_CLOUD_DATABASE: {
+          mergeUpdateCloudDatabase(other.getUpdateCloudDatabase());
+          break;
+        }
+        case DROP_CLOUD_DATABASE: {
+          mergeDropCloudDatabase(other.getDropCloudDatabase());
+          break;
+        }
+        case LIST_CLOUD_DATABASES: {
+          mergeListCloudDatabases(other.getListCloudDatabases());
+          break;
+        }
+        case LIST_CLOUD_DATABASE_OPERATIONS: {
+          mergeListCloudDatabaseOperations(other.getListCloudDatabaseOperations());
+          break;
+        }
+        case RESTORE_CLOUD_DATABASE: {
+          mergeRestoreCloudDatabase(other.getRestoreCloudDatabase());
+          break;
+        }
+        case GET_CLOUD_DATABASE: {
+          mergeGetCloudDatabase(other.getGetCloudDatabase());
+          break;
+        }
+        case CREATE_CLOUD_BACKUP: {
+          mergeCreateCloudBackup(other.getCreateCloudBackup());
+          break;
+        }
+        case COPY_CLOUD_BACKUP: {
+          mergeCopyCloudBackup(other.getCopyCloudBackup());
+          break;
+        }
+        case GET_CLOUD_BACKUP: {
+          mergeGetCloudBackup(other.getGetCloudBackup());
+          break;
+        }
+        case UPDATE_CLOUD_BACKUP: {
+          mergeUpdateCloudBackup(other.getUpdateCloudBackup());
+          break;
+        }
+        case DELETE_CLOUD_BACKUP: {
+          mergeDeleteCloudBackup(other.getDeleteCloudBackup());
+          break;
+        }
+        case LIST_CLOUD_BACKUPS: {
+          mergeListCloudBackups(other.getListCloudBackups());
+          break;
+        }
+        case LIST_CLOUD_BACKUP_OPERATIONS: {
+          mergeListCloudBackupOperations(other.getListCloudBackupOperations());
+          break;
+        }
+        case GET_OPERATION: {
+          mergeGetOperation(other.getGetOperation());
+          break;
+        }
+        case CANCEL_OPERATION: {
+          mergeCancelOperation(other.getCancelOperation());
+          break;
+        }
+        case RECONFIGURE_CLOUD_DATABASE: {
+          mergeReconfigureCloudDatabase(other.getReconfigureCloudDatabase());
+          break;
+        }
+        case ACTION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2761,205 +2382,208 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getCreateUserInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getUpdateUserInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getDeleteUserInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getGetCloudInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(
-                    getListInstanceConfigsFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getCreateCloudInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getUpdateCloudInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getDeleteCloudInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getListCloudInstancesFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 9;
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(
-                    getGetCloudInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 10;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(
-                    getCreateCloudDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 11;
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(
-                    getUpdateCloudDatabaseDdlFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 12;
-                break;
-              } // case 98
-            case 106:
-              {
-                input.readMessage(
-                    getDropCloudDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 13;
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(
-                    getListCloudDatabasesFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 14;
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(
-                    getListCloudDatabaseOperationsFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(
-                    getRestoreCloudDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 16;
-                break;
-              } // case 130
-            case 138:
-              {
-                input.readMessage(
-                    getGetCloudDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 17;
-                break;
-              } // case 138
-            case 146:
-              {
-                input.readMessage(
-                    getCreateCloudBackupFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 18;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(getCopyCloudBackupFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 19;
-                break;
-              } // case 154
-            case 162:
-              {
-                input.readMessage(getGetCloudBackupFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 20;
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(
-                    getUpdateCloudBackupFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 21;
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(
-                    getDeleteCloudBackupFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 22;
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(
-                    getListCloudBackupsFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 23;
-                break;
-              } // case 186
-            case 194:
-              {
-                input.readMessage(
-                    getListCloudBackupOperationsFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 24;
-                break;
-              } // case 194
-            case 202:
-              {
-                input.readMessage(getGetOperationFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 25;
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(getCancelOperationFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 26;
-                break;
-              } // case 210
-            case 218:
-              {
-                input.readMessage(
-                    getUpdateCloudDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 27;
-                break;
-              } // case 218
-            case 226:
-              {
-                input.readMessage(
-                    getReconfigureCloudDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 28;
-                break;
-              } // case 226
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getCreateUserInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateUserInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getDeleteUserInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getGetCloudInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getListInstanceConfigsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getCreateCloudInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getUpdateCloudInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getDeleteCloudInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getListCloudInstancesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 9;
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getGetCloudInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 10;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getCreateCloudDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 11;
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getUpdateCloudDatabaseDdlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 12;
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getDropCloudDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 13;
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getListCloudDatabasesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 14;
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getListCloudDatabaseOperationsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getRestoreCloudDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 16;
+              break;
+            } // case 130
+            case 138: {
+              input.readMessage(
+                  getGetCloudDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 17;
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getCreateCloudBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 18;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getCopyCloudBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 19;
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getGetCloudBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 20;
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getUpdateCloudBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 21;
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getDeleteCloudBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 22;
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getListCloudBackupsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 23;
+              break;
+            } // case 186
+            case 194: {
+              input.readMessage(
+                  getListCloudBackupOperationsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 24;
+              break;
+            } // case 194
+            case 202: {
+              input.readMessage(
+                  getGetOperationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 25;
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getCancelOperationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 26;
+              break;
+            } // case 210
+            case 218: {
+              input.readMessage(
+                  getUpdateCloudDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 27;
+              break;
+            } // case 218
+            case 226: {
+              input.readMessage(
+                  getReconfigureCloudDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 28;
+              break;
+            } // case 226
+            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) {
@@ -2969,12 +2593,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int actionCase_ = 0;
     private java.lang.Object action_;
-
-    public ActionCase getActionCase() {
-      return ActionCase.forNumber(actionCase_);
+    public ActionCase
+        getActionCase() {
+      return ActionCase.forNumber(
+          actionCase_);
     }
 
     public Builder clearAction() {
@@ -2987,21 +2611,13 @@ public Builder clearAction() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.CreateUserInstanceConfigAction,
-            com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder,
-            com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder>
-        createUserInstanceConfigBuilder_;
+        com.google.spanner.executor.v1.CreateUserInstanceConfigAction, com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder> createUserInstanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; * @return Whether the createUserInstanceConfig field is set. */ @java.lang.Override @@ -3009,21 +2625,15 @@ public boolean hasCreateUserInstanceConfig() { return actionCase_ == 1; } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; * @return The createUserInstanceConfig. */ @java.lang.Override - public com.google.spanner.executor.v1.CreateUserInstanceConfigAction - getCreateUserInstanceConfig() { + public com.google.spanner.executor.v1.CreateUserInstanceConfigAction getCreateUserInstanceConfig() { if (createUserInstanceConfigBuilder_ == null) { if (actionCase_ == 1) { return (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_; @@ -3037,18 +2647,13 @@ public boolean hasCreateUserInstanceConfig() { } } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ - public Builder setCreateUserInstanceConfig( - com.google.spanner.executor.v1.CreateUserInstanceConfigAction value) { + public Builder setCreateUserInstanceConfig(com.google.spanner.executor.v1.CreateUserInstanceConfigAction value) { if (createUserInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3062,15 +2667,11 @@ public Builder setCreateUserInstanceConfig( return this; } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ public Builder setCreateUserInstanceConfig( com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder builderForValue) { @@ -3084,28 +2685,18 @@ public Builder setCreateUserInstanceConfig( return this; } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ - public Builder mergeCreateUserInstanceConfig( - com.google.spanner.executor.v1.CreateUserInstanceConfigAction value) { + public Builder mergeCreateUserInstanceConfig(com.google.spanner.executor.v1.CreateUserInstanceConfigAction value) { if (createUserInstanceConfigBuilder_ == null) { - if (actionCase_ == 1 - && action_ - != com.google.spanner.executor.v1.CreateUserInstanceConfigAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.newBuilder( - (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 1 && + action_ != com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.CreateUserInstanceConfigAction.newBuilder((com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3121,15 +2712,11 @@ public Builder mergeCreateUserInstanceConfig( return this; } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ public Builder clearCreateUserInstanceConfig() { if (createUserInstanceConfigBuilder_ == null) { @@ -3148,34 +2735,24 @@ public Builder clearCreateUserInstanceConfig() { return this; } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ - public com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder - getCreateUserInstanceConfigBuilder() { + public com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder getCreateUserInstanceConfigBuilder() { return getCreateUserInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder - getCreateUserInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder getCreateUserInstanceConfigOrBuilder() { if ((actionCase_ == 1) && (createUserInstanceConfigBuilder_ != null)) { return createUserInstanceConfigBuilder_.getMessageOrBuilder(); } else { @@ -3186,31 +2763,21 @@ public Builder clearCreateUserInstanceConfig() { } } /** - * - * *
      * Action that creates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateUserInstanceConfigAction, - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder> + com.google.spanner.executor.v1.CreateUserInstanceConfigAction, com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder> getCreateUserInstanceConfigFieldBuilder() { if (createUserInstanceConfigBuilder_ == null) { if (!(actionCase_ == 1)) { - action_ = - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance(); - } - createUserInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateUserInstanceConfigAction, - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder>( + action_ = com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance(); + } + createUserInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CreateUserInstanceConfigAction, com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder>( (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) action_, getParentForChildren(), isClean()); @@ -3222,21 +2789,13 @@ public Builder clearCreateUserInstanceConfig() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction, - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder> - updateUserInstanceConfigBuilder_; + com.google.spanner.executor.v1.UpdateUserInstanceConfigAction, com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder> updateUserInstanceConfigBuilder_; /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; * @return Whether the updateUserInstanceConfig field is set. */ @java.lang.Override @@ -3244,21 +2803,15 @@ public boolean hasUpdateUserInstanceConfig() { return actionCase_ == 2; } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; * @return The updateUserInstanceConfig. */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction - getUpdateUserInstanceConfig() { + public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction getUpdateUserInstanceConfig() { if (updateUserInstanceConfigBuilder_ == null) { if (actionCase_ == 2) { return (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_; @@ -3272,18 +2825,13 @@ public boolean hasUpdateUserInstanceConfig() { } } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ - public Builder setUpdateUserInstanceConfig( - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction value) { + public Builder setUpdateUserInstanceConfig(com.google.spanner.executor.v1.UpdateUserInstanceConfigAction value) { if (updateUserInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3297,15 +2845,11 @@ public Builder setUpdateUserInstanceConfig( return this; } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ public Builder setUpdateUserInstanceConfig( com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder builderForValue) { @@ -3319,28 +2863,18 @@ public Builder setUpdateUserInstanceConfig( return this; } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ - public Builder mergeUpdateUserInstanceConfig( - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction value) { + public Builder mergeUpdateUserInstanceConfig(com.google.spanner.executor.v1.UpdateUserInstanceConfigAction value) { if (updateUserInstanceConfigBuilder_ == null) { - if (actionCase_ == 2 - && action_ - != com.google.spanner.executor.v1.UpdateUserInstanceConfigAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.newBuilder( - (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 2 && + action_ != com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.newBuilder((com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3356,15 +2890,11 @@ public Builder mergeUpdateUserInstanceConfig( return this; } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ public Builder clearUpdateUserInstanceConfig() { if (updateUserInstanceConfigBuilder_ == null) { @@ -3383,34 +2913,24 @@ public Builder clearUpdateUserInstanceConfig() { return this; } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ - public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder - getUpdateUserInstanceConfigBuilder() { + public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder getUpdateUserInstanceConfigBuilder() { return getUpdateUserInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder - getUpdateUserInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder getUpdateUserInstanceConfigOrBuilder() { if ((actionCase_ == 2) && (updateUserInstanceConfigBuilder_ != null)) { return updateUserInstanceConfigBuilder_.getMessageOrBuilder(); } else { @@ -3421,31 +2941,21 @@ public Builder clearUpdateUserInstanceConfig() { } } /** - * - * *
      * Action that updates a user instance config.
      * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction, - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder> + com.google.spanner.executor.v1.UpdateUserInstanceConfigAction, com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder> getUpdateUserInstanceConfigFieldBuilder() { if (updateUserInstanceConfigBuilder_ == null) { if (!(actionCase_ == 2)) { - action_ = - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance(); - } - updateUserInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction, - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder>( + action_ = com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance(); + } + updateUserInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.UpdateUserInstanceConfigAction, com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder>( (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) action_, getParentForChildren(), isClean()); @@ -3457,21 +2967,13 @@ public Builder clearUpdateUserInstanceConfig() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction, - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder> - deleteUserInstanceConfigBuilder_; + com.google.spanner.executor.v1.DeleteUserInstanceConfigAction, com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder> deleteUserInstanceConfigBuilder_; /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; * @return Whether the deleteUserInstanceConfig field is set. */ @java.lang.Override @@ -3479,21 +2981,15 @@ public boolean hasDeleteUserInstanceConfig() { return actionCase_ == 3; } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; * @return The deleteUserInstanceConfig. */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction - getDeleteUserInstanceConfig() { + public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction getDeleteUserInstanceConfig() { if (deleteUserInstanceConfigBuilder_ == null) { if (actionCase_ == 3) { return (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_; @@ -3507,18 +3003,13 @@ public boolean hasDeleteUserInstanceConfig() { } } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ - public Builder setDeleteUserInstanceConfig( - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction value) { + public Builder setDeleteUserInstanceConfig(com.google.spanner.executor.v1.DeleteUserInstanceConfigAction value) { if (deleteUserInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3532,15 +3023,11 @@ public Builder setDeleteUserInstanceConfig( return this; } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ public Builder setDeleteUserInstanceConfig( com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder builderForValue) { @@ -3554,28 +3041,18 @@ public Builder setDeleteUserInstanceConfig( return this; } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ - public Builder mergeDeleteUserInstanceConfig( - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction value) { + public Builder mergeDeleteUserInstanceConfig(com.google.spanner.executor.v1.DeleteUserInstanceConfigAction value) { if (deleteUserInstanceConfigBuilder_ == null) { - if (actionCase_ == 3 - && action_ - != com.google.spanner.executor.v1.DeleteUserInstanceConfigAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.newBuilder( - (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 3 && + action_ != com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.newBuilder((com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3591,15 +3068,11 @@ public Builder mergeDeleteUserInstanceConfig( return this; } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ public Builder clearDeleteUserInstanceConfig() { if (deleteUserInstanceConfigBuilder_ == null) { @@ -3618,34 +3091,24 @@ public Builder clearDeleteUserInstanceConfig() { return this; } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ - public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder - getDeleteUserInstanceConfigBuilder() { + public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder getDeleteUserInstanceConfigBuilder() { return getDeleteUserInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder - getDeleteUserInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder getDeleteUserInstanceConfigOrBuilder() { if ((actionCase_ == 3) && (deleteUserInstanceConfigBuilder_ != null)) { return deleteUserInstanceConfigBuilder_.getMessageOrBuilder(); } else { @@ -3656,31 +3119,21 @@ public Builder clearDeleteUserInstanceConfig() { } } /** - * - * *
      * Action that deletes a user instance config.
      * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction, - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder> + com.google.spanner.executor.v1.DeleteUserInstanceConfigAction, com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder> getDeleteUserInstanceConfigFieldBuilder() { if (deleteUserInstanceConfigBuilder_ == null) { if (!(actionCase_ == 3)) { - action_ = - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance(); - } - deleteUserInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction, - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder, - com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder>( + action_ = com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance(); + } + deleteUserInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.DeleteUserInstanceConfigAction, com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder, com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder>( (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) action_, getParentForChildren(), isClean()); @@ -3692,20 +3145,13 @@ public Builder clearDeleteUserInstanceConfig() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudInstanceConfigAction, - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder, - com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder> - getCloudInstanceConfigBuilder_; + com.google.spanner.executor.v1.GetCloudInstanceConfigAction, com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder, com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder> getCloudInstanceConfigBuilder_; /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; * @return Whether the getCloudInstanceConfig field is set. */ @java.lang.Override @@ -3713,15 +3159,11 @@ public boolean hasGetCloudInstanceConfig() { return actionCase_ == 4; } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; * @return The getCloudInstanceConfig. */ @java.lang.Override @@ -3739,17 +3181,13 @@ public com.google.spanner.executor.v1.GetCloudInstanceConfigAction getGetCloudIn } } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ - public Builder setGetCloudInstanceConfig( - com.google.spanner.executor.v1.GetCloudInstanceConfigAction value) { + public Builder setGetCloudInstanceConfig(com.google.spanner.executor.v1.GetCloudInstanceConfigAction value) { if (getCloudInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3763,14 +3201,11 @@ public Builder setGetCloudInstanceConfig( return this; } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ public Builder setGetCloudInstanceConfig( com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder builderForValue) { @@ -3784,27 +3219,18 @@ public Builder setGetCloudInstanceConfig( return this; } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ - public Builder mergeGetCloudInstanceConfig( - com.google.spanner.executor.v1.GetCloudInstanceConfigAction value) { + public Builder mergeGetCloudInstanceConfig(com.google.spanner.executor.v1.GetCloudInstanceConfigAction value) { if (getCloudInstanceConfigBuilder_ == null) { - if (actionCase_ == 4 - && action_ - != com.google.spanner.executor.v1.GetCloudInstanceConfigAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.newBuilder( - (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 4 && + action_ != com.google.spanner.executor.v1.GetCloudInstanceConfigAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.GetCloudInstanceConfigAction.newBuilder((com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3820,14 +3246,11 @@ public Builder mergeGetCloudInstanceConfig( return this; } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ public Builder clearGetCloudInstanceConfig() { if (getCloudInstanceConfigBuilder_ == null) { @@ -3846,32 +3269,24 @@ public Builder clearGetCloudInstanceConfig() { return this; } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ - public com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder - getGetCloudInstanceConfigBuilder() { + public com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder getGetCloudInstanceConfigBuilder() { return getGetCloudInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ @java.lang.Override - public com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder - getGetCloudInstanceConfigOrBuilder() { + public com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder getGetCloudInstanceConfigOrBuilder() { if ((actionCase_ == 4) && (getCloudInstanceConfigBuilder_ != null)) { return getCloudInstanceConfigBuilder_.getMessageOrBuilder(); } else { @@ -3882,30 +3297,21 @@ public Builder clearGetCloudInstanceConfig() { } } /** - * - * *
      * Action that gets a user instance config.
      * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudInstanceConfigAction, - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder, - com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder> + com.google.spanner.executor.v1.GetCloudInstanceConfigAction, com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder, com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder> getGetCloudInstanceConfigFieldBuilder() { if (getCloudInstanceConfigBuilder_ == null) { if (!(actionCase_ == 4)) { - action_ = - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.getDefaultInstance(); - } - getCloudInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudInstanceConfigAction, - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder, - com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder>( + action_ = com.google.spanner.executor.v1.GetCloudInstanceConfigAction.getDefaultInstance(); + } + getCloudInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.GetCloudInstanceConfigAction, com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder, com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder>( (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) action_, getParentForChildren(), isClean()); @@ -3917,20 +3323,13 @@ public Builder clearGetCloudInstanceConfig() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction, - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder, - com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder> - listInstanceConfigsBuilder_; + com.google.spanner.executor.v1.ListCloudInstanceConfigsAction, com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder, com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder> listInstanceConfigsBuilder_; /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; * @return Whether the listInstanceConfigs field is set. */ @java.lang.Override @@ -3938,15 +3337,11 @@ public boolean hasListInstanceConfigs() { return actionCase_ == 5; } /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; * @return The listInstanceConfigs. */ @java.lang.Override @@ -3963,18 +3358,14 @@ public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction getListInst return com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance(); } } - /** - * - * + /** *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ - public Builder setListInstanceConfigs( - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction value) { + public Builder setListInstanceConfigs(com.google.spanner.executor.v1.ListCloudInstanceConfigsAction value) { if (listInstanceConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3988,14 +3379,11 @@ public Builder setListInstanceConfigs( return this; } /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ public Builder setListInstanceConfigs( com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder builderForValue) { @@ -4009,27 +3397,18 @@ public Builder setListInstanceConfigs( return this; } /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ - public Builder mergeListInstanceConfigs( - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction value) { + public Builder mergeListInstanceConfigs(com.google.spanner.executor.v1.ListCloudInstanceConfigsAction value) { if (listInstanceConfigsBuilder_ == null) { - if (actionCase_ == 5 - && action_ - != com.google.spanner.executor.v1.ListCloudInstanceConfigsAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.newBuilder( - (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 5 && + action_ != com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.newBuilder((com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4045,14 +3424,11 @@ public Builder mergeListInstanceConfigs( return this; } /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ public Builder clearListInstanceConfigs() { if (listInstanceConfigsBuilder_ == null) { @@ -4071,32 +3447,24 @@ public Builder clearListInstanceConfigs() { return this; } /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ - public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder - getListInstanceConfigsBuilder() { + public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder getListInstanceConfigsBuilder() { return getListInstanceConfigsFieldBuilder().getBuilder(); } /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder - getListInstanceConfigsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder getListInstanceConfigsOrBuilder() { if ((actionCase_ == 5) && (listInstanceConfigsBuilder_ != null)) { return listInstanceConfigsBuilder_.getMessageOrBuilder(); } else { @@ -4107,30 +3475,21 @@ public Builder clearListInstanceConfigs() { } } /** - * - * *
      * Action that lists user instance configs.
      * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction, - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder, - com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder> + com.google.spanner.executor.v1.ListCloudInstanceConfigsAction, com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder, com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder> getListInstanceConfigsFieldBuilder() { if (listInstanceConfigsBuilder_ == null) { if (!(actionCase_ == 5)) { - action_ = - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance(); - } - listInstanceConfigsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction, - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder, - com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder>( + action_ = com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance(); + } + listInstanceConfigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ListCloudInstanceConfigsAction, com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder, com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder>( (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) action_, getParentForChildren(), isClean()); @@ -4142,19 +3501,13 @@ public Builder clearListInstanceConfigs() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudInstanceAction, - com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder, - com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder> - createCloudInstanceBuilder_; + com.google.spanner.executor.v1.CreateCloudInstanceAction, com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder, com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder> createCloudInstanceBuilder_; /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; - * * @return Whether the createCloudInstance field is set. */ @java.lang.Override @@ -4162,14 +3515,11 @@ public boolean hasCreateCloudInstance() { return actionCase_ == 6; } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; - * * @return The createCloudInstance. */ @java.lang.Override @@ -4187,16 +3537,13 @@ public com.google.spanner.executor.v1.CreateCloudInstanceAction getCreateCloudIn } } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; */ - public Builder setCreateCloudInstance( - com.google.spanner.executor.v1.CreateCloudInstanceAction value) { + public Builder setCreateCloudInstance(com.google.spanner.executor.v1.CreateCloudInstanceAction value) { if (createCloudInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4210,8 +3557,6 @@ public Builder setCreateCloudInstance( return this; } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
@@ -4230,25 +3575,18 @@ public Builder setCreateCloudInstance( return this; } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; */ - public Builder mergeCreateCloudInstance( - com.google.spanner.executor.v1.CreateCloudInstanceAction value) { + public Builder mergeCreateCloudInstance(com.google.spanner.executor.v1.CreateCloudInstanceAction value) { if (createCloudInstanceBuilder_ == null) { - if (actionCase_ == 6 - && action_ - != com.google.spanner.executor.v1.CreateCloudInstanceAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.CreateCloudInstanceAction.newBuilder( - (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 6 && + action_ != com.google.spanner.executor.v1.CreateCloudInstanceAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.CreateCloudInstanceAction.newBuilder((com.google.spanner.executor.v1.CreateCloudInstanceAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4264,8 +3602,6 @@ public Builder mergeCreateCloudInstance( return this; } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
@@ -4289,21 +3625,16 @@ public Builder clearCreateCloudInstance() { return this; } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; */ - public com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder - getCreateCloudInstanceBuilder() { + public com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder getCreateCloudInstanceBuilder() { return getCreateCloudInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
@@ -4311,8 +3642,7 @@ public Builder clearCreateCloudInstance() { * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder - getCreateCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder getCreateCloudInstanceOrBuilder() { if ((actionCase_ == 6) && (createCloudInstanceBuilder_ != null)) { return createCloudInstanceBuilder_.getMessageOrBuilder(); } else { @@ -4323,8 +3653,6 @@ public Builder clearCreateCloudInstance() { } } /** - * - * *
      * Action that creates a Cloud Spanner instance.
      * 
@@ -4332,19 +3660,14 @@ public Builder clearCreateCloudInstance() { * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudInstanceAction, - com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder, - com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder> + com.google.spanner.executor.v1.CreateCloudInstanceAction, com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder, com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder> getCreateCloudInstanceFieldBuilder() { if (createCloudInstanceBuilder_ == null) { if (!(actionCase_ == 6)) { action_ = com.google.spanner.executor.v1.CreateCloudInstanceAction.getDefaultInstance(); } - createCloudInstanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudInstanceAction, - com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder, - com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder>( + createCloudInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CreateCloudInstanceAction, com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder, com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder>( (com.google.spanner.executor.v1.CreateCloudInstanceAction) action_, getParentForChildren(), isClean()); @@ -4356,19 +3679,13 @@ public Builder clearCreateCloudInstance() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudInstanceAction, - com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder, - com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder> - updateCloudInstanceBuilder_; + com.google.spanner.executor.v1.UpdateCloudInstanceAction, com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder, com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder> updateCloudInstanceBuilder_; /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; - * * @return Whether the updateCloudInstance field is set. */ @java.lang.Override @@ -4376,14 +3693,11 @@ public boolean hasUpdateCloudInstance() { return actionCase_ == 7; } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; - * * @return The updateCloudInstance. */ @java.lang.Override @@ -4401,16 +3715,13 @@ public com.google.spanner.executor.v1.UpdateCloudInstanceAction getUpdateCloudIn } } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; */ - public Builder setUpdateCloudInstance( - com.google.spanner.executor.v1.UpdateCloudInstanceAction value) { + public Builder setUpdateCloudInstance(com.google.spanner.executor.v1.UpdateCloudInstanceAction value) { if (updateCloudInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4424,8 +3735,6 @@ public Builder setUpdateCloudInstance( return this; } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
@@ -4444,25 +3753,18 @@ public Builder setUpdateCloudInstance( return this; } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; */ - public Builder mergeUpdateCloudInstance( - com.google.spanner.executor.v1.UpdateCloudInstanceAction value) { + public Builder mergeUpdateCloudInstance(com.google.spanner.executor.v1.UpdateCloudInstanceAction value) { if (updateCloudInstanceBuilder_ == null) { - if (actionCase_ == 7 - && action_ - != com.google.spanner.executor.v1.UpdateCloudInstanceAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.UpdateCloudInstanceAction.newBuilder( - (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 7 && + action_ != com.google.spanner.executor.v1.UpdateCloudInstanceAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.UpdateCloudInstanceAction.newBuilder((com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4478,8 +3780,6 @@ public Builder mergeUpdateCloudInstance( return this; } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
@@ -4503,21 +3803,16 @@ public Builder clearUpdateCloudInstance() { return this; } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; */ - public com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder - getUpdateCloudInstanceBuilder() { + public com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder getUpdateCloudInstanceBuilder() { return getUpdateCloudInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
@@ -4525,8 +3820,7 @@ public Builder clearUpdateCloudInstance() { * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder - getUpdateCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder getUpdateCloudInstanceOrBuilder() { if ((actionCase_ == 7) && (updateCloudInstanceBuilder_ != null)) { return updateCloudInstanceBuilder_.getMessageOrBuilder(); } else { @@ -4537,8 +3831,6 @@ public Builder clearUpdateCloudInstance() { } } /** - * - * *
      * Action that updates a Cloud Spanner instance.
      * 
@@ -4546,19 +3838,14 @@ public Builder clearUpdateCloudInstance() { * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudInstanceAction, - com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder, - com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder> + com.google.spanner.executor.v1.UpdateCloudInstanceAction, com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder, com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder> getUpdateCloudInstanceFieldBuilder() { if (updateCloudInstanceBuilder_ == null) { if (!(actionCase_ == 7)) { action_ = com.google.spanner.executor.v1.UpdateCloudInstanceAction.getDefaultInstance(); } - updateCloudInstanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudInstanceAction, - com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder, - com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder>( + updateCloudInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.UpdateCloudInstanceAction, com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder, com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder>( (com.google.spanner.executor.v1.UpdateCloudInstanceAction) action_, getParentForChildren(), isClean()); @@ -4570,19 +3857,13 @@ public Builder clearUpdateCloudInstance() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteCloudInstanceAction, - com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder, - com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder> - deleteCloudInstanceBuilder_; + com.google.spanner.executor.v1.DeleteCloudInstanceAction, com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder, com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder> deleteCloudInstanceBuilder_; /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; - * * @return Whether the deleteCloudInstance field is set. */ @java.lang.Override @@ -4590,14 +3871,11 @@ public boolean hasDeleteCloudInstance() { return actionCase_ == 8; } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; - * * @return The deleteCloudInstance. */ @java.lang.Override @@ -4615,16 +3893,13 @@ public com.google.spanner.executor.v1.DeleteCloudInstanceAction getDeleteCloudIn } } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; */ - public Builder setDeleteCloudInstance( - com.google.spanner.executor.v1.DeleteCloudInstanceAction value) { + public Builder setDeleteCloudInstance(com.google.spanner.executor.v1.DeleteCloudInstanceAction value) { if (deleteCloudInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4638,8 +3913,6 @@ public Builder setDeleteCloudInstance( return this; } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
@@ -4658,25 +3931,18 @@ public Builder setDeleteCloudInstance( return this; } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; */ - public Builder mergeDeleteCloudInstance( - com.google.spanner.executor.v1.DeleteCloudInstanceAction value) { + public Builder mergeDeleteCloudInstance(com.google.spanner.executor.v1.DeleteCloudInstanceAction value) { if (deleteCloudInstanceBuilder_ == null) { - if (actionCase_ == 8 - && action_ - != com.google.spanner.executor.v1.DeleteCloudInstanceAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.DeleteCloudInstanceAction.newBuilder( - (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 8 && + action_ != com.google.spanner.executor.v1.DeleteCloudInstanceAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.DeleteCloudInstanceAction.newBuilder((com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4692,8 +3958,6 @@ public Builder mergeDeleteCloudInstance( return this; } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
@@ -4717,21 +3981,16 @@ public Builder clearDeleteCloudInstance() { return this; } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; */ - public com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder - getDeleteCloudInstanceBuilder() { + public com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder getDeleteCloudInstanceBuilder() { return getDeleteCloudInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
@@ -4739,8 +3998,7 @@ public Builder clearDeleteCloudInstance() { * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder - getDeleteCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder getDeleteCloudInstanceOrBuilder() { if ((actionCase_ == 8) && (deleteCloudInstanceBuilder_ != null)) { return deleteCloudInstanceBuilder_.getMessageOrBuilder(); } else { @@ -4751,8 +4009,6 @@ public Builder clearDeleteCloudInstance() { } } /** - * - * *
      * Action that deletes a Cloud Spanner instance.
      * 
@@ -4760,19 +4016,14 @@ public Builder clearDeleteCloudInstance() { * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteCloudInstanceAction, - com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder, - com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder> + com.google.spanner.executor.v1.DeleteCloudInstanceAction, com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder, com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder> getDeleteCloudInstanceFieldBuilder() { if (deleteCloudInstanceBuilder_ == null) { if (!(actionCase_ == 8)) { action_ = com.google.spanner.executor.v1.DeleteCloudInstanceAction.getDefaultInstance(); } - deleteCloudInstanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteCloudInstanceAction, - com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder, - com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder>( + deleteCloudInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.DeleteCloudInstanceAction, com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder, com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder>( (com.google.spanner.executor.v1.DeleteCloudInstanceAction) action_, getParentForChildren(), isClean()); @@ -4784,19 +4035,13 @@ public Builder clearDeleteCloudInstance() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudInstancesAction, - com.google.spanner.executor.v1.ListCloudInstancesAction.Builder, - com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder> - listCloudInstancesBuilder_; + com.google.spanner.executor.v1.ListCloudInstancesAction, com.google.spanner.executor.v1.ListCloudInstancesAction.Builder, com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder> listCloudInstancesBuilder_; /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; - * * @return Whether the listCloudInstances field is set. */ @java.lang.Override @@ -4804,14 +4049,11 @@ public boolean hasListCloudInstances() { return actionCase_ == 9; } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; - * * @return The listCloudInstances. */ @java.lang.Override @@ -4829,16 +4071,13 @@ public com.google.spanner.executor.v1.ListCloudInstancesAction getListCloudInsta } } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; */ - public Builder setListCloudInstances( - com.google.spanner.executor.v1.ListCloudInstancesAction value) { + public Builder setListCloudInstances(com.google.spanner.executor.v1.ListCloudInstancesAction value) { if (listCloudInstancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4852,8 +4091,6 @@ public Builder setListCloudInstances( return this; } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
@@ -4872,25 +4109,18 @@ public Builder setListCloudInstances( return this; } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; */ - public Builder mergeListCloudInstances( - com.google.spanner.executor.v1.ListCloudInstancesAction value) { + public Builder mergeListCloudInstances(com.google.spanner.executor.v1.ListCloudInstancesAction value) { if (listCloudInstancesBuilder_ == null) { - if (actionCase_ == 9 - && action_ - != com.google.spanner.executor.v1.ListCloudInstancesAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ListCloudInstancesAction.newBuilder( - (com.google.spanner.executor.v1.ListCloudInstancesAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 9 && + action_ != com.google.spanner.executor.v1.ListCloudInstancesAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ListCloudInstancesAction.newBuilder((com.google.spanner.executor.v1.ListCloudInstancesAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4906,8 +4136,6 @@ public Builder mergeListCloudInstances( return this; } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
@@ -4931,21 +4159,16 @@ public Builder clearListCloudInstances() { return this; } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; */ - public com.google.spanner.executor.v1.ListCloudInstancesAction.Builder - getListCloudInstancesBuilder() { + public com.google.spanner.executor.v1.ListCloudInstancesAction.Builder getListCloudInstancesBuilder() { return getListCloudInstancesFieldBuilder().getBuilder(); } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
@@ -4953,8 +4176,7 @@ public Builder clearListCloudInstances() { * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder - getListCloudInstancesOrBuilder() { + public com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder getListCloudInstancesOrBuilder() { if ((actionCase_ == 9) && (listCloudInstancesBuilder_ != null)) { return listCloudInstancesBuilder_.getMessageOrBuilder(); } else { @@ -4965,8 +4187,6 @@ public Builder clearListCloudInstances() { } } /** - * - * *
      * Action that lists Cloud Spanner instances.
      * 
@@ -4974,19 +4194,14 @@ public Builder clearListCloudInstances() { * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudInstancesAction, - com.google.spanner.executor.v1.ListCloudInstancesAction.Builder, - com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder> + com.google.spanner.executor.v1.ListCloudInstancesAction, com.google.spanner.executor.v1.ListCloudInstancesAction.Builder, com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder> getListCloudInstancesFieldBuilder() { if (listCloudInstancesBuilder_ == null) { if (!(actionCase_ == 9)) { action_ = com.google.spanner.executor.v1.ListCloudInstancesAction.getDefaultInstance(); } - listCloudInstancesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudInstancesAction, - com.google.spanner.executor.v1.ListCloudInstancesAction.Builder, - com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder>( + listCloudInstancesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ListCloudInstancesAction, com.google.spanner.executor.v1.ListCloudInstancesAction.Builder, com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder>( (com.google.spanner.executor.v1.ListCloudInstancesAction) action_, getParentForChildren(), isClean()); @@ -4998,19 +4213,13 @@ public Builder clearListCloudInstances() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudInstanceAction, - com.google.spanner.executor.v1.GetCloudInstanceAction.Builder, - com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder> - getCloudInstanceBuilder_; + com.google.spanner.executor.v1.GetCloudInstanceAction, com.google.spanner.executor.v1.GetCloudInstanceAction.Builder, com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder> getCloudInstanceBuilder_; /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; - * * @return Whether the getCloudInstance field is set. */ @java.lang.Override @@ -5018,14 +4227,11 @@ public boolean hasGetCloudInstance() { return actionCase_ == 10; } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; - * * @return The getCloudInstance. */ @java.lang.Override @@ -5043,16 +4249,13 @@ public com.google.spanner.executor.v1.GetCloudInstanceAction getGetCloudInstance } } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; */ - public Builder setGetCloudInstance( - com.google.spanner.executor.v1.GetCloudInstanceAction value) { + public Builder setGetCloudInstance(com.google.spanner.executor.v1.GetCloudInstanceAction value) { if (getCloudInstanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5066,8 +4269,6 @@ public Builder setGetCloudInstance( return this; } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
@@ -5086,25 +4287,18 @@ public Builder setGetCloudInstance( return this; } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; */ - public Builder mergeGetCloudInstance( - com.google.spanner.executor.v1.GetCloudInstanceAction value) { + public Builder mergeGetCloudInstance(com.google.spanner.executor.v1.GetCloudInstanceAction value) { if (getCloudInstanceBuilder_ == null) { - if (actionCase_ == 10 - && action_ - != com.google.spanner.executor.v1.GetCloudInstanceAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.GetCloudInstanceAction.newBuilder( - (com.google.spanner.executor.v1.GetCloudInstanceAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 10 && + action_ != com.google.spanner.executor.v1.GetCloudInstanceAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.GetCloudInstanceAction.newBuilder((com.google.spanner.executor.v1.GetCloudInstanceAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5120,8 +4314,6 @@ public Builder mergeGetCloudInstance( return this; } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
@@ -5145,21 +4337,16 @@ public Builder clearGetCloudInstance() { return this; } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; */ - public com.google.spanner.executor.v1.GetCloudInstanceAction.Builder - getGetCloudInstanceBuilder() { + public com.google.spanner.executor.v1.GetCloudInstanceAction.Builder getGetCloudInstanceBuilder() { return getGetCloudInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
@@ -5167,8 +4354,7 @@ public Builder clearGetCloudInstance() { * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; */ @java.lang.Override - public com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder - getGetCloudInstanceOrBuilder() { + public com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder getGetCloudInstanceOrBuilder() { if ((actionCase_ == 10) && (getCloudInstanceBuilder_ != null)) { return getCloudInstanceBuilder_.getMessageOrBuilder(); } else { @@ -5179,8 +4365,6 @@ public Builder clearGetCloudInstance() { } } /** - * - * *
      * Action that retrieves a Cloud Spanner instance.
      * 
@@ -5188,19 +4372,14 @@ public Builder clearGetCloudInstance() { * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudInstanceAction, - com.google.spanner.executor.v1.GetCloudInstanceAction.Builder, - com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder> + com.google.spanner.executor.v1.GetCloudInstanceAction, com.google.spanner.executor.v1.GetCloudInstanceAction.Builder, com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder> getGetCloudInstanceFieldBuilder() { if (getCloudInstanceBuilder_ == null) { if (!(actionCase_ == 10)) { action_ = com.google.spanner.executor.v1.GetCloudInstanceAction.getDefaultInstance(); } - getCloudInstanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudInstanceAction, - com.google.spanner.executor.v1.GetCloudInstanceAction.Builder, - com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder>( + getCloudInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.GetCloudInstanceAction, com.google.spanner.executor.v1.GetCloudInstanceAction.Builder, com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder>( (com.google.spanner.executor.v1.GetCloudInstanceAction) action_, getParentForChildren(), isClean()); @@ -5212,20 +4391,13 @@ public Builder clearGetCloudInstance() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudDatabaseAction, - com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder> - createCloudDatabaseBuilder_; + com.google.spanner.executor.v1.CreateCloudDatabaseAction, com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder, com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder> createCloudDatabaseBuilder_; /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; * @return Whether the createCloudDatabase field is set. */ @java.lang.Override @@ -5233,15 +4405,11 @@ public boolean hasCreateCloudDatabase() { return actionCase_ == 11; } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; * @return The createCloudDatabase. */ @java.lang.Override @@ -5259,17 +4427,13 @@ public com.google.spanner.executor.v1.CreateCloudDatabaseAction getCreateCloudDa } } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ - public Builder setCreateCloudDatabase( - com.google.spanner.executor.v1.CreateCloudDatabaseAction value) { + public Builder setCreateCloudDatabase(com.google.spanner.executor.v1.CreateCloudDatabaseAction value) { if (createCloudDatabaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5283,14 +4447,11 @@ public Builder setCreateCloudDatabase( return this; } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ public Builder setCreateCloudDatabase( com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder builderForValue) { @@ -5304,26 +4465,18 @@ public Builder setCreateCloudDatabase( return this; } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ - public Builder mergeCreateCloudDatabase( - com.google.spanner.executor.v1.CreateCloudDatabaseAction value) { + public Builder mergeCreateCloudDatabase(com.google.spanner.executor.v1.CreateCloudDatabaseAction value) { if (createCloudDatabaseBuilder_ == null) { - if (actionCase_ == 11 - && action_ - != com.google.spanner.executor.v1.CreateCloudDatabaseAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.CreateCloudDatabaseAction.newBuilder( - (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 11 && + action_ != com.google.spanner.executor.v1.CreateCloudDatabaseAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.CreateCloudDatabaseAction.newBuilder((com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5339,14 +4492,11 @@ public Builder mergeCreateCloudDatabase( return this; } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ public Builder clearCreateCloudDatabase() { if (createCloudDatabaseBuilder_ == null) { @@ -5365,32 +4515,24 @@ public Builder clearCreateCloudDatabase() { return this; } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ - public com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder - getCreateCloudDatabaseBuilder() { + public com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder getCreateCloudDatabaseBuilder() { return getCreateCloudDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder - getCreateCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder getCreateCloudDatabaseOrBuilder() { if ((actionCase_ == 11) && (createCloudDatabaseBuilder_ != null)) { return createCloudDatabaseBuilder_.getMessageOrBuilder(); } else { @@ -5401,29 +4543,21 @@ public Builder clearCreateCloudDatabase() { } } /** - * - * *
      * Action that creates a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * + * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudDatabaseAction, - com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder> + com.google.spanner.executor.v1.CreateCloudDatabaseAction, com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder, com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder> getCreateCloudDatabaseFieldBuilder() { if (createCloudDatabaseBuilder_ == null) { if (!(actionCase_ == 11)) { action_ = com.google.spanner.executor.v1.CreateCloudDatabaseAction.getDefaultInstance(); } - createCloudDatabaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudDatabaseAction, - com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder>( + createCloudDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CreateCloudDatabaseAction, com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder, com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder>( (com.google.spanner.executor.v1.CreateCloudDatabaseAction) action_, getParentForChildren(), isClean()); @@ -5435,21 +4569,13 @@ public Builder clearCreateCloudDatabase() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder> - updateCloudDatabaseDdlBuilder_; + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder> updateCloudDatabaseDdlBuilder_; /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; * @return Whether the updateCloudDatabaseDdl field is set. */ @java.lang.Override @@ -5457,16 +4583,11 @@ public boolean hasUpdateCloudDatabaseDdl() { return actionCase_ == 12; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; * @return The updateCloudDatabaseDdl. */ @java.lang.Override @@ -5484,18 +4605,13 @@ public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction getUpdateClou } } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ - public Builder setUpdateCloudDatabaseDdl( - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction value) { + public Builder setUpdateCloudDatabaseDdl(com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction value) { if (updateCloudDatabaseDdlBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5509,15 +4625,11 @@ public Builder setUpdateCloudDatabaseDdl( return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ public Builder setUpdateCloudDatabaseDdl( com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder builderForValue) { @@ -5531,28 +4643,18 @@ public Builder setUpdateCloudDatabaseDdl( return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ - public Builder mergeUpdateCloudDatabaseDdl( - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction value) { + public Builder mergeUpdateCloudDatabaseDdl(com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction value) { if (updateCloudDatabaseDdlBuilder_ == null) { - if (actionCase_ == 12 - && action_ - != com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.newBuilder( - (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 12 && + action_ != com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.newBuilder((com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5568,15 +4670,11 @@ public Builder mergeUpdateCloudDatabaseDdl( return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ public Builder clearUpdateCloudDatabaseDdl() { if (updateCloudDatabaseDdlBuilder_ == null) { @@ -5595,34 +4693,24 @@ public Builder clearUpdateCloudDatabaseDdl() { return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ - public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder - getUpdateCloudDatabaseDdlBuilder() { + public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder getUpdateCloudDatabaseDdlBuilder() { return getUpdateCloudDatabaseDdlFieldBuilder().getBuilder(); } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder - getUpdateCloudDatabaseDdlOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder getUpdateCloudDatabaseDdlOrBuilder() { if ((actionCase_ == 12) && (updateCloudDatabaseDdlBuilder_ != null)) { return updateCloudDatabaseDdlBuilder_.getMessageOrBuilder(); } else { @@ -5633,31 +4721,21 @@ public Builder clearUpdateCloudDatabaseDdl() { } } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder> + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder> getUpdateCloudDatabaseDdlFieldBuilder() { if (updateCloudDatabaseDdlBuilder_ == null) { if (!(actionCase_ == 12)) { - action_ = - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.getDefaultInstance(); - } - updateCloudDatabaseDdlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder>( + action_ = com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.getDefaultInstance(); + } + updateCloudDatabaseDdlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder>( (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) action_, getParentForChildren(), isClean()); @@ -5669,20 +4747,13 @@ public Builder clearUpdateCloudDatabaseDdl() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudDatabaseAction, - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder> - updateCloudDatabaseBuilder_; + com.google.spanner.executor.v1.UpdateCloudDatabaseAction, com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder, com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder> updateCloudDatabaseBuilder_; /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; * @return Whether the updateCloudDatabase field is set. */ @java.lang.Override @@ -5690,15 +4761,11 @@ public boolean hasUpdateCloudDatabase() { return actionCase_ == 27; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; * @return The updateCloudDatabase. */ @java.lang.Override @@ -5716,17 +4783,13 @@ public com.google.spanner.executor.v1.UpdateCloudDatabaseAction getUpdateCloudDa } } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ - public Builder setUpdateCloudDatabase( - com.google.spanner.executor.v1.UpdateCloudDatabaseAction value) { + public Builder setUpdateCloudDatabase(com.google.spanner.executor.v1.UpdateCloudDatabaseAction value) { if (updateCloudDatabaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5740,14 +4803,11 @@ public Builder setUpdateCloudDatabase( return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ public Builder setUpdateCloudDatabase( com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder builderForValue) { @@ -5761,26 +4821,18 @@ public Builder setUpdateCloudDatabase( return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ - public Builder mergeUpdateCloudDatabase( - com.google.spanner.executor.v1.UpdateCloudDatabaseAction value) { + public Builder mergeUpdateCloudDatabase(com.google.spanner.executor.v1.UpdateCloudDatabaseAction value) { if (updateCloudDatabaseBuilder_ == null) { - if (actionCase_ == 27 - && action_ - != com.google.spanner.executor.v1.UpdateCloudDatabaseAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.newBuilder( - (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 27 && + action_ != com.google.spanner.executor.v1.UpdateCloudDatabaseAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.UpdateCloudDatabaseAction.newBuilder((com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5796,14 +4848,11 @@ public Builder mergeUpdateCloudDatabase( return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ public Builder clearUpdateCloudDatabase() { if (updateCloudDatabaseBuilder_ == null) { @@ -5822,32 +4871,24 @@ public Builder clearUpdateCloudDatabase() { return this; } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ - public com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder - getUpdateCloudDatabaseBuilder() { + public com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder getUpdateCloudDatabaseBuilder() { return getUpdateCloudDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder - getUpdateCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder getUpdateCloudDatabaseOrBuilder() { if ((actionCase_ == 27) && (updateCloudDatabaseBuilder_ != null)) { return updateCloudDatabaseBuilder_.getMessageOrBuilder(); } else { @@ -5858,29 +4899,21 @@ public Builder clearUpdateCloudDatabase() { } } /** - * - * *
      * Action that updates the schema of a Cloud Spanner database.
      * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudDatabaseAction, - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder> + com.google.spanner.executor.v1.UpdateCloudDatabaseAction, com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder, com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder> getUpdateCloudDatabaseFieldBuilder() { if (updateCloudDatabaseBuilder_ == null) { if (!(actionCase_ == 27)) { action_ = com.google.spanner.executor.v1.UpdateCloudDatabaseAction.getDefaultInstance(); } - updateCloudDatabaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudDatabaseAction, - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder>( + updateCloudDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.UpdateCloudDatabaseAction, com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder, com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder>( (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) action_, getParentForChildren(), isClean()); @@ -5892,19 +4925,13 @@ public Builder clearUpdateCloudDatabase() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DropCloudDatabaseAction, - com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder> - dropCloudDatabaseBuilder_; + com.google.spanner.executor.v1.DropCloudDatabaseAction, com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder, com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder> dropCloudDatabaseBuilder_; /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; - * * @return Whether the dropCloudDatabase field is set. */ @java.lang.Override @@ -5912,14 +4939,11 @@ public boolean hasDropCloudDatabase() { return actionCase_ == 13; } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; - * * @return The dropCloudDatabase. */ @java.lang.Override @@ -5937,16 +4961,13 @@ public com.google.spanner.executor.v1.DropCloudDatabaseAction getDropCloudDataba } } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; */ - public Builder setDropCloudDatabase( - com.google.spanner.executor.v1.DropCloudDatabaseAction value) { + public Builder setDropCloudDatabase(com.google.spanner.executor.v1.DropCloudDatabaseAction value) { if (dropCloudDatabaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5960,8 +4981,6 @@ public Builder setDropCloudDatabase( return this; } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
@@ -5980,25 +4999,18 @@ public Builder setDropCloudDatabase( return this; } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; */ - public Builder mergeDropCloudDatabase( - com.google.spanner.executor.v1.DropCloudDatabaseAction value) { + public Builder mergeDropCloudDatabase(com.google.spanner.executor.v1.DropCloudDatabaseAction value) { if (dropCloudDatabaseBuilder_ == null) { - if (actionCase_ == 13 - && action_ - != com.google.spanner.executor.v1.DropCloudDatabaseAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.DropCloudDatabaseAction.newBuilder( - (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 13 && + action_ != com.google.spanner.executor.v1.DropCloudDatabaseAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.DropCloudDatabaseAction.newBuilder((com.google.spanner.executor.v1.DropCloudDatabaseAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -6014,8 +5026,6 @@ public Builder mergeDropCloudDatabase( return this; } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
@@ -6039,21 +5049,16 @@ public Builder clearDropCloudDatabase() { return this; } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; */ - public com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder - getDropCloudDatabaseBuilder() { + public com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder getDropCloudDatabaseBuilder() { return getDropCloudDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
@@ -6061,8 +5066,7 @@ public Builder clearDropCloudDatabase() { * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; */ @java.lang.Override - public com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder - getDropCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder getDropCloudDatabaseOrBuilder() { if ((actionCase_ == 13) && (dropCloudDatabaseBuilder_ != null)) { return dropCloudDatabaseBuilder_.getMessageOrBuilder(); } else { @@ -6073,8 +5077,6 @@ public Builder clearDropCloudDatabase() { } } /** - * - * *
      * Action that drops a Cloud Spanner database.
      * 
@@ -6082,19 +5084,14 @@ public Builder clearDropCloudDatabase() { * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DropCloudDatabaseAction, - com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder> + com.google.spanner.executor.v1.DropCloudDatabaseAction, com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder, com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder> getDropCloudDatabaseFieldBuilder() { if (dropCloudDatabaseBuilder_ == null) { if (!(actionCase_ == 13)) { action_ = com.google.spanner.executor.v1.DropCloudDatabaseAction.getDefaultInstance(); } - dropCloudDatabaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DropCloudDatabaseAction, - com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder>( + dropCloudDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.DropCloudDatabaseAction, com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder, com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder>( (com.google.spanner.executor.v1.DropCloudDatabaseAction) action_, getParentForChildren(), isClean()); @@ -6106,19 +5103,13 @@ public Builder clearDropCloudDatabase() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudDatabasesAction, - com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder, - com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder> - listCloudDatabasesBuilder_; + com.google.spanner.executor.v1.ListCloudDatabasesAction, com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder, com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder> listCloudDatabasesBuilder_; /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; - * * @return Whether the listCloudDatabases field is set. */ @java.lang.Override @@ -6126,14 +5117,11 @@ public boolean hasListCloudDatabases() { return actionCase_ == 14; } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; - * * @return The listCloudDatabases. */ @java.lang.Override @@ -6151,16 +5139,13 @@ public com.google.spanner.executor.v1.ListCloudDatabasesAction getListCloudDatab } } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; */ - public Builder setListCloudDatabases( - com.google.spanner.executor.v1.ListCloudDatabasesAction value) { + public Builder setListCloudDatabases(com.google.spanner.executor.v1.ListCloudDatabasesAction value) { if (listCloudDatabasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6174,8 +5159,6 @@ public Builder setListCloudDatabases( return this; } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
@@ -6194,25 +5177,18 @@ public Builder setListCloudDatabases( return this; } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; */ - public Builder mergeListCloudDatabases( - com.google.spanner.executor.v1.ListCloudDatabasesAction value) { + public Builder mergeListCloudDatabases(com.google.spanner.executor.v1.ListCloudDatabasesAction value) { if (listCloudDatabasesBuilder_ == null) { - if (actionCase_ == 14 - && action_ - != com.google.spanner.executor.v1.ListCloudDatabasesAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ListCloudDatabasesAction.newBuilder( - (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 14 && + action_ != com.google.spanner.executor.v1.ListCloudDatabasesAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ListCloudDatabasesAction.newBuilder((com.google.spanner.executor.v1.ListCloudDatabasesAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -6228,8 +5204,6 @@ public Builder mergeListCloudDatabases( return this; } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
@@ -6253,21 +5227,16 @@ public Builder clearListCloudDatabases() { return this; } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; */ - public com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder - getListCloudDatabasesBuilder() { + public com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder getListCloudDatabasesBuilder() { return getListCloudDatabasesFieldBuilder().getBuilder(); } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
@@ -6275,8 +5244,7 @@ public Builder clearListCloudDatabases() { * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder - getListCloudDatabasesOrBuilder() { + public com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder getListCloudDatabasesOrBuilder() { if ((actionCase_ == 14) && (listCloudDatabasesBuilder_ != null)) { return listCloudDatabasesBuilder_.getMessageOrBuilder(); } else { @@ -6287,8 +5255,6 @@ public Builder clearListCloudDatabases() { } } /** - * - * *
      * Action that lists Cloud Spanner databases.
      * 
@@ -6296,19 +5262,14 @@ public Builder clearListCloudDatabases() { * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudDatabasesAction, - com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder, - com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder> + com.google.spanner.executor.v1.ListCloudDatabasesAction, com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder, com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder> getListCloudDatabasesFieldBuilder() { if (listCloudDatabasesBuilder_ == null) { if (!(actionCase_ == 14)) { action_ = com.google.spanner.executor.v1.ListCloudDatabasesAction.getDefaultInstance(); } - listCloudDatabasesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudDatabasesAction, - com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder, - com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder>( + listCloudDatabasesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ListCloudDatabasesAction, com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder, com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder>( (com.google.spanner.executor.v1.ListCloudDatabasesAction) action_, getParentForChildren(), isClean()); @@ -6320,21 +5281,13 @@ public Builder clearListCloudDatabases() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder> - listCloudDatabaseOperationsBuilder_; + com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction, com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder, com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder> listCloudDatabaseOperationsBuilder_; /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; * @return Whether the listCloudDatabaseOperations field is set. */ @java.lang.Override @@ -6342,48 +5295,35 @@ public boolean hasListCloudDatabaseOperations() { return actionCase_ == 15; } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; * @return The listCloudDatabaseOperations. */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - getListCloudDatabaseOperations() { + public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction getListCloudDatabaseOperations() { if (listCloudDatabaseOperationsBuilder_ == null) { if (actionCase_ == 15) { return (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_; } - return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); } else { if (actionCase_ == 15) { return listCloudDatabaseOperationsBuilder_.getMessage(); } - return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); } } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ - public Builder setListCloudDatabaseOperations( - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction value) { + public Builder setListCloudDatabaseOperations(com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction value) { if (listCloudDatabaseOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6397,15 +5337,11 @@ public Builder setListCloudDatabaseOperations( return this; } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ public Builder setListCloudDatabaseOperations( com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder builderForValue) { @@ -6419,28 +5355,18 @@ public Builder setListCloudDatabaseOperations( return this; } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ - public Builder mergeListCloudDatabaseOperations( - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction value) { + public Builder mergeListCloudDatabaseOperations(com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction value) { if (listCloudDatabaseOperationsBuilder_ == null) { - if (actionCase_ == 15 - && action_ - != com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.newBuilder( - (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 15 && + action_ != com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.newBuilder((com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -6456,15 +5382,11 @@ public Builder mergeListCloudDatabaseOperations( return this; } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ public Builder clearListCloudDatabaseOperations() { if (listCloudDatabaseOperationsBuilder_ == null) { @@ -6483,70 +5405,49 @@ public Builder clearListCloudDatabaseOperations() { return this; } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ - public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder - getListCloudDatabaseOperationsBuilder() { + public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder getListCloudDatabaseOperationsBuilder() { return getListCloudDatabaseOperationsFieldBuilder().getBuilder(); } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder - getListCloudDatabaseOperationsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder getListCloudDatabaseOperationsOrBuilder() { if ((actionCase_ == 15) && (listCloudDatabaseOperationsBuilder_ != null)) { return listCloudDatabaseOperationsBuilder_.getMessageOrBuilder(); } else { if (actionCase_ == 15) { return (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_; } - return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); } } /** - * - * *
      * Action that lists Cloud Spanner database operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder> + com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction, com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder, com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder> getListCloudDatabaseOperationsFieldBuilder() { if (listCloudDatabaseOperationsBuilder_ == null) { if (!(actionCase_ == 15)) { - action_ = - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); - } - listCloudDatabaseOperationsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder>( + action_ = com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); + } + listCloudDatabaseOperationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction, com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder, com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder>( (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) action_, getParentForChildren(), isClean()); @@ -6558,20 +5459,13 @@ public Builder clearListCloudDatabaseOperations() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.RestoreCloudDatabaseAction, - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder> - restoreCloudDatabaseBuilder_; + com.google.spanner.executor.v1.RestoreCloudDatabaseAction, com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder, com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder> restoreCloudDatabaseBuilder_; /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; * @return Whether the restoreCloudDatabase field is set. */ @java.lang.Override @@ -6579,15 +5473,11 @@ public boolean hasRestoreCloudDatabase() { return actionCase_ == 16; } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; * @return The restoreCloudDatabase. */ @java.lang.Override @@ -6605,17 +5495,13 @@ public com.google.spanner.executor.v1.RestoreCloudDatabaseAction getRestoreCloud } } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ - public Builder setRestoreCloudDatabase( - com.google.spanner.executor.v1.RestoreCloudDatabaseAction value) { + public Builder setRestoreCloudDatabase(com.google.spanner.executor.v1.RestoreCloudDatabaseAction value) { if (restoreCloudDatabaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6629,14 +5515,11 @@ public Builder setRestoreCloudDatabase( return this; } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ public Builder setRestoreCloudDatabase( com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder builderForValue) { @@ -6650,26 +5533,18 @@ public Builder setRestoreCloudDatabase( return this; } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ - public Builder mergeRestoreCloudDatabase( - com.google.spanner.executor.v1.RestoreCloudDatabaseAction value) { + public Builder mergeRestoreCloudDatabase(com.google.spanner.executor.v1.RestoreCloudDatabaseAction value) { if (restoreCloudDatabaseBuilder_ == null) { - if (actionCase_ == 16 - && action_ - != com.google.spanner.executor.v1.RestoreCloudDatabaseAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.newBuilder( - (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 16 && + action_ != com.google.spanner.executor.v1.RestoreCloudDatabaseAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.RestoreCloudDatabaseAction.newBuilder((com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -6685,14 +5560,11 @@ public Builder mergeRestoreCloudDatabase( return this; } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ public Builder clearRestoreCloudDatabase() { if (restoreCloudDatabaseBuilder_ == null) { @@ -6711,32 +5583,24 @@ public Builder clearRestoreCloudDatabase() { return this; } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ - public com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder - getRestoreCloudDatabaseBuilder() { + public com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder getRestoreCloudDatabaseBuilder() { return getRestoreCloudDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ @java.lang.Override - public com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder - getRestoreCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder getRestoreCloudDatabaseOrBuilder() { if ((actionCase_ == 16) && (restoreCloudDatabaseBuilder_ != null)) { return restoreCloudDatabaseBuilder_.getMessageOrBuilder(); } else { @@ -6747,29 +5611,21 @@ public Builder clearRestoreCloudDatabase() { } } /** - * - * *
      * Action that restores a Cloud Spanner database from a backup.
      * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.RestoreCloudDatabaseAction, - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder> + com.google.spanner.executor.v1.RestoreCloudDatabaseAction, com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder, com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder> getRestoreCloudDatabaseFieldBuilder() { if (restoreCloudDatabaseBuilder_ == null) { if (!(actionCase_ == 16)) { action_ = com.google.spanner.executor.v1.RestoreCloudDatabaseAction.getDefaultInstance(); } - restoreCloudDatabaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.RestoreCloudDatabaseAction, - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder>( + restoreCloudDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.RestoreCloudDatabaseAction, com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder, com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder>( (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) action_, getParentForChildren(), isClean()); @@ -6781,19 +5637,13 @@ public Builder clearRestoreCloudDatabase() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudDatabaseAction, - com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder> - getCloudDatabaseBuilder_; + com.google.spanner.executor.v1.GetCloudDatabaseAction, com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder, com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder> getCloudDatabaseBuilder_; /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; - * * @return Whether the getCloudDatabase field is set. */ @java.lang.Override @@ -6801,14 +5651,11 @@ public boolean hasGetCloudDatabase() { return actionCase_ == 17; } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; - * * @return The getCloudDatabase. */ @java.lang.Override @@ -6826,16 +5673,13 @@ public com.google.spanner.executor.v1.GetCloudDatabaseAction getGetCloudDatabase } } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; */ - public Builder setGetCloudDatabase( - com.google.spanner.executor.v1.GetCloudDatabaseAction value) { + public Builder setGetCloudDatabase(com.google.spanner.executor.v1.GetCloudDatabaseAction value) { if (getCloudDatabaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6849,8 +5693,6 @@ public Builder setGetCloudDatabase( return this; } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
@@ -6869,25 +5711,18 @@ public Builder setGetCloudDatabase( return this; } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; */ - public Builder mergeGetCloudDatabase( - com.google.spanner.executor.v1.GetCloudDatabaseAction value) { + public Builder mergeGetCloudDatabase(com.google.spanner.executor.v1.GetCloudDatabaseAction value) { if (getCloudDatabaseBuilder_ == null) { - if (actionCase_ == 17 - && action_ - != com.google.spanner.executor.v1.GetCloudDatabaseAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.GetCloudDatabaseAction.newBuilder( - (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 17 && + action_ != com.google.spanner.executor.v1.GetCloudDatabaseAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.GetCloudDatabaseAction.newBuilder((com.google.spanner.executor.v1.GetCloudDatabaseAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -6903,8 +5738,6 @@ public Builder mergeGetCloudDatabase( return this; } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
@@ -6928,21 +5761,16 @@ public Builder clearGetCloudDatabase() { return this; } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; */ - public com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder - getGetCloudDatabaseBuilder() { + public com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder getGetCloudDatabaseBuilder() { return getGetCloudDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
@@ -6950,8 +5778,7 @@ public Builder clearGetCloudDatabase() { * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; */ @java.lang.Override - public com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder - getGetCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder getGetCloudDatabaseOrBuilder() { if ((actionCase_ == 17) && (getCloudDatabaseBuilder_ != null)) { return getCloudDatabaseBuilder_.getMessageOrBuilder(); } else { @@ -6962,8 +5789,6 @@ public Builder clearGetCloudDatabase() { } } /** - * - * *
      * Action that gets a Cloud Spanner database.
      * 
@@ -6971,19 +5796,14 @@ public Builder clearGetCloudDatabase() { * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudDatabaseAction, - com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder> + com.google.spanner.executor.v1.GetCloudDatabaseAction, com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder, com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder> getGetCloudDatabaseFieldBuilder() { if (getCloudDatabaseBuilder_ == null) { if (!(actionCase_ == 17)) { action_ = com.google.spanner.executor.v1.GetCloudDatabaseAction.getDefaultInstance(); } - getCloudDatabaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudDatabaseAction, - com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder>( + getCloudDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.GetCloudDatabaseAction, com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder, com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder>( (com.google.spanner.executor.v1.GetCloudDatabaseAction) action_, getParentForChildren(), isClean()); @@ -6995,19 +5815,13 @@ public Builder clearGetCloudDatabase() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudBackupAction, - com.google.spanner.executor.v1.CreateCloudBackupAction.Builder, - com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder> - createCloudBackupBuilder_; + com.google.spanner.executor.v1.CreateCloudBackupAction, com.google.spanner.executor.v1.CreateCloudBackupAction.Builder, com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder> createCloudBackupBuilder_; /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; - * * @return Whether the createCloudBackup field is set. */ @java.lang.Override @@ -7015,14 +5829,11 @@ public boolean hasCreateCloudBackup() { return actionCase_ == 18; } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; - * * @return The createCloudBackup. */ @java.lang.Override @@ -7040,16 +5851,13 @@ public com.google.spanner.executor.v1.CreateCloudBackupAction getCreateCloudBack } } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; */ - public Builder setCreateCloudBackup( - com.google.spanner.executor.v1.CreateCloudBackupAction value) { + public Builder setCreateCloudBackup(com.google.spanner.executor.v1.CreateCloudBackupAction value) { if (createCloudBackupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7063,8 +5871,6 @@ public Builder setCreateCloudBackup( return this; } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
@@ -7083,25 +5889,18 @@ public Builder setCreateCloudBackup( return this; } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; */ - public Builder mergeCreateCloudBackup( - com.google.spanner.executor.v1.CreateCloudBackupAction value) { + public Builder mergeCreateCloudBackup(com.google.spanner.executor.v1.CreateCloudBackupAction value) { if (createCloudBackupBuilder_ == null) { - if (actionCase_ == 18 - && action_ - != com.google.spanner.executor.v1.CreateCloudBackupAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.CreateCloudBackupAction.newBuilder( - (com.google.spanner.executor.v1.CreateCloudBackupAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 18 && + action_ != com.google.spanner.executor.v1.CreateCloudBackupAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.CreateCloudBackupAction.newBuilder((com.google.spanner.executor.v1.CreateCloudBackupAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -7117,8 +5916,6 @@ public Builder mergeCreateCloudBackup( return this; } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
@@ -7142,21 +5939,16 @@ public Builder clearCreateCloudBackup() { return this; } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; */ - public com.google.spanner.executor.v1.CreateCloudBackupAction.Builder - getCreateCloudBackupBuilder() { + public com.google.spanner.executor.v1.CreateCloudBackupAction.Builder getCreateCloudBackupBuilder() { return getCreateCloudBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
@@ -7164,8 +5956,7 @@ public Builder clearCreateCloudBackup() { * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; */ @java.lang.Override - public com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder - getCreateCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder getCreateCloudBackupOrBuilder() { if ((actionCase_ == 18) && (createCloudBackupBuilder_ != null)) { return createCloudBackupBuilder_.getMessageOrBuilder(); } else { @@ -7176,8 +5967,6 @@ public Builder clearCreateCloudBackup() { } } /** - * - * *
      * Action that creates a Cloud Spanner database backup.
      * 
@@ -7185,19 +5974,14 @@ public Builder clearCreateCloudBackup() { * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudBackupAction, - com.google.spanner.executor.v1.CreateCloudBackupAction.Builder, - com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder> + com.google.spanner.executor.v1.CreateCloudBackupAction, com.google.spanner.executor.v1.CreateCloudBackupAction.Builder, com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder> getCreateCloudBackupFieldBuilder() { if (createCloudBackupBuilder_ == null) { if (!(actionCase_ == 18)) { action_ = com.google.spanner.executor.v1.CreateCloudBackupAction.getDefaultInstance(); } - createCloudBackupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CreateCloudBackupAction, - com.google.spanner.executor.v1.CreateCloudBackupAction.Builder, - com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder>( + createCloudBackupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CreateCloudBackupAction, com.google.spanner.executor.v1.CreateCloudBackupAction.Builder, com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder>( (com.google.spanner.executor.v1.CreateCloudBackupAction) action_, getParentForChildren(), isClean()); @@ -7209,19 +5993,13 @@ public Builder clearCreateCloudBackup() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CopyCloudBackupAction, - com.google.spanner.executor.v1.CopyCloudBackupAction.Builder, - com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder> - copyCloudBackupBuilder_; + com.google.spanner.executor.v1.CopyCloudBackupAction, com.google.spanner.executor.v1.CopyCloudBackupAction.Builder, com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder> copyCloudBackupBuilder_; /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; - * * @return Whether the copyCloudBackup field is set. */ @java.lang.Override @@ -7229,14 +6007,11 @@ public boolean hasCopyCloudBackup() { return actionCase_ == 19; } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; - * * @return The copyCloudBackup. */ @java.lang.Override @@ -7254,8 +6029,6 @@ public com.google.spanner.executor.v1.CopyCloudBackupAction getCopyCloudBackup() } } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
@@ -7276,8 +6049,6 @@ public Builder setCopyCloudBackup(com.google.spanner.executor.v1.CopyCloudBackup return this; } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
@@ -7296,25 +6067,18 @@ public Builder setCopyCloudBackup( return this; } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; */ - public Builder mergeCopyCloudBackup( - com.google.spanner.executor.v1.CopyCloudBackupAction value) { + public Builder mergeCopyCloudBackup(com.google.spanner.executor.v1.CopyCloudBackupAction value) { if (copyCloudBackupBuilder_ == null) { - if (actionCase_ == 19 - && action_ - != com.google.spanner.executor.v1.CopyCloudBackupAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.CopyCloudBackupAction.newBuilder( - (com.google.spanner.executor.v1.CopyCloudBackupAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 19 && + action_ != com.google.spanner.executor.v1.CopyCloudBackupAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.CopyCloudBackupAction.newBuilder((com.google.spanner.executor.v1.CopyCloudBackupAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -7330,8 +6094,6 @@ public Builder mergeCopyCloudBackup( return this; } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
@@ -7355,21 +6117,16 @@ public Builder clearCopyCloudBackup() { return this; } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; */ - public com.google.spanner.executor.v1.CopyCloudBackupAction.Builder - getCopyCloudBackupBuilder() { + public com.google.spanner.executor.v1.CopyCloudBackupAction.Builder getCopyCloudBackupBuilder() { return getCopyCloudBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
@@ -7377,8 +6134,7 @@ public Builder clearCopyCloudBackup() { * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; */ @java.lang.Override - public com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder - getCopyCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder getCopyCloudBackupOrBuilder() { if ((actionCase_ == 19) && (copyCloudBackupBuilder_ != null)) { return copyCloudBackupBuilder_.getMessageOrBuilder(); } else { @@ -7389,8 +6145,6 @@ public Builder clearCopyCloudBackup() { } } /** - * - * *
      * Action that copies a Cloud Spanner database backup.
      * 
@@ -7398,19 +6152,14 @@ public Builder clearCopyCloudBackup() { * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CopyCloudBackupAction, - com.google.spanner.executor.v1.CopyCloudBackupAction.Builder, - com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder> + com.google.spanner.executor.v1.CopyCloudBackupAction, com.google.spanner.executor.v1.CopyCloudBackupAction.Builder, com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder> getCopyCloudBackupFieldBuilder() { if (copyCloudBackupBuilder_ == null) { if (!(actionCase_ == 19)) { action_ = com.google.spanner.executor.v1.CopyCloudBackupAction.getDefaultInstance(); } - copyCloudBackupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CopyCloudBackupAction, - com.google.spanner.executor.v1.CopyCloudBackupAction.Builder, - com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder>( + copyCloudBackupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CopyCloudBackupAction, com.google.spanner.executor.v1.CopyCloudBackupAction.Builder, com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder>( (com.google.spanner.executor.v1.CopyCloudBackupAction) action_, getParentForChildren(), isClean()); @@ -7422,19 +6171,13 @@ public Builder clearCopyCloudBackup() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudBackupAction, - com.google.spanner.executor.v1.GetCloudBackupAction.Builder, - com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder> - getCloudBackupBuilder_; + com.google.spanner.executor.v1.GetCloudBackupAction, com.google.spanner.executor.v1.GetCloudBackupAction.Builder, com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder> getCloudBackupBuilder_; /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; - * * @return Whether the getCloudBackup field is set. */ @java.lang.Override @@ -7442,14 +6185,11 @@ public boolean hasGetCloudBackup() { return actionCase_ == 20; } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; - * * @return The getCloudBackup. */ @java.lang.Override @@ -7467,8 +6207,6 @@ public com.google.spanner.executor.v1.GetCloudBackupAction getGetCloudBackup() { } } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
@@ -7489,8 +6227,6 @@ public Builder setGetCloudBackup(com.google.spanner.executor.v1.GetCloudBackupAc return this; } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
@@ -7509,8 +6245,6 @@ public Builder setGetCloudBackup( return this; } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
@@ -7519,14 +6253,10 @@ public Builder setGetCloudBackup( */ public Builder mergeGetCloudBackup(com.google.spanner.executor.v1.GetCloudBackupAction value) { if (getCloudBackupBuilder_ == null) { - if (actionCase_ == 20 - && action_ - != com.google.spanner.executor.v1.GetCloudBackupAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.GetCloudBackupAction.newBuilder( - (com.google.spanner.executor.v1.GetCloudBackupAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 20 && + action_ != com.google.spanner.executor.v1.GetCloudBackupAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.GetCloudBackupAction.newBuilder((com.google.spanner.executor.v1.GetCloudBackupAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -7542,8 +6272,6 @@ public Builder mergeGetCloudBackup(com.google.spanner.executor.v1.GetCloudBackup return this; } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
@@ -7567,8 +6295,6 @@ public Builder clearGetCloudBackup() { return this; } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
@@ -7579,8 +6305,6 @@ public com.google.spanner.executor.v1.GetCloudBackupAction.Builder getGetCloudBa return getGetCloudBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
@@ -7588,8 +6312,7 @@ public com.google.spanner.executor.v1.GetCloudBackupAction.Builder getGetCloudBa * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; */ @java.lang.Override - public com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder - getGetCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder getGetCloudBackupOrBuilder() { if ((actionCase_ == 20) && (getCloudBackupBuilder_ != null)) { return getCloudBackupBuilder_.getMessageOrBuilder(); } else { @@ -7600,8 +6323,6 @@ public com.google.spanner.executor.v1.GetCloudBackupAction.Builder getGetCloudBa } } /** - * - * *
      * Action that gets a Cloud Spanner database backup.
      * 
@@ -7609,19 +6330,14 @@ public com.google.spanner.executor.v1.GetCloudBackupAction.Builder getGetCloudBa * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudBackupAction, - com.google.spanner.executor.v1.GetCloudBackupAction.Builder, - com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder> + com.google.spanner.executor.v1.GetCloudBackupAction, com.google.spanner.executor.v1.GetCloudBackupAction.Builder, com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder> getGetCloudBackupFieldBuilder() { if (getCloudBackupBuilder_ == null) { if (!(actionCase_ == 20)) { action_ = com.google.spanner.executor.v1.GetCloudBackupAction.getDefaultInstance(); } - getCloudBackupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetCloudBackupAction, - com.google.spanner.executor.v1.GetCloudBackupAction.Builder, - com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder>( + getCloudBackupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.GetCloudBackupAction, com.google.spanner.executor.v1.GetCloudBackupAction.Builder, com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder>( (com.google.spanner.executor.v1.GetCloudBackupAction) action_, getParentForChildren(), isClean()); @@ -7633,19 +6349,13 @@ public com.google.spanner.executor.v1.GetCloudBackupAction.Builder getGetCloudBa } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudBackupAction, - com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder, - com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder> - updateCloudBackupBuilder_; + com.google.spanner.executor.v1.UpdateCloudBackupAction, com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder, com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder> updateCloudBackupBuilder_; /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; - * * @return Whether the updateCloudBackup field is set. */ @java.lang.Override @@ -7653,14 +6363,11 @@ public boolean hasUpdateCloudBackup() { return actionCase_ == 21; } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; - * * @return The updateCloudBackup. */ @java.lang.Override @@ -7678,16 +6385,13 @@ public com.google.spanner.executor.v1.UpdateCloudBackupAction getUpdateCloudBack } } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; */ - public Builder setUpdateCloudBackup( - com.google.spanner.executor.v1.UpdateCloudBackupAction value) { + public Builder setUpdateCloudBackup(com.google.spanner.executor.v1.UpdateCloudBackupAction value) { if (updateCloudBackupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7701,8 +6405,6 @@ public Builder setUpdateCloudBackup( return this; } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
@@ -7721,25 +6423,18 @@ public Builder setUpdateCloudBackup( return this; } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; */ - public Builder mergeUpdateCloudBackup( - com.google.spanner.executor.v1.UpdateCloudBackupAction value) { + public Builder mergeUpdateCloudBackup(com.google.spanner.executor.v1.UpdateCloudBackupAction value) { if (updateCloudBackupBuilder_ == null) { - if (actionCase_ == 21 - && action_ - != com.google.spanner.executor.v1.UpdateCloudBackupAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.UpdateCloudBackupAction.newBuilder( - (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 21 && + action_ != com.google.spanner.executor.v1.UpdateCloudBackupAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.UpdateCloudBackupAction.newBuilder((com.google.spanner.executor.v1.UpdateCloudBackupAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -7755,8 +6450,6 @@ public Builder mergeUpdateCloudBackup( return this; } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
@@ -7780,21 +6473,16 @@ public Builder clearUpdateCloudBackup() { return this; } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; */ - public com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder - getUpdateCloudBackupBuilder() { + public com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder getUpdateCloudBackupBuilder() { return getUpdateCloudBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
@@ -7802,8 +6490,7 @@ public Builder clearUpdateCloudBackup() { * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; */ @java.lang.Override - public com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder - getUpdateCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder getUpdateCloudBackupOrBuilder() { if ((actionCase_ == 21) && (updateCloudBackupBuilder_ != null)) { return updateCloudBackupBuilder_.getMessageOrBuilder(); } else { @@ -7814,8 +6501,6 @@ public Builder clearUpdateCloudBackup() { } } /** - * - * *
      * Action that updates a Cloud Spanner database backup.
      * 
@@ -7823,19 +6508,14 @@ public Builder clearUpdateCloudBackup() { * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudBackupAction, - com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder, - com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder> + com.google.spanner.executor.v1.UpdateCloudBackupAction, com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder, com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder> getUpdateCloudBackupFieldBuilder() { if (updateCloudBackupBuilder_ == null) { if (!(actionCase_ == 21)) { action_ = com.google.spanner.executor.v1.UpdateCloudBackupAction.getDefaultInstance(); } - updateCloudBackupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.UpdateCloudBackupAction, - com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder, - com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder>( + updateCloudBackupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.UpdateCloudBackupAction, com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder, com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder>( (com.google.spanner.executor.v1.UpdateCloudBackupAction) action_, getParentForChildren(), isClean()); @@ -7847,19 +6527,13 @@ public Builder clearUpdateCloudBackup() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteCloudBackupAction, - com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder, - com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder> - deleteCloudBackupBuilder_; + com.google.spanner.executor.v1.DeleteCloudBackupAction, com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder, com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder> deleteCloudBackupBuilder_; /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; - * * @return Whether the deleteCloudBackup field is set. */ @java.lang.Override @@ -7867,14 +6541,11 @@ public boolean hasDeleteCloudBackup() { return actionCase_ == 22; } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; - * * @return The deleteCloudBackup. */ @java.lang.Override @@ -7892,16 +6563,13 @@ public com.google.spanner.executor.v1.DeleteCloudBackupAction getDeleteCloudBack } } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; */ - public Builder setDeleteCloudBackup( - com.google.spanner.executor.v1.DeleteCloudBackupAction value) { + public Builder setDeleteCloudBackup(com.google.spanner.executor.v1.DeleteCloudBackupAction value) { if (deleteCloudBackupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7915,8 +6583,6 @@ public Builder setDeleteCloudBackup( return this; } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
@@ -7935,25 +6601,18 @@ public Builder setDeleteCloudBackup( return this; } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; */ - public Builder mergeDeleteCloudBackup( - com.google.spanner.executor.v1.DeleteCloudBackupAction value) { + public Builder mergeDeleteCloudBackup(com.google.spanner.executor.v1.DeleteCloudBackupAction value) { if (deleteCloudBackupBuilder_ == null) { - if (actionCase_ == 22 - && action_ - != com.google.spanner.executor.v1.DeleteCloudBackupAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.DeleteCloudBackupAction.newBuilder( - (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 22 && + action_ != com.google.spanner.executor.v1.DeleteCloudBackupAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.DeleteCloudBackupAction.newBuilder((com.google.spanner.executor.v1.DeleteCloudBackupAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -7969,8 +6628,6 @@ public Builder mergeDeleteCloudBackup( return this; } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
@@ -7994,21 +6651,16 @@ public Builder clearDeleteCloudBackup() { return this; } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; */ - public com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder - getDeleteCloudBackupBuilder() { + public com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder getDeleteCloudBackupBuilder() { return getDeleteCloudBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
@@ -8016,8 +6668,7 @@ public Builder clearDeleteCloudBackup() { * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; */ @java.lang.Override - public com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder - getDeleteCloudBackupOrBuilder() { + public com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder getDeleteCloudBackupOrBuilder() { if ((actionCase_ == 22) && (deleteCloudBackupBuilder_ != null)) { return deleteCloudBackupBuilder_.getMessageOrBuilder(); } else { @@ -8028,8 +6679,6 @@ public Builder clearDeleteCloudBackup() { } } /** - * - * *
      * Action that deletes a Cloud Spanner database backup.
      * 
@@ -8037,19 +6686,14 @@ public Builder clearDeleteCloudBackup() { * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteCloudBackupAction, - com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder, - com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder> + com.google.spanner.executor.v1.DeleteCloudBackupAction, com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder, com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder> getDeleteCloudBackupFieldBuilder() { if (deleteCloudBackupBuilder_ == null) { if (!(actionCase_ == 22)) { action_ = com.google.spanner.executor.v1.DeleteCloudBackupAction.getDefaultInstance(); } - deleteCloudBackupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DeleteCloudBackupAction, - com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder, - com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder>( + deleteCloudBackupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.DeleteCloudBackupAction, com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder, com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder>( (com.google.spanner.executor.v1.DeleteCloudBackupAction) action_, getParentForChildren(), isClean()); @@ -8061,19 +6705,13 @@ public Builder clearDeleteCloudBackup() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudBackupsAction, - com.google.spanner.executor.v1.ListCloudBackupsAction.Builder, - com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder> - listCloudBackupsBuilder_; + com.google.spanner.executor.v1.ListCloudBackupsAction, com.google.spanner.executor.v1.ListCloudBackupsAction.Builder, com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder> listCloudBackupsBuilder_; /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; - * * @return Whether the listCloudBackups field is set. */ @java.lang.Override @@ -8081,14 +6719,11 @@ public boolean hasListCloudBackups() { return actionCase_ == 23; } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; - * * @return The listCloudBackups. */ @java.lang.Override @@ -8106,16 +6741,13 @@ public com.google.spanner.executor.v1.ListCloudBackupsAction getListCloudBackups } } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; */ - public Builder setListCloudBackups( - com.google.spanner.executor.v1.ListCloudBackupsAction value) { + public Builder setListCloudBackups(com.google.spanner.executor.v1.ListCloudBackupsAction value) { if (listCloudBackupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8129,8 +6761,6 @@ public Builder setListCloudBackups( return this; } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
@@ -8149,25 +6779,18 @@ public Builder setListCloudBackups( return this; } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; */ - public Builder mergeListCloudBackups( - com.google.spanner.executor.v1.ListCloudBackupsAction value) { + public Builder mergeListCloudBackups(com.google.spanner.executor.v1.ListCloudBackupsAction value) { if (listCloudBackupsBuilder_ == null) { - if (actionCase_ == 23 - && action_ - != com.google.spanner.executor.v1.ListCloudBackupsAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ListCloudBackupsAction.newBuilder( - (com.google.spanner.executor.v1.ListCloudBackupsAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 23 && + action_ != com.google.spanner.executor.v1.ListCloudBackupsAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ListCloudBackupsAction.newBuilder((com.google.spanner.executor.v1.ListCloudBackupsAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -8183,8 +6806,6 @@ public Builder mergeListCloudBackups( return this; } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
@@ -8208,21 +6829,16 @@ public Builder clearListCloudBackups() { return this; } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; */ - public com.google.spanner.executor.v1.ListCloudBackupsAction.Builder - getListCloudBackupsBuilder() { + public com.google.spanner.executor.v1.ListCloudBackupsAction.Builder getListCloudBackupsBuilder() { return getListCloudBackupsFieldBuilder().getBuilder(); } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
@@ -8230,8 +6846,7 @@ public Builder clearListCloudBackups() { * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder - getListCloudBackupsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder getListCloudBackupsOrBuilder() { if ((actionCase_ == 23) && (listCloudBackupsBuilder_ != null)) { return listCloudBackupsBuilder_.getMessageOrBuilder(); } else { @@ -8242,8 +6857,6 @@ public Builder clearListCloudBackups() { } } /** - * - * *
      * Action that lists Cloud Spanner database backups.
      * 
@@ -8251,19 +6864,14 @@ public Builder clearListCloudBackups() { * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudBackupsAction, - com.google.spanner.executor.v1.ListCloudBackupsAction.Builder, - com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder> + com.google.spanner.executor.v1.ListCloudBackupsAction, com.google.spanner.executor.v1.ListCloudBackupsAction.Builder, com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder> getListCloudBackupsFieldBuilder() { if (listCloudBackupsBuilder_ == null) { if (!(actionCase_ == 23)) { action_ = com.google.spanner.executor.v1.ListCloudBackupsAction.getDefaultInstance(); } - listCloudBackupsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudBackupsAction, - com.google.spanner.executor.v1.ListCloudBackupsAction.Builder, - com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder>( + listCloudBackupsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ListCloudBackupsAction, com.google.spanner.executor.v1.ListCloudBackupsAction.Builder, com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder>( (com.google.spanner.executor.v1.ListCloudBackupsAction) action_, getParentForChildren(), isClean()); @@ -8275,21 +6883,13 @@ public Builder clearListCloudBackups() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudBackupOperationsAction, - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder, - com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder> - listCloudBackupOperationsBuilder_; + com.google.spanner.executor.v1.ListCloudBackupOperationsAction, com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder, com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder> listCloudBackupOperationsBuilder_; /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; * @return Whether the listCloudBackupOperations field is set. */ @java.lang.Override @@ -8297,21 +6897,15 @@ public boolean hasListCloudBackupOperations() { return actionCase_ == 24; } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; * @return The listCloudBackupOperations. */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupOperationsAction - getListCloudBackupOperations() { + public com.google.spanner.executor.v1.ListCloudBackupOperationsAction getListCloudBackupOperations() { if (listCloudBackupOperationsBuilder_ == null) { if (actionCase_ == 24) { return (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_; @@ -8325,18 +6919,13 @@ public boolean hasListCloudBackupOperations() { } } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ - public Builder setListCloudBackupOperations( - com.google.spanner.executor.v1.ListCloudBackupOperationsAction value) { + public Builder setListCloudBackupOperations(com.google.spanner.executor.v1.ListCloudBackupOperationsAction value) { if (listCloudBackupOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8350,15 +6939,11 @@ public Builder setListCloudBackupOperations( return this; } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ public Builder setListCloudBackupOperations( com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder builderForValue) { @@ -8372,28 +6957,18 @@ public Builder setListCloudBackupOperations( return this; } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ - public Builder mergeListCloudBackupOperations( - com.google.spanner.executor.v1.ListCloudBackupOperationsAction value) { + public Builder mergeListCloudBackupOperations(com.google.spanner.executor.v1.ListCloudBackupOperationsAction value) { if (listCloudBackupOperationsBuilder_ == null) { - if (actionCase_ == 24 - && action_ - != com.google.spanner.executor.v1.ListCloudBackupOperationsAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.newBuilder( - (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 24 && + action_ != com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ListCloudBackupOperationsAction.newBuilder((com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -8409,15 +6984,11 @@ public Builder mergeListCloudBackupOperations( return this; } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ public Builder clearListCloudBackupOperations() { if (listCloudBackupOperationsBuilder_ == null) { @@ -8436,34 +7007,24 @@ public Builder clearListCloudBackupOperations() { return this; } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ - public com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder - getListCloudBackupOperationsBuilder() { + public com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder getListCloudBackupOperationsBuilder() { return getListCloudBackupOperationsFieldBuilder().getBuilder(); } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder - getListCloudBackupOperationsOrBuilder() { + public com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder getListCloudBackupOperationsOrBuilder() { if ((actionCase_ == 24) && (listCloudBackupOperationsBuilder_ != null)) { return listCloudBackupOperationsBuilder_.getMessageOrBuilder(); } else { @@ -8474,31 +7035,21 @@ public Builder clearListCloudBackupOperations() { } } /** - * - * *
      * Action that lists Cloud Spanner database backup operations.
      * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudBackupOperationsAction, - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder, - com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder> + com.google.spanner.executor.v1.ListCloudBackupOperationsAction, com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder, com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder> getListCloudBackupOperationsFieldBuilder() { if (listCloudBackupOperationsBuilder_ == null) { if (!(actionCase_ == 24)) { - action_ = - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance(); - } - listCloudBackupOperationsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ListCloudBackupOperationsAction, - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder, - com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder>( + action_ = com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance(); + } + listCloudBackupOperationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ListCloudBackupOperationsAction, com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder, com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder>( (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) action_, getParentForChildren(), isClean()); @@ -8510,19 +7061,13 @@ public Builder clearListCloudBackupOperations() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetOperationAction, - com.google.spanner.executor.v1.GetOperationAction.Builder, - com.google.spanner.executor.v1.GetOperationActionOrBuilder> - getOperationBuilder_; + com.google.spanner.executor.v1.GetOperationAction, com.google.spanner.executor.v1.GetOperationAction.Builder, com.google.spanner.executor.v1.GetOperationActionOrBuilder> getOperationBuilder_; /** - * - * *
      * Action that gets an operation.
      * 
* * .google.spanner.executor.v1.GetOperationAction get_operation = 25; - * * @return Whether the getOperation field is set. */ @java.lang.Override @@ -8530,14 +7075,11 @@ public boolean hasGetOperation() { return actionCase_ == 25; } /** - * - * *
      * Action that gets an operation.
      * 
* * .google.spanner.executor.v1.GetOperationAction get_operation = 25; - * * @return The getOperation. */ @java.lang.Override @@ -8555,8 +7097,6 @@ public com.google.spanner.executor.v1.GetOperationAction getGetOperation() { } } /** - * - * *
      * Action that gets an operation.
      * 
@@ -8577,8 +7117,6 @@ public Builder setGetOperation(com.google.spanner.executor.v1.GetOperationAction return this; } /** - * - * *
      * Action that gets an operation.
      * 
@@ -8597,8 +7135,6 @@ public Builder setGetOperation( return this; } /** - * - * *
      * Action that gets an operation.
      * 
@@ -8607,13 +7143,10 @@ public Builder setGetOperation( */ public Builder mergeGetOperation(com.google.spanner.executor.v1.GetOperationAction value) { if (getOperationBuilder_ == null) { - if (actionCase_ == 25 - && action_ != com.google.spanner.executor.v1.GetOperationAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.GetOperationAction.newBuilder( - (com.google.spanner.executor.v1.GetOperationAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 25 && + action_ != com.google.spanner.executor.v1.GetOperationAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.GetOperationAction.newBuilder((com.google.spanner.executor.v1.GetOperationAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -8629,8 +7162,6 @@ public Builder mergeGetOperation(com.google.spanner.executor.v1.GetOperationActi return this; } /** - * - * *
      * Action that gets an operation.
      * 
@@ -8654,8 +7185,6 @@ public Builder clearGetOperation() { return this; } /** - * - * *
      * Action that gets an operation.
      * 
@@ -8666,8 +7195,6 @@ public com.google.spanner.executor.v1.GetOperationAction.Builder getGetOperation return getGetOperationFieldBuilder().getBuilder(); } /** - * - * *
      * Action that gets an operation.
      * 
@@ -8686,8 +7213,6 @@ public com.google.spanner.executor.v1.GetOperationActionOrBuilder getGetOperatio } } /** - * - * *
      * Action that gets an operation.
      * 
@@ -8695,19 +7220,14 @@ public com.google.spanner.executor.v1.GetOperationActionOrBuilder getGetOperatio * .google.spanner.executor.v1.GetOperationAction get_operation = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetOperationAction, - com.google.spanner.executor.v1.GetOperationAction.Builder, - com.google.spanner.executor.v1.GetOperationActionOrBuilder> + com.google.spanner.executor.v1.GetOperationAction, com.google.spanner.executor.v1.GetOperationAction.Builder, com.google.spanner.executor.v1.GetOperationActionOrBuilder> getGetOperationFieldBuilder() { if (getOperationBuilder_ == null) { if (!(actionCase_ == 25)) { action_ = com.google.spanner.executor.v1.GetOperationAction.getDefaultInstance(); } - getOperationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GetOperationAction, - com.google.spanner.executor.v1.GetOperationAction.Builder, - com.google.spanner.executor.v1.GetOperationActionOrBuilder>( + getOperationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.GetOperationAction, com.google.spanner.executor.v1.GetOperationAction.Builder, com.google.spanner.executor.v1.GetOperationActionOrBuilder>( (com.google.spanner.executor.v1.GetOperationAction) action_, getParentForChildren(), isClean()); @@ -8719,19 +7239,13 @@ public com.google.spanner.executor.v1.GetOperationActionOrBuilder getGetOperatio } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CancelOperationAction, - com.google.spanner.executor.v1.CancelOperationAction.Builder, - com.google.spanner.executor.v1.CancelOperationActionOrBuilder> - cancelOperationBuilder_; + com.google.spanner.executor.v1.CancelOperationAction, com.google.spanner.executor.v1.CancelOperationAction.Builder, com.google.spanner.executor.v1.CancelOperationActionOrBuilder> cancelOperationBuilder_; /** - * - * *
      * Action that cancels an operation.
      * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; - * * @return Whether the cancelOperation field is set. */ @java.lang.Override @@ -8739,14 +7253,11 @@ public boolean hasCancelOperation() { return actionCase_ == 26; } /** - * - * *
      * Action that cancels an operation.
      * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; - * * @return The cancelOperation. */ @java.lang.Override @@ -8764,8 +7275,6 @@ public com.google.spanner.executor.v1.CancelOperationAction getCancelOperation() } } /** - * - * *
      * Action that cancels an operation.
      * 
@@ -8786,8 +7295,6 @@ public Builder setCancelOperation(com.google.spanner.executor.v1.CancelOperation return this; } /** - * - * *
      * Action that cancels an operation.
      * 
@@ -8806,25 +7313,18 @@ public Builder setCancelOperation( return this; } /** - * - * *
      * Action that cancels an operation.
      * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; */ - public Builder mergeCancelOperation( - com.google.spanner.executor.v1.CancelOperationAction value) { + public Builder mergeCancelOperation(com.google.spanner.executor.v1.CancelOperationAction value) { if (cancelOperationBuilder_ == null) { - if (actionCase_ == 26 - && action_ - != com.google.spanner.executor.v1.CancelOperationAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.CancelOperationAction.newBuilder( - (com.google.spanner.executor.v1.CancelOperationAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 26 && + action_ != com.google.spanner.executor.v1.CancelOperationAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.CancelOperationAction.newBuilder((com.google.spanner.executor.v1.CancelOperationAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -8840,8 +7340,6 @@ public Builder mergeCancelOperation( return this; } /** - * - * *
      * Action that cancels an operation.
      * 
@@ -8865,21 +7363,16 @@ public Builder clearCancelOperation() { return this; } /** - * - * *
      * Action that cancels an operation.
      * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; */ - public com.google.spanner.executor.v1.CancelOperationAction.Builder - getCancelOperationBuilder() { + public com.google.spanner.executor.v1.CancelOperationAction.Builder getCancelOperationBuilder() { return getCancelOperationFieldBuilder().getBuilder(); } /** - * - * *
      * Action that cancels an operation.
      * 
@@ -8887,8 +7380,7 @@ public Builder clearCancelOperation() { * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; */ @java.lang.Override - public com.google.spanner.executor.v1.CancelOperationActionOrBuilder - getCancelOperationOrBuilder() { + public com.google.spanner.executor.v1.CancelOperationActionOrBuilder getCancelOperationOrBuilder() { if ((actionCase_ == 26) && (cancelOperationBuilder_ != null)) { return cancelOperationBuilder_.getMessageOrBuilder(); } else { @@ -8899,8 +7391,6 @@ public Builder clearCancelOperation() { } } /** - * - * *
      * Action that cancels an operation.
      * 
@@ -8908,19 +7398,14 @@ public Builder clearCancelOperation() { * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CancelOperationAction, - com.google.spanner.executor.v1.CancelOperationAction.Builder, - com.google.spanner.executor.v1.CancelOperationActionOrBuilder> + com.google.spanner.executor.v1.CancelOperationAction, com.google.spanner.executor.v1.CancelOperationAction.Builder, com.google.spanner.executor.v1.CancelOperationActionOrBuilder> getCancelOperationFieldBuilder() { if (cancelOperationBuilder_ == null) { if (!(actionCase_ == 26)) { action_ = com.google.spanner.executor.v1.CancelOperationAction.getDefaultInstance(); } - cancelOperationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CancelOperationAction, - com.google.spanner.executor.v1.CancelOperationAction.Builder, - com.google.spanner.executor.v1.CancelOperationActionOrBuilder>( + cancelOperationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CancelOperationAction, com.google.spanner.executor.v1.CancelOperationAction.Builder, com.google.spanner.executor.v1.CancelOperationActionOrBuilder>( (com.google.spanner.executor.v1.CancelOperationAction) action_, getParentForChildren(), isClean()); @@ -8932,21 +7417,13 @@ public Builder clearCancelOperation() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder> - reconfigureCloudDatabaseBuilder_; + com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction, com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder, com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder> reconfigureCloudDatabaseBuilder_; /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; * @return Whether the reconfigureCloudDatabase field is set. */ @java.lang.Override @@ -8954,21 +7431,15 @@ public boolean hasReconfigureCloudDatabase() { return actionCase_ == 28; } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; * @return The reconfigureCloudDatabase. */ @java.lang.Override - public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction - getReconfigureCloudDatabase() { + public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction getReconfigureCloudDatabase() { if (reconfigureCloudDatabaseBuilder_ == null) { if (actionCase_ == 28) { return (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_; @@ -8982,18 +7453,13 @@ public boolean hasReconfigureCloudDatabase() { } } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ - public Builder setReconfigureCloudDatabase( - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction value) { + public Builder setReconfigureCloudDatabase(com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction value) { if (reconfigureCloudDatabaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9007,15 +7473,11 @@ public Builder setReconfigureCloudDatabase( return this; } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ public Builder setReconfigureCloudDatabase( com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder builderForValue) { @@ -9029,28 +7491,18 @@ public Builder setReconfigureCloudDatabase( return this; } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ - public Builder mergeReconfigureCloudDatabase( - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction value) { + public Builder mergeReconfigureCloudDatabase(com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction value) { if (reconfigureCloudDatabaseBuilder_ == null) { - if (actionCase_ == 28 - && action_ - != com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.newBuilder( - (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 28 && + action_ != com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.newBuilder((com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -9066,15 +7518,11 @@ public Builder mergeReconfigureCloudDatabase( return this; } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ public Builder clearReconfigureCloudDatabase() { if (reconfigureCloudDatabaseBuilder_ == null) { @@ -9093,34 +7541,24 @@ public Builder clearReconfigureCloudDatabase() { return this; } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ - public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder - getReconfigureCloudDatabaseBuilder() { + public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder getReconfigureCloudDatabaseBuilder() { return getReconfigureCloudDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ @java.lang.Override - public com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder - getReconfigureCloudDatabaseOrBuilder() { + public com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder getReconfigureCloudDatabaseOrBuilder() { if ((actionCase_ == 28) && (reconfigureCloudDatabaseBuilder_ != null)) { return reconfigureCloudDatabaseBuilder_.getMessageOrBuilder(); } else { @@ -9131,31 +7569,21 @@ public Builder clearReconfigureCloudDatabase() { } } /** - * - * *
      * Action that reconfigures a Cloud Spanner database.
      * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder> + com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction, com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder, com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder> getReconfigureCloudDatabaseFieldBuilder() { if (reconfigureCloudDatabaseBuilder_ == null) { if (!(actionCase_ == 28)) { - action_ = - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance(); - } - reconfigureCloudDatabaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder>( + action_ = com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance(); + } + reconfigureCloudDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction, com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder, com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder>( (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) action_, getParentForChildren(), isClean()); @@ -9165,9 +7593,9 @@ public Builder clearReconfigureCloudDatabase() { onChanged(); return reconfigureCloudDatabaseBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9177,12 +7605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.AdminAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.AdminAction) private static final com.google.spanner.executor.v1.AdminAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.AdminAction(); } @@ -9191,27 +7619,27 @@ public static com.google.spanner.executor.v1.AdminAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdminAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminAction 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; @@ -9226,4 +7654,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.AdminAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminActionOrBuilder.java similarity index 80% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminActionOrBuilder.java index 123e08d1635..a9839b3cf08 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminActionOrBuilder.java @@ -1,368 +1,248 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface AdminActionOrBuilder - extends +public interface AdminActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.AdminAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Action that creates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; * @return Whether the createUserInstanceConfig field is set. */ boolean hasCreateUserInstanceConfig(); /** - * - * *
    * Action that creates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; * @return The createUserInstanceConfig. */ com.google.spanner.executor.v1.CreateUserInstanceConfigAction getCreateUserInstanceConfig(); /** - * - * *
    * Action that creates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; - * + * .google.spanner.executor.v1.CreateUserInstanceConfigAction create_user_instance_config = 1; */ - com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder - getCreateUserInstanceConfigOrBuilder(); + com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder getCreateUserInstanceConfigOrBuilder(); /** - * - * *
    * Action that updates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; * @return Whether the updateUserInstanceConfig field is set. */ boolean hasUpdateUserInstanceConfig(); /** - * - * *
    * Action that updates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; * @return The updateUserInstanceConfig. */ com.google.spanner.executor.v1.UpdateUserInstanceConfigAction getUpdateUserInstanceConfig(); /** - * - * *
    * Action that updates a user instance config.
    * 
* - * - * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; - * + * .google.spanner.executor.v1.UpdateUserInstanceConfigAction update_user_instance_config = 2; */ - com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder - getUpdateUserInstanceConfigOrBuilder(); + com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder getUpdateUserInstanceConfigOrBuilder(); /** - * - * *
    * Action that deletes a user instance config.
    * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; * @return Whether the deleteUserInstanceConfig field is set. */ boolean hasDeleteUserInstanceConfig(); /** - * - * *
    * Action that deletes a user instance config.
    * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; * @return The deleteUserInstanceConfig. */ com.google.spanner.executor.v1.DeleteUserInstanceConfigAction getDeleteUserInstanceConfig(); /** - * - * *
    * Action that deletes a user instance config.
    * 
* - * - * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; - * + * .google.spanner.executor.v1.DeleteUserInstanceConfigAction delete_user_instance_config = 3; */ - com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder - getDeleteUserInstanceConfigOrBuilder(); + com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder getDeleteUserInstanceConfigOrBuilder(); /** - * - * *
    * Action that gets a user instance config.
    * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; * @return Whether the getCloudInstanceConfig field is set. */ boolean hasGetCloudInstanceConfig(); /** - * - * *
    * Action that gets a user instance config.
    * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; * @return The getCloudInstanceConfig. */ com.google.spanner.executor.v1.GetCloudInstanceConfigAction getGetCloudInstanceConfig(); /** - * - * *
    * Action that gets a user instance config.
    * 
* - * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; - * + * .google.spanner.executor.v1.GetCloudInstanceConfigAction get_cloud_instance_config = 4; */ - com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder - getGetCloudInstanceConfigOrBuilder(); + com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder getGetCloudInstanceConfigOrBuilder(); /** - * - * *
    * Action that lists user instance configs.
    * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; * @return Whether the listInstanceConfigs field is set. */ boolean hasListInstanceConfigs(); /** - * - * *
    * Action that lists user instance configs.
    * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; * @return The listInstanceConfigs. */ com.google.spanner.executor.v1.ListCloudInstanceConfigsAction getListInstanceConfigs(); /** - * - * *
    * Action that lists user instance configs.
    * 
* - * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; - * + * .google.spanner.executor.v1.ListCloudInstanceConfigsAction list_instance_configs = 5; */ - com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder - getListInstanceConfigsOrBuilder(); + com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder getListInstanceConfigsOrBuilder(); /** - * - * *
    * Action that creates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; - * * @return Whether the createCloudInstance field is set. */ boolean hasCreateCloudInstance(); /** - * - * *
    * Action that creates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; - * * @return The createCloudInstance. */ com.google.spanner.executor.v1.CreateCloudInstanceAction getCreateCloudInstance(); /** - * - * *
    * Action that creates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.CreateCloudInstanceAction create_cloud_instance = 6; */ - com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder - getCreateCloudInstanceOrBuilder(); + com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder getCreateCloudInstanceOrBuilder(); /** - * - * *
    * Action that updates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; - * * @return Whether the updateCloudInstance field is set. */ boolean hasUpdateCloudInstance(); /** - * - * *
    * Action that updates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; - * * @return The updateCloudInstance. */ com.google.spanner.executor.v1.UpdateCloudInstanceAction getUpdateCloudInstance(); /** - * - * *
    * Action that updates a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.UpdateCloudInstanceAction update_cloud_instance = 7; */ - com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder - getUpdateCloudInstanceOrBuilder(); + com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder getUpdateCloudInstanceOrBuilder(); /** - * - * *
    * Action that deletes a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; - * * @return Whether the deleteCloudInstance field is set. */ boolean hasDeleteCloudInstance(); /** - * - * *
    * Action that deletes a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; - * * @return The deleteCloudInstance. */ com.google.spanner.executor.v1.DeleteCloudInstanceAction getDeleteCloudInstance(); /** - * - * *
    * Action that deletes a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.DeleteCloudInstanceAction delete_cloud_instance = 8; */ - com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder - getDeleteCloudInstanceOrBuilder(); + com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder getDeleteCloudInstanceOrBuilder(); /** - * - * *
    * Action that lists Cloud Spanner instances.
    * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; - * * @return Whether the listCloudInstances field is set. */ boolean hasListCloudInstances(); /** - * - * *
    * Action that lists Cloud Spanner instances.
    * 
* * .google.spanner.executor.v1.ListCloudInstancesAction list_cloud_instances = 9; - * * @return The listCloudInstances. */ com.google.spanner.executor.v1.ListCloudInstancesAction getListCloudInstances(); /** - * - * *
    * Action that lists Cloud Spanner instances.
    * 
@@ -372,32 +252,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder getListCloudInstancesOrBuilder(); /** - * - * *
    * Action that retrieves a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; - * * @return Whether the getCloudInstance field is set. */ boolean hasGetCloudInstance(); /** - * - * *
    * Action that retrieves a Cloud Spanner instance.
    * 
* * .google.spanner.executor.v1.GetCloudInstanceAction get_cloud_instance = 10; - * * @return The getCloudInstance. */ com.google.spanner.executor.v1.GetCloudInstanceAction getGetCloudInstance(); /** - * - * *
    * Action that retrieves a Cloud Spanner instance.
    * 
@@ -407,143 +279,105 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder getGetCloudInstanceOrBuilder(); /** - * - * *
    * Action that creates a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * * @return Whether the createCloudDatabase field is set. */ boolean hasCreateCloudDatabase(); /** - * - * *
    * Action that creates a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; - * * @return The createCloudDatabase. */ com.google.spanner.executor.v1.CreateCloudDatabaseAction getCreateCloudDatabase(); /** - * - * *
    * Action that creates a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.CreateCloudDatabaseAction create_cloud_database = 11; */ - com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder - getCreateCloudDatabaseOrBuilder(); + com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder getCreateCloudDatabaseOrBuilder(); /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; * @return Whether the updateCloudDatabaseDdl field is set. */ boolean hasUpdateCloudDatabaseDdl(); /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; * @return The updateCloudDatabaseDdl. */ com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction getUpdateCloudDatabaseDdl(); /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* - * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; - * + * .google.spanner.executor.v1.UpdateCloudDatabaseDdlAction update_cloud_database_ddl = 12; */ - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder - getUpdateCloudDatabaseDdlOrBuilder(); + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder getUpdateCloudDatabaseDdlOrBuilder(); /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * * @return Whether the updateCloudDatabase field is set. */ boolean hasUpdateCloudDatabase(); /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; - * * @return The updateCloudDatabase. */ com.google.spanner.executor.v1.UpdateCloudDatabaseAction getUpdateCloudDatabase(); /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.UpdateCloudDatabaseAction update_cloud_database = 27; */ - com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder - getUpdateCloudDatabaseOrBuilder(); + com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder getUpdateCloudDatabaseOrBuilder(); /** - * - * *
    * Action that drops a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; - * * @return Whether the dropCloudDatabase field is set. */ boolean hasDropCloudDatabase(); /** - * - * *
    * Action that drops a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.DropCloudDatabaseAction drop_cloud_database = 13; - * * @return The dropCloudDatabase. */ com.google.spanner.executor.v1.DropCloudDatabaseAction getDropCloudDatabase(); /** - * - * *
    * Action that drops a Cloud Spanner database.
    * 
@@ -553,32 +387,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder getDropCloudDatabaseOrBuilder(); /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; - * * @return Whether the listCloudDatabases field is set. */ boolean hasListCloudDatabases(); /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
* * .google.spanner.executor.v1.ListCloudDatabasesAction list_cloud_databases = 14; - * * @return The listCloudDatabases. */ com.google.spanner.executor.v1.ListCloudDatabasesAction getListCloudDatabases(); /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
@@ -588,113 +414,78 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder getListCloudDatabasesOrBuilder(); /** - * - * *
    * Action that lists Cloud Spanner database operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; * @return Whether the listCloudDatabaseOperations field is set. */ boolean hasListCloudDatabaseOperations(); /** - * - * *
    * Action that lists Cloud Spanner database operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; * @return The listCloudDatabaseOperations. */ com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction getListCloudDatabaseOperations(); /** - * - * *
    * Action that lists Cloud Spanner database operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; - * + * .google.spanner.executor.v1.ListCloudDatabaseOperationsAction list_cloud_database_operations = 15; */ - com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder - getListCloudDatabaseOperationsOrBuilder(); + com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder getListCloudDatabaseOperationsOrBuilder(); /** - * - * *
    * Action that restores a Cloud Spanner database from a backup.
    * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; * @return Whether the restoreCloudDatabase field is set. */ boolean hasRestoreCloudDatabase(); /** - * - * *
    * Action that restores a Cloud Spanner database from a backup.
    * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; * @return The restoreCloudDatabase. */ com.google.spanner.executor.v1.RestoreCloudDatabaseAction getRestoreCloudDatabase(); /** - * - * *
    * Action that restores a Cloud Spanner database from a backup.
    * 
* - * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; - * + * .google.spanner.executor.v1.RestoreCloudDatabaseAction restore_cloud_database = 16; */ - com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder - getRestoreCloudDatabaseOrBuilder(); + com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder getRestoreCloudDatabaseOrBuilder(); /** - * - * *
    * Action that gets a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; - * * @return Whether the getCloudDatabase field is set. */ boolean hasGetCloudDatabase(); /** - * - * *
    * Action that gets a Cloud Spanner database.
    * 
* * .google.spanner.executor.v1.GetCloudDatabaseAction get_cloud_database = 17; - * * @return The getCloudDatabase. */ com.google.spanner.executor.v1.GetCloudDatabaseAction getGetCloudDatabase(); /** - * - * *
    * Action that gets a Cloud Spanner database.
    * 
@@ -704,32 +495,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder getGetCloudDatabaseOrBuilder(); /** - * - * *
    * Action that creates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; - * * @return Whether the createCloudBackup field is set. */ boolean hasCreateCloudBackup(); /** - * - * *
    * Action that creates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CreateCloudBackupAction create_cloud_backup = 18; - * * @return The createCloudBackup. */ com.google.spanner.executor.v1.CreateCloudBackupAction getCreateCloudBackup(); /** - * - * *
    * Action that creates a Cloud Spanner database backup.
    * 
@@ -739,32 +522,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder getCreateCloudBackupOrBuilder(); /** - * - * *
    * Action that copies a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; - * * @return Whether the copyCloudBackup field is set. */ boolean hasCopyCloudBackup(); /** - * - * *
    * Action that copies a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.CopyCloudBackupAction copy_cloud_backup = 19; - * * @return The copyCloudBackup. */ com.google.spanner.executor.v1.CopyCloudBackupAction getCopyCloudBackup(); /** - * - * *
    * Action that copies a Cloud Spanner database backup.
    * 
@@ -774,32 +549,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder getCopyCloudBackupOrBuilder(); /** - * - * *
    * Action that gets a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; - * * @return Whether the getCloudBackup field is set. */ boolean hasGetCloudBackup(); /** - * - * *
    * Action that gets a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.GetCloudBackupAction get_cloud_backup = 20; - * * @return The getCloudBackup. */ com.google.spanner.executor.v1.GetCloudBackupAction getGetCloudBackup(); /** - * - * *
    * Action that gets a Cloud Spanner database backup.
    * 
@@ -809,32 +576,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder getGetCloudBackupOrBuilder(); /** - * - * *
    * Action that updates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; - * * @return Whether the updateCloudBackup field is set. */ boolean hasUpdateCloudBackup(); /** - * - * *
    * Action that updates a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.UpdateCloudBackupAction update_cloud_backup = 21; - * * @return The updateCloudBackup. */ com.google.spanner.executor.v1.UpdateCloudBackupAction getUpdateCloudBackup(); /** - * - * *
    * Action that updates a Cloud Spanner database backup.
    * 
@@ -844,32 +603,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder getUpdateCloudBackupOrBuilder(); /** - * - * *
    * Action that deletes a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; - * * @return Whether the deleteCloudBackup field is set. */ boolean hasDeleteCloudBackup(); /** - * - * *
    * Action that deletes a Cloud Spanner database backup.
    * 
* * .google.spanner.executor.v1.DeleteCloudBackupAction delete_cloud_backup = 22; - * * @return The deleteCloudBackup. */ com.google.spanner.executor.v1.DeleteCloudBackupAction getDeleteCloudBackup(); /** - * - * *
    * Action that deletes a Cloud Spanner database backup.
    * 
@@ -879,32 +630,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder getDeleteCloudBackupOrBuilder(); /** - * - * *
    * Action that lists Cloud Spanner database backups.
    * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; - * * @return Whether the listCloudBackups field is set. */ boolean hasListCloudBackups(); /** - * - * *
    * Action that lists Cloud Spanner database backups.
    * 
* * .google.spanner.executor.v1.ListCloudBackupsAction list_cloud_backups = 23; - * * @return The listCloudBackups. */ com.google.spanner.executor.v1.ListCloudBackupsAction getListCloudBackups(); /** - * - * *
    * Action that lists Cloud Spanner database backups.
    * 
@@ -914,74 +657,51 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder getListCloudBackupsOrBuilder(); /** - * - * *
    * Action that lists Cloud Spanner database backup operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; * @return Whether the listCloudBackupOperations field is set. */ boolean hasListCloudBackupOperations(); /** - * - * *
    * Action that lists Cloud Spanner database backup operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; * @return The listCloudBackupOperations. */ com.google.spanner.executor.v1.ListCloudBackupOperationsAction getListCloudBackupOperations(); /** - * - * *
    * Action that lists Cloud Spanner database backup operations.
    * 
* - * - * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; - * + * .google.spanner.executor.v1.ListCloudBackupOperationsAction list_cloud_backup_operations = 24; */ - com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder - getListCloudBackupOperationsOrBuilder(); + com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder getListCloudBackupOperationsOrBuilder(); /** - * - * *
    * Action that gets an operation.
    * 
* * .google.spanner.executor.v1.GetOperationAction get_operation = 25; - * * @return Whether the getOperation field is set. */ boolean hasGetOperation(); /** - * - * *
    * Action that gets an operation.
    * 
* * .google.spanner.executor.v1.GetOperationAction get_operation = 25; - * * @return The getOperation. */ com.google.spanner.executor.v1.GetOperationAction getGetOperation(); /** - * - * *
    * Action that gets an operation.
    * 
@@ -991,32 +711,24 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.GetOperationActionOrBuilder getGetOperationOrBuilder(); /** - * - * *
    * Action that cancels an operation.
    * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; - * * @return Whether the cancelOperation field is set. */ boolean hasCancelOperation(); /** - * - * *
    * Action that cancels an operation.
    * 
* * .google.spanner.executor.v1.CancelOperationAction cancel_operation = 26; - * * @return The cancelOperation. */ com.google.spanner.executor.v1.CancelOperationAction getCancelOperation(); /** - * - * *
    * Action that cancels an operation.
    * 
@@ -1026,46 +738,31 @@ public interface AdminActionOrBuilder com.google.spanner.executor.v1.CancelOperationActionOrBuilder getCancelOperationOrBuilder(); /** - * - * *
    * Action that reconfigures a Cloud Spanner database.
    * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; * @return Whether the reconfigureCloudDatabase field is set. */ boolean hasReconfigureCloudDatabase(); /** - * - * *
    * Action that reconfigures a Cloud Spanner database.
    * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; * @return The reconfigureCloudDatabase. */ com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction getReconfigureCloudDatabase(); /** - * - * *
    * Action that reconfigures a Cloud Spanner database.
    * 
* - * - * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; - * + * .google.spanner.executor.v1.ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28; */ - com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder - getReconfigureCloudDatabaseOrBuilder(); + com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder getReconfigureCloudDatabaseOrBuilder(); com.google.spanner.executor.v1.AdminAction.ActionCase getActionCase(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResult.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResult.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResult.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResult.java index c3a54e90482..f0259565b0d 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResult.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,59 +5,53 @@ package com.google.spanner.executor.v1; /** - * - * *
  * AdminResult contains admin action results, for database/backup/operation.
  * 
* * Protobuf type {@code google.spanner.executor.v1.AdminResult} */ -public final class AdminResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AdminResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.AdminResult) AdminResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AdminResult.newBuilder() to construct. private AdminResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AdminResult() {} + private AdminResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AdminResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_AdminResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.AdminResult.class, - com.google.spanner.executor.v1.AdminResult.Builder.class); + com.google.spanner.executor.v1.AdminResult.class, com.google.spanner.executor.v1.AdminResult.Builder.class); } private int bitField0_; public static final int BACKUP_RESPONSE_FIELD_NUMBER = 1; private com.google.spanner.executor.v1.CloudBackupResponse backupResponse_; /** - * - * *
    * Results of cloud backup related actions.
    * 
* * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; - * * @return Whether the backupResponse field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasBackupResponse() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Results of cloud backup related actions.
    * 
* * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; - * * @return The backupResponse. */ @java.lang.Override public com.google.spanner.executor.v1.CloudBackupResponse getBackupResponse() { - return backupResponse_ == null - ? com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() - : backupResponse_; + return backupResponse_ == null ? com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() : backupResponse_; } /** - * - * *
    * Results of cloud backup related actions.
    * 
@@ -107,22 +79,17 @@ public com.google.spanner.executor.v1.CloudBackupResponse getBackupResponse() { */ @java.lang.Override public com.google.spanner.executor.v1.CloudBackupResponseOrBuilder getBackupResponseOrBuilder() { - return backupResponse_ == null - ? com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() - : backupResponse_; + return backupResponse_ == null ? com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() : backupResponse_; } public static final int OPERATION_RESPONSE_FIELD_NUMBER = 2; private com.google.spanner.executor.v1.OperationResponse operationResponse_; /** - * - * *
    * Results of operation related actions.
    * 
* * .google.spanner.executor.v1.OperationResponse operation_response = 2; - * * @return Whether the operationResponse field is set. */ @java.lang.Override @@ -130,25 +97,18 @@ public boolean hasOperationResponse() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Results of operation related actions.
    * 
* * .google.spanner.executor.v1.OperationResponse operation_response = 2; - * * @return The operationResponse. */ @java.lang.Override public com.google.spanner.executor.v1.OperationResponse getOperationResponse() { - return operationResponse_ == null - ? com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() - : operationResponse_; + return operationResponse_ == null ? com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() : operationResponse_; } /** - * - * *
    * Results of operation related actions.
    * 
@@ -157,22 +117,17 @@ public com.google.spanner.executor.v1.OperationResponse getOperationResponse() { */ @java.lang.Override public com.google.spanner.executor.v1.OperationResponseOrBuilder getOperationResponseOrBuilder() { - return operationResponse_ == null - ? com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() - : operationResponse_; + return operationResponse_ == null ? com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() : operationResponse_; } public static final int DATABASE_RESPONSE_FIELD_NUMBER = 3; private com.google.spanner.executor.v1.CloudDatabaseResponse databaseResponse_; /** - * - * *
    * Results of database related actions.
    * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; - * * @return Whether the databaseResponse field is set. */ @java.lang.Override @@ -180,25 +135,18 @@ public boolean hasDatabaseResponse() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Results of database related actions.
    * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; - * * @return The databaseResponse. */ @java.lang.Override public com.google.spanner.executor.v1.CloudDatabaseResponse getDatabaseResponse() { - return databaseResponse_ == null - ? com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() - : databaseResponse_; + return databaseResponse_ == null ? com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() : databaseResponse_; } /** - * - * *
    * Results of database related actions.
    * 
@@ -206,24 +154,18 @@ public com.google.spanner.executor.v1.CloudDatabaseResponse getDatabaseResponse( * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder - getDatabaseResponseOrBuilder() { - return databaseResponse_ == null - ? com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() - : databaseResponse_; + public com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder getDatabaseResponseOrBuilder() { + return databaseResponse_ == null ? com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() : databaseResponse_; } public static final int INSTANCE_RESPONSE_FIELD_NUMBER = 4; private com.google.spanner.executor.v1.CloudInstanceResponse instanceResponse_; /** - * - * *
    * Results of instance related actions.
    * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; - * * @return Whether the instanceResponse field is set. */ @java.lang.Override @@ -231,25 +173,18 @@ public boolean hasInstanceResponse() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Results of instance related actions.
    * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; - * * @return The instanceResponse. */ @java.lang.Override public com.google.spanner.executor.v1.CloudInstanceResponse getInstanceResponse() { - return instanceResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() - : instanceResponse_; + return instanceResponse_ == null ? com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() : instanceResponse_; } /** - * - * *
    * Results of instance related actions.
    * 
@@ -257,25 +192,18 @@ public com.google.spanner.executor.v1.CloudInstanceResponse getInstanceResponse( * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; */ @java.lang.Override - public com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder - getInstanceResponseOrBuilder() { - return instanceResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() - : instanceResponse_; + public com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder getInstanceResponseOrBuilder() { + return instanceResponse_ == null ? com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() : instanceResponse_; } public static final int INSTANCE_CONFIG_RESPONSE_FIELD_NUMBER = 5; private com.google.spanner.executor.v1.CloudInstanceConfigResponse instanceConfigResponse_; /** - * - * *
    * Results of instance config related actions.
    * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; * @return Whether the instanceConfigResponse field is set. */ @java.lang.Override @@ -283,43 +211,30 @@ public boolean hasInstanceConfigResponse() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Results of instance config related actions.
    * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; * @return The instanceConfigResponse. */ @java.lang.Override public com.google.spanner.executor.v1.CloudInstanceConfigResponse getInstanceConfigResponse() { - return instanceConfigResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() - : instanceConfigResponse_; + return instanceConfigResponse_ == null ? com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() : instanceConfigResponse_; } /** - * - * *
    * Results of instance config related actions.
    * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ @java.lang.Override - public com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder - getInstanceConfigResponseOrBuilder() { - return instanceConfigResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() - : instanceConfigResponse_; + public com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder getInstanceConfigResponseOrBuilder() { + return instanceConfigResponse_ == null ? com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() : instanceConfigResponse_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBackupResponse()); } @@ -357,20 +273,24 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBackupResponse()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBackupResponse()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOperationResponse()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOperationResponse()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDatabaseResponse()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDatabaseResponse()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInstanceResponse()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInstanceResponse()); } if (((bitField0_ & 0x00000010) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInstanceConfigResponse()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInstanceConfigResponse()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -380,33 +300,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.AdminResult)) { return super.equals(obj); } - com.google.spanner.executor.v1.AdminResult other = - (com.google.spanner.executor.v1.AdminResult) obj; + com.google.spanner.executor.v1.AdminResult other = (com.google.spanner.executor.v1.AdminResult) obj; if (hasBackupResponse() != other.hasBackupResponse()) return false; if (hasBackupResponse()) { - if (!getBackupResponse().equals(other.getBackupResponse())) return false; + if (!getBackupResponse() + .equals(other.getBackupResponse())) return false; } if (hasOperationResponse() != other.hasOperationResponse()) return false; if (hasOperationResponse()) { - if (!getOperationResponse().equals(other.getOperationResponse())) return false; + if (!getOperationResponse() + .equals(other.getOperationResponse())) return false; } if (hasDatabaseResponse() != other.hasDatabaseResponse()) return false; if (hasDatabaseResponse()) { - if (!getDatabaseResponse().equals(other.getDatabaseResponse())) return false; + if (!getDatabaseResponse() + .equals(other.getDatabaseResponse())) return false; } if (hasInstanceResponse() != other.hasInstanceResponse()) return false; if (hasInstanceResponse()) { - if (!getInstanceResponse().equals(other.getInstanceResponse())) return false; + if (!getInstanceResponse() + .equals(other.getInstanceResponse())) return false; } if (hasInstanceConfigResponse() != other.hasInstanceConfigResponse()) return false; if (hasInstanceConfigResponse()) { - if (!getInstanceConfigResponse().equals(other.getInstanceConfigResponse())) return false; + if (!getInstanceConfigResponse() + .equals(other.getInstanceConfigResponse())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -444,127 +368,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.AdminResult parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.AdminResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.AdminResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.AdminResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.AdminResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.AdminResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.AdminResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.AdminResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.AdminResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.AdminResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.AdminResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AdminResult contains admin action results, for database/backup/operation.
    * 
* * Protobuf type {@code google.spanner.executor.v1.AdminResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.AdminResult) com.google.spanner.executor.v1.AdminResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_AdminResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.AdminResult.class, - com.google.spanner.executor.v1.AdminResult.Builder.class); + com.google.spanner.executor.v1.AdminResult.class, com.google.spanner.executor.v1.AdminResult.Builder.class); } // Construct using com.google.spanner.executor.v1.AdminResult.newBuilder() @@ -572,13 +489,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBackupResponseFieldBuilder(); getOperationResponseFieldBuilder(); getDatabaseResponseFieldBuilder(); @@ -586,7 +504,6 @@ private void maybeForceBuilderInitialization() { getInstanceConfigResponseFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_AdminResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_AdminResult_descriptor; } @java.lang.Override @@ -641,11 +558,8 @@ public com.google.spanner.executor.v1.AdminResult build() { @java.lang.Override public com.google.spanner.executor.v1.AdminResult buildPartial() { - com.google.spanner.executor.v1.AdminResult result = - new com.google.spanner.executor.v1.AdminResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.AdminResult result = new com.google.spanner.executor.v1.AdminResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -654,32 +568,33 @@ private void buildPartial0(com.google.spanner.executor.v1.AdminResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.backupResponse_ = - backupResponseBuilder_ == null ? backupResponse_ : backupResponseBuilder_.build(); + result.backupResponse_ = backupResponseBuilder_ == null + ? backupResponse_ + : backupResponseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.operationResponse_ = - operationResponseBuilder_ == null - ? operationResponse_ - : operationResponseBuilder_.build(); + result.operationResponse_ = operationResponseBuilder_ == null + ? operationResponse_ + : operationResponseBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.databaseResponse_ = - databaseResponseBuilder_ == null ? databaseResponse_ : databaseResponseBuilder_.build(); + result.databaseResponse_ = databaseResponseBuilder_ == null + ? databaseResponse_ + : databaseResponseBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.instanceResponse_ = - instanceResponseBuilder_ == null ? instanceResponse_ : instanceResponseBuilder_.build(); + result.instanceResponse_ = instanceResponseBuilder_ == null + ? instanceResponse_ + : instanceResponseBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.instanceConfigResponse_ = - instanceConfigResponseBuilder_ == null - ? instanceConfigResponse_ - : instanceConfigResponseBuilder_.build(); + result.instanceConfigResponse_ = instanceConfigResponseBuilder_ == null + ? instanceConfigResponse_ + : instanceConfigResponseBuilder_.build(); to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; @@ -689,39 +604,38 @@ private void buildPartial0(com.google.spanner.executor.v1.AdminResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.AdminResult) { - return mergeFrom((com.google.spanner.executor.v1.AdminResult) other); + return mergeFrom((com.google.spanner.executor.v1.AdminResult)other); } else { super.mergeFrom(other); return this; @@ -771,47 +685,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getBackupResponseFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getOperationResponseFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getDatabaseResponseFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getInstanceResponseFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage( - getInstanceConfigResponseFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBackupResponseFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getOperationResponseFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getDatabaseResponseFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getInstanceResponseFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getInstanceConfigResponseFieldBuilder().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) { @@ -821,52 +735,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.spanner.executor.v1.CloudBackupResponse backupResponse_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudBackupResponse, - com.google.spanner.executor.v1.CloudBackupResponse.Builder, - com.google.spanner.executor.v1.CloudBackupResponseOrBuilder> - backupResponseBuilder_; + com.google.spanner.executor.v1.CloudBackupResponse, com.google.spanner.executor.v1.CloudBackupResponse.Builder, com.google.spanner.executor.v1.CloudBackupResponseOrBuilder> backupResponseBuilder_; /** - * - * *
      * Results of cloud backup related actions.
      * 
* * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; - * * @return Whether the backupResponse field is set. */ public boolean hasBackupResponse() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Results of cloud backup related actions.
      * 
* * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; - * * @return The backupResponse. */ public com.google.spanner.executor.v1.CloudBackupResponse getBackupResponse() { if (backupResponseBuilder_ == null) { - return backupResponse_ == null - ? com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() - : backupResponse_; + return backupResponse_ == null ? com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() : backupResponse_; } else { return backupResponseBuilder_.getMessage(); } } /** - * - * *
      * Results of cloud backup related actions.
      * 
@@ -887,8 +787,6 @@ public Builder setBackupResponse(com.google.spanner.executor.v1.CloudBackupRespo return this; } /** - * - * *
      * Results of cloud backup related actions.
      * 
@@ -907,8 +805,6 @@ public Builder setBackupResponse( return this; } /** - * - * *
      * Results of cloud backup related actions.
      * 
@@ -917,10 +813,9 @@ public Builder setBackupResponse( */ public Builder mergeBackupResponse(com.google.spanner.executor.v1.CloudBackupResponse value) { if (backupResponseBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && backupResponse_ != null - && backupResponse_ - != com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + backupResponse_ != null && + backupResponse_ != com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance()) { getBackupResponseBuilder().mergeFrom(value); } else { backupResponse_ = value; @@ -935,8 +830,6 @@ public Builder mergeBackupResponse(com.google.spanner.executor.v1.CloudBackupRes return this; } /** - * - * *
      * Results of cloud backup related actions.
      * 
@@ -954,8 +847,6 @@ public Builder clearBackupResponse() { return this; } /** - * - * *
      * Results of cloud backup related actions.
      * 
@@ -968,27 +859,21 @@ public com.google.spanner.executor.v1.CloudBackupResponse.Builder getBackupRespo return getBackupResponseFieldBuilder().getBuilder(); } /** - * - * *
      * Results of cloud backup related actions.
      * 
* * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; */ - public com.google.spanner.executor.v1.CloudBackupResponseOrBuilder - getBackupResponseOrBuilder() { + public com.google.spanner.executor.v1.CloudBackupResponseOrBuilder getBackupResponseOrBuilder() { if (backupResponseBuilder_ != null) { return backupResponseBuilder_.getMessageOrBuilder(); } else { - return backupResponse_ == null - ? com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() - : backupResponse_; + return backupResponse_ == null ? + com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance() : backupResponse_; } } /** - * - * *
      * Results of cloud backup related actions.
      * 
@@ -996,17 +881,14 @@ public com.google.spanner.executor.v1.CloudBackupResponse.Builder getBackupRespo * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudBackupResponse, - com.google.spanner.executor.v1.CloudBackupResponse.Builder, - com.google.spanner.executor.v1.CloudBackupResponseOrBuilder> + com.google.spanner.executor.v1.CloudBackupResponse, com.google.spanner.executor.v1.CloudBackupResponse.Builder, com.google.spanner.executor.v1.CloudBackupResponseOrBuilder> getBackupResponseFieldBuilder() { if (backupResponseBuilder_ == null) { - backupResponseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudBackupResponse, - com.google.spanner.executor.v1.CloudBackupResponse.Builder, - com.google.spanner.executor.v1.CloudBackupResponseOrBuilder>( - getBackupResponse(), getParentForChildren(), isClean()); + backupResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CloudBackupResponse, com.google.spanner.executor.v1.CloudBackupResponse.Builder, com.google.spanner.executor.v1.CloudBackupResponseOrBuilder>( + getBackupResponse(), + getParentForChildren(), + isClean()); backupResponse_ = null; } return backupResponseBuilder_; @@ -1014,47 +896,34 @@ public com.google.spanner.executor.v1.CloudBackupResponse.Builder getBackupRespo private com.google.spanner.executor.v1.OperationResponse operationResponse_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.OperationResponse, - com.google.spanner.executor.v1.OperationResponse.Builder, - com.google.spanner.executor.v1.OperationResponseOrBuilder> - operationResponseBuilder_; + com.google.spanner.executor.v1.OperationResponse, com.google.spanner.executor.v1.OperationResponse.Builder, com.google.spanner.executor.v1.OperationResponseOrBuilder> operationResponseBuilder_; /** - * - * *
      * Results of operation related actions.
      * 
* * .google.spanner.executor.v1.OperationResponse operation_response = 2; - * * @return Whether the operationResponse field is set. */ public boolean hasOperationResponse() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Results of operation related actions.
      * 
* * .google.spanner.executor.v1.OperationResponse operation_response = 2; - * * @return The operationResponse. */ public com.google.spanner.executor.v1.OperationResponse getOperationResponse() { if (operationResponseBuilder_ == null) { - return operationResponse_ == null - ? com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() - : operationResponse_; + return operationResponse_ == null ? com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() : operationResponse_; } else { return operationResponseBuilder_.getMessage(); } } /** - * - * *
      * Results of operation related actions.
      * 
@@ -1075,8 +944,6 @@ public Builder setOperationResponse(com.google.spanner.executor.v1.OperationResp return this; } /** - * - * *
      * Results of operation related actions.
      * 
@@ -1095,8 +962,6 @@ public Builder setOperationResponse( return this; } /** - * - * *
      * Results of operation related actions.
      * 
@@ -1105,10 +970,9 @@ public Builder setOperationResponse( */ public Builder mergeOperationResponse(com.google.spanner.executor.v1.OperationResponse value) { if (operationResponseBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && operationResponse_ != null - && operationResponse_ - != com.google.spanner.executor.v1.OperationResponse.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + operationResponse_ != null && + operationResponse_ != com.google.spanner.executor.v1.OperationResponse.getDefaultInstance()) { getOperationResponseBuilder().mergeFrom(value); } else { operationResponse_ = value; @@ -1123,8 +987,6 @@ public Builder mergeOperationResponse(com.google.spanner.executor.v1.OperationRe return this; } /** - * - * *
      * Results of operation related actions.
      * 
@@ -1142,8 +1004,6 @@ public Builder clearOperationResponse() { return this; } /** - * - * *
      * Results of operation related actions.
      * 
@@ -1156,27 +1016,21 @@ public com.google.spanner.executor.v1.OperationResponse.Builder getOperationResp return getOperationResponseFieldBuilder().getBuilder(); } /** - * - * *
      * Results of operation related actions.
      * 
* * .google.spanner.executor.v1.OperationResponse operation_response = 2; */ - public com.google.spanner.executor.v1.OperationResponseOrBuilder - getOperationResponseOrBuilder() { + public com.google.spanner.executor.v1.OperationResponseOrBuilder getOperationResponseOrBuilder() { if (operationResponseBuilder_ != null) { return operationResponseBuilder_.getMessageOrBuilder(); } else { - return operationResponse_ == null - ? com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() - : operationResponse_; + return operationResponse_ == null ? + com.google.spanner.executor.v1.OperationResponse.getDefaultInstance() : operationResponse_; } } /** - * - * *
      * Results of operation related actions.
      * 
@@ -1184,17 +1038,14 @@ public com.google.spanner.executor.v1.OperationResponse.Builder getOperationResp * .google.spanner.executor.v1.OperationResponse operation_response = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.OperationResponse, - com.google.spanner.executor.v1.OperationResponse.Builder, - com.google.spanner.executor.v1.OperationResponseOrBuilder> + com.google.spanner.executor.v1.OperationResponse, com.google.spanner.executor.v1.OperationResponse.Builder, com.google.spanner.executor.v1.OperationResponseOrBuilder> getOperationResponseFieldBuilder() { if (operationResponseBuilder_ == null) { - operationResponseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.OperationResponse, - com.google.spanner.executor.v1.OperationResponse.Builder, - com.google.spanner.executor.v1.OperationResponseOrBuilder>( - getOperationResponse(), getParentForChildren(), isClean()); + operationResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.OperationResponse, com.google.spanner.executor.v1.OperationResponse.Builder, com.google.spanner.executor.v1.OperationResponseOrBuilder>( + getOperationResponse(), + getParentForChildren(), + isClean()); operationResponse_ = null; } return operationResponseBuilder_; @@ -1202,47 +1053,34 @@ public com.google.spanner.executor.v1.OperationResponse.Builder getOperationResp private com.google.spanner.executor.v1.CloudDatabaseResponse databaseResponse_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudDatabaseResponse, - com.google.spanner.executor.v1.CloudDatabaseResponse.Builder, - com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder> - databaseResponseBuilder_; + com.google.spanner.executor.v1.CloudDatabaseResponse, com.google.spanner.executor.v1.CloudDatabaseResponse.Builder, com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder> databaseResponseBuilder_; /** - * - * *
      * Results of database related actions.
      * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; - * * @return Whether the databaseResponse field is set. */ public boolean hasDatabaseResponse() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Results of database related actions.
      * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; - * * @return The databaseResponse. */ public com.google.spanner.executor.v1.CloudDatabaseResponse getDatabaseResponse() { if (databaseResponseBuilder_ == null) { - return databaseResponse_ == null - ? com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() - : databaseResponse_; + return databaseResponse_ == null ? com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() : databaseResponse_; } else { return databaseResponseBuilder_.getMessage(); } } /** - * - * *
      * Results of database related actions.
      * 
@@ -1263,8 +1101,6 @@ public Builder setDatabaseResponse(com.google.spanner.executor.v1.CloudDatabaseR return this; } /** - * - * *
      * Results of database related actions.
      * 
@@ -1283,21 +1119,17 @@ public Builder setDatabaseResponse( return this; } /** - * - * *
      * Results of database related actions.
      * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; */ - public Builder mergeDatabaseResponse( - com.google.spanner.executor.v1.CloudDatabaseResponse value) { + public Builder mergeDatabaseResponse(com.google.spanner.executor.v1.CloudDatabaseResponse value) { if (databaseResponseBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && databaseResponse_ != null - && databaseResponse_ - != com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + databaseResponse_ != null && + databaseResponse_ != com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance()) { getDatabaseResponseBuilder().mergeFrom(value); } else { databaseResponse_ = value; @@ -1312,8 +1144,6 @@ public Builder mergeDatabaseResponse( return this; } /** - * - * *
      * Results of database related actions.
      * 
@@ -1331,42 +1161,33 @@ public Builder clearDatabaseResponse() { return this; } /** - * - * *
      * Results of database related actions.
      * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; */ - public com.google.spanner.executor.v1.CloudDatabaseResponse.Builder - getDatabaseResponseBuilder() { + public com.google.spanner.executor.v1.CloudDatabaseResponse.Builder getDatabaseResponseBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDatabaseResponseFieldBuilder().getBuilder(); } /** - * - * *
      * Results of database related actions.
      * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; */ - public com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder - getDatabaseResponseOrBuilder() { + public com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder getDatabaseResponseOrBuilder() { if (databaseResponseBuilder_ != null) { return databaseResponseBuilder_.getMessageOrBuilder(); } else { - return databaseResponse_ == null - ? com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() - : databaseResponse_; + return databaseResponse_ == null ? + com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance() : databaseResponse_; } } /** - * - * *
      * Results of database related actions.
      * 
@@ -1374,17 +1195,14 @@ public Builder clearDatabaseResponse() { * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudDatabaseResponse, - com.google.spanner.executor.v1.CloudDatabaseResponse.Builder, - com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder> + com.google.spanner.executor.v1.CloudDatabaseResponse, com.google.spanner.executor.v1.CloudDatabaseResponse.Builder, com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder> getDatabaseResponseFieldBuilder() { if (databaseResponseBuilder_ == null) { - databaseResponseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudDatabaseResponse, - com.google.spanner.executor.v1.CloudDatabaseResponse.Builder, - com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder>( - getDatabaseResponse(), getParentForChildren(), isClean()); + databaseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CloudDatabaseResponse, com.google.spanner.executor.v1.CloudDatabaseResponse.Builder, com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder>( + getDatabaseResponse(), + getParentForChildren(), + isClean()); databaseResponse_ = null; } return databaseResponseBuilder_; @@ -1392,47 +1210,34 @@ public Builder clearDatabaseResponse() { private com.google.spanner.executor.v1.CloudInstanceResponse instanceResponse_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudInstanceResponse, - com.google.spanner.executor.v1.CloudInstanceResponse.Builder, - com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder> - instanceResponseBuilder_; + com.google.spanner.executor.v1.CloudInstanceResponse, com.google.spanner.executor.v1.CloudInstanceResponse.Builder, com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder> instanceResponseBuilder_; /** - * - * *
      * Results of instance related actions.
      * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; - * * @return Whether the instanceResponse field is set. */ public boolean hasInstanceResponse() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Results of instance related actions.
      * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; - * * @return The instanceResponse. */ public com.google.spanner.executor.v1.CloudInstanceResponse getInstanceResponse() { if (instanceResponseBuilder_ == null) { - return instanceResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() - : instanceResponse_; + return instanceResponse_ == null ? com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() : instanceResponse_; } else { return instanceResponseBuilder_.getMessage(); } } /** - * - * *
      * Results of instance related actions.
      * 
@@ -1453,8 +1258,6 @@ public Builder setInstanceResponse(com.google.spanner.executor.v1.CloudInstanceR return this; } /** - * - * *
      * Results of instance related actions.
      * 
@@ -1473,21 +1276,17 @@ public Builder setInstanceResponse( return this; } /** - * - * *
      * Results of instance related actions.
      * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; */ - public Builder mergeInstanceResponse( - com.google.spanner.executor.v1.CloudInstanceResponse value) { + public Builder mergeInstanceResponse(com.google.spanner.executor.v1.CloudInstanceResponse value) { if (instanceResponseBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && instanceResponse_ != null - && instanceResponse_ - != com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + instanceResponse_ != null && + instanceResponse_ != com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance()) { getInstanceResponseBuilder().mergeFrom(value); } else { instanceResponse_ = value; @@ -1502,8 +1301,6 @@ public Builder mergeInstanceResponse( return this; } /** - * - * *
      * Results of instance related actions.
      * 
@@ -1521,42 +1318,33 @@ public Builder clearInstanceResponse() { return this; } /** - * - * *
      * Results of instance related actions.
      * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; */ - public com.google.spanner.executor.v1.CloudInstanceResponse.Builder - getInstanceResponseBuilder() { + public com.google.spanner.executor.v1.CloudInstanceResponse.Builder getInstanceResponseBuilder() { bitField0_ |= 0x00000008; onChanged(); return getInstanceResponseFieldBuilder().getBuilder(); } /** - * - * *
      * Results of instance related actions.
      * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; */ - public com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder - getInstanceResponseOrBuilder() { + public com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder getInstanceResponseOrBuilder() { if (instanceResponseBuilder_ != null) { return instanceResponseBuilder_.getMessageOrBuilder(); } else { - return instanceResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() - : instanceResponse_; + return instanceResponse_ == null ? + com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance() : instanceResponse_; } } /** - * - * *
      * Results of instance related actions.
      * 
@@ -1564,17 +1352,14 @@ public Builder clearInstanceResponse() { * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudInstanceResponse, - com.google.spanner.executor.v1.CloudInstanceResponse.Builder, - com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder> + com.google.spanner.executor.v1.CloudInstanceResponse, com.google.spanner.executor.v1.CloudInstanceResponse.Builder, com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder> getInstanceResponseFieldBuilder() { if (instanceResponseBuilder_ == null) { - instanceResponseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudInstanceResponse, - com.google.spanner.executor.v1.CloudInstanceResponse.Builder, - com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder>( - getInstanceResponse(), getParentForChildren(), isClean()); + instanceResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CloudInstanceResponse, com.google.spanner.executor.v1.CloudInstanceResponse.Builder, com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder>( + getInstanceResponse(), + getParentForChildren(), + isClean()); instanceResponse_ = null; } return instanceResponseBuilder_; @@ -1582,58 +1367,41 @@ public Builder clearInstanceResponse() { private com.google.spanner.executor.v1.CloudInstanceConfigResponse instanceConfigResponse_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudInstanceConfigResponse, - com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder, - com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder> - instanceConfigResponseBuilder_; + com.google.spanner.executor.v1.CloudInstanceConfigResponse, com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder, com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder> instanceConfigResponseBuilder_; /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; * @return Whether the instanceConfigResponse field is set. */ public boolean hasInstanceConfigResponse() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; * @return The instanceConfigResponse. */ public com.google.spanner.executor.v1.CloudInstanceConfigResponse getInstanceConfigResponse() { if (instanceConfigResponseBuilder_ == null) { - return instanceConfigResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() - : instanceConfigResponse_; + return instanceConfigResponse_ == null ? com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() : instanceConfigResponse_; } else { return instanceConfigResponseBuilder_.getMessage(); } } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ - public Builder setInstanceConfigResponse( - com.google.spanner.executor.v1.CloudInstanceConfigResponse value) { + public Builder setInstanceConfigResponse(com.google.spanner.executor.v1.CloudInstanceConfigResponse value) { if (instanceConfigResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1647,14 +1415,11 @@ public Builder setInstanceConfigResponse( return this; } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ public Builder setInstanceConfigResponse( com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder builderForValue) { @@ -1668,23 +1433,17 @@ public Builder setInstanceConfigResponse( return this; } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ - public Builder mergeInstanceConfigResponse( - com.google.spanner.executor.v1.CloudInstanceConfigResponse value) { + public Builder mergeInstanceConfigResponse(com.google.spanner.executor.v1.CloudInstanceConfigResponse value) { if (instanceConfigResponseBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && instanceConfigResponse_ != null - && instanceConfigResponse_ - != com.google.spanner.executor.v1.CloudInstanceConfigResponse - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + instanceConfigResponse_ != null && + instanceConfigResponse_ != com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance()) { getInstanceConfigResponseBuilder().mergeFrom(value); } else { instanceConfigResponse_ = value; @@ -1699,14 +1458,11 @@ public Builder mergeInstanceConfigResponse( return this; } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ public Builder clearInstanceConfigResponse() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1719,70 +1475,55 @@ public Builder clearInstanceConfigResponse() { return this; } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ - public com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder - getInstanceConfigResponseBuilder() { + public com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder getInstanceConfigResponseBuilder() { bitField0_ |= 0x00000010; onChanged(); return getInstanceConfigResponseFieldBuilder().getBuilder(); } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ - public com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder - getInstanceConfigResponseOrBuilder() { + public com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder getInstanceConfigResponseOrBuilder() { if (instanceConfigResponseBuilder_ != null) { return instanceConfigResponseBuilder_.getMessageOrBuilder(); } else { - return instanceConfigResponse_ == null - ? com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() - : instanceConfigResponse_; + return instanceConfigResponse_ == null ? + com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance() : instanceConfigResponse_; } } /** - * - * *
      * Results of instance config related actions.
      * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudInstanceConfigResponse, - com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder, - com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder> + com.google.spanner.executor.v1.CloudInstanceConfigResponse, com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder, com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder> getInstanceConfigResponseFieldBuilder() { if (instanceConfigResponseBuilder_ == null) { - instanceConfigResponseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloudInstanceConfigResponse, - com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder, - com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder>( - getInstanceConfigResponse(), getParentForChildren(), isClean()); + instanceConfigResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CloudInstanceConfigResponse, com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder, com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder>( + getInstanceConfigResponse(), + getParentForChildren(), + isClean()); instanceConfigResponse_ = null; } return instanceConfigResponseBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1792,12 +1533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.AdminResult) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.AdminResult) private static final com.google.spanner.executor.v1.AdminResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.AdminResult(); } @@ -1806,27 +1547,27 @@ public static com.google.spanner.executor.v1.AdminResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdminResult 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminResult 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; @@ -1841,4 +1582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.AdminResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResultOrBuilder.java similarity index 80% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResultOrBuilder.java index a1b85912884..944608111e3 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/AdminResultOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface AdminResultOrBuilder - extends +public interface AdminResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.AdminResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Results of cloud backup related actions.
    * 
* * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; - * * @return Whether the backupResponse field is set. */ boolean hasBackupResponse(); /** - * - * *
    * Results of cloud backup related actions.
    * 
* * .google.spanner.executor.v1.CloudBackupResponse backup_response = 1; - * * @return The backupResponse. */ com.google.spanner.executor.v1.CloudBackupResponse getBackupResponse(); /** - * - * *
    * Results of cloud backup related actions.
    * 
@@ -60,32 +36,24 @@ public interface AdminResultOrBuilder com.google.spanner.executor.v1.CloudBackupResponseOrBuilder getBackupResponseOrBuilder(); /** - * - * *
    * Results of operation related actions.
    * 
* * .google.spanner.executor.v1.OperationResponse operation_response = 2; - * * @return Whether the operationResponse field is set. */ boolean hasOperationResponse(); /** - * - * *
    * Results of operation related actions.
    * 
* * .google.spanner.executor.v1.OperationResponse operation_response = 2; - * * @return The operationResponse. */ com.google.spanner.executor.v1.OperationResponse getOperationResponse(); /** - * - * *
    * Results of operation related actions.
    * 
@@ -95,32 +63,24 @@ public interface AdminResultOrBuilder com.google.spanner.executor.v1.OperationResponseOrBuilder getOperationResponseOrBuilder(); /** - * - * *
    * Results of database related actions.
    * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; - * * @return Whether the databaseResponse field is set. */ boolean hasDatabaseResponse(); /** - * - * *
    * Results of database related actions.
    * 
* * .google.spanner.executor.v1.CloudDatabaseResponse database_response = 3; - * * @return The databaseResponse. */ com.google.spanner.executor.v1.CloudDatabaseResponse getDatabaseResponse(); /** - * - * *
    * Results of database related actions.
    * 
@@ -130,32 +90,24 @@ public interface AdminResultOrBuilder com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder getDatabaseResponseOrBuilder(); /** - * - * *
    * Results of instance related actions.
    * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; - * * @return Whether the instanceResponse field is set. */ boolean hasInstanceResponse(); /** - * - * *
    * Results of instance related actions.
    * 
* * .google.spanner.executor.v1.CloudInstanceResponse instance_response = 4; - * * @return The instanceResponse. */ com.google.spanner.executor.v1.CloudInstanceResponse getInstanceResponse(); /** - * - * *
    * Results of instance related actions.
    * 
@@ -165,41 +117,29 @@ public interface AdminResultOrBuilder com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder getInstanceResponseOrBuilder(); /** - * - * *
    * Results of instance config related actions.
    * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; * @return Whether the instanceConfigResponse field is set. */ boolean hasInstanceConfigResponse(); /** - * - * *
    * Results of instance config related actions.
    * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; * @return The instanceConfigResponse. */ com.google.spanner.executor.v1.CloudInstanceConfigResponse getInstanceConfigResponse(); /** - * - * *
    * Results of instance config related actions.
    * 
* - * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; - * + * .google.spanner.executor.v1.CloudInstanceConfigResponse instance_config_response = 5; */ - com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder - getInstanceConfigResponseOrBuilder(); + com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder getInstanceConfigResponseOrBuilder(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlAction.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlAction.java index b4649d75064..566565bcbea 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,56 +5,49 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Batch of DML statements invoked using batched execution.
  * 
* * Protobuf type {@code google.spanner.executor.v1.BatchDmlAction} */ -public final class BatchDmlAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDmlAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.BatchDmlAction) BatchDmlActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDmlAction.newBuilder() to construct. private BatchDmlAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchDmlAction() { updates_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDmlAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.BatchDmlAction.class, - com.google.spanner.executor.v1.BatchDmlAction.Builder.class); + com.google.spanner.executor.v1.BatchDmlAction.class, com.google.spanner.executor.v1.BatchDmlAction.Builder.class); } public static final int UPDATES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List updates_; /** - * - * *
    * DML statements.
    * 
@@ -81,8 +59,6 @@ public java.util.List getUpdatesList return updates_; } /** - * - * *
    * DML statements.
    * 
@@ -90,13 +66,11 @@ public java.util.List getUpdatesList * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUpdatesOrBuilderList() { return updates_; } /** - * - * *
    * DML statements.
    * 
@@ -108,8 +82,6 @@ public int getUpdatesCount() { return updates_.size(); } /** - * - * *
    * DML statements.
    * 
@@ -121,8 +93,6 @@ public com.google.spanner.executor.v1.QueryAction getUpdates(int index) { return updates_.get(index); } /** - * - * *
    * DML statements.
    * 
@@ -130,12 +100,12 @@ public com.google.spanner.executor.v1.QueryAction getUpdates(int index) { * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ @java.lang.Override - public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder(int index) { + public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder( + int index) { return updates_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < updates_.size(); i++) { output.writeMessage(1, updates_.get(i)); } @@ -161,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < updates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, updates_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, updates_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.BatchDmlAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.BatchDmlAction other = - (com.google.spanner.executor.v1.BatchDmlAction) obj; + com.google.spanner.executor.v1.BatchDmlAction other = (com.google.spanner.executor.v1.BatchDmlAction) obj; - if (!getUpdatesList().equals(other.getUpdatesList())) return false; + if (!getUpdatesList() + .equals(other.getUpdatesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,136 +172,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchDmlAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.BatchDmlAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.BatchDmlAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.BatchDmlAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.BatchDmlAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Batch of DML statements invoked using batched execution.
    * 
* * Protobuf type {@code google.spanner.executor.v1.BatchDmlAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.BatchDmlAction) com.google.spanner.executor.v1.BatchDmlActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.BatchDmlAction.class, - com.google.spanner.executor.v1.BatchDmlAction.Builder.class); + com.google.spanner.executor.v1.BatchDmlAction.class, com.google.spanner.executor.v1.BatchDmlAction.Builder.class); } // Construct using com.google.spanner.executor.v1.BatchDmlAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; } @java.lang.Override @@ -366,12 +334,9 @@ public com.google.spanner.executor.v1.BatchDmlAction build() { @java.lang.Override public com.google.spanner.executor.v1.BatchDmlAction buildPartial() { - com.google.spanner.executor.v1.BatchDmlAction result = - new com.google.spanner.executor.v1.BatchDmlAction(this); + com.google.spanner.executor.v1.BatchDmlAction result = new com.google.spanner.executor.v1.BatchDmlAction(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -396,39 +361,38 @@ private void buildPartial0(com.google.spanner.executor.v1.BatchDmlAction result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.BatchDmlAction) { - return mergeFrom((com.google.spanner.executor.v1.BatchDmlAction) other); + return mergeFrom((com.google.spanner.executor.v1.BatchDmlAction)other); } else { super.mergeFrom(other); return this; @@ -455,10 +419,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.BatchDmlAction other) { updatesBuilder_ = null; updates_ = other.updates_; bitField0_ = (bitField0_ & ~0x00000001); - updatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUpdatesFieldBuilder() - : null; + updatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUpdatesFieldBuilder() : null; } else { updatesBuilder_.addAllMessages(other.updates_); } @@ -490,26 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.executor.v1.QueryAction m = - input.readMessage( - com.google.spanner.executor.v1.QueryAction.parser(), extensionRegistry); - if (updatesBuilder_ == null) { - ensureUpdatesIsMutable(); - updates_.add(m); - } else { - updatesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.executor.v1.QueryAction m = + input.readMessage( + com.google.spanner.executor.v1.QueryAction.parser(), + extensionRegistry); + if (updatesBuilder_ == null) { + ensureUpdatesIsMutable(); + updates_.add(m); + } else { + updatesBuilder_.addMessage(m); + } + 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) { @@ -519,28 +481,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List updates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUpdatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { updates_ = new java.util.ArrayList(updates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> - updatesBuilder_; + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> updatesBuilder_; /** - * - * *
      * DML statements.
      * 
@@ -555,8 +510,6 @@ public java.util.List getUpdatesList } } /** - * - * *
      * DML statements.
      * 
@@ -571,8 +524,6 @@ public int getUpdatesCount() { } } /** - * - * *
      * DML statements.
      * 
@@ -587,15 +538,14 @@ public com.google.spanner.executor.v1.QueryAction getUpdates(int index) { } } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public Builder setUpdates(int index, com.google.spanner.executor.v1.QueryAction value) { + public Builder setUpdates( + int index, com.google.spanner.executor.v1.QueryAction value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -609,8 +559,6 @@ public Builder setUpdates(int index, com.google.spanner.executor.v1.QueryAction return this; } /** - * - * *
      * DML statements.
      * 
@@ -629,8 +577,6 @@ public Builder setUpdates( return this; } /** - * - * *
      * DML statements.
      * 
@@ -651,15 +597,14 @@ public Builder addUpdates(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public Builder addUpdates(int index, com.google.spanner.executor.v1.QueryAction value) { + public Builder addUpdates( + int index, com.google.spanner.executor.v1.QueryAction value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,15 +618,14 @@ public Builder addUpdates(int index, com.google.spanner.executor.v1.QueryAction return this; } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public Builder addUpdates(com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { + public Builder addUpdates( + com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.add(builderForValue.build()); @@ -692,8 +636,6 @@ public Builder addUpdates(com.google.spanner.executor.v1.QueryAction.Builder bui return this; } /** - * - * *
      * DML statements.
      * 
@@ -712,8 +654,6 @@ public Builder addUpdates( return this; } /** - * - * *
      * DML statements.
      * 
@@ -724,7 +664,8 @@ public Builder addAllUpdates( java.lang.Iterable values) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, updates_); onChanged(); } else { updatesBuilder_.addAllMessages(values); @@ -732,8 +673,6 @@ public Builder addAllUpdates( return this; } /** - * - * *
      * DML statements.
      * 
@@ -751,8 +690,6 @@ public Builder clearUpdates() { return this; } /** - * - * *
      * DML statements.
      * 
@@ -770,44 +707,39 @@ public Builder removeUpdates(int index) { return this; } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public com.google.spanner.executor.v1.QueryAction.Builder getUpdatesBuilder(int index) { + public com.google.spanner.executor.v1.QueryAction.Builder getUpdatesBuilder( + int index) { return getUpdatesFieldBuilder().getBuilder(index); } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder(int index) { + public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder( + int index) { if (updatesBuilder_ == null) { - return updates_.get(index); - } else { + return updates_.get(index); } else { return updatesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public java.util.List - getUpdatesOrBuilderList() { + public java.util.List + getUpdatesOrBuilderList() { if (updatesBuilder_ != null) { return updatesBuilder_.getMessageOrBuilderList(); } else { @@ -815,8 +747,6 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder(i } } /** - * - * *
      * DML statements.
      * 
@@ -824,55 +754,49 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder(i * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ public com.google.spanner.executor.v1.QueryAction.Builder addUpdatesBuilder() { - return getUpdatesFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.QueryAction.getDefaultInstance()); + return getUpdatesFieldBuilder().addBuilder( + com.google.spanner.executor.v1.QueryAction.getDefaultInstance()); } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public com.google.spanner.executor.v1.QueryAction.Builder addUpdatesBuilder(int index) { - return getUpdatesFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.QueryAction.getDefaultInstance()); + public com.google.spanner.executor.v1.QueryAction.Builder addUpdatesBuilder( + int index) { + return getUpdatesFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.QueryAction.getDefaultInstance()); } /** - * - * *
      * DML statements.
      * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - public java.util.List - getUpdatesBuilderList() { + public java.util.List + getUpdatesBuilderList() { return getUpdatesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> getUpdatesFieldBuilder() { if (updatesBuilder_ == null) { - updatesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder>( - updates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + updatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder>( + updates_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); updates_ = null; } return updatesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +806,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.BatchDmlAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.BatchDmlAction) private static final com.google.spanner.executor.v1.BatchDmlAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.BatchDmlAction(); } @@ -896,27 +820,27 @@ public static com.google.spanner.executor.v1.BatchDmlAction getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDmlAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDmlAction 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; @@ -931,4 +855,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.BatchDmlAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlActionOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlActionOrBuilder.java index 12d77f73acc..218e11a857c 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchDmlActionOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface BatchDmlActionOrBuilder - extends +public interface BatchDmlActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.BatchDmlAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DML statements.
    * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - java.util.List getUpdatesList(); + java.util.List + getUpdatesList(); /** - * - * *
    * DML statements.
    * 
@@ -45,8 +26,6 @@ public interface BatchDmlActionOrBuilder */ com.google.spanner.executor.v1.QueryAction getUpdates(int index); /** - * - * *
    * DML statements.
    * 
@@ -55,24 +34,21 @@ public interface BatchDmlActionOrBuilder */ int getUpdatesCount(); /** - * - * *
    * DML statements.
    * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - java.util.List + java.util.List getUpdatesOrBuilderList(); /** - * - * *
    * DML statements.
    * 
* * repeated .google.spanner.executor.v1.QueryAction updates = 1; */ - com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder(int index); + com.google.spanner.executor.v1.QueryActionOrBuilder getUpdatesOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartition.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartition.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartition.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartition.java index 1735e190d64..b46091bedd5 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartition.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartition.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Identifies a database partition generated for a particular read or query. To
  * read rows from the partition, use ExecutePartitionAction.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.BatchPartition}
  */
-public final class BatchPartition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchPartition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.BatchPartition)
     BatchPartitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchPartition.newBuilder() to construct.
   private BatchPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchPartition() {
     partition_ = com.google.protobuf.ByteString.EMPTY;
     partitionToken_ = com.google.protobuf.ByteString.EMPTY;
@@ -48,37 +30,33 @@ private BatchPartition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchPartition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_BatchPartition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchPartition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.BatchPartition.class,
-            com.google.spanner.executor.v1.BatchPartition.Builder.class);
+            com.google.spanner.executor.v1.BatchPartition.class, com.google.spanner.executor.v1.BatchPartition.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString partition_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * Serialized Partition instance.
    * 
* * bytes partition = 1; - * * @return The partition. */ @java.lang.Override @@ -89,14 +67,11 @@ public com.google.protobuf.ByteString getPartition() { public static final int PARTITION_TOKEN_FIELD_NUMBER = 2; private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The partition token decrypted from partition.
    * 
* * bytes partition_token = 2; - * * @return The partitionToken. */ @java.lang.Override @@ -105,19 +80,15 @@ public com.google.protobuf.ByteString getPartitionToken() { } public static final int TABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
    * Table name is set iff the partition was generated for a read (as opposed to
    * a query).
    * 
* * optional string table = 3; - * * @return Whether the table field is set. */ @java.lang.Override @@ -125,15 +96,12 @@ public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Table name is set iff the partition was generated for a read (as opposed to
    * a query).
    * 
* * optional string table = 3; - * * @return The table. */ @java.lang.Override @@ -142,30 +110,30 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Table name is set iff the partition was generated for a read (as opposed to
    * a query).
    * 
* * optional string table = 3; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -174,18 +142,14 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int INDEX_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** - * - * *
    * Index name if the partition was generated for an index read.
    * 
* * optional string index = 4; - * * @return Whether the index field is set. */ @java.lang.Override @@ -193,14 +157,11 @@ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Index name if the partition was generated for an index read.
    * 
* * optional string index = 4; - * * @return The index. */ @java.lang.Override @@ -209,29 +170,29 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * Index name if the partition was generated for an index read.
    * 
* * optional string index = 4; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -240,7 +201,6 @@ public com.google.protobuf.ByteString getIndexBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +212,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!partition_.isEmpty()) { output.writeBytes(1, partition_); } @@ -275,10 +236,12 @@ public int getSerializedSize() { size = 0; if (!partition_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, partition_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, partition_); } if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, partitionToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, partitionToken_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); @@ -294,23 +257,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.BatchPartition)) { return super.equals(obj); } - com.google.spanner.executor.v1.BatchPartition other = - (com.google.spanner.executor.v1.BatchPartition) obj; + com.google.spanner.executor.v1.BatchPartition other = (com.google.spanner.executor.v1.BatchPartition) obj; - if (!getPartition().equals(other.getPartition())) return false; - if (!getPartitionToken().equals(other.getPartitionToken())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; } if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { - if (!getIndex().equals(other.getIndex())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -340,104 +306,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.BatchPartition parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.BatchPartition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchPartition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.BatchPartition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.BatchPartition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.BatchPartition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.BatchPartition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Identifies a database partition generated for a particular read or query. To
    * read rows from the partition, use ExecutePartitionAction.
@@ -445,32 +406,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.BatchPartition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.BatchPartition)
       com.google.spanner.executor.v1.BatchPartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_BatchPartition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchPartition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.BatchPartition.class,
-              com.google.spanner.executor.v1.BatchPartition.Builder.class);
+              com.google.spanner.executor.v1.BatchPartition.class, com.google.spanner.executor.v1.BatchPartition.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.BatchPartition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -483,9 +445,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_BatchPartition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_BatchPartition_descriptor;
     }
 
     @java.lang.Override
@@ -504,11 +466,8 @@ public com.google.spanner.executor.v1.BatchPartition build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.BatchPartition buildPartial() {
-      com.google.spanner.executor.v1.BatchPartition result =
-          new com.google.spanner.executor.v1.BatchPartition(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.BatchPartition result = new com.google.spanner.executor.v1.BatchPartition(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -537,39 +496,38 @@ private void buildPartial0(com.google.spanner.executor.v1.BatchPartition result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.BatchPartition) {
-        return mergeFrom((com.google.spanner.executor.v1.BatchPartition) other);
+        return mergeFrom((com.google.spanner.executor.v1.BatchPartition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -620,37 +578,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                partition_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                partitionToken_ = input.readBytes();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                table_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                index_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              partition_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              partitionToken_ = input.readBytes();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              table_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              index_ = 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) {
@@ -660,19 +613,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString partition_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Serialized Partition instance.
      * 
* * bytes partition = 1; - * * @return The partition. */ @java.lang.Override @@ -680,35 +629,27 @@ public com.google.protobuf.ByteString getPartition() { return partition_; } /** - * - * *
      * Serialized Partition instance.
      * 
* * bytes partition = 1; - * * @param value The partition to set. * @return This builder for chaining. */ public Builder setPartition(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partition_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Serialized Partition instance.
      * 
* * bytes partition = 1; - * * @return This builder for chaining. */ public Builder clearPartition() { @@ -720,14 +661,11 @@ public Builder clearPartition() { private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The partition token decrypted from partition.
      * 
* * bytes partition_token = 2; - * * @return The partitionToken. */ @java.lang.Override @@ -735,35 +673,27 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** - * - * *
      * The partition token decrypted from partition.
      * 
* * bytes partition_token = 2; - * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The partition token decrypted from partition.
      * 
* * bytes partition_token = 2; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -775,36 +705,31 @@ public Builder clearPartitionToken() { private java.lang.Object table_ = ""; /** - * - * *
      * Table name is set iff the partition was generated for a read (as opposed to
      * a query).
      * 
* * optional string table = 3; - * * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Table name is set iff the partition was generated for a read (as opposed to
      * a query).
      * 
* * optional string table = 3; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -813,22 +738,21 @@ public java.lang.String getTable() { } } /** - * - * *
      * Table name is set iff the partition was generated for a read (as opposed to
      * a query).
      * 
* * optional string table = 3; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -836,37 +760,30 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Table name is set iff the partition was generated for a read (as opposed to
      * a query).
      * 
* * optional string table = 3; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Table name is set iff the partition was generated for a read (as opposed to
      * a query).
      * 
* * optional string table = 3; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -876,22 +793,18 @@ public Builder clearTable() { return this; } /** - * - * *
      * Table name is set iff the partition was generated for a read (as opposed to
      * a query).
      * 
* * optional string table = 3; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; @@ -901,34 +814,29 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object index_ = ""; /** - * - * *
      * Index name if the partition was generated for an index read.
      * 
* * optional string index = 4; - * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Index name if the partition was generated for an index read.
      * 
* * optional string index = 4; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -937,21 +845,20 @@ public java.lang.String getIndex() { } } /** - * - * *
      * Index name if the partition was generated for an index read.
      * 
* * optional string index = 4; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -959,35 +866,28 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * Index name if the partition was generated for an index read.
      * 
* * optional string index = 4; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Index name if the partition was generated for an index read.
      * 
* * optional string index = 4; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -997,30 +897,26 @@ public Builder clearIndex() { return this; } /** - * - * *
      * Index name if the partition was generated for an index read.
      * 
* * optional string index = 4; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +926,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.BatchPartition) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.BatchPartition) private static final com.google.spanner.executor.v1.BatchPartition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.BatchPartition(); } @@ -1044,27 +940,27 @@ public static com.google.spanner.executor.v1.BatchPartition getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchPartition 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchPartition 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; @@ -1079,4 +975,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.BatchPartition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartitionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartitionOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartitionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartitionOrBuilder.java index 3d27e245ec7..9d99389b80c 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartitionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/BatchPartitionOrBuilder.java @@ -1,129 +1,91 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface BatchPartitionOrBuilder - extends +public interface BatchPartitionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.BatchPartition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Serialized Partition instance.
    * 
* * bytes partition = 1; - * * @return The partition. */ com.google.protobuf.ByteString getPartition(); /** - * - * *
    * The partition token decrypted from partition.
    * 
* * bytes partition_token = 2; - * * @return The partitionToken. */ com.google.protobuf.ByteString getPartitionToken(); /** - * - * *
    * Table name is set iff the partition was generated for a read (as opposed to
    * a query).
    * 
* * optional string table = 3; - * * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Table name is set iff the partition was generated for a read (as opposed to
    * a query).
    * 
* * optional string table = 3; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Table name is set iff the partition was generated for a read (as opposed to
    * a query).
    * 
* * optional string table = 3; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * Index name if the partition was generated for an index read.
    * 
* * optional string index = 4; - * * @return Whether the index field is set. */ boolean hasIndex(); /** - * - * *
    * Index name if the partition was generated for an index read.
    * 
* * optional string index = 4; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * Index name if the partition was generated for an index read.
    * 
* * optional string index = 4; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationAction.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationAction.java index 9b15a5bbbb9..85c499d33ce 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,62 +5,54 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that cancels an operation.
  * 
* * Protobuf type {@code google.spanner.executor.v1.CancelOperationAction} */ -public final class CancelOperationAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelOperationAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CancelOperationAction) CancelOperationActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelOperationAction.newBuilder() to construct. private CancelOperationAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelOperationAction() { operation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelOperationAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CancelOperationAction.class, - com.google.spanner.executor.v1.CancelOperationAction.Builder.class); + com.google.spanner.executor.v1.CancelOperationAction.class, com.google.spanner.executor.v1.CancelOperationAction.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object operation_ = ""; /** - * - * *
    * The name of the operation resource to be cancelled.
    * 
* * string operation = 1; - * * @return The operation. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getOperation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } } /** - * - * *
    * The name of the operation resource to be cancelled.
    * 
* * string operation = 1; - * * @return The bytes for operation. */ @java.lang.Override - public com.google.protobuf.ByteString getOperationBytes() { + public com.google.protobuf.ByteString + getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -115,7 +92,6 @@ public com.google.protobuf.ByteString getOperationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operation_); } @@ -151,15 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CancelOperationAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.CancelOperationAction other = - (com.google.spanner.executor.v1.CancelOperationAction) obj; + com.google.spanner.executor.v1.CancelOperationAction other = (com.google.spanner.executor.v1.CancelOperationAction) obj; - if (!getOperation().equals(other.getOperation())) return false; + if (!getOperation() + .equals(other.getOperation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -179,135 +156,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CancelOperationAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CancelOperationAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CancelOperationAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CancelOperationAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CancelOperationAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.CancelOperationAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that cancels an operation.
    * 
* * Protobuf type {@code google.spanner.executor.v1.CancelOperationAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CancelOperationAction) com.google.spanner.executor.v1.CancelOperationActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CancelOperationAction.class, - com.google.spanner.executor.v1.CancelOperationAction.Builder.class); + com.google.spanner.executor.v1.CancelOperationAction.class, com.google.spanner.executor.v1.CancelOperationAction.Builder.class); } // Construct using com.google.spanner.executor.v1.CancelOperationAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; } @java.lang.Override @@ -338,11 +311,8 @@ public com.google.spanner.executor.v1.CancelOperationAction build() { @java.lang.Override public com.google.spanner.executor.v1.CancelOperationAction buildPartial() { - com.google.spanner.executor.v1.CancelOperationAction result = - new com.google.spanner.executor.v1.CancelOperationAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.CancelOperationAction result = new com.google.spanner.executor.v1.CancelOperationAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -358,39 +328,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CancelOperationAction public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.CancelOperationAction) { - return mergeFrom((com.google.spanner.executor.v1.CancelOperationAction) other); + return mergeFrom((com.google.spanner.executor.v1.CancelOperationAction)other); } else { super.mergeFrom(other); return this; @@ -398,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.CancelOperationAction other) { - if (other == com.google.spanner.executor.v1.CancelOperationAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.CancelOperationAction.getDefaultInstance()) return this; if (!other.getOperation().isEmpty()) { operation_ = other.operation_; bitField0_ |= 0x00000001; @@ -431,19 +399,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - operation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + operation_ = 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) { @@ -453,25 +419,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object operation_ = ""; /** - * - * *
      * The name of the operation resource to be cancelled.
      * 
* * string operation = 1; - * * @return The operation. */ public java.lang.String getOperation() { java.lang.Object ref = operation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; @@ -480,21 +443,20 @@ public java.lang.String getOperation() { } } /** - * - * *
      * The name of the operation resource to be cancelled.
      * 
* * string operation = 1; - * * @return The bytes for operation. */ - public com.google.protobuf.ByteString getOperationBytes() { + public com.google.protobuf.ByteString + getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -502,35 +464,28 @@ public com.google.protobuf.ByteString getOperationBytes() { } } /** - * - * *
      * The name of the operation resource to be cancelled.
      * 
* * string operation = 1; - * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } operation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the operation resource to be cancelled.
      * 
* * string operation = 1; - * * @return This builder for chaining. */ public Builder clearOperation() { @@ -540,30 +495,26 @@ public Builder clearOperation() { return this; } /** - * - * *
      * The name of the operation resource to be cancelled.
      * 
* * string operation = 1; - * * @param value The bytes for operation to set. * @return This builder for chaining. */ - public Builder setOperationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CancelOperationAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CancelOperationAction) private static final com.google.spanner.executor.v1.CancelOperationAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CancelOperationAction(); } @@ -587,27 +538,27 @@ public static com.google.spanner.executor.v1.CancelOperationAction getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelOperationAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelOperationAction 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; @@ -622,4 +573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.CancelOperationAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationActionOrBuilder.java new file mode 100644 index 00000000000..03b9b31b0c8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationActionOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/executor/v1/cloud_executor.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.executor.v1; + +public interface CancelOperationActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CancelOperationAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the operation resource to be cancelled.
+   * 
+ * + * string operation = 1; + * @return The operation. + */ + java.lang.String getOperation(); + /** + *
+   * The name of the operation resource to be cancelled.
+   * 
+ * + * string operation = 1; + * @return The bytes for operation. + */ + com.google.protobuf.ByteString + getOperationBytes(); +} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecord.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecord.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecord.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecord.java index e142ee1500d..22cc279fdfa 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecord.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecord.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Raw ChangeStream records.
  * Encodes one of: DataChangeRecord, HeartbeatRecord, ChildPartitionsRecord
@@ -30,54 +13,49 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.ChangeStreamRecord}
  */
-public final class ChangeStreamRecord extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ChangeStreamRecord extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ChangeStreamRecord)
     ChangeStreamRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ChangeStreamRecord.newBuilder() to construct.
   private ChangeStreamRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ChangeStreamRecord() {}
+  private ChangeStreamRecord() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ChangeStreamRecord();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.ChangeStreamRecord.class,
-            com.google.spanner.executor.v1.ChangeStreamRecord.Builder.class);
+            com.google.spanner.executor.v1.ChangeStreamRecord.class, com.google.spanner.executor.v1.ChangeStreamRecord.Builder.class);
   }
 
   private int recordCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object record_;
-
   public enum RecordCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DATA_CHANGE(1),
     CHILD_PARTITION(2),
     HEARTBEAT(3),
     RECORD_NOT_SET(0);
     private final int value;
-
     private RecordCase(int value) {
       this.value = value;
     }
@@ -93,38 +71,31 @@ public static RecordCase valueOf(int value) {
 
     public static RecordCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return DATA_CHANGE;
-        case 2:
-          return CHILD_PARTITION;
-        case 3:
-          return HEARTBEAT;
-        case 0:
-          return RECORD_NOT_SET;
-        default:
-          return null;
+        case 1: return DATA_CHANGE;
+        case 2: return CHILD_PARTITION;
+        case 3: return HEARTBEAT;
+        case 0: return RECORD_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RecordCase getRecordCase() {
-    return RecordCase.forNumber(recordCase_);
+  public RecordCase
+  getRecordCase() {
+    return RecordCase.forNumber(
+        recordCase_);
   }
 
   public static final int DATA_CHANGE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Data change record.
    * 
* * .google.spanner.executor.v1.DataChangeRecord data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -132,26 +103,21 @@ public boolean hasDataChange() { return recordCase_ == 1; } /** - * - * *
    * Data change record.
    * 
* * .google.spanner.executor.v1.DataChangeRecord data_change = 1; - * * @return The dataChange. */ @java.lang.Override public com.google.spanner.executor.v1.DataChangeRecord getDataChange() { if (recordCase_ == 1) { - return (com.google.spanner.executor.v1.DataChangeRecord) record_; + return (com.google.spanner.executor.v1.DataChangeRecord) record_; } return com.google.spanner.executor.v1.DataChangeRecord.getDefaultInstance(); } /** - * - * *
    * Data change record.
    * 
@@ -161,21 +127,18 @@ public com.google.spanner.executor.v1.DataChangeRecord getDataChange() { @java.lang.Override public com.google.spanner.executor.v1.DataChangeRecordOrBuilder getDataChangeOrBuilder() { if (recordCase_ == 1) { - return (com.google.spanner.executor.v1.DataChangeRecord) record_; + return (com.google.spanner.executor.v1.DataChangeRecord) record_; } return com.google.spanner.executor.v1.DataChangeRecord.getDefaultInstance(); } public static final int CHILD_PARTITION_FIELD_NUMBER = 2; /** - * - * *
    * Child partitions record.
    * 
* * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; - * * @return Whether the childPartition field is set. */ @java.lang.Override @@ -183,26 +146,21 @@ public boolean hasChildPartition() { return recordCase_ == 2; } /** - * - * *
    * Child partitions record.
    * 
* * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; - * * @return The childPartition. */ @java.lang.Override public com.google.spanner.executor.v1.ChildPartitionsRecord getChildPartition() { if (recordCase_ == 2) { - return (com.google.spanner.executor.v1.ChildPartitionsRecord) record_; + return (com.google.spanner.executor.v1.ChildPartitionsRecord) record_; } return com.google.spanner.executor.v1.ChildPartitionsRecord.getDefaultInstance(); } /** - * - * *
    * Child partitions record.
    * 
@@ -210,24 +168,20 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord getChildPartition() * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; */ @java.lang.Override - public com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder - getChildPartitionOrBuilder() { + public com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder getChildPartitionOrBuilder() { if (recordCase_ == 2) { - return (com.google.spanner.executor.v1.ChildPartitionsRecord) record_; + return (com.google.spanner.executor.v1.ChildPartitionsRecord) record_; } return com.google.spanner.executor.v1.ChildPartitionsRecord.getDefaultInstance(); } public static final int HEARTBEAT_FIELD_NUMBER = 3; /** - * - * *
    * Heartbeat record.
    * 
* * .google.spanner.executor.v1.HeartbeatRecord heartbeat = 3; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -235,26 +189,21 @@ public boolean hasHeartbeat() { return recordCase_ == 3; } /** - * - * *
    * Heartbeat record.
    * 
* * .google.spanner.executor.v1.HeartbeatRecord heartbeat = 3; - * * @return The heartbeat. */ @java.lang.Override public com.google.spanner.executor.v1.HeartbeatRecord getHeartbeat() { if (recordCase_ == 3) { - return (com.google.spanner.executor.v1.HeartbeatRecord) record_; + return (com.google.spanner.executor.v1.HeartbeatRecord) record_; } return com.google.spanner.executor.v1.HeartbeatRecord.getDefaultInstance(); } /** - * - * *
    * Heartbeat record.
    * 
@@ -264,13 +213,12 @@ public com.google.spanner.executor.v1.HeartbeatRecord getHeartbeat() { @java.lang.Override public com.google.spanner.executor.v1.HeartbeatRecordOrBuilder getHeartbeatOrBuilder() { if (recordCase_ == 3) { - return (com.google.spanner.executor.v1.HeartbeatRecord) record_; + return (com.google.spanner.executor.v1.HeartbeatRecord) record_; } return com.google.spanner.executor.v1.HeartbeatRecord.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (recordCase_ == 1) { output.writeMessage(1, (com.google.spanner.executor.v1.DataChangeRecord) record_); } @@ -302,19 +251,16 @@ public int getSerializedSize() { size = 0; if (recordCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.spanner.executor.v1.DataChangeRecord) record_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.spanner.executor.v1.DataChangeRecord) record_); } if (recordCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.spanner.executor.v1.ChildPartitionsRecord) record_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.spanner.executor.v1.ChildPartitionsRecord) record_); } if (recordCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.spanner.executor.v1.HeartbeatRecord) record_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.spanner.executor.v1.HeartbeatRecord) record_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -324,24 +270,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ChangeStreamRecord)) { return super.equals(obj); } - com.google.spanner.executor.v1.ChangeStreamRecord other = - (com.google.spanner.executor.v1.ChangeStreamRecord) obj; + com.google.spanner.executor.v1.ChangeStreamRecord other = (com.google.spanner.executor.v1.ChangeStreamRecord) obj; if (!getRecordCase().equals(other.getRecordCase())) return false; switch (recordCase_) { case 1: - if (!getDataChange().equals(other.getDataChange())) return false; + if (!getDataChange() + .equals(other.getDataChange())) return false; break; case 2: - if (!getChildPartition().equals(other.getChildPartition())) return false; + if (!getChildPartition() + .equals(other.getChildPartition())) return false; break; case 3: - if (!getHeartbeat().equals(other.getHeartbeat())) return false; + if (!getHeartbeat() + .equals(other.getHeartbeat())) return false; break; case 0: default: @@ -379,103 +327,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ChangeStreamRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ChangeStreamRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ChangeStreamRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.ChangeStreamRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Raw ChangeStream records.
    * Encodes one of: DataChangeRecord, HeartbeatRecord, ChildPartitionsRecord
@@ -484,32 +427,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.ChangeStreamRecord}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ChangeStreamRecord)
       com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.ChangeStreamRecord.class,
-              com.google.spanner.executor.v1.ChangeStreamRecord.Builder.class);
+              com.google.spanner.executor.v1.ChangeStreamRecord.class, com.google.spanner.executor.v1.ChangeStreamRecord.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.ChangeStreamRecord.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -529,9 +473,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor;
     }
 
     @java.lang.Override
@@ -550,11 +494,8 @@ public com.google.spanner.executor.v1.ChangeStreamRecord build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.ChangeStreamRecord buildPartial() {
-      com.google.spanner.executor.v1.ChangeStreamRecord result =
-          new com.google.spanner.executor.v1.ChangeStreamRecord(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.ChangeStreamRecord result = new com.google.spanner.executor.v1.ChangeStreamRecord(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -567,13 +508,16 @@ private void buildPartial0(com.google.spanner.executor.v1.ChangeStreamRecord res
     private void buildPartialOneofs(com.google.spanner.executor.v1.ChangeStreamRecord result) {
       result.recordCase_ = recordCase_;
       result.record_ = this.record_;
-      if (recordCase_ == 1 && dataChangeBuilder_ != null) {
+      if (recordCase_ == 1 &&
+          dataChangeBuilder_ != null) {
         result.record_ = dataChangeBuilder_.build();
       }
-      if (recordCase_ == 2 && childPartitionBuilder_ != null) {
+      if (recordCase_ == 2 &&
+          childPartitionBuilder_ != null) {
         result.record_ = childPartitionBuilder_.build();
       }
-      if (recordCase_ == 3 && heartbeatBuilder_ != null) {
+      if (recordCase_ == 3 &&
+          heartbeatBuilder_ != null) {
         result.record_ = heartbeatBuilder_.build();
       }
     }
@@ -582,39 +526,38 @@ private void buildPartialOneofs(com.google.spanner.executor.v1.ChangeStreamRecor
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.ChangeStreamRecord) {
-        return mergeFrom((com.google.spanner.executor.v1.ChangeStreamRecord) other);
+        return mergeFrom((com.google.spanner.executor.v1.ChangeStreamRecord)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -622,28 +565,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.ChangeStreamRecord other) {
-      if (other == com.google.spanner.executor.v1.ChangeStreamRecord.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.ChangeStreamRecord.getDefaultInstance()) return this;
       switch (other.getRecordCase()) {
-        case DATA_CHANGE:
-          {
-            mergeDataChange(other.getDataChange());
-            break;
-          }
-        case CHILD_PARTITION:
-          {
-            mergeChildPartition(other.getChildPartition());
-            break;
-          }
-        case HEARTBEAT:
-          {
-            mergeHeartbeat(other.getHeartbeat());
-            break;
-          }
-        case RECORD_NOT_SET:
-          {
-            break;
-          }
+        case DATA_CHANGE: {
+          mergeDataChange(other.getDataChange());
+          break;
+        }
+        case CHILD_PARTITION: {
+          mergeChildPartition(other.getChildPartition());
+          break;
+        }
+        case HEARTBEAT: {
+          mergeHeartbeat(other.getHeartbeat());
+          break;
+        }
+        case RECORD_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -671,31 +609,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDataChangeFieldBuilder().getBuilder(), extensionRegistry);
-                recordCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getChildPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                recordCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getHeartbeatFieldBuilder().getBuilder(), extensionRegistry);
-                recordCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDataChangeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              recordCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getChildPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              recordCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getHeartbeatFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              recordCase_ = 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) {
@@ -705,12 +645,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int recordCase_ = 0;
     private java.lang.Object record_;
-
-    public RecordCase getRecordCase() {
-      return RecordCase.forNumber(recordCase_);
+    public RecordCase
+        getRecordCase() {
+      return RecordCase.forNumber(
+          recordCase_);
     }
 
     public Builder clearRecord() {
@@ -723,19 +663,13 @@ public Builder clearRecord() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.DataChangeRecord,
-            com.google.spanner.executor.v1.DataChangeRecord.Builder,
-            com.google.spanner.executor.v1.DataChangeRecordOrBuilder>
-        dataChangeBuilder_;
+        com.google.spanner.executor.v1.DataChangeRecord, com.google.spanner.executor.v1.DataChangeRecord.Builder, com.google.spanner.executor.v1.DataChangeRecordOrBuilder> dataChangeBuilder_;
     /**
-     *
-     *
      * 
      * Data change record.
      * 
* * .google.spanner.executor.v1.DataChangeRecord data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -743,14 +677,11 @@ public boolean hasDataChange() { return recordCase_ == 1; } /** - * - * *
      * Data change record.
      * 
* * .google.spanner.executor.v1.DataChangeRecord data_change = 1; - * * @return The dataChange. */ @java.lang.Override @@ -768,8 +699,6 @@ public com.google.spanner.executor.v1.DataChangeRecord getDataChange() { } } /** - * - * *
      * Data change record.
      * 
@@ -790,8 +719,6 @@ public Builder setDataChange(com.google.spanner.executor.v1.DataChangeRecord val return this; } /** - * - * *
      * Data change record.
      * 
@@ -810,8 +737,6 @@ public Builder setDataChange( return this; } /** - * - * *
      * Data change record.
      * 
@@ -820,13 +745,10 @@ public Builder setDataChange( */ public Builder mergeDataChange(com.google.spanner.executor.v1.DataChangeRecord value) { if (dataChangeBuilder_ == null) { - if (recordCase_ == 1 - && record_ != com.google.spanner.executor.v1.DataChangeRecord.getDefaultInstance()) { - record_ = - com.google.spanner.executor.v1.DataChangeRecord.newBuilder( - (com.google.spanner.executor.v1.DataChangeRecord) record_) - .mergeFrom(value) - .buildPartial(); + if (recordCase_ == 1 && + record_ != com.google.spanner.executor.v1.DataChangeRecord.getDefaultInstance()) { + record_ = com.google.spanner.executor.v1.DataChangeRecord.newBuilder((com.google.spanner.executor.v1.DataChangeRecord) record_) + .mergeFrom(value).buildPartial(); } else { record_ = value; } @@ -842,8 +764,6 @@ public Builder mergeDataChange(com.google.spanner.executor.v1.DataChangeRecord v return this; } /** - * - * *
      * Data change record.
      * 
@@ -867,8 +787,6 @@ public Builder clearDataChange() { return this; } /** - * - * *
      * Data change record.
      * 
@@ -879,8 +797,6 @@ public com.google.spanner.executor.v1.DataChangeRecord.Builder getDataChangeBuil return getDataChangeFieldBuilder().getBuilder(); } /** - * - * *
      * Data change record.
      * 
@@ -899,8 +815,6 @@ public com.google.spanner.executor.v1.DataChangeRecordOrBuilder getDataChangeOrB } } /** - * - * *
      * Data change record.
      * 
@@ -908,19 +822,14 @@ public com.google.spanner.executor.v1.DataChangeRecordOrBuilder getDataChangeOrB * .google.spanner.executor.v1.DataChangeRecord data_change = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord, - com.google.spanner.executor.v1.DataChangeRecord.Builder, - com.google.spanner.executor.v1.DataChangeRecordOrBuilder> + com.google.spanner.executor.v1.DataChangeRecord, com.google.spanner.executor.v1.DataChangeRecord.Builder, com.google.spanner.executor.v1.DataChangeRecordOrBuilder> getDataChangeFieldBuilder() { if (dataChangeBuilder_ == null) { if (!(recordCase_ == 1)) { record_ = com.google.spanner.executor.v1.DataChangeRecord.getDefaultInstance(); } - dataChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord, - com.google.spanner.executor.v1.DataChangeRecord.Builder, - com.google.spanner.executor.v1.DataChangeRecordOrBuilder>( + dataChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.DataChangeRecord, com.google.spanner.executor.v1.DataChangeRecord.Builder, com.google.spanner.executor.v1.DataChangeRecordOrBuilder>( (com.google.spanner.executor.v1.DataChangeRecord) record_, getParentForChildren(), isClean()); @@ -932,19 +841,13 @@ public com.google.spanner.executor.v1.DataChangeRecordOrBuilder getDataChangeOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ChildPartitionsRecord, - com.google.spanner.executor.v1.ChildPartitionsRecord.Builder, - com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder> - childPartitionBuilder_; + com.google.spanner.executor.v1.ChildPartitionsRecord, com.google.spanner.executor.v1.ChildPartitionsRecord.Builder, com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder> childPartitionBuilder_; /** - * - * *
      * Child partitions record.
      * 
* * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; - * * @return Whether the childPartition field is set. */ @java.lang.Override @@ -952,14 +855,11 @@ public boolean hasChildPartition() { return recordCase_ == 2; } /** - * - * *
      * Child partitions record.
      * 
* * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; - * * @return The childPartition. */ @java.lang.Override @@ -977,8 +877,6 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord getChildPartition() } } /** - * - * *
      * Child partitions record.
      * 
@@ -999,8 +897,6 @@ public Builder setChildPartition(com.google.spanner.executor.v1.ChildPartitionsR return this; } /** - * - * *
      * Child partitions record.
      * 
@@ -1019,8 +915,6 @@ public Builder setChildPartition( return this; } /** - * - * *
      * Child partitions record.
      * 
@@ -1029,14 +923,10 @@ public Builder setChildPartition( */ public Builder mergeChildPartition(com.google.spanner.executor.v1.ChildPartitionsRecord value) { if (childPartitionBuilder_ == null) { - if (recordCase_ == 2 - && record_ - != com.google.spanner.executor.v1.ChildPartitionsRecord.getDefaultInstance()) { - record_ = - com.google.spanner.executor.v1.ChildPartitionsRecord.newBuilder( - (com.google.spanner.executor.v1.ChildPartitionsRecord) record_) - .mergeFrom(value) - .buildPartial(); + if (recordCase_ == 2 && + record_ != com.google.spanner.executor.v1.ChildPartitionsRecord.getDefaultInstance()) { + record_ = com.google.spanner.executor.v1.ChildPartitionsRecord.newBuilder((com.google.spanner.executor.v1.ChildPartitionsRecord) record_) + .mergeFrom(value).buildPartial(); } else { record_ = value; } @@ -1052,8 +942,6 @@ public Builder mergeChildPartition(com.google.spanner.executor.v1.ChildPartition return this; } /** - * - * *
      * Child partitions record.
      * 
@@ -1077,8 +965,6 @@ public Builder clearChildPartition() { return this; } /** - * - * *
      * Child partitions record.
      * 
@@ -1089,8 +975,6 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord.Builder getChildPart return getChildPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Child partitions record.
      * 
@@ -1098,8 +982,7 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord.Builder getChildPart * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; */ @java.lang.Override - public com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder - getChildPartitionOrBuilder() { + public com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder getChildPartitionOrBuilder() { if ((recordCase_ == 2) && (childPartitionBuilder_ != null)) { return childPartitionBuilder_.getMessageOrBuilder(); } else { @@ -1110,8 +993,6 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord.Builder getChildPart } } /** - * - * *
      * Child partitions record.
      * 
@@ -1119,19 +1000,14 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord.Builder getChildPart * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ChildPartitionsRecord, - com.google.spanner.executor.v1.ChildPartitionsRecord.Builder, - com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder> + com.google.spanner.executor.v1.ChildPartitionsRecord, com.google.spanner.executor.v1.ChildPartitionsRecord.Builder, com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder> getChildPartitionFieldBuilder() { if (childPartitionBuilder_ == null) { if (!(recordCase_ == 2)) { record_ = com.google.spanner.executor.v1.ChildPartitionsRecord.getDefaultInstance(); } - childPartitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ChildPartitionsRecord, - com.google.spanner.executor.v1.ChildPartitionsRecord.Builder, - com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder>( + childPartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ChildPartitionsRecord, com.google.spanner.executor.v1.ChildPartitionsRecord.Builder, com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder>( (com.google.spanner.executor.v1.ChildPartitionsRecord) record_, getParentForChildren(), isClean()); @@ -1143,19 +1019,13 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord.Builder getChildPart } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.HeartbeatRecord, - com.google.spanner.executor.v1.HeartbeatRecord.Builder, - com.google.spanner.executor.v1.HeartbeatRecordOrBuilder> - heartbeatBuilder_; + com.google.spanner.executor.v1.HeartbeatRecord, com.google.spanner.executor.v1.HeartbeatRecord.Builder, com.google.spanner.executor.v1.HeartbeatRecordOrBuilder> heartbeatBuilder_; /** - * - * *
      * Heartbeat record.
      * 
* * .google.spanner.executor.v1.HeartbeatRecord heartbeat = 3; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -1163,14 +1033,11 @@ public boolean hasHeartbeat() { return recordCase_ == 3; } /** - * - * *
      * Heartbeat record.
      * 
* * .google.spanner.executor.v1.HeartbeatRecord heartbeat = 3; - * * @return The heartbeat. */ @java.lang.Override @@ -1188,8 +1055,6 @@ public com.google.spanner.executor.v1.HeartbeatRecord getHeartbeat() { } } /** - * - * *
      * Heartbeat record.
      * 
@@ -1210,8 +1075,6 @@ public Builder setHeartbeat(com.google.spanner.executor.v1.HeartbeatRecord value return this; } /** - * - * *
      * Heartbeat record.
      * 
@@ -1230,8 +1093,6 @@ public Builder setHeartbeat( return this; } /** - * - * *
      * Heartbeat record.
      * 
@@ -1240,13 +1101,10 @@ public Builder setHeartbeat( */ public Builder mergeHeartbeat(com.google.spanner.executor.v1.HeartbeatRecord value) { if (heartbeatBuilder_ == null) { - if (recordCase_ == 3 - && record_ != com.google.spanner.executor.v1.HeartbeatRecord.getDefaultInstance()) { - record_ = - com.google.spanner.executor.v1.HeartbeatRecord.newBuilder( - (com.google.spanner.executor.v1.HeartbeatRecord) record_) - .mergeFrom(value) - .buildPartial(); + if (recordCase_ == 3 && + record_ != com.google.spanner.executor.v1.HeartbeatRecord.getDefaultInstance()) { + record_ = com.google.spanner.executor.v1.HeartbeatRecord.newBuilder((com.google.spanner.executor.v1.HeartbeatRecord) record_) + .mergeFrom(value).buildPartial(); } else { record_ = value; } @@ -1262,8 +1120,6 @@ public Builder mergeHeartbeat(com.google.spanner.executor.v1.HeartbeatRecord val return this; } /** - * - * *
      * Heartbeat record.
      * 
@@ -1287,8 +1143,6 @@ public Builder clearHeartbeat() { return this; } /** - * - * *
      * Heartbeat record.
      * 
@@ -1299,8 +1153,6 @@ public com.google.spanner.executor.v1.HeartbeatRecord.Builder getHeartbeatBuilde return getHeartbeatFieldBuilder().getBuilder(); } /** - * - * *
      * Heartbeat record.
      * 
@@ -1319,8 +1171,6 @@ public com.google.spanner.executor.v1.HeartbeatRecordOrBuilder getHeartbeatOrBui } } /** - * - * *
      * Heartbeat record.
      * 
@@ -1328,19 +1178,14 @@ public com.google.spanner.executor.v1.HeartbeatRecordOrBuilder getHeartbeatOrBui * .google.spanner.executor.v1.HeartbeatRecord heartbeat = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.HeartbeatRecord, - com.google.spanner.executor.v1.HeartbeatRecord.Builder, - com.google.spanner.executor.v1.HeartbeatRecordOrBuilder> + com.google.spanner.executor.v1.HeartbeatRecord, com.google.spanner.executor.v1.HeartbeatRecord.Builder, com.google.spanner.executor.v1.HeartbeatRecordOrBuilder> getHeartbeatFieldBuilder() { if (heartbeatBuilder_ == null) { if (!(recordCase_ == 3)) { record_ = com.google.spanner.executor.v1.HeartbeatRecord.getDefaultInstance(); } - heartbeatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.HeartbeatRecord, - com.google.spanner.executor.v1.HeartbeatRecord.Builder, - com.google.spanner.executor.v1.HeartbeatRecordOrBuilder>( + heartbeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.HeartbeatRecord, com.google.spanner.executor.v1.HeartbeatRecord.Builder, com.google.spanner.executor.v1.HeartbeatRecordOrBuilder>( (com.google.spanner.executor.v1.HeartbeatRecord) record_, getParentForChildren(), isClean()); @@ -1350,9 +1195,9 @@ public com.google.spanner.executor.v1.HeartbeatRecordOrBuilder getHeartbeatOrBui onChanged(); return heartbeatBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1362,12 +1207,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ChangeStreamRecord) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ChangeStreamRecord) private static final com.google.spanner.executor.v1.ChangeStreamRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ChangeStreamRecord(); } @@ -1376,27 +1221,27 @@ public static com.google.spanner.executor.v1.ChangeStreamRecord getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChangeStreamRecord 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChangeStreamRecord 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; @@ -1411,4 +1256,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ChangeStreamRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecordOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecordOrBuilder.java similarity index 76% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecordOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecordOrBuilder.java index a58934b0382..81cd3443a35 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecordOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChangeStreamRecordOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ChangeStreamRecordOrBuilder - extends +public interface ChangeStreamRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ChangeStreamRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Data change record.
    * 
* * .google.spanner.executor.v1.DataChangeRecord data_change = 1; - * * @return Whether the dataChange field is set. */ boolean hasDataChange(); /** - * - * *
    * Data change record.
    * 
* * .google.spanner.executor.v1.DataChangeRecord data_change = 1; - * * @return The dataChange. */ com.google.spanner.executor.v1.DataChangeRecord getDataChange(); /** - * - * *
    * Data change record.
    * 
@@ -60,32 +36,24 @@ public interface ChangeStreamRecordOrBuilder com.google.spanner.executor.v1.DataChangeRecordOrBuilder getDataChangeOrBuilder(); /** - * - * *
    * Child partitions record.
    * 
* * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; - * * @return Whether the childPartition field is set. */ boolean hasChildPartition(); /** - * - * *
    * Child partitions record.
    * 
* * .google.spanner.executor.v1.ChildPartitionsRecord child_partition = 2; - * * @return The childPartition. */ com.google.spanner.executor.v1.ChildPartitionsRecord getChildPartition(); /** - * - * *
    * Child partitions record.
    * 
@@ -95,32 +63,24 @@ public interface ChangeStreamRecordOrBuilder com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder getChildPartitionOrBuilder(); /** - * - * *
    * Heartbeat record.
    * 
* * .google.spanner.executor.v1.HeartbeatRecord heartbeat = 3; - * * @return Whether the heartbeat field is set. */ boolean hasHeartbeat(); /** - * - * *
    * Heartbeat record.
    * 
* * .google.spanner.executor.v1.HeartbeatRecord heartbeat = 3; - * * @return The heartbeat. */ com.google.spanner.executor.v1.HeartbeatRecord getHeartbeat(); /** - * - * *
    * Heartbeat record.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecord.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecord.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecord.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecord.java index cc1d56ce098..54354afc3fa 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecord.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecord.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * ChangeStream child partition record.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ChildPartitionsRecord} */ -public final class ChildPartitionsRecord extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChildPartitionsRecord extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ChildPartitionsRecord) ChildPartitionsRecordOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChildPartitionsRecord.newBuilder() to construct. private ChildPartitionsRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChildPartitionsRecord() { recordSequence_ = ""; childPartitions_ = java.util.Collections.emptyList(); @@ -45,164 +27,140 @@ private ChildPartitionsRecord() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChildPartitionsRecord(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ChildPartitionsRecord.class, - com.google.spanner.executor.v1.ChildPartitionsRecord.Builder.class); + com.google.spanner.executor.v1.ChildPartitionsRecord.class, com.google.spanner.executor.v1.ChildPartitionsRecord.Builder.class); } - public interface ChildPartitionOrBuilder - extends + public interface ChildPartitionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Partition token string used to identify the child partition in queries.
      * 
* * string token = 1; - * * @return The token. */ java.lang.String getToken(); /** - * - * *
      * Partition token string used to identify the child partition in queries.
      * 
* * string token = 1; - * * @return The bytes for token. */ - com.google.protobuf.ByteString getTokenBytes(); + com.google.protobuf.ByteString + getTokenBytes(); /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @return A list containing the parentPartitionTokens. */ - java.util.List getParentPartitionTokensList(); + java.util.List + getParentPartitionTokensList(); /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @return The count of parentPartitionTokens. */ int getParentPartitionTokensCount(); /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @param index The index of the element to return. * @return The parentPartitionTokens at the given index. */ java.lang.String getParentPartitionTokens(int index); /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @param index The index of the value to return. * @return The bytes of the parentPartitionTokens at the given index. */ - com.google.protobuf.ByteString getParentPartitionTokensBytes(int index); + com.google.protobuf.ByteString + getParentPartitionTokensBytes(int index); } /** - * - * *
    * A single child partition.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition} */ - public static final class ChildPartition extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ChildPartition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) ChildPartitionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChildPartition.newBuilder() to construct. private ChildPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChildPartition() { token_ = ""; - parentPartitionTokens_ = com.google.protobuf.LazyStringArrayList.emptyList(); + parentPartitionTokens_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChildPartition(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.class, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder.class); + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.class, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder.class); } public static final int TOKEN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** - * - * *
      * Partition token string used to identify the child partition in queries.
      * 
* * string token = 1; - * * @return The token. */ @java.lang.Override @@ -211,29 +169,29 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** - * - * *
      * Partition token string used to identify the child partition in queries.
      * 
* * string token = 1; - * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -242,47 +200,38 @@ public com.google.protobuf.ByteString getTokenBytes() { } public static final int PARENT_PARTITION_TOKENS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList parentPartitionTokens_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @return A list containing the parentPartitionTokens. */ - public com.google.protobuf.ProtocolStringList getParentPartitionTokensList() { + public com.google.protobuf.ProtocolStringList + getParentPartitionTokensList() { return parentPartitionTokens_; } /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @return The count of parentPartitionTokens. */ public int getParentPartitionTokensCount() { return parentPartitionTokens_.size(); } /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @param index The index of the element to return. * @return The parentPartitionTokens at the given index. */ @@ -290,23 +239,20 @@ public java.lang.String getParentPartitionTokens(int index) { return parentPartitionTokens_.get(index); } /** - * - * *
      * Parent partition tokens of this child partition.
      * 
* * repeated string parent_partition_tokens = 2; - * * @param index The index of the value to return. * @return The bytes of the parentPartitionTokens at the given index. */ - public com.google.protobuf.ByteString getParentPartitionTokensBytes(int index) { + public com.google.protobuf.ByteString + getParentPartitionTokensBytes(int index) { return parentPartitionTokens_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,13 +264,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, token_); } for (int i = 0; i < parentPartitionTokens_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, parentPartitionTokens_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, parentPartitionTokens_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -354,17 +300,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition)) { return super.equals(obj); } - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition other = - (com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) obj; + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition other = (com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) obj; - if (!getToken().equals(other.getToken())) return false; - if (!getParentPartitionTokensList().equals(other.getParentPartitionTokensList())) - return false; + if (!getToken() + .equals(other.getToken())) return false; + if (!getParentPartitionTokensList() + .equals(other.getParentPartitionTokensList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -388,95 +334,89 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - 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 com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition 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 com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -486,62 +426,58 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A single child partition.
      * 
* * Protobuf type {@code google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.class, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder.class); + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.class, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder.class); } - // Construct using - // com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.newBuilder() - private Builder() {} + // Construct using com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; token_ = ""; - parentPartitionTokens_ = com.google.protobuf.LazyStringArrayList.emptyList(); + parentPartitionTokens_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - getDefaultInstanceForType() { - return com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - .getDefaultInstance(); + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getDefaultInstanceForType() { + return com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.getDefaultInstance(); } @java.lang.Override @@ -555,17 +491,13 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition build @java.lang.Override public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition buildPartial() { - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition result = - new com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition result = new com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition result) { + private void buildPartial0(com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.token_ = token_; @@ -580,53 +512,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) { - return mergeFrom( - (com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) other); + return mergeFrom((com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition other) { - if (other - == com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition other) { + if (other == com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.getDefaultInstance()) return this; if (!other.getToken().isEmpty()) { token_ = other.token_; bitField0_ |= 0x00000001; @@ -668,26 +593,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - token_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureParentPartitionTokensIsMutable(); - parentPartitionTokens_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + token_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureParentPartitionTokensIsMutable(); + parentPartitionTokens_.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) { @@ -697,25 +619,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object token_ = ""; /** - * - * *
        * Partition token string used to identify the child partition in queries.
        * 
* * string token = 1; - * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -724,21 +643,20 @@ public java.lang.String getToken() { } } /** - * - * *
        * Partition token string used to identify the child partition in queries.
        * 
* * string token = 1; - * * @return The bytes for token. */ - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -746,35 +664,28 @@ public com.google.protobuf.ByteString getTokenBytes() { } } /** - * - * *
        * Partition token string used to identify the child partition in queries.
        * 
* * string token = 1; - * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } token_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Partition token string used to identify the child partition in queries.
        * 
* * string token = 1; - * * @return This builder for chaining. */ public Builder clearToken() { @@ -784,21 +695,17 @@ public Builder clearToken() { return this; } /** - * - * *
        * Partition token string used to identify the child partition in queries.
        * 
* * string token = 1; - * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000001; @@ -808,52 +715,42 @@ public Builder setTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList parentPartitionTokens_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureParentPartitionTokensIsMutable() { if (!parentPartitionTokens_.isModifiable()) { - parentPartitionTokens_ = - new com.google.protobuf.LazyStringArrayList(parentPartitionTokens_); + parentPartitionTokens_ = new com.google.protobuf.LazyStringArrayList(parentPartitionTokens_); } bitField0_ |= 0x00000002; } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @return A list containing the parentPartitionTokens. */ - public com.google.protobuf.ProtocolStringList getParentPartitionTokensList() { + public com.google.protobuf.ProtocolStringList + getParentPartitionTokensList() { parentPartitionTokens_.makeImmutable(); return parentPartitionTokens_; } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @return The count of parentPartitionTokens. */ public int getParentPartitionTokensCount() { return parentPartitionTokens_.size(); } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @param index The index of the element to return. * @return The parentPartitionTokens at the given index. */ @@ -861,37 +758,31 @@ public java.lang.String getParentPartitionTokens(int index) { return parentPartitionTokens_.get(index); } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @param index The index of the value to return. * @return The bytes of the parentPartitionTokens at the given index. */ - public com.google.protobuf.ByteString getParentPartitionTokensBytes(int index) { + public com.google.protobuf.ByteString + getParentPartitionTokensBytes(int index) { return parentPartitionTokens_.getByteString(index); } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @param index The index to set the value at. * @param value The parentPartitionTokens to set. * @return This builder for chaining. */ - public Builder setParentPartitionTokens(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentPartitionTokens( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureParentPartitionTokensIsMutable(); parentPartitionTokens_.set(index, value); bitField0_ |= 0x00000002; @@ -899,21 +790,17 @@ public Builder setParentPartitionTokens(int index, java.lang.String value) { return this; } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @param value The parentPartitionTokens to add. * @return This builder for chaining. */ - public Builder addParentPartitionTokens(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addParentPartitionTokens( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureParentPartitionTokensIsMutable(); parentPartitionTokens_.add(value); bitField0_ |= 0x00000002; @@ -921,58 +808,50 @@ public Builder addParentPartitionTokens(java.lang.String value) { return this; } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @param values The parentPartitionTokens to add. * @return This builder for chaining. */ - public Builder addAllParentPartitionTokens(java.lang.Iterable values) { + public Builder addAllParentPartitionTokens( + java.lang.Iterable values) { ensureParentPartitionTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parentPartitionTokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parentPartitionTokens_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @return This builder for chaining. */ public Builder clearParentPartitionTokens() { - parentPartitionTokens_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + parentPartitionTokens_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
        * Parent partition tokens of this child partition.
        * 
* * repeated string parent_partition_tokens = 2; - * * @param value The bytes of the parentPartitionTokens to add. * @return This builder for chaining. */ - public Builder addParentPartitionTokensBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addParentPartitionTokensBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureParentPartitionTokensIsMutable(); parentPartitionTokens_.add(value); @@ -980,7 +859,6 @@ public Builder addParentPartitionTokensBytes(com.google.protobuf.ByteString valu onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -993,44 +871,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition) - private static final com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition(); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - getDefaultInstance() { + public static com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChildPartition 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChildPartition 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; @@ -1042,25 +917,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Data change records returned from child partitions in this child partitions
    * record will have a commit timestamp greater than or equal to start_time.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1068,15 +940,12 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Data change records returned from child partitions in this child partitions
    * record will have a commit timestamp greater than or equal to start_time.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -1084,8 +953,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Data change records returned from child partitions in this child partitions
    * record will have a commit timestamp greater than or equal to start_time.
@@ -1099,12 +966,9 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   }
 
   public static final int RECORD_SEQUENCE_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object recordSequence_ = "";
   /**
-   *
-   *
    * 
    * A monotonically increasing sequence number that can be used to define the
    * ordering of the child partitions record when there are multiple child
@@ -1113,7 +977,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * string record_sequence = 2; - * * @return The recordSequence. */ @java.lang.Override @@ -1122,15 +985,14 @@ public java.lang.String getRecordSequence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSequence_ = s; return s; } } /** - * - * *
    * A monotonically increasing sequence number that can be used to define the
    * ordering of the child partitions record when there are multiple child
@@ -1139,15 +1001,16 @@ public java.lang.String getRecordSequence() {
    * 
* * string record_sequence = 2; - * * @return The bytes for recordSequence. */ @java.lang.Override - public com.google.protobuf.ByteString getRecordSequenceBytes() { + public com.google.protobuf.ByteString + getRecordSequenceBytes() { java.lang.Object ref = recordSequence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recordSequence_ = b; return b; } else { @@ -1156,93 +1019,67 @@ public com.google.protobuf.ByteString getRecordSequenceBytes() { } public static final int CHILD_PARTITIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List - childPartitions_; + private java.util.List childPartitions_; /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ @java.lang.Override - public java.util.List - getChildPartitionsList() { + public java.util.List getChildPartitionsList() { return childPartitions_; } /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder> + public java.util.List getChildPartitionsOrBuilderList() { return childPartitions_; } /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ @java.lang.Override public int getChildPartitionsCount() { return childPartitions_.size(); } /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getChildPartitions( - int index) { + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getChildPartitions(int index) { return childPartitions_.get(index); } /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder - getChildPartitionsOrBuilder(int index) { + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder getChildPartitionsOrBuilder( + int index) { return childPartitions_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1254,7 +1091,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStartTime()); } @@ -1274,13 +1112,15 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recordSequence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recordSequence_); } for (int i = 0; i < childPartitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, childPartitions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, childPartitions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1290,20 +1130,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ChildPartitionsRecord)) { return super.equals(obj); } - com.google.spanner.executor.v1.ChildPartitionsRecord other = - (com.google.spanner.executor.v1.ChildPartitionsRecord) obj; + com.google.spanner.executor.v1.ChildPartitionsRecord other = (com.google.spanner.executor.v1.ChildPartitionsRecord) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } - if (!getRecordSequence().equals(other.getRecordSequence())) return false; - if (!getChildPartitionsList().equals(other.getChildPartitionsList())) return false; + if (!getRecordSequence() + .equals(other.getRecordSequence())) return false; + if (!getChildPartitionsList() + .equals(other.getChildPartitionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1331,126 +1173,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ChildPartitionsRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ChildPartitionsRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ChildPartitionsRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.ChildPartitionsRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ChangeStream child partition record.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ChildPartitionsRecord} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ChildPartitionsRecord) com.google.spanner.executor.v1.ChildPartitionsRecordOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ChildPartitionsRecord.class, - com.google.spanner.executor.v1.ChildPartitionsRecord.Builder.class); + com.google.spanner.executor.v1.ChildPartitionsRecord.class, com.google.spanner.executor.v1.ChildPartitionsRecord.Builder.class); } // Construct using com.google.spanner.executor.v1.ChildPartitionsRecord.newBuilder() @@ -1458,18 +1293,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getChildPartitionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1491,9 +1326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; } @java.lang.Override @@ -1512,18 +1347,14 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord build() { @java.lang.Override public com.google.spanner.executor.v1.ChildPartitionsRecord buildPartial() { - com.google.spanner.executor.v1.ChildPartitionsRecord result = - new com.google.spanner.executor.v1.ChildPartitionsRecord(this); + com.google.spanner.executor.v1.ChildPartitionsRecord result = new com.google.spanner.executor.v1.ChildPartitionsRecord(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.ChildPartitionsRecord result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.ChildPartitionsRecord result) { if (childPartitionsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { childPartitions_ = java.util.Collections.unmodifiableList(childPartitions_); @@ -1539,7 +1370,9 @@ private void buildPartial0(com.google.spanner.executor.v1.ChildPartitionsRecord int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -1552,39 +1385,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ChildPartitionsRecord public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ChildPartitionsRecord) { - return mergeFrom((com.google.spanner.executor.v1.ChildPartitionsRecord) other); + return mergeFrom((com.google.spanner.executor.v1.ChildPartitionsRecord)other); } else { super.mergeFrom(other); return this; @@ -1592,8 +1424,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ChildPartitionsRecord other) { - if (other == com.google.spanner.executor.v1.ChildPartitionsRecord.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ChildPartitionsRecord.getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } @@ -1620,10 +1451,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.ChildPartitionsRecord ot childPartitionsBuilder_ = null; childPartitions_ = other.childPartitions_; bitField0_ = (bitField0_ & ~0x00000004); - childPartitionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChildPartitionsFieldBuilder() - : null; + childPartitionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildPartitionsFieldBuilder() : null; } else { childPartitionsBuilder_.addAllMessages(other.childPartitions_); } @@ -1655,40 +1485,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - recordSequence_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition m = - input.readMessage( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - .parser(), - extensionRegistry); - if (childPartitionsBuilder_ == null) { - ensureChildPartitionsIsMutable(); - childPartitions_.add(m); - } else { - childPartitionsBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + recordSequence_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition m = + input.readMessage( + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.parser(), + extensionRegistry); + if (childPartitionsBuilder_ == null) { + ensureChildPartitionsIsMutable(); + childPartitions_.add(m); + } else { + childPartitionsBuilder_.addMessage(m); + } + 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) { @@ -1698,40 +1525,30 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1742,8 +1559,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
@@ -1765,8 +1580,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
@@ -1774,7 +1587,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 1;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -1785,8 +1599,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
@@ -1796,9 +1608,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1813,8 +1625,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
@@ -1833,8 +1643,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
@@ -1848,8 +1656,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
@@ -1861,12 +1667,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Data change records returned from child partitions in this child partitions
      * record will have a commit timestamp greater than or equal to start_time.
@@ -1875,17 +1680,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1893,8 +1695,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private java.lang.Object recordSequence_ = "";
     /**
-     *
-     *
      * 
      * A monotonically increasing sequence number that can be used to define the
      * ordering of the child partitions record when there are multiple child
@@ -1903,13 +1703,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * string record_sequence = 2; - * * @return The recordSequence. */ public java.lang.String getRecordSequence() { java.lang.Object ref = recordSequence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSequence_ = s; return s; @@ -1918,8 +1718,6 @@ public java.lang.String getRecordSequence() { } } /** - * - * *
      * A monotonically increasing sequence number that can be used to define the
      * ordering of the child partitions record when there are multiple child
@@ -1928,14 +1726,15 @@ public java.lang.String getRecordSequence() {
      * 
* * string record_sequence = 2; - * * @return The bytes for recordSequence. */ - public com.google.protobuf.ByteString getRecordSequenceBytes() { + public com.google.protobuf.ByteString + getRecordSequenceBytes() { java.lang.Object ref = recordSequence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recordSequence_ = b; return b; } else { @@ -1943,8 +1742,6 @@ public com.google.protobuf.ByteString getRecordSequenceBytes() { } } /** - * - * *
      * A monotonically increasing sequence number that can be used to define the
      * ordering of the child partitions record when there are multiple child
@@ -1953,22 +1750,18 @@ public com.google.protobuf.ByteString getRecordSequenceBytes() {
      * 
* * string record_sequence = 2; - * * @param value The recordSequence to set. * @return This builder for chaining. */ - public Builder setRecordSequence(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRecordSequence( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } recordSequence_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A monotonically increasing sequence number that can be used to define the
      * ordering of the child partitions record when there are multiple child
@@ -1977,7 +1770,6 @@ public Builder setRecordSequence(java.lang.String value) {
      * 
* * string record_sequence = 2; - * * @return This builder for chaining. */ public Builder clearRecordSequence() { @@ -1987,8 +1779,6 @@ public Builder clearRecordSequence() { return this; } /** - * - * *
      * A monotonically increasing sequence number that can be used to define the
      * ordering of the child partitions record when there are multiple child
@@ -1997,14 +1787,12 @@ public Builder clearRecordSequence() {
      * 
* * string record_sequence = 2; - * * @param value The bytes for recordSequence to set. * @return This builder for chaining. */ - public Builder setRecordSequenceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRecordSequenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); recordSequence_ = value; bitField0_ |= 0x00000002; @@ -2012,38 +1800,26 @@ public Builder setRecordSequenceBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - childPartitions_ = java.util.Collections.emptyList(); - + private java.util.List childPartitions_ = + java.util.Collections.emptyList(); private void ensureChildPartitionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - childPartitions_ = - new java.util.ArrayList< - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition>( - childPartitions_); + childPartitions_ = new java.util.ArrayList(childPartitions_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder> - childPartitionsBuilder_; + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder> childPartitionsBuilder_; /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public java.util.List - getChildPartitionsList() { + public java.util.List getChildPartitionsList() { if (childPartitionsBuilder_ == null) { return java.util.Collections.unmodifiableList(childPartitions_); } else { @@ -2051,15 +1827,11 @@ private void ensureChildPartitionsIsMutable() { } } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public int getChildPartitionsCount() { if (childPartitionsBuilder_ == null) { @@ -2069,18 +1841,13 @@ public int getChildPartitionsCount() { } } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getChildPartitions( - int index) { + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getChildPartitions(int index) { if (childPartitionsBuilder_ == null) { return childPartitions_.get(index); } else { @@ -2088,15 +1855,11 @@ public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getCh } } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder setChildPartitions( int index, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition value) { @@ -2113,20 +1876,14 @@ public Builder setChildPartitions( return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder setChildPartitions( - int index, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder - builderForValue) { + int index, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder builderForValue) { if (childPartitionsBuilder_ == null) { ensureChildPartitionsIsMutable(); childPartitions_.set(index, builderForValue.build()); @@ -2137,18 +1894,13 @@ public Builder setChildPartitions( return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public Builder addChildPartitions( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition value) { + public Builder addChildPartitions(com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition value) { if (childPartitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2162,15 +1914,11 @@ public Builder addChildPartitions( return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder addChildPartitions( int index, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition value) { @@ -2187,19 +1935,14 @@ public Builder addChildPartitions( return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder addChildPartitions( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder - builderForValue) { + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder builderForValue) { if (childPartitionsBuilder_ == null) { ensureChildPartitionsIsMutable(); childPartitions_.add(builderForValue.build()); @@ -2210,20 +1953,14 @@ public Builder addChildPartitions( return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder addChildPartitions( - int index, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder - builderForValue) { + int index, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder builderForValue) { if (childPartitionsBuilder_ == null) { ensureChildPartitionsIsMutable(); childPartitions_.add(index, builderForValue.build()); @@ -2234,23 +1971,18 @@ public Builder addChildPartitions( return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder addAllChildPartitions( - java.lang.Iterable< - ? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition> - values) { + java.lang.Iterable values) { if (childPartitionsBuilder_ == null) { ensureChildPartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childPartitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childPartitions_); onChanged(); } else { childPartitionsBuilder_.addAllMessages(values); @@ -2258,15 +1990,11 @@ public Builder addAllChildPartitions( return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder clearChildPartitions() { if (childPartitionsBuilder_ == null) { @@ -2279,15 +2007,11 @@ public Builder clearChildPartitions() { return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ public Builder removeChildPartitions(int index) { if (childPartitionsBuilder_ == null) { @@ -2300,53 +2024,39 @@ public Builder removeChildPartitions(int index) { return this; } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder - getChildPartitionsBuilder(int index) { + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder getChildPartitionsBuilder( + int index) { return getChildPartitionsFieldBuilder().getBuilder(index); } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder - getChildPartitionsOrBuilder(int index) { + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder getChildPartitionsOrBuilder( + int index) { if (childPartitionsBuilder_ == null) { - return childPartitions_.get(index); - } else { + return childPartitions_.get(index); } else { return childPartitionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public java.util.List< - ? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder> - getChildPartitionsOrBuilderList() { + public java.util.List + getChildPartitionsOrBuilderList() { if (childPartitionsBuilder_ != null) { return childPartitionsBuilder_.getMessageOrBuilderList(); } else { @@ -2354,70 +2064,45 @@ public Builder removeChildPartitions(int index) { } } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder - addChildPartitionsBuilder() { - return getChildPartitionsFieldBuilder() - .addBuilder( - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - .getDefaultInstance()); + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder addChildPartitionsBuilder() { + return getChildPartitionsFieldBuilder().addBuilder( + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.getDefaultInstance()); } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder - addChildPartitionsBuilder(int index) { - return getChildPartitionsFieldBuilder() - .addBuilder( - index, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition - .getDefaultInstance()); + public com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder addChildPartitionsBuilder( + int index) { + return getChildPartitionsFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.getDefaultInstance()); } /** - * - * *
      * A set of child partitions and their associated information.
      * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - public java.util.List< - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder> - getChildPartitionsBuilderList() { + public java.util.List + getChildPartitionsBuilderList() { return getChildPartitionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder> + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder> getChildPartitionsFieldBuilder() { if (childPartitionsBuilder_ == null) { - childPartitionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder, - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder>( + childPartitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition.Builder, com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder>( childPartitions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2426,9 +2111,9 @@ public Builder removeChildPartitions(int index) { } return childPartitionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2438,12 +2123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ChildPartitionsRecord) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ChildPartitionsRecord) private static final com.google.spanner.executor.v1.ChildPartitionsRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ChildPartitionsRecord(); } @@ -2452,27 +2137,27 @@ public static com.google.spanner.executor.v1.ChildPartitionsRecord getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChildPartitionsRecord 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChildPartitionsRecord 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; @@ -2487,4 +2172,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ChildPartitionsRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecordOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecordOrBuilder.java similarity index 64% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecordOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecordOrBuilder.java index c56af564e0e..e7bbcb9e7cd 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecordOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ChildPartitionsRecordOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ChildPartitionsRecordOrBuilder - extends +public interface ChildPartitionsRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ChildPartitionsRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Data change records returned from child partitions in this child partitions
    * record will have a commit timestamp greater than or equal to start_time.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Data change records returned from child partitions in this child partitions
    * record will have a commit timestamp greater than or equal to start_time.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Data change records returned from child partitions in this child partitions
    * record will have a commit timestamp greater than or equal to start_time.
@@ -63,8 +39,6 @@ public interface ChildPartitionsRecordOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A monotonically increasing sequence number that can be used to define the
    * ordering of the child partitions record when there are multiple child
@@ -73,13 +47,10 @@ public interface ChildPartitionsRecordOrBuilder
    * 
* * string record_sequence = 2; - * * @return The recordSequence. */ java.lang.String getRecordSequence(); /** - * - * *
    * A monotonically increasing sequence number that can be used to define the
    * ordering of the child partitions record when there are multiple child
@@ -88,73 +59,52 @@ public interface ChildPartitionsRecordOrBuilder
    * 
* * string record_sequence = 2; - * * @return The bytes for recordSequence. */ - com.google.protobuf.ByteString getRecordSequenceBytes(); + com.google.protobuf.ByteString + getRecordSequenceBytes(); /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - java.util.List + java.util.List getChildPartitionsList(); /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition getChildPartitions(int index); /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ int getChildPartitionsCount(); /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - java.util.List< - ? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder> + java.util.List getChildPartitionsOrBuilderList(); /** - * - * *
    * A set of child partitions and their associated information.
    * 
* - * - * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; - * + * repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3; */ - com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder - getChildPartitionsOrBuilder(int index); + com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder getChildPartitionsOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionAction.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionAction.java index bd88a95d961..ab717302276 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Closes or cleans up the currently opened batch read-only transaction.
  *
@@ -36,50 +19,46 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.CloseBatchTransactionAction}
  */
-public final class CloseBatchTransactionAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloseBatchTransactionAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CloseBatchTransactionAction)
     CloseBatchTransactionActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloseBatchTransactionAction.newBuilder() to construct.
   private CloseBatchTransactionAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CloseBatchTransactionAction() {}
+  private CloseBatchTransactionAction() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloseBatchTransactionAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.CloseBatchTransactionAction.class,
-            com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder.class);
+            com.google.spanner.executor.v1.CloseBatchTransactionAction.class, com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder.class);
   }
 
   public static final int CLEANUP_FIELD_NUMBER = 1;
   private boolean cleanup_ = false;
   /**
-   *
-   *
    * 
    * Indicates whether the transaction needs to be cleaned up.
    * 
* * bool cleanup = 1; - * * @return The cleanup. */ @java.lang.Override @@ -88,7 +67,6 @@ public boolean getCleanup() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,7 +78,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cleanup_ != false) { output.writeBool(1, cleanup_); } @@ -114,7 +93,8 @@ public int getSerializedSize() { size = 0; if (cleanup_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, cleanup_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, cleanup_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,15 +104,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CloseBatchTransactionAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.CloseBatchTransactionAction other = - (com.google.spanner.executor.v1.CloseBatchTransactionAction) obj; + com.google.spanner.executor.v1.CloseBatchTransactionAction other = (com.google.spanner.executor.v1.CloseBatchTransactionAction) obj; - if (getCleanup() != other.getCleanup()) return false; + if (getCleanup() + != other.getCleanup()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -145,111 +125,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CLEANUP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCleanup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCleanup()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloseBatchTransactionAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.CloseBatchTransactionAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.CloseBatchTransactionAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Closes or cleans up the currently opened batch read-only transaction.
    *
@@ -264,32 +239,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.CloseBatchTransactionAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CloseBatchTransactionAction)
       com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.CloseBatchTransactionAction.class,
-              com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder.class);
+              com.google.spanner.executor.v1.CloseBatchTransactionAction.class, com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.CloseBatchTransactionAction.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -299,9 +275,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor;
     }
 
     @java.lang.Override
@@ -320,11 +296,8 @@ public com.google.spanner.executor.v1.CloseBatchTransactionAction build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.CloseBatchTransactionAction buildPartial() {
-      com.google.spanner.executor.v1.CloseBatchTransactionAction result =
-          new com.google.spanner.executor.v1.CloseBatchTransactionAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.CloseBatchTransactionAction result = new com.google.spanner.executor.v1.CloseBatchTransactionAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -340,39 +313,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CloseBatchTransactionA
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.CloseBatchTransactionAction) {
-        return mergeFrom((com.google.spanner.executor.v1.CloseBatchTransactionAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.CloseBatchTransactionAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -380,8 +352,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.CloseBatchTransactionAction other) {
-      if (other == com.google.spanner.executor.v1.CloseBatchTransactionAction.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.CloseBatchTransactionAction.getDefaultInstance()) return this;
       if (other.getCleanup() != false) {
         setCleanup(other.getCleanup());
       }
@@ -411,19 +382,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                cleanup_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              cleanup_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            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) {
@@ -433,19 +402,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean cleanup_;
+    private boolean cleanup_ ;
     /**
-     *
-     *
      * 
      * Indicates whether the transaction needs to be cleaned up.
      * 
* * bool cleanup = 1; - * * @return The cleanup. */ @java.lang.Override @@ -453,14 +418,11 @@ public boolean getCleanup() { return cleanup_; } /** - * - * *
      * Indicates whether the transaction needs to be cleaned up.
      * 
* * bool cleanup = 1; - * * @param value The cleanup to set. * @return This builder for chaining. */ @@ -472,14 +434,11 @@ public Builder setCleanup(boolean value) { return this; } /** - * - * *
      * Indicates whether the transaction needs to be cleaned up.
      * 
* * bool cleanup = 1; - * * @return This builder for chaining. */ public Builder clearCleanup() { @@ -488,9 +447,9 @@ public Builder clearCleanup() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -500,12 +459,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CloseBatchTransactionAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CloseBatchTransactionAction) private static final com.google.spanner.executor.v1.CloseBatchTransactionAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CloseBatchTransactionAction(); } @@ -514,27 +473,27 @@ public static com.google.spanner.executor.v1.CloseBatchTransactionAction getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloseBatchTransactionAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloseBatchTransactionAction 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; @@ -549,4 +508,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.spanner.executor.v1.CloseBatchTransactionAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionActionOrBuilder.java new file mode 100644 index 00000000000..d4eab87452d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionActionOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/executor/v1/cloud_executor.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.executor.v1; + +public interface CloseBatchTransactionActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CloseBatchTransactionAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Indicates whether the transaction needs to be cleaned up.
+   * 
+ * + * bool cleanup = 1; + * @return The cleanup. + */ + boolean getCleanup(); +} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponse.java similarity index 75% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponse.java index 090a93d4d71..b7f695aef01 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * CloudBackupResponse contains results returned by cloud backup related
  * actions.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.CloudBackupResponse}
  */
-public final class CloudBackupResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudBackupResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CloudBackupResponse)
     CloudBackupResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudBackupResponse.newBuilder() to construct.
   private CloudBackupResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudBackupResponse() {
     listedBackups_ = java.util.Collections.emptyList();
     listedBackupOperations_ = java.util.Collections.emptyList();
@@ -47,33 +29,29 @@ private CloudBackupResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudBackupResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.CloudBackupResponse.class,
-            com.google.spanner.executor.v1.CloudBackupResponse.Builder.class);
+            com.google.spanner.executor.v1.CloudBackupResponse.class, com.google.spanner.executor.v1.CloudBackupResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int LISTED_BACKUPS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List listedBackups_;
   /**
-   *
-   *
    * 
    * List of backups returned by ListCloudBackupsAction.
    * 
@@ -85,8 +63,6 @@ public java.util.List getListedBack return listedBackups_; } /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
@@ -94,13 +70,11 @@ public java.util.List getListedBack * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getListedBackupsOrBuilderList() { return listedBackups_; } /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
@@ -112,8 +86,6 @@ public int getListedBackupsCount() { return listedBackups_.size(); } /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
@@ -125,8 +97,6 @@ public com.google.spanner.admin.database.v1.Backup getListedBackups(int index) { return listedBackups_.get(index); } /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
@@ -134,17 +104,15 @@ public com.google.spanner.admin.database.v1.Backup getListedBackups(int index) { * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ @java.lang.Override - public com.google.spanner.admin.database.v1.BackupOrBuilder getListedBackupsOrBuilder(int index) { + public com.google.spanner.admin.database.v1.BackupOrBuilder getListedBackupsOrBuilder( + int index) { return listedBackups_.get(index); } public static final int LISTED_BACKUP_OPERATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List listedBackupOperations_; /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
@@ -156,8 +124,6 @@ public java.util.List getListedBackupOperation return listedBackupOperations_; } /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
@@ -165,13 +131,11 @@ public java.util.List getListedBackupOperation * repeated .google.longrunning.Operation listed_backup_operations = 2; */ @java.lang.Override - public java.util.List + public java.util.List getListedBackupOperationsOrBuilderList() { return listedBackupOperations_; } /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
@@ -183,8 +147,6 @@ public int getListedBackupOperationsCount() { return listedBackupOperations_.size(); } /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
@@ -196,8 +158,6 @@ public com.google.longrunning.Operation getListedBackupOperations(int index) { return listedBackupOperations_.get(index); } /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
@@ -205,24 +165,21 @@ public com.google.longrunning.Operation getListedBackupOperations(int index) { * repeated .google.longrunning.Operation listed_backup_operations = 2; */ @java.lang.Override - public com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuilder(int index) { + public com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuilder( + int index) { return listedBackupOperations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -231,30 +188,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -265,14 +222,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int BACKUP_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.Backup backup_; /** - * - * *
    * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
    * 
* * .google.spanner.admin.database.v1.Backup backup = 4; - * * @return Whether the backup field is set. */ @java.lang.Override @@ -280,25 +234,18 @@ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
    * 
* * .google.spanner.admin.database.v1.Backup backup = 4; - * * @return The backup. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup getBackup() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
    * 
@@ -307,13 +254,10 @@ public com.google.spanner.admin.database.v1.Backup getBackup() { */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < listedBackups_.size(); i++) { output.writeMessage(1, listedBackups_.get(i)); } @@ -348,18 +293,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < listedBackups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, listedBackups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, listedBackups_.get(i)); } for (int i = 0; i < listedBackupOperations_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, listedBackupOperations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, listedBackupOperations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getBackup()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -369,21 +315,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CloudBackupResponse)) { return super.equals(obj); } - com.google.spanner.executor.v1.CloudBackupResponse other = - (com.google.spanner.executor.v1.CloudBackupResponse) obj; + com.google.spanner.executor.v1.CloudBackupResponse other = (com.google.spanner.executor.v1.CloudBackupResponse) obj; - if (!getListedBackupsList().equals(other.getListedBackupsList())) return false; - if (!getListedBackupOperationsList().equals(other.getListedBackupOperationsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getListedBackupsList() + .equals(other.getListedBackupsList())) return false; + if (!getListedBackupOperationsList() + .equals(other.getListedBackupOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -416,103 +364,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudBackupResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CloudBackupResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudBackupResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.CloudBackupResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CloudBackupResponse contains results returned by cloud backup related
    * actions.
@@ -520,23 +463,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.CloudBackupResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CloudBackupResponse)
       com.google.spanner.executor.v1.CloudBackupResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.CloudBackupResponse.class,
-              com.google.spanner.executor.v1.CloudBackupResponse.Builder.class);
+              com.google.spanner.executor.v1.CloudBackupResponse.class, com.google.spanner.executor.v1.CloudBackupResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.CloudBackupResponse.newBuilder()
@@ -544,19 +485,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getListedBackupsFieldBuilder();
         getListedBackupOperationsFieldBuilder();
         getBackupFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -585,9 +526,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor;
     }
 
     @java.lang.Override
@@ -606,18 +547,14 @@ public com.google.spanner.executor.v1.CloudBackupResponse build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.CloudBackupResponse buildPartial() {
-      com.google.spanner.executor.v1.CloudBackupResponse result =
-          new com.google.spanner.executor.v1.CloudBackupResponse(this);
+      com.google.spanner.executor.v1.CloudBackupResponse result = new com.google.spanner.executor.v1.CloudBackupResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.executor.v1.CloudBackupResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.executor.v1.CloudBackupResponse result) {
       if (listedBackupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           listedBackups_ = java.util.Collections.unmodifiableList(listedBackups_);
@@ -645,7 +582,9 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudBackupResponse re
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build();
+        result.backup_ = backupBuilder_ == null
+            ? backup_
+            : backupBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -655,39 +594,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudBackupResponse re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.CloudBackupResponse) {
-        return mergeFrom((com.google.spanner.executor.v1.CloudBackupResponse) other);
+        return mergeFrom((com.google.spanner.executor.v1.CloudBackupResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -695,8 +633,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.CloudBackupResponse other) {
-      if (other == com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.CloudBackupResponse.getDefaultInstance()) return this;
       if (listedBackupsBuilder_ == null) {
         if (!other.listedBackups_.isEmpty()) {
           if (listedBackups_.isEmpty()) {
@@ -715,10 +652,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CloudBackupResponse othe
             listedBackupsBuilder_ = null;
             listedBackups_ = other.listedBackups_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            listedBackupsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getListedBackupsFieldBuilder()
-                    : null;
+            listedBackupsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getListedBackupsFieldBuilder() : null;
           } else {
             listedBackupsBuilder_.addAllMessages(other.listedBackups_);
           }
@@ -742,10 +678,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CloudBackupResponse othe
             listedBackupOperationsBuilder_ = null;
             listedBackupOperations_ = other.listedBackupOperations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            listedBackupOperationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getListedBackupOperationsFieldBuilder()
-                    : null;
+            listedBackupOperationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getListedBackupOperationsFieldBuilder() : null;
           } else {
             listedBackupOperationsBuilder_.addAllMessages(other.listedBackupOperations_);
           }
@@ -785,50 +720,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.database.v1.Backup m =
-                    input.readMessage(
-                        com.google.spanner.admin.database.v1.Backup.parser(), extensionRegistry);
-                if (listedBackupsBuilder_ == null) {
-                  ensureListedBackupsIsMutable();
-                  listedBackups_.add(m);
-                } else {
-                  listedBackupsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (listedBackupOperationsBuilder_ == null) {
-                  ensureListedBackupOperationsIsMutable();
-                  listedBackupOperations_.add(m);
-                } else {
-                  listedBackupOperationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.admin.database.v1.Backup m =
+                  input.readMessage(
+                      com.google.spanner.admin.database.v1.Backup.parser(),
+                      extensionRegistry);
+              if (listedBackupsBuilder_ == null) {
+                ensureListedBackupsIsMutable();
+                listedBackups_.add(m);
+              } else {
+                listedBackupsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (listedBackupOperationsBuilder_ == null) {
+                ensureListedBackupOperationsIsMutable();
+                listedBackupOperations_.add(m);
+              } else {
+                listedBackupOperationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -838,29 +773,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List listedBackups_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureListedBackupsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        listedBackups_ =
-            new java.util.ArrayList(listedBackups_);
+        listedBackups_ = new java.util.ArrayList(listedBackups_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.Backup,
-            com.google.spanner.admin.database.v1.Backup.Builder,
-            com.google.spanner.admin.database.v1.BackupOrBuilder>
-        listedBackupsBuilder_;
+        com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> listedBackupsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -875,8 +802,6 @@ public java.util.List getListedBack } } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -891,8 +816,6 @@ public int getListedBackupsCount() { } } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -907,15 +830,14 @@ public com.google.spanner.admin.database.v1.Backup getListedBackups(int index) { } } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - public Builder setListedBackups(int index, com.google.spanner.admin.database.v1.Backup value) { + public Builder setListedBackups( + int index, com.google.spanner.admin.database.v1.Backup value) { if (listedBackupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -929,8 +851,6 @@ public Builder setListedBackups(int index, com.google.spanner.admin.database.v1. return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -949,8 +869,6 @@ public Builder setListedBackups( return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -971,15 +889,14 @@ public Builder addListedBackups(com.google.spanner.admin.database.v1.Backup valu return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - public Builder addListedBackups(int index, com.google.spanner.admin.database.v1.Backup value) { + public Builder addListedBackups( + int index, com.google.spanner.admin.database.v1.Backup value) { if (listedBackupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -993,8 +910,6 @@ public Builder addListedBackups(int index, com.google.spanner.admin.database.v1. return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -1013,8 +928,6 @@ public Builder addListedBackups( return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -1033,8 +946,6 @@ public Builder addListedBackups( return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -1045,7 +956,8 @@ public Builder addAllListedBackups( java.lang.Iterable values) { if (listedBackupsBuilder_ == null) { ensureListedBackupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listedBackups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listedBackups_); onChanged(); } else { listedBackupsBuilder_.addAllMessages(values); @@ -1053,8 +965,6 @@ public Builder addAllListedBackups( return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -1072,8 +982,6 @@ public Builder clearListedBackups() { return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -1091,20 +999,17 @@ public Builder removeListedBackups(int index) { return this; } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - public com.google.spanner.admin.database.v1.Backup.Builder getListedBackupsBuilder(int index) { + public com.google.spanner.admin.database.v1.Backup.Builder getListedBackupsBuilder( + int index) { return getListedBackupsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -1114,22 +1019,19 @@ public com.google.spanner.admin.database.v1.Backup.Builder getListedBackupsBuild public com.google.spanner.admin.database.v1.BackupOrBuilder getListedBackupsOrBuilder( int index) { if (listedBackupsBuilder_ == null) { - return listedBackups_.get(index); - } else { + return listedBackups_.get(index); } else { return listedBackupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - public java.util.List - getListedBackupsOrBuilderList() { + public java.util.List + getListedBackupsOrBuilderList() { if (listedBackupsBuilder_ != null) { return listedBackupsBuilder_.getMessageOrBuilderList(); } else { @@ -1137,8 +1039,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getListedBackupsOrBu } } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
@@ -1146,47 +1046,38 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getListedBackupsOrBu * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ public com.google.spanner.admin.database.v1.Backup.Builder addListedBackupsBuilder() { - return getListedBackupsFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.Backup.getDefaultInstance()); + return getListedBackupsFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.Backup.getDefaultInstance()); } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - public com.google.spanner.admin.database.v1.Backup.Builder addListedBackupsBuilder(int index) { - return getListedBackupsFieldBuilder() - .addBuilder(index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance()); + public com.google.spanner.admin.database.v1.Backup.Builder addListedBackupsBuilder( + int index) { + return getListedBackupsFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance()); } /** - * - * *
      * List of backups returned by ListCloudBackupsAction.
      * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - public java.util.List - getListedBackupsBuilderList() { + public java.util.List + getListedBackupsBuilderList() { return getListedBackupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> getListedBackupsFieldBuilder() { if (listedBackupsBuilder_ == null) { - listedBackupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder>( + listedBackupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( listedBackups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1197,25 +1088,18 @@ public com.google.spanner.admin.database.v1.Backup.Builder addListedBackupsBuild } private java.util.List listedBackupOperations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureListedBackupOperationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - listedBackupOperations_ = - new java.util.ArrayList(listedBackupOperations_); + listedBackupOperations_ = new java.util.ArrayList(listedBackupOperations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> - listedBackupOperationsBuilder_; + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> listedBackupOperationsBuilder_; /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1230,8 +1114,6 @@ public java.util.List getListedBackupOperation } } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1246,8 +1128,6 @@ public int getListedBackupOperationsCount() { } } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1262,15 +1142,14 @@ public com.google.longrunning.Operation getListedBackupOperations(int index) { } } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - public Builder setListedBackupOperations(int index, com.google.longrunning.Operation value) { + public Builder setListedBackupOperations( + int index, com.google.longrunning.Operation value) { if (listedBackupOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1284,8 +1163,6 @@ public Builder setListedBackupOperations(int index, com.google.longrunning.Opera return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1304,8 +1181,6 @@ public Builder setListedBackupOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1326,15 +1201,14 @@ public Builder addListedBackupOperations(com.google.longrunning.Operation value) return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - public Builder addListedBackupOperations(int index, com.google.longrunning.Operation value) { + public Builder addListedBackupOperations( + int index, com.google.longrunning.Operation value) { if (listedBackupOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1348,8 +1222,6 @@ public Builder addListedBackupOperations(int index, com.google.longrunning.Opera return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1368,8 +1240,6 @@ public Builder addListedBackupOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1388,8 +1258,6 @@ public Builder addListedBackupOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1400,7 +1268,8 @@ public Builder addAllListedBackupOperations( java.lang.Iterable values) { if (listedBackupOperationsBuilder_ == null) { ensureListedBackupOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listedBackupOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listedBackupOperations_); onChanged(); } else { listedBackupOperationsBuilder_.addAllMessages(values); @@ -1408,8 +1277,6 @@ public Builder addAllListedBackupOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1427,8 +1294,6 @@ public Builder clearListedBackupOperations() { return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1446,44 +1311,39 @@ public Builder removeListedBackupOperations(int index) { return this; } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - public com.google.longrunning.Operation.Builder getListedBackupOperationsBuilder(int index) { + public com.google.longrunning.Operation.Builder getListedBackupOperationsBuilder( + int index) { return getListedBackupOperationsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - public com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuilder(int index) { + public com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuilder( + int index) { if (listedBackupOperationsBuilder_ == null) { - return listedBackupOperations_.get(index); - } else { + return listedBackupOperations_.get(index); } else { return listedBackupOperationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - public java.util.List - getListedBackupOperationsOrBuilderList() { + public java.util.List + getListedBackupOperationsOrBuilderList() { if (listedBackupOperationsBuilder_ != null) { return listedBackupOperationsBuilder_.getMessageOrBuilderList(); } else { @@ -1491,8 +1351,6 @@ public com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuil } } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
@@ -1500,47 +1358,38 @@ public com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuil * repeated .google.longrunning.Operation listed_backup_operations = 2; */ public com.google.longrunning.Operation.Builder addListedBackupOperationsBuilder() { - return getListedBackupOperationsFieldBuilder() - .addBuilder(com.google.longrunning.Operation.getDefaultInstance()); + return getListedBackupOperationsFieldBuilder().addBuilder( + com.google.longrunning.Operation.getDefaultInstance()); } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - public com.google.longrunning.Operation.Builder addListedBackupOperationsBuilder(int index) { - return getListedBackupOperationsFieldBuilder() - .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance()); + public com.google.longrunning.Operation.Builder addListedBackupOperationsBuilder( + int index) { + return getListedBackupOperationsFieldBuilder().addBuilder( + index, com.google.longrunning.Operation.getDefaultInstance()); } /** - * - * *
      * List of operations returned by ListCloudBackupOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - public java.util.List - getListedBackupOperationsBuilderList() { + public java.util.List + getListedBackupOperationsBuilderList() { return getListedBackupOperationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> getListedBackupOperationsFieldBuilder() { if (listedBackupOperationsBuilder_ == null) { - listedBackupOperationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder>( + listedBackupOperationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>( listedBackupOperations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1552,21 +1401,19 @@ public com.google.longrunning.Operation.Builder addListedBackupOperationsBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1575,22 +1422,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1598,37 +1444,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1638,22 +1477,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; @@ -1663,47 +1498,34 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> - backupBuilder_; + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
* * .google.spanner.admin.database.v1.Backup backup = 4; - * * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
* * .google.spanner.admin.database.v1.Backup backup = 4; - * * @return The backup. */ public com.google.spanner.admin.database.v1.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
@@ -1724,15 +1546,14 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
* * .google.spanner.admin.database.v1.Backup backup = 4; */ - public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1743,8 +1564,6 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui return this; } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
@@ -1753,9 +1572,9 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui */ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && backup_ != null - && backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + backup_ != null && + backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1770,8 +1589,6 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
@@ -1789,8 +1606,6 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
@@ -1803,8 +1618,6 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
@@ -1815,14 +1628,11 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
      * 
@@ -1830,24 +1640,21 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() * .google.spanner.admin.database.v1.Backup backup = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1857,12 +1664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CloudBackupResponse) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CloudBackupResponse) private static final com.google.spanner.executor.v1.CloudBackupResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CloudBackupResponse(); } @@ -1871,27 +1678,27 @@ public static com.google.spanner.executor.v1.CloudBackupResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudBackupResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudBackupResponse 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; @@ -1906,4 +1713,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.CloudBackupResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponseOrBuilder.java index 48e5355556b..a6612c49bfd 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudBackupResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CloudBackupResponseOrBuilder - extends +public interface CloudBackupResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CloudBackupResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - java.util.List getListedBackupsList(); + java.util.List + getListedBackupsList(); /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
@@ -45,8 +26,6 @@ public interface CloudBackupResponseOrBuilder */ com.google.spanner.admin.database.v1.Backup getListedBackups(int index); /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
@@ -55,40 +34,34 @@ public interface CloudBackupResponseOrBuilder */ int getListedBackupsCount(); /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - java.util.List + java.util.List getListedBackupsOrBuilderList(); /** - * - * *
    * List of backups returned by ListCloudBackupsAction.
    * 
* * repeated .google.spanner.admin.database.v1.Backup listed_backups = 1; */ - com.google.spanner.admin.database.v1.BackupOrBuilder getListedBackupsOrBuilder(int index); + com.google.spanner.admin.database.v1.BackupOrBuilder getListedBackupsOrBuilder( + int index); /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - java.util.List getListedBackupOperationsList(); + java.util.List + getListedBackupOperationsList(); /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
@@ -97,8 +70,6 @@ public interface CloudBackupResponseOrBuilder */ com.google.longrunning.Operation getListedBackupOperations(int index); /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
@@ -107,81 +78,65 @@ public interface CloudBackupResponseOrBuilder */ int getListedBackupOperationsCount(); /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - java.util.List + java.util.List getListedBackupOperationsOrBuilderList(); /** - * - * *
    * List of operations returned by ListCloudBackupOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_backup_operations = 2; */ - com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuilder(int index); + com.google.longrunning.OperationOrBuilder getListedBackupOperationsOrBuilder( + int index); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
    * 
* * .google.spanner.admin.database.v1.Backup backup = 4; - * * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
    * 
* * .google.spanner.admin.database.v1.Backup backup = 4; - * * @return The backup. */ com.google.spanner.admin.database.v1.Backup getBackup(); /** - * - * *
    * Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponse.java similarity index 75% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponse.java index f4195931d62..071327fded8 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * CloudDatabaseResponse contains results returned by cloud database related
  * actions.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.CloudDatabaseResponse}
  */
-public final class CloudDatabaseResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudDatabaseResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CloudDatabaseResponse)
     CloudDatabaseResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudDatabaseResponse.newBuilder() to construct.
   private CloudDatabaseResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudDatabaseResponse() {
     listedDatabases_ = java.util.Collections.emptyList();
     listedDatabaseOperations_ = java.util.Collections.emptyList();
@@ -47,33 +29,29 @@ private CloudDatabaseResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudDatabaseResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.CloudDatabaseResponse.class,
-            com.google.spanner.executor.v1.CloudDatabaseResponse.Builder.class);
+            com.google.spanner.executor.v1.CloudDatabaseResponse.class, com.google.spanner.executor.v1.CloudDatabaseResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int LISTED_DATABASES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List listedDatabases_;
   /**
-   *
-   *
    * 
    * List of databases returned by ListCloudDatabasesAction.
    * 
@@ -85,8 +63,6 @@ public java.util.List getListedDa return listedDatabases_; } /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
@@ -94,13 +70,11 @@ public java.util.List getListedDa * repeated .google.spanner.admin.database.v1.Database listed_databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getListedDatabasesOrBuilderList() { return listedDatabases_; } /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
@@ -112,8 +86,6 @@ public int getListedDatabasesCount() { return listedDatabases_.size(); } /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
@@ -125,8 +97,6 @@ public com.google.spanner.admin.database.v1.Database getListedDatabases(int inde return listedDatabases_.get(index); } /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
@@ -140,12 +110,9 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getListedDatabases } public static final int LISTED_DATABASE_OPERATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List listedDatabaseOperations_; /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
@@ -157,8 +124,6 @@ public java.util.List getListedDatabaseOperati return listedDatabaseOperations_; } /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
@@ -166,13 +131,11 @@ public java.util.List getListedDatabaseOperati * repeated .google.longrunning.Operation listed_database_operations = 2; */ @java.lang.Override - public java.util.List + public java.util.List getListedDatabaseOperationsOrBuilderList() { return listedDatabaseOperations_; } /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
@@ -184,8 +147,6 @@ public int getListedDatabaseOperationsCount() { return listedDatabaseOperations_.size(); } /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
@@ -197,8 +158,6 @@ public com.google.longrunning.Operation getListedDatabaseOperations(int index) { return listedDatabaseOperations_.get(index); } /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
@@ -206,24 +165,21 @@ public com.google.longrunning.Operation getListedDatabaseOperations(int index) { * repeated .google.longrunning.Operation listed_database_operations = 2; */ @java.lang.Override - public com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBuilder(int index) { + public com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBuilder( + int index) { return listedDatabaseOperations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -232,30 +188,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -266,14 +222,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int DATABASE_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.Database database_; /** - * - * *
    * Database returned by GetCloudDatabaseAction
    * 
* * .google.spanner.admin.database.v1.Database database = 4; - * * @return Whether the database field is set. */ @java.lang.Override @@ -281,25 +234,18 @@ public boolean hasDatabase() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Database returned by GetCloudDatabaseAction
    * 
* * .google.spanner.admin.database.v1.Database database = 4; - * * @return The database. */ @java.lang.Override public com.google.spanner.admin.database.v1.Database getDatabase() { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } /** - * - * *
    * Database returned by GetCloudDatabaseAction
    * 
@@ -308,13 +254,10 @@ public com.google.spanner.admin.database.v1.Database getDatabase() { */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabaseOrBuilder() { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < listedDatabases_.size(); i++) { output.writeMessage(1, listedDatabases_.get(i)); } @@ -349,18 +293,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < listedDatabases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, listedDatabases_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, listedDatabases_.get(i)); } for (int i = 0; i < listedDatabaseOperations_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, listedDatabaseOperations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, listedDatabaseOperations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDatabase()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDatabase()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -370,21 +315,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CloudDatabaseResponse)) { return super.equals(obj); } - com.google.spanner.executor.v1.CloudDatabaseResponse other = - (com.google.spanner.executor.v1.CloudDatabaseResponse) obj; + com.google.spanner.executor.v1.CloudDatabaseResponse other = (com.google.spanner.executor.v1.CloudDatabaseResponse) obj; - if (!getListedDatabasesList().equals(other.getListedDatabasesList())) return false; - if (!getListedDatabaseOperationsList().equals(other.getListedDatabaseOperationsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getListedDatabasesList() + .equals(other.getListedDatabasesList())) return false; + if (!getListedDatabaseOperationsList() + .equals(other.getListedDatabaseOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (hasDatabase() != other.hasDatabase()) return false; if (hasDatabase()) { - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -417,103 +364,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudDatabaseResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CloudDatabaseResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudDatabaseResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.CloudDatabaseResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CloudDatabaseResponse contains results returned by cloud database related
    * actions.
@@ -521,23 +463,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.CloudDatabaseResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CloudDatabaseResponse)
       com.google.spanner.executor.v1.CloudDatabaseResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.CloudDatabaseResponse.class,
-              com.google.spanner.executor.v1.CloudDatabaseResponse.Builder.class);
+              com.google.spanner.executor.v1.CloudDatabaseResponse.class, com.google.spanner.executor.v1.CloudDatabaseResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.CloudDatabaseResponse.newBuilder()
@@ -545,19 +485,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getListedDatabasesFieldBuilder();
         getListedDatabaseOperationsFieldBuilder();
         getDatabaseFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -586,9 +526,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor;
     }
 
     @java.lang.Override
@@ -607,18 +547,14 @@ public com.google.spanner.executor.v1.CloudDatabaseResponse build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.CloudDatabaseResponse buildPartial() {
-      com.google.spanner.executor.v1.CloudDatabaseResponse result =
-          new com.google.spanner.executor.v1.CloudDatabaseResponse(this);
+      com.google.spanner.executor.v1.CloudDatabaseResponse result = new com.google.spanner.executor.v1.CloudDatabaseResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.executor.v1.CloudDatabaseResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.executor.v1.CloudDatabaseResponse result) {
       if (listedDatabasesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           listedDatabases_ = java.util.Collections.unmodifiableList(listedDatabases_);
@@ -630,8 +566,7 @@ private void buildPartialRepeatedFields(
       }
       if (listedDatabaseOperationsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
-          listedDatabaseOperations_ =
-              java.util.Collections.unmodifiableList(listedDatabaseOperations_);
+          listedDatabaseOperations_ = java.util.Collections.unmodifiableList(listedDatabaseOperations_);
           bitField0_ = (bitField0_ & ~0x00000002);
         }
         result.listedDatabaseOperations_ = listedDatabaseOperations_;
@@ -647,7 +582,9 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudDatabaseResponse
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.database_ = databaseBuilder_ == null ? database_ : databaseBuilder_.build();
+        result.database_ = databaseBuilder_ == null
+            ? database_
+            : databaseBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -657,39 +594,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudDatabaseResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.CloudDatabaseResponse) {
-        return mergeFrom((com.google.spanner.executor.v1.CloudDatabaseResponse) other);
+        return mergeFrom((com.google.spanner.executor.v1.CloudDatabaseResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -697,8 +633,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.CloudDatabaseResponse other) {
-      if (other == com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.CloudDatabaseResponse.getDefaultInstance()) return this;
       if (listedDatabasesBuilder_ == null) {
         if (!other.listedDatabases_.isEmpty()) {
           if (listedDatabases_.isEmpty()) {
@@ -717,10 +652,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CloudDatabaseResponse ot
             listedDatabasesBuilder_ = null;
             listedDatabases_ = other.listedDatabases_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            listedDatabasesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getListedDatabasesFieldBuilder()
-                    : null;
+            listedDatabasesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getListedDatabasesFieldBuilder() : null;
           } else {
             listedDatabasesBuilder_.addAllMessages(other.listedDatabases_);
           }
@@ -744,10 +678,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CloudDatabaseResponse ot
             listedDatabaseOperationsBuilder_ = null;
             listedDatabaseOperations_ = other.listedDatabaseOperations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            listedDatabaseOperationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getListedDatabaseOperationsFieldBuilder()
-                    : null;
+            listedDatabaseOperationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getListedDatabaseOperationsFieldBuilder() : null;
           } else {
             listedDatabaseOperationsBuilder_.addAllMessages(other.listedDatabaseOperations_);
           }
@@ -787,50 +720,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.database.v1.Database m =
-                    input.readMessage(
-                        com.google.spanner.admin.database.v1.Database.parser(), extensionRegistry);
-                if (listedDatabasesBuilder_ == null) {
-                  ensureListedDatabasesIsMutable();
-                  listedDatabases_.add(m);
-                } else {
-                  listedDatabasesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (listedDatabaseOperationsBuilder_ == null) {
-                  ensureListedDatabaseOperationsIsMutable();
-                  listedDatabaseOperations_.add(m);
-                } else {
-                  listedDatabaseOperationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getDatabaseFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.admin.database.v1.Database m =
+                  input.readMessage(
+                      com.google.spanner.admin.database.v1.Database.parser(),
+                      extensionRegistry);
+              if (listedDatabasesBuilder_ == null) {
+                ensureListedDatabasesIsMutable();
+                listedDatabases_.add(m);
+              } else {
+                listedDatabasesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (listedDatabaseOperationsBuilder_ == null) {
+                ensureListedDatabaseOperationsIsMutable();
+                listedDatabaseOperations_.add(m);
+              } else {
+                listedDatabaseOperationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getDatabaseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -840,30 +773,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List listedDatabases_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureListedDatabasesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        listedDatabases_ =
-            new java.util.ArrayList(
-                listedDatabases_);
+        listedDatabases_ = new java.util.ArrayList(listedDatabases_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.Database,
-            com.google.spanner.admin.database.v1.Database.Builder,
-            com.google.spanner.admin.database.v1.DatabaseOrBuilder>
-        listedDatabasesBuilder_;
+        com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> listedDatabasesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -878,8 +802,6 @@ public java.util.List getListedDa } } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -894,8 +816,6 @@ public int getListedDatabasesCount() { } } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -910,8 +830,6 @@ public com.google.spanner.admin.database.v1.Database getListedDatabases(int inde } } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -933,8 +851,6 @@ public Builder setListedDatabases( return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -953,8 +869,6 @@ public Builder setListedDatabases( return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -975,8 +889,6 @@ public Builder addListedDatabases(com.google.spanner.admin.database.v1.Database return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -998,8 +910,6 @@ public Builder addListedDatabases( return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1018,8 +928,6 @@ public Builder addListedDatabases( return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1038,8 +946,6 @@ public Builder addListedDatabases( return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1050,7 +956,8 @@ public Builder addAllListedDatabases( java.lang.Iterable values) { if (listedDatabasesBuilder_ == null) { ensureListedDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listedDatabases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listedDatabases_); onChanged(); } else { listedDatabasesBuilder_.addAllMessages(values); @@ -1058,8 +965,6 @@ public Builder addAllListedDatabases( return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1077,8 +982,6 @@ public Builder clearListedDatabases() { return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1096,8 +999,6 @@ public Builder removeListedDatabases(int index) { return this; } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1109,8 +1010,6 @@ public com.google.spanner.admin.database.v1.Database.Builder getListedDatabasesB return getListedDatabasesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1120,22 +1019,19 @@ public com.google.spanner.admin.database.v1.Database.Builder getListedDatabasesB public com.google.spanner.admin.database.v1.DatabaseOrBuilder getListedDatabasesOrBuilder( int index) { if (listedDatabasesBuilder_ == null) { - return listedDatabases_.get(index); - } else { + return listedDatabases_.get(index); } else { return listedDatabasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
* * repeated .google.spanner.admin.database.v1.Database listed_databases = 1; */ - public java.util.List - getListedDatabasesOrBuilderList() { + public java.util.List + getListedDatabasesOrBuilderList() { if (listedDatabasesBuilder_ != null) { return listedDatabasesBuilder_.getMessageOrBuilderList(); } else { @@ -1143,8 +1039,6 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getListedDatabases } } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1152,12 +1046,10 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getListedDatabases * repeated .google.spanner.admin.database.v1.Database listed_databases = 1; */ public com.google.spanner.admin.database.v1.Database.Builder addListedDatabasesBuilder() { - return getListedDatabasesFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + return getListedDatabasesFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
@@ -1166,34 +1058,26 @@ public com.google.spanner.admin.database.v1.Database.Builder addListedDatabasesB */ public com.google.spanner.admin.database.v1.Database.Builder addListedDatabasesBuilder( int index) { - return getListedDatabasesFieldBuilder() - .addBuilder(index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + return getListedDatabasesFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** - * - * *
      * List of databases returned by ListCloudDatabasesAction.
      * 
* * repeated .google.spanner.admin.database.v1.Database listed_databases = 1; */ - public java.util.List - getListedDatabasesBuilderList() { + public java.util.List + getListedDatabasesBuilderList() { return getListedDatabasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> getListedDatabasesFieldBuilder() { if (listedDatabasesBuilder_ == null) { - listedDatabasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder>( + listedDatabasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder>( listedDatabases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1204,25 +1088,18 @@ public com.google.spanner.admin.database.v1.Database.Builder addListedDatabasesB } private java.util.List listedDatabaseOperations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureListedDatabaseOperationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - listedDatabaseOperations_ = - new java.util.ArrayList(listedDatabaseOperations_); + listedDatabaseOperations_ = new java.util.ArrayList(listedDatabaseOperations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> - listedDatabaseOperationsBuilder_; + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> listedDatabaseOperationsBuilder_; /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1237,8 +1114,6 @@ public java.util.List getListedDatabaseOperati } } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1253,8 +1128,6 @@ public int getListedDatabaseOperationsCount() { } } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1269,15 +1142,14 @@ public com.google.longrunning.Operation getListedDatabaseOperations(int index) { } } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - public Builder setListedDatabaseOperations(int index, com.google.longrunning.Operation value) { + public Builder setListedDatabaseOperations( + int index, com.google.longrunning.Operation value) { if (listedDatabaseOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1291,8 +1163,6 @@ public Builder setListedDatabaseOperations(int index, com.google.longrunning.Ope return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1311,8 +1181,6 @@ public Builder setListedDatabaseOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1333,15 +1201,14 @@ public Builder addListedDatabaseOperations(com.google.longrunning.Operation valu return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - public Builder addListedDatabaseOperations(int index, com.google.longrunning.Operation value) { + public Builder addListedDatabaseOperations( + int index, com.google.longrunning.Operation value) { if (listedDatabaseOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1355,8 +1222,6 @@ public Builder addListedDatabaseOperations(int index, com.google.longrunning.Ope return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1375,8 +1240,6 @@ public Builder addListedDatabaseOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1395,8 +1258,6 @@ public Builder addListedDatabaseOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1407,7 +1268,8 @@ public Builder addAllListedDatabaseOperations( java.lang.Iterable values) { if (listedDatabaseOperationsBuilder_ == null) { ensureListedDatabaseOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listedDatabaseOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listedDatabaseOperations_); onChanged(); } else { listedDatabaseOperationsBuilder_.addAllMessages(values); @@ -1415,8 +1277,6 @@ public Builder addAllListedDatabaseOperations( return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1434,8 +1294,6 @@ public Builder clearListedDatabaseOperations() { return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1453,20 +1311,17 @@ public Builder removeListedDatabaseOperations(int index) { return this; } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - public com.google.longrunning.Operation.Builder getListedDatabaseOperationsBuilder(int index) { + public com.google.longrunning.Operation.Builder getListedDatabaseOperationsBuilder( + int index) { return getListedDatabaseOperationsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1476,22 +1331,19 @@ public com.google.longrunning.Operation.Builder getListedDatabaseOperationsBuild public com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBuilder( int index) { if (listedDatabaseOperationsBuilder_ == null) { - return listedDatabaseOperations_.get(index); - } else { + return listedDatabaseOperations_.get(index); } else { return listedDatabaseOperationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - public java.util.List - getListedDatabaseOperationsOrBuilderList() { + public java.util.List + getListedDatabaseOperationsOrBuilderList() { if (listedDatabaseOperationsBuilder_ != null) { return listedDatabaseOperationsBuilder_.getMessageOrBuilderList(); } else { @@ -1499,8 +1351,6 @@ public com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBu } } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
@@ -1508,47 +1358,38 @@ public com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBu * repeated .google.longrunning.Operation listed_database_operations = 2; */ public com.google.longrunning.Operation.Builder addListedDatabaseOperationsBuilder() { - return getListedDatabaseOperationsFieldBuilder() - .addBuilder(com.google.longrunning.Operation.getDefaultInstance()); + return getListedDatabaseOperationsFieldBuilder().addBuilder( + com.google.longrunning.Operation.getDefaultInstance()); } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - public com.google.longrunning.Operation.Builder addListedDatabaseOperationsBuilder(int index) { - return getListedDatabaseOperationsFieldBuilder() - .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance()); + public com.google.longrunning.Operation.Builder addListedDatabaseOperationsBuilder( + int index) { + return getListedDatabaseOperationsFieldBuilder().addBuilder( + index, com.google.longrunning.Operation.getDefaultInstance()); } /** - * - * *
      * List of operations returned by ListCloudDatabaseOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - public java.util.List - getListedDatabaseOperationsBuilderList() { + public java.util.List + getListedDatabaseOperationsBuilderList() { return getListedDatabaseOperationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> getListedDatabaseOperationsFieldBuilder() { if (listedDatabaseOperationsBuilder_ == null) { - listedDatabaseOperationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder>( + listedDatabaseOperationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>( listedDatabaseOperations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1560,21 +1401,19 @@ public com.google.longrunning.Operation.Builder addListedDatabaseOperationsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1583,22 +1422,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1606,37 +1444,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1646,22 +1477,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; @@ -1671,47 +1498,34 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.Database database_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> - databaseBuilder_; + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> databaseBuilder_; /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
* * .google.spanner.admin.database.v1.Database database = 4; - * * @return Whether the database field is set. */ public boolean hasDatabase() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
* * .google.spanner.admin.database.v1.Database database = 4; - * * @return The database. */ public com.google.spanner.admin.database.v1.Database getDatabase() { if (databaseBuilder_ == null) { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } else { return databaseBuilder_.getMessage(); } } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
@@ -1732,8 +1546,6 @@ public Builder setDatabase(com.google.spanner.admin.database.v1.Database value) return this; } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
@@ -1752,8 +1564,6 @@ public Builder setDatabase( return this; } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
@@ -1762,9 +1572,9 @@ public Builder setDatabase( */ public Builder mergeDatabase(com.google.spanner.admin.database.v1.Database value) { if (databaseBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && database_ != null - && database_ != com.google.spanner.admin.database.v1.Database.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + database_ != null && + database_ != com.google.spanner.admin.database.v1.Database.getDefaultInstance()) { getDatabaseBuilder().mergeFrom(value); } else { database_ = value; @@ -1779,8 +1589,6 @@ public Builder mergeDatabase(com.google.spanner.admin.database.v1.Database value return this; } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
@@ -1798,8 +1606,6 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
@@ -1812,8 +1618,6 @@ public com.google.spanner.admin.database.v1.Database.Builder getDatabaseBuilder( return getDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
@@ -1824,14 +1628,11 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabaseOrBuild if (databaseBuilder_ != null) { return databaseBuilder_.getMessageOrBuilder(); } else { - return database_ == null - ? com.google.spanner.admin.database.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? + com.google.spanner.admin.database.v1.Database.getDefaultInstance() : database_; } } /** - * - * *
      * Database returned by GetCloudDatabaseAction
      * 
@@ -1839,24 +1640,21 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabaseOrBuild * .google.spanner.admin.database.v1.Database database = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> getDatabaseFieldBuilder() { if (databaseBuilder_ == null) { - databaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder>( - getDatabase(), getParentForChildren(), isClean()); + databaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder>( + getDatabase(), + getParentForChildren(), + isClean()); database_ = null; } return databaseBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1866,12 +1664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CloudDatabaseResponse) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CloudDatabaseResponse) private static final com.google.spanner.executor.v1.CloudDatabaseResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CloudDatabaseResponse(); } @@ -1880,27 +1678,27 @@ public static com.google.spanner.executor.v1.CloudDatabaseResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudDatabaseResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudDatabaseResponse 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; @@ -1915,4 +1713,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.CloudDatabaseResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponseOrBuilder.java index 81ba2ed6798..e34a28cca7b 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudDatabaseResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CloudDatabaseResponseOrBuilder - extends +public interface CloudDatabaseResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CloudDatabaseResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
* * repeated .google.spanner.admin.database.v1.Database listed_databases = 1; */ - java.util.List getListedDatabasesList(); + java.util.List + getListedDatabasesList(); /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
@@ -45,8 +26,6 @@ public interface CloudDatabaseResponseOrBuilder */ com.google.spanner.admin.database.v1.Database getListedDatabases(int index); /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
@@ -55,40 +34,34 @@ public interface CloudDatabaseResponseOrBuilder */ int getListedDatabasesCount(); /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
* * repeated .google.spanner.admin.database.v1.Database listed_databases = 1; */ - java.util.List + java.util.List getListedDatabasesOrBuilderList(); /** - * - * *
    * List of databases returned by ListCloudDatabasesAction.
    * 
* * repeated .google.spanner.admin.database.v1.Database listed_databases = 1; */ - com.google.spanner.admin.database.v1.DatabaseOrBuilder getListedDatabasesOrBuilder(int index); + com.google.spanner.admin.database.v1.DatabaseOrBuilder getListedDatabasesOrBuilder( + int index); /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - java.util.List getListedDatabaseOperationsList(); + java.util.List + getListedDatabaseOperationsList(); /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
@@ -97,8 +70,6 @@ public interface CloudDatabaseResponseOrBuilder */ com.google.longrunning.Operation getListedDatabaseOperations(int index); /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
@@ -107,81 +78,65 @@ public interface CloudDatabaseResponseOrBuilder */ int getListedDatabaseOperationsCount(); /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - java.util.List + java.util.List getListedDatabaseOperationsOrBuilderList(); /** - * - * *
    * List of operations returned by ListCloudDatabaseOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_database_operations = 2; */ - com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBuilder(int index); + com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBuilder( + int index); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Database returned by GetCloudDatabaseAction
    * 
* * .google.spanner.admin.database.v1.Database database = 4; - * * @return Whether the database field is set. */ boolean hasDatabase(); /** - * - * *
    * Database returned by GetCloudDatabaseAction
    * 
* * .google.spanner.admin.database.v1.Database database = 4; - * * @return The database. */ com.google.spanner.admin.database.v1.Database getDatabase(); /** - * - * *
    * Database returned by GetCloudDatabaseAction
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudExecutorProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudExecutorProto.java new file mode 100644 index 00000000000..eb127bd734c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudExecutorProto.java @@ -0,0 +1,1385 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/executor/v1/cloud_executor.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.executor.v1; + +public final class CloudExecutorProto { + private CloudExecutorProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_SpannerAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ReadAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_QueryAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DmlAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_Value_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_Value_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_KeyRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_KeySet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ValueList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_MutationAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_Concurrency_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_TableMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_AdminAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_BatchPartition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_AdminResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_OperationResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ReadResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_QueryResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_executor_v1_HeartbeatRecord_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/google/spanner/executor/v1/cloud_execu" + + "tor.proto\022\032google.spanner.executor.v1\032\027g" + + "oogle/api/client.proto\032\037google/api/field" + + "_behavior.proto\032#google/longrunning/oper" + + "ations.proto\032\037google/protobuf/timestamp." + + "proto\032\027google/rpc/status.proto\032-google/s" + + "panner/admin/database/v1/backup.proto\032-g" + + "oogle/spanner/admin/database/v1/common.p" + + "roto\032=google/spanner/admin/database/v1/s" + + "panner_database_admin.proto\032=google/span" + + "ner/admin/instance/v1/spanner_instance_a" + + "dmin.proto\032\037google/spanner/v1/spanner.pr" + + "oto\032\034google/spanner/v1/type.proto\"i\n\031Spa" + + "nnerAsyncActionRequest\022\021\n\taction_id\030\001 \001(" + + "\005\0229\n\006action\030\002 \001(\0132).google.spanner.execu" + + "tor.v1.SpannerAction\"r\n\032SpannerAsyncActi" + + "onResponse\022\021\n\taction_id\030\001 \001(\005\022A\n\007outcome" + + "\030\002 \001(\01320.google.spanner.executor.v1.Span" + + "nerActionOutcome\"\331\t\n\rSpannerAction\022\025\n\rda" + + "tabase_path\030\001 \001(\t\022C\n\005start\030\n \001(\01322.googl" + + "e.spanner.executor.v1.StartTransactionAc" + + "tionH\000\022E\n\006finish\030\013 \001(\01323.google.spanner." + + "executor.v1.FinishTransactionActionH\000\0226\n" + + "\004read\030\024 \001(\0132&.google.spanner.executor.v1" + + ".ReadActionH\000\0228\n\005query\030\025 \001(\0132\'.google.sp" + + "anner.executor.v1.QueryActionH\000\022>\n\010mutat" + + "ion\030\026 \001(\0132*.google.spanner.executor.v1.M" + + "utationActionH\000\0224\n\003dml\030\027 \001(\0132%.google.sp" + + "anner.executor.v1.DmlActionH\000\022?\n\tbatch_d" + + "ml\030\030 \001(\0132*.google.spanner.executor.v1.Ba" + + "tchDmlActionH\000\022A\n\005write\030\031 \001(\01320.google.s" + + "panner.executor.v1.WriteMutationsActionH" + + "\000\022Q\n\022partitioned_update\030\033 \001(\01323.google.s" + + "panner.executor.v1.PartitionedUpdateActi" + + "onH\000\0228\n\005admin\030\036 \001(\0132\'.google.spanner.exe" + + "cutor.v1.AdminActionH\000\022R\n\017start_batch_tx" + + "n\030( \001(\01327.google.spanner.executor.v1.Sta" + + "rtBatchTransactionActionH\000\022R\n\017close_batc" + + "h_txn\030) \001(\01327.google.spanner.executor.v1" + + ".CloseBatchTransactionActionH\000\022d\n\033genera" + + "te_db_partitions_read\030* \001(\0132=.google.spa" + + "nner.executor.v1.GenerateDbPartitionsFor" + + "ReadActionH\000\022f\n\034generate_db_partitions_q" + + "uery\030+ \001(\0132>.google.spanner.executor.v1." + + "GenerateDbPartitionsForQueryActionH\000\022O\n\021" + + "execute_partition\030, \001(\01322.google.spanner" + + ".executor.v1.ExecutePartitionActionH\000\022[\n" + + "\033execute_change_stream_query\0302 \001(\01324.goo" + + "gle.spanner.executor.v1.ExecuteChangeStr" + + "eamQueryH\000B\010\n\006action\"\212\001\n\nReadAction\022\r\n\005t" + + "able\030\001 \001(\t\022\022\n\005index\030\002 \001(\tH\000\210\001\001\022\016\n\006column" + + "\030\003 \003(\t\0220\n\004keys\030\004 \001(\0132\".google.spanner.ex" + + "ecutor.v1.KeySet\022\r\n\005limit\030\005 \001(\005B\010\n\006_inde" + + "x\"\321\001\n\013QueryAction\022\013\n\003sql\030\001 \001(\t\022A\n\006params" + + "\030\002 \003(\01321.google.spanner.executor.v1.Quer" + + "yAction.Parameter\032r\n\tParameter\022\014\n\004name\030\001" + + " \001(\t\022%\n\004type\030\002 \001(\0132\027.google.spanner.v1.T" + + "ype\0220\n\005value\030\003 \001(\0132!.google.spanner.exec" + + "utor.v1.Value\"\206\001\n\tDmlAction\0227\n\006update\030\001 " + + "\001(\0132\'.google.spanner.executor.v1.QueryAc" + + "tion\022$\n\027autocommit_if_supported\030\002 \001(\010H\000\210" + + "\001\001B\032\n\030_autocommit_if_supported\"J\n\016BatchD" + + "mlAction\0228\n\007updates\030\001 \003(\0132\'.google.spann" + + "er.executor.v1.QueryAction\"\311\003\n\005Value\022\021\n\007" + + "is_null\030\001 \001(\010H\000\022\023\n\tint_value\030\002 \001(\003H\000\022\024\n\n" + + "bool_value\030\003 \001(\010H\000\022\026\n\014double_value\030\004 \001(\001" + + "H\000\022\025\n\013bytes_value\030\005 \001(\014H\000\022\026\n\014string_valu" + + "e\030\006 \001(\tH\000\022=\n\014struct_value\030\007 \001(\0132%.google" + + ".spanner.executor.v1.ValueListH\000\0225\n\017time" + + "stamp_value\030\010 \001(\0132\032.google.protobuf.Time" + + "stampH\000\022\031\n\017date_days_value\030\t \001(\005H\000\022\035\n\023is" + + "_commit_timestamp\030\n \001(\010H\000\022<\n\013array_value" + + "\030\013 \001(\0132%.google.spanner.executor.v1.Valu" + + "eListH\000\0220\n\narray_type\030\014 \001(\0132\027.google.spa" + + "nner.v1.TypeH\001\210\001\001B\014\n\nvalue_typeB\r\n\013_arra" + + "y_type\"\237\002\n\010KeyRange\0224\n\005start\030\001 \001(\0132%.goo" + + "gle.spanner.executor.v1.ValueList\0224\n\005lim" + + "it\030\002 \001(\0132%.google.spanner.executor.v1.Va" + + "lueList\022<\n\004type\030\003 \001(\0162).google.spanner.e" + + "xecutor.v1.KeyRange.TypeH\000\210\001\001\"`\n\004Type\022\024\n" + + "\020TYPE_UNSPECIFIED\020\000\022\021\n\rCLOSED_CLOSED\020\001\022\017" + + "\n\013CLOSED_OPEN\020\002\022\017\n\013OPEN_CLOSED\020\003\022\r\n\tOPEN" + + "_OPEN\020\004B\007\n\005_type\"\200\001\n\006KeySet\0224\n\005point\030\001 \003" + + "(\0132%.google.spanner.executor.v1.ValueLis" + + "t\0223\n\005range\030\002 \003(\0132$.google.spanner.execut" + + "or.v1.KeyRange\022\013\n\003all\030\003 \001(\010\"=\n\tValueList" + + "\0220\n\005value\030\001 \003(\0132!.google.spanner.executo" + + "r.v1.Value\"\274\005\n\016MutationAction\022;\n\003mod\030\001 \003" + + "(\0132..google.spanner.executor.v1.Mutation" + + "Action.Mod\032z\n\nInsertArgs\022\016\n\006column\030\001 \003(\t" + + "\022%\n\004type\030\002 \003(\0132\027.google.spanner.v1.Type\022" + + "5\n\006values\030\003 \003(\0132%.google.spanner.executo" + + "r.v1.ValueList\032z\n\nUpdateArgs\022\016\n\006column\030\001" + + " \003(\t\022%\n\004type\030\002 \003(\0132\027.google.spanner.v1.T" + + "ype\0225\n\006values\030\003 \003(\0132%.google.spanner.exe" + + "cutor.v1.ValueList\032\364\002\n\003Mod\022\r\n\005table\030\001 \001(" + + "\t\022E\n\006insert\030\002 \001(\01325.google.spanner.execu" + + "tor.v1.MutationAction.InsertArgs\022E\n\006upda" + + "te\030\003 \001(\01325.google.spanner.executor.v1.Mu" + + "tationAction.UpdateArgs\022O\n\020insert_or_upd" + + "ate\030\004 \001(\01325.google.spanner.executor.v1.M" + + "utationAction.InsertArgs\022F\n\007replace\030\005 \001(" + + "\01325.google.spanner.executor.v1.MutationA" + + "ction.InsertArgs\0227\n\013delete_keys\030\006 \001(\0132\"." + + "google.spanner.executor.v1.KeySet\"T\n\024Wri" + + "teMutationsAction\022<\n\010mutation\030\001 \001(\0132*.go" + + "ogle.spanner.executor.v1.MutationAction\"" + + "\337\002\n\027PartitionedUpdateAction\022i\n\007options\030\001" + + " \001(\0132S.google.spanner.executor.v1.Partit" + + "ionedUpdateAction.ExecutePartitionedUpda" + + "teOptionsH\000\210\001\001\0227\n\006update\030\002 \001(\0132\'.google." + + "spanner.executor.v1.QueryAction\032\223\001\n\037Exec" + + "utePartitionedUpdateOptions\022E\n\014rpc_prior" + + "ity\030\001 \001(\0162*.google.spanner.v1.RequestOpt" + + "ions.PriorityH\000\210\001\001\022\020\n\003tag\030\002 \001(\tH\001\210\001\001B\017\n\r" + + "_rpc_priorityB\006\n\004_tagB\n\n\010_options\"\256\002\n\026St" + + "artTransactionAction\022A\n\013concurrency\030\001 \001(" + + "\0132\'.google.spanner.executor.v1.Concurren" + + "cyH\000\210\001\001\0228\n\005table\030\002 \003(\0132).google.spanner." + + "executor.v1.TableMetadata\022\030\n\020transaction" + + "_seed\030\003 \001(\t\022W\n\021execution_options\030\004 \001(\01327" + + ".google.spanner.executor.v1.TransactionE" + + "xecutionOptionsH\001\210\001\001B\016\n\014_concurrencyB\024\n\022" + + "_execution_options\"\256\002\n\013Concurrency\022\033\n\021st" + + "aleness_seconds\030\001 \001(\001H\000\022#\n\031min_read_time" + + "stamp_micros\030\002 \001(\003H\000\022\037\n\025max_staleness_se" + + "conds\030\003 \001(\001H\000\022 \n\026exact_timestamp_micros\030" + + "\004 \001(\003H\000\022\020\n\006strong\030\005 \001(\010H\000\022\017\n\005batch\030\006 \001(\010" + + "H\000\022\033\n\023snapshot_epoch_read\030\007 \001(\010\022!\n\031snaps" + + "hot_epoch_root_table\030\010 \001(\t\022#\n\033batch_read" + + "_timestamp_micros\030\t \001(\003B\022\n\020concurrency_m" + + "ode\"\231\001\n\rTableMetadata\022\014\n\004name\030\001 \001(\t\022:\n\006c" + + "olumn\030\002 \003(\0132*.google.spanner.executor.v1" + + ".ColumnMetadata\022>\n\nkey_column\030\003 \003(\0132*.go" + + "ogle.spanner.executor.v1.ColumnMetadata\"" + + "E\n\016ColumnMetadata\022\014\n\004name\030\001 \001(\t\022%\n\004type\030" + + "\002 \001(\0132\027.google.spanner.v1.Type\"1\n\033Transa" + + "ctionExecutionOptions\022\022\n\noptimistic\030\001 \001(" + + "\010\"\230\001\n\027FinishTransactionAction\022F\n\004mode\030\001 " + + "\001(\01628.google.spanner.executor.v1.FinishT" + + "ransactionAction.Mode\"5\n\004Mode\022\024\n\020MODE_UN" + + "SPECIFIED\020\000\022\n\n\006COMMIT\020\001\022\013\n\007ABANDON\020\002\"\305\023\n" + + "\013AdminAction\022a\n\033create_user_instance_con" + + "fig\030\001 \001(\0132:.google.spanner.executor.v1.C" + + "reateUserInstanceConfigActionH\000\022a\n\033updat" + + "e_user_instance_config\030\002 \001(\0132:.google.sp" + + "anner.executor.v1.UpdateUserInstanceConf" + + "igActionH\000\022a\n\033delete_user_instance_confi" + + "g\030\003 \001(\0132:.google.spanner.executor.v1.Del" + + "eteUserInstanceConfigActionH\000\022]\n\031get_clo" + + "ud_instance_config\030\004 \001(\01328.google.spanne" + + "r.executor.v1.GetCloudInstanceConfigActi" + + "onH\000\022[\n\025list_instance_configs\030\005 \001(\0132:.go" + + "ogle.spanner.executor.v1.ListCloudInstan" + + "ceConfigsActionH\000\022V\n\025create_cloud_instan" + + "ce\030\006 \001(\01325.google.spanner.executor.v1.Cr" + + "eateCloudInstanceActionH\000\022V\n\025update_clou" + + "d_instance\030\007 \001(\01325.google.spanner.execut" + + "or.v1.UpdateCloudInstanceActionH\000\022V\n\025del" + + "ete_cloud_instance\030\010 \001(\01325.google.spanne" + + "r.executor.v1.DeleteCloudInstanceActionH" + + "\000\022T\n\024list_cloud_instances\030\t \001(\01324.google" + + ".spanner.executor.v1.ListCloudInstancesA" + + "ctionH\000\022P\n\022get_cloud_instance\030\n \001(\01322.go" + + "ogle.spanner.executor.v1.GetCloudInstanc" + + "eActionH\000\022V\n\025create_cloud_database\030\013 \001(\013" + + "25.google.spanner.executor.v1.CreateClou" + + "dDatabaseActionH\000\022]\n\031update_cloud_databa" + + "se_ddl\030\014 \001(\01328.google.spanner.executor.v" + + "1.UpdateCloudDatabaseDdlActionH\000\022V\n\025upda" + + "te_cloud_database\030\033 \001(\01325.google.spanner" + + ".executor.v1.UpdateCloudDatabaseActionH\000" + + "\022R\n\023drop_cloud_database\030\r \001(\01323.google.s" + + "panner.executor.v1.DropCloudDatabaseActi" + + "onH\000\022T\n\024list_cloud_databases\030\016 \001(\01324.goo" + + "gle.spanner.executor.v1.ListCloudDatabas" + + "esActionH\000\022g\n\036list_cloud_database_operat" + + "ions\030\017 \001(\0132=.google.spanner.executor.v1." + + "ListCloudDatabaseOperationsActionH\000\022X\n\026r" + + "estore_cloud_database\030\020 \001(\01326.google.spa" + + "nner.executor.v1.RestoreCloudDatabaseAct" + + "ionH\000\022P\n\022get_cloud_database\030\021 \001(\01322.goog" + + "le.spanner.executor.v1.GetCloudDatabaseA" + + "ctionH\000\022R\n\023create_cloud_backup\030\022 \001(\01323.g" + + "oogle.spanner.executor.v1.CreateCloudBac" + + "kupActionH\000\022N\n\021copy_cloud_backup\030\023 \001(\01321" + + ".google.spanner.executor.v1.CopyCloudBac" + + "kupActionH\000\022L\n\020get_cloud_backup\030\024 \001(\01320." + + "google.spanner.executor.v1.GetCloudBacku" + + "pActionH\000\022R\n\023update_cloud_backup\030\025 \001(\01323" + + ".google.spanner.executor.v1.UpdateCloudB" + + "ackupActionH\000\022R\n\023delete_cloud_backup\030\026 \001" + + "(\01323.google.spanner.executor.v1.DeleteCl" + + "oudBackupActionH\000\022P\n\022list_cloud_backups\030" + + "\027 \001(\01322.google.spanner.executor.v1.ListC" + + "loudBackupsActionH\000\022c\n\034list_cloud_backup" + + "_operations\030\030 \001(\0132;.google.spanner.execu" + + "tor.v1.ListCloudBackupOperationsActionH\000" + + "\022G\n\rget_operation\030\031 \001(\0132..google.spanner" + + ".executor.v1.GetOperationActionH\000\022M\n\020can" + + "cel_operation\030\032 \001(\01321.google.spanner.exe" + + "cutor.v1.CancelOperationActionH\000\022`\n\032reco" + + "nfigure_cloud_database\030\034 \001(\0132:.google.sp" + + "anner.executor.v1.ReconfigureCloudDataba" + + "seActionH\000B\010\n\006action\"\245\001\n\036CreateUserInsta" + + "nceConfigAction\022\026\n\016user_config_id\030\001 \001(\t\022" + + "\022\n\nproject_id\030\002 \001(\t\022\026\n\016base_config_id\030\003 " + + "\001(\t\022?\n\010replicas\030\004 \003(\0132-.google.spanner.a" + + "dmin.instance.v1.ReplicaInfo\"\377\001\n\036UpdateU" + + "serInstanceConfigAction\022\026\n\016user_config_i" + + "d\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\031\n\014display_n" + + "ame\030\003 \001(\tH\000\210\001\001\022V\n\006labels\030\004 \003(\0132F.google." + + "spanner.executor.v1.UpdateUserInstanceCo" + + "nfigAction.LabelsEntry\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\r_displa" + + "y_name\"N\n\034GetCloudInstanceConfigAction\022\032" + + "\n\022instance_config_id\030\001 \001(\t\022\022\n\nproject_id" + + "\030\002 \001(\t\"L\n\036DeleteUserInstanceConfigAction" + + "\022\026\n\016user_config_id\030\001 \001(\t\022\022\n\nproject_id\030\002" + + " \001(\t\"\202\001\n\036ListCloudInstanceConfigsAction\022" + + "\022\n\nproject_id\030\001 \001(\t\022\026\n\tpage_size\030\002 \001(\005H\000" + + "\210\001\001\022\027\n\npage_token\030\003 \001(\tH\001\210\001\001B\014\n\n_page_si" + + "zeB\r\n\013_page_token\"\253\003\n\031CreateCloudInstanc" + + "eAction\022\023\n\013instance_id\030\001 \001(\t\022\022\n\nproject_" + + "id\030\002 \001(\t\022\032\n\022instance_config_id\030\003 \001(\t\022\027\n\n" + + "node_count\030\004 \001(\005H\000\210\001\001\022\035\n\020processing_unit" + + "s\030\006 \001(\005H\001\210\001\001\022T\n\022autoscaling_config\030\007 \001(\013" + + "23.google.spanner.admin.instance.v1.Auto" + + "scalingConfigH\002\210\001\001\022Q\n\006labels\030\005 \003(\0132A.goo" + + "gle.spanner.executor.v1.CreateCloudInsta" + + "nceAction.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\r\n\013_node_co" + + "untB\023\n\021_processing_unitsB\025\n\023_autoscaling" + + "_config\"\273\003\n\031UpdateCloudInstanceAction\022\023\n" + + "\013instance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\031" + + "\n\014display_name\030\003 \001(\tH\000\210\001\001\022\027\n\nnode_count\030" + + "\004 \001(\005H\001\210\001\001\022\035\n\020processing_units\030\005 \001(\005H\002\210\001" + + "\001\022T\n\022autoscaling_config\030\007 \001(\01323.google.s" + + "panner.admin.instance.v1.AutoscalingConf" + + "igH\003\210\001\001\022Q\n\006labels\030\006 \003(\0132A.google.spanner" + + ".executor.v1.UpdateCloudInstanceAction.L" + + "abelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001B\017\n\r_display_nameB\r\n\013_n" + + "ode_countB\023\n\021_processing_unitsB\025\n\023_autos" + + "caling_config\"D\n\031DeleteCloudInstanceActi" + + "on\022\023\n\013instance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 " + + "\001(\t\"\227\002\n\031CreateCloudDatabaseAction\022\023\n\013ins" + + "tance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\023\n\013da" + + "tabase_id\030\003 \001(\t\022\025\n\rsdl_statement\030\004 \003(\t\022M" + + "\n\021encryption_config\030\005 \001(\01322.google.spann" + + "er.admin.database.v1.EncryptionConfig\022\024\n" + + "\007dialect\030\006 \001(\tH\000\210\001\001\022\036\n\021proto_descriptors" + + "\030\007 \001(\014H\001\210\001\001B\n\n\010_dialectB\024\n\022_proto_descri" + + "ptors\"\277\001\n\034UpdateCloudDatabaseDdlAction\022\023" + + "\n\013instance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022" + + "\023\n\013database_id\030\003 \001(\t\022\025\n\rsdl_statement\030\004 " + + "\003(\t\022\024\n\014operation_id\030\005 \001(\t\022\036\n\021proto_descr" + + "iptors\030\006 \001(\014H\000\210\001\001B\024\n\022_proto_descriptors\"" + + "{\n\031UpdateCloudDatabaseAction\022\023\n\013instance" + + "_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\025\n\rdatabas" + + "e_name\030\003 \001(\t\022\036\n\026enable_drop_protection\030\004" + + " \001(\010\"W\n\027DropCloudDatabaseAction\022\023\n\013insta" + + "nce_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\023\n\013data" + + "base_id\030\003 \001(\t\"g\n\036ReconfigureCloudDatabas" + + "eAction\022\031\n\014database_uri\030\001 \001(\tH\000\210\001\001\022\031\n\021se" + + "rving_locations\030\002 \003(\tB\017\n\r_database_uri\"j" + + "\n\030ListCloudDatabasesAction\022\022\n\nproject_id" + + "\030\001 \001(\t\022\023\n\013instance_id\030\002 \001(\t\022\021\n\tpage_size" + + "\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\234\001\n\030ListCloud" + + "InstancesAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\006f" + + "ilter\030\002 \001(\tH\000\210\001\001\022\026\n\tpage_size\030\003 \001(\005H\001\210\001\001" + + "\022\027\n\npage_token\030\004 \001(\tH\002\210\001\001B\t\n\007_filterB\014\n\n" + + "_page_sizeB\r\n\013_page_token\"A\n\026GetCloudIns" + + "tanceAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013insta" + + "nce_id\030\002 \001(\t\"\203\001\n!ListCloudDatabaseOperat" + + "ionsAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instan" + + "ce_id\030\002 \001(\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size" + + "\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"\222\001\n\032RestoreCl" + + "oudDatabaseAction\022\022\n\nproject_id\030\001 \001(\t\022\032\n" + + "\022backup_instance_id\030\002 \001(\t\022\021\n\tbackup_id\030\003" + + " \001(\t\022\034\n\024database_instance_id\030\004 \001(\t\022\023\n\013da" + + "tabase_id\030\005 \001(\t\"V\n\026GetCloudDatabaseActio" + + "n\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id\030\002 \001" + + "(\t\022\023\n\013database_id\030\003 \001(\t\"\350\001\n\027CreateCloudB" + + "ackupAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013insta" + + "nce_id\030\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\022\023\n\013datab" + + "ase_id\030\004 \001(\t\0224\n\013expire_time\030\005 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\0225\n\014version_ti" + + "me\030\006 \001(\0132\032.google.protobuf.TimestampH\000\210\001" + + "\001B\017\n\r_version_time\"\240\001\n\025CopyCloudBackupAc" + + "tion\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id\030" + + "\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\022\025\n\rsource_backu" + + "p\030\004 \001(\t\0224\n\013expire_time\030\005 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\"R\n\024GetCloudBackupA" + + "ction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id" + + "\030\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\"\213\001\n\027UpdateClou" + + "dBackupAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013ins" + + "tance_id\030\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\0224\n\013exp" + + "ire_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\"U\n\027DeleteCloudBackupAction\022\022\n\npr" + + "oject_id\030\001 \001(\t\022\023\n\013instance_id\030\002 \001(\t\022\021\n\tb" + + "ackup_id\030\003 \001(\t\"x\n\026ListCloudBackupsAction" + + "\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id\030\002 \001(" + + "\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\n" + + "page_token\030\005 \001(\t\"\201\001\n\037ListCloudBackupOper" + + "ationsAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013inst" + + "ance_id\030\002 \001(\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_si" + + "ze\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"\'\n\022GetOpera" + + "tionAction\022\021\n\toperation\030\001 \001(\t\"*\n\025CancelO" + + "perationAction\022\021\n\toperation\030\001 \001(\t\"\210\001\n\033St" + + "artBatchTransactionAction\0224\n\016batch_txn_t" + + "ime\030\001 \001(\0132\032.google.protobuf.TimestampH\000\022" + + "\r\n\003tid\030\002 \001(\014H\000\022\033\n\023cloud_database_role\030\003 " + + "\001(\tB\007\n\005param\".\n\033CloseBatchTransactionAct" + + "ion\022\017\n\007cleanup\030\001 \001(\010\"\227\002\n!GenerateDbParti" + + "tionsForReadAction\0224\n\004read\030\001 \001(\0132&.googl" + + "e.spanner.executor.v1.ReadAction\0228\n\005tabl" + + "e\030\002 \003(\0132).google.spanner.executor.v1.Tab" + + "leMetadata\022(\n\033desired_bytes_per_partitio" + + "n\030\003 \001(\003H\000\210\001\001\022 \n\023max_partition_count\030\004 \001(" + + "\003H\001\210\001\001B\036\n\034_desired_bytes_per_partitionB\026" + + "\n\024_max_partition_count\"\246\001\n\"GenerateDbPar" + + "titionsForQueryAction\0226\n\005query\030\001 \001(\0132\'.g" + + "oogle.spanner.executor.v1.QueryAction\022(\n" + + "\033desired_bytes_per_partition\030\002 \001(\003H\000\210\001\001B" + + "\036\n\034_desired_bytes_per_partition\"x\n\016Batch" + + "Partition\022\021\n\tpartition\030\001 \001(\014\022\027\n\017partitio" + + "n_token\030\002 \001(\014\022\022\n\005table\030\003 \001(\tH\000\210\001\001\022\022\n\005ind" + + "ex\030\004 \001(\tH\001\210\001\001B\010\n\006_tableB\010\n\006_index\"W\n\026Exe" + + "cutePartitionAction\022=\n\tpartition\030\001 \001(\0132*" + + ".google.spanner.executor.v1.BatchPartiti" + + "on\"\216\003\n\030ExecuteChangeStreamQuery\022\014\n\004name\030" + + "\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.proto" + + "buf.Timestamp\0221\n\010end_time\030\003 \001(\0132\032.google" + + ".protobuf.TimestampH\000\210\001\001\022\034\n\017partition_to" + + "ken\030\004 \001(\tH\001\210\001\001\022\024\n\014read_options\030\005 \003(\t\022#\n\026" + + "heartbeat_milliseconds\030\006 \001(\005H\002\210\001\001\022\035\n\020dea" + + "dline_seconds\030\007 \001(\003H\003\210\001\001\022 \n\023cloud_databa" + + "se_role\030\010 \001(\tH\004\210\001\001B\013\n\t_end_timeB\022\n\020_part" + + "ition_tokenB\031\n\027_heartbeat_millisecondsB\023" + + "\n\021_deadline_secondsB\026\n\024_cloud_database_r" + + "ole\"\242\005\n\024SpannerActionOutcome\022\'\n\006status\030\001" + + " \001(\0132\022.google.rpc.StatusH\000\210\001\001\0224\n\013commit_" + + "time\030\002 \001(\0132\032.google.protobuf.TimestampH\001" + + "\210\001\001\022@\n\013read_result\030\003 \001(\0132&.google.spanne" + + "r.executor.v1.ReadResultH\002\210\001\001\022B\n\014query_r" + + "esult\030\004 \001(\0132\'.google.spanner.executor.v1" + + ".QueryResultH\003\210\001\001\022\"\n\025transaction_restart" + + "ed\030\005 \001(\010H\004\210\001\001\022\031\n\014batch_txn_id\030\006 \001(\014H\005\210\001\001" + + "\022@\n\014db_partition\030\007 \003(\0132*.google.spanner." + + "executor.v1.BatchPartition\022B\n\014admin_resu" + + "lt\030\010 \001(\0132\'.google.spanner.executor.v1.Ad" + + "minResultH\006\210\001\001\022\031\n\021dml_rows_modified\030\t \003(" + + "\003\022M\n\025change_stream_records\030\n \003(\0132..googl" + + "e.spanner.executor.v1.ChangeStreamRecord" + + "B\t\n\007_statusB\016\n\014_commit_timeB\016\n\014_read_res" + + "ultB\017\n\r_query_resultB\030\n\026_transaction_res" + + "tartedB\017\n\r_batch_txn_idB\017\n\r_admin_result" + + "\"\231\003\n\013AdminResult\022H\n\017backup_response\030\001 \001(" + + "\0132/.google.spanner.executor.v1.CloudBack" + + "upResponse\022I\n\022operation_response\030\002 \001(\0132-" + + ".google.spanner.executor.v1.OperationRes" + + "ponse\022L\n\021database_response\030\003 \001(\01321.googl" + + "e.spanner.executor.v1.CloudDatabaseRespo" + + "nse\022L\n\021instance_response\030\004 \001(\01321.google." + + "spanner.executor.v1.CloudInstanceRespons" + + "e\022Y\n\030instance_config_response\030\005 \001(\01327.go" + + "ogle.spanner.executor.v1.CloudInstanceCo" + + "nfigResponse\"\353\001\n\023CloudBackupResponse\022@\n\016" + + "listed_backups\030\001 \003(\0132(.google.spanner.ad" + + "min.database.v1.Backup\022?\n\030listed_backup_" + + "operations\030\002 \003(\0132\035.google.longrunning.Op" + + "eration\022\027\n\017next_page_token\030\003 \001(\t\0228\n\006back" + + "up\030\004 \001(\0132(.google.spanner.admin.database" + + ".v1.Backup\"\230\001\n\021OperationResponse\0228\n\021list" + + "ed_operations\030\001 \003(\0132\035.google.longrunning" + + ".Operation\022\027\n\017next_page_token\030\002 \001(\t\0220\n\to" + + "peration\030\003 \001(\0132\035.google.longrunning.Oper" + + "ation\"\264\001\n\025CloudInstanceResponse\022D\n\020liste" + + "d_instances\030\001 \003(\0132*.google.spanner.admin" + + ".instance.v1.Instance\022\027\n\017next_page_token" + + "\030\002 \001(\t\022<\n\010instance\030\003 \001(\0132*.google.spanne" + + "r.admin.instance.v1.Instance\"\324\001\n\033CloudIn" + + "stanceConfigResponse\022Q\n\027listed_instance_" + + "configs\030\001 \003(\01320.google.spanner.admin.ins" + + "tance.v1.InstanceConfig\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\022I\n\017instance_config\030\003 \001(\01320.goog" + + "le.spanner.admin.instance.v1.InstanceCon" + + "fig\"\367\001\n\025CloudDatabaseResponse\022D\n\020listed_" + + "databases\030\001 \003(\0132*.google.spanner.admin.d" + + "atabase.v1.Database\022A\n\032listed_database_o" + + "perations\030\002 \003(\0132\035.google.longrunning.Ope" + + "ration\022\027\n\017next_page_token\030\003 \001(\t\022<\n\010datab" + + "ase\030\004 \001(\0132*.google.spanner.admin.databas" + + "e.v1.Database\"\336\001\n\nReadResult\022\r\n\005table\030\001 " + + "\001(\t\022\022\n\005index\030\002 \001(\tH\000\210\001\001\022\032\n\rrequest_index" + + "\030\003 \001(\005H\001\210\001\001\0222\n\003row\030\004 \003(\0132%.google.spanne" + + "r.executor.v1.ValueList\0224\n\010row_type\030\005 \001(" + + "\0132\035.google.spanner.v1.StructTypeH\002\210\001\001B\010\n" + + "\006_indexB\020\n\016_request_indexB\013\n\t_row_type\"\204", + "\001\n\013QueryResult\0222\n\003row\030\001 \003(\0132%.google.spa" + + "nner.executor.v1.ValueList\0224\n\010row_type\030\002" + + " \001(\0132\035.google.spanner.v1.StructTypeH\000\210\001\001" + + "B\013\n\t_row_type\"\363\001\n\022ChangeStreamRecord\022C\n\013" + + "data_change\030\001 \001(\0132,.google.spanner.execu" + + "tor.v1.DataChangeRecordH\000\022L\n\017child_parti" + + "tion\030\002 \001(\01321.google.spanner.executor.v1." + + "ChildPartitionsRecordH\000\022@\n\theartbeat\030\003 \001" + + "(\0132+.google.spanner.executor.v1.Heartbea" + + "tRecordH\000B\010\n\006record\"\330\004\n\020DataChangeRecord" + + "\022/\n\013commit_time\030\001 \001(\0132\032.google.protobuf." + + "Timestamp\022\027\n\017record_sequence\030\002 \001(\t\022\026\n\016tr" + + "ansaction_id\030\003 \001(\t\022\026\n\016is_last_record\030\004 \001" + + "(\010\022\r\n\005table\030\005 \001(\t\022M\n\014column_types\030\006 \003(\0132" + + "7.google.spanner.executor.v1.DataChangeR" + + "ecord.ColumnType\022>\n\004mods\030\007 \003(\01320.google." + + "spanner.executor.v1.DataChangeRecord.Mod" + + "\022\020\n\010mod_type\030\010 \001(\t\022\032\n\022value_capture_type" + + "\030\t \001(\t\022\024\n\014record_count\030\n \001(\003\022\027\n\017partitio" + + "n_count\030\013 \001(\003\022\027\n\017transaction_tag\030\014 \001(\t\022\035" + + "\n\025is_system_transaction\030\r \001(\010\032Z\n\nColumnT" + + "ype\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\026\n\016is_pr" + + "imary_key\030\003 \001(\010\022\030\n\020ordinal_position\030\004 \001(" + + "\003\032;\n\003Mod\022\014\n\004keys\030\001 \001(\t\022\022\n\nnew_values\030\002 \001" + + "(\t\022\022\n\nold_values\030\003 \001(\t\"\376\001\n\025ChildPartitio" + + "nsRecord\022.\n\nstart_time\030\001 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022\027\n\017record_sequence\030\002 \001(" + + "\t\022Z\n\020child_partitions\030\003 \003(\0132@.google.spa" + + "nner.executor.v1.ChildPartitionsRecord.C" + + "hildPartition\032@\n\016ChildPartition\022\r\n\005token" + + "\030\001 \001(\t\022\037\n\027parent_partition_tokens\030\002 \003(\t\"" + + "E\n\017HeartbeatRecord\0222\n\016heartbeat_time\030\001 \001" + + "(\0132\032.google.protobuf.Timestamp2\314\001\n\024Spann" + + "erExecutorProxy\022\211\001\n\022ExecuteActionAsync\0225" + + ".google.spanner.executor.v1.SpannerAsync" + + "ActionRequest\0326.google.spanner.executor." + + "v1.SpannerAsyncActionResponse\"\000(\0010\001\032(\312A%" + + "spanner-cloud-executor.googleapis.comBx\n" + + "\036com.google.spanner.executor.v1B\022CloudEx" + + "ecutorProtoP\001Z@cloud.google.com/go/spann" + + "er/executor/apiv1/executorpb;executorpbb" + + "\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor(), + com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.getDescriptor(), + com.google.spanner.v1.SpannerProto.getDescriptor(), + com.google.spanner.v1.TypeProto.getDescriptor(), + }); + internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor, + new java.lang.String[] { "ActionId", "Action", }); + internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor, + new java.lang.String[] { "ActionId", "Outcome", }); + internal_static_google_spanner_executor_v1_SpannerAction_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_SpannerAction_descriptor, + new java.lang.String[] { "DatabasePath", "Start", "Finish", "Read", "Query", "Mutation", "Dml", "BatchDml", "Write", "PartitionedUpdate", "Admin", "StartBatchTxn", "CloseBatchTxn", "GenerateDbPartitionsRead", "GenerateDbPartitionsQuery", "ExecutePartition", "ExecuteChangeStreamQuery", "Action", }); + internal_static_google_spanner_executor_v1_ReadAction_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ReadAction_descriptor, + new java.lang.String[] { "Table", "Index", "Column", "Keys", "Limit", }); + internal_static_google_spanner_executor_v1_QueryAction_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_QueryAction_descriptor, + new java.lang.String[] { "Sql", "Params", }); + internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor = + internal_static_google_spanner_executor_v1_QueryAction_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor, + new java.lang.String[] { "Name", "Type", "Value", }); + internal_static_google_spanner_executor_v1_DmlAction_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DmlAction_descriptor, + new java.lang.String[] { "Update", "AutocommitIfSupported", }); + internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor, + new java.lang.String[] { "Updates", }); + internal_static_google_spanner_executor_v1_Value_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_executor_v1_Value_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_Value_descriptor, + new java.lang.String[] { "IsNull", "IntValue", "BoolValue", "DoubleValue", "BytesValue", "StringValue", "StructValue", "TimestampValue", "DateDaysValue", "IsCommitTimestamp", "ArrayValue", "ArrayType", "ValueType", }); + internal_static_google_spanner_executor_v1_KeyRange_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_KeyRange_descriptor, + new java.lang.String[] { "Start", "Limit", "Type", }); + internal_static_google_spanner_executor_v1_KeySet_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_KeySet_descriptor, + new java.lang.String[] { "Point", "Range", "All", }); + internal_static_google_spanner_executor_v1_ValueList_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ValueList_descriptor, + new java.lang.String[] { "Value", }); + internal_static_google_spanner_executor_v1_MutationAction_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_MutationAction_descriptor, + new java.lang.String[] { "Mod", }); + internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor = + internal_static_google_spanner_executor_v1_MutationAction_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor, + new java.lang.String[] { "Column", "Type", "Values", }); + internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor = + internal_static_google_spanner_executor_v1_MutationAction_descriptor.getNestedTypes().get(1); + internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor, + new java.lang.String[] { "Column", "Type", "Values", }); + internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor = + internal_static_google_spanner_executor_v1_MutationAction_descriptor.getNestedTypes().get(2); + internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor, + new java.lang.String[] { "Table", "Insert", "Update", "InsertOrUpdate", "Replace", "DeleteKeys", }); + internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor, + new java.lang.String[] { "Mutation", }); + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor, + new java.lang.String[] { "Options", "Update", }); + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor = + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor, + new java.lang.String[] { "RpcPriority", "Tag", }); + internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor, + new java.lang.String[] { "Concurrency", "Table", "TransactionSeed", "ExecutionOptions", }); + internal_static_google_spanner_executor_v1_Concurrency_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_Concurrency_descriptor, + new java.lang.String[] { "StalenessSeconds", "MinReadTimestampMicros", "MaxStalenessSeconds", "ExactTimestampMicros", "Strong", "Batch", "SnapshotEpochRead", "SnapshotEpochRootTable", "BatchReadTimestampMicros", "ConcurrencyMode", }); + internal_static_google_spanner_executor_v1_TableMetadata_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_TableMetadata_descriptor, + new java.lang.String[] { "Name", "Column", "KeyColumn", }); + internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor, + new java.lang.String[] { "Name", "Type", }); + internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor, + new java.lang.String[] { "Optimistic", }); + internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor, + new java.lang.String[] { "Mode", }); + internal_static_google_spanner_executor_v1_AdminAction_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_AdminAction_descriptor, + new java.lang.String[] { "CreateUserInstanceConfig", "UpdateUserInstanceConfig", "DeleteUserInstanceConfig", "GetCloudInstanceConfig", "ListInstanceConfigs", "CreateCloudInstance", "UpdateCloudInstance", "DeleteCloudInstance", "ListCloudInstances", "GetCloudInstance", "CreateCloudDatabase", "UpdateCloudDatabaseDdl", "UpdateCloudDatabase", "DropCloudDatabase", "ListCloudDatabases", "ListCloudDatabaseOperations", "RestoreCloudDatabase", "GetCloudDatabase", "CreateCloudBackup", "CopyCloudBackup", "GetCloudBackup", "UpdateCloudBackup", "DeleteCloudBackup", "ListCloudBackups", "ListCloudBackupOperations", "GetOperation", "CancelOperation", "ReconfigureCloudDatabase", "Action", }); + internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor, + new java.lang.String[] { "UserConfigId", "ProjectId", "BaseConfigId", "Replicas", }); + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor, + new java.lang.String[] { "UserConfigId", "ProjectId", "DisplayName", "Labels", }); + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor = + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor, + new java.lang.String[] { "InstanceConfigId", "ProjectId", }); + internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor, + new java.lang.String[] { "UserConfigId", "ProjectId", }); + internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor, + new java.lang.String[] { "ProjectId", "PageSize", "PageToken", }); + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor, + new java.lang.String[] { "InstanceId", "ProjectId", "InstanceConfigId", "NodeCount", "ProcessingUnits", "AutoscalingConfig", "Labels", }); + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor = + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor, + new java.lang.String[] { "InstanceId", "ProjectId", "DisplayName", "NodeCount", "ProcessingUnits", "AutoscalingConfig", "Labels", }); + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor = + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor, + new java.lang.String[] { "InstanceId", "ProjectId", }); + internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor, + new java.lang.String[] { "InstanceId", "ProjectId", "DatabaseId", "SdlStatement", "EncryptionConfig", "Dialect", "ProtoDescriptors", }); + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor, + new java.lang.String[] { "InstanceId", "ProjectId", "DatabaseId", "SdlStatement", "OperationId", "ProtoDescriptors", }); + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor, + new java.lang.String[] { "InstanceId", "ProjectId", "DatabaseName", "EnableDropProtection", }); + internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor, + new java.lang.String[] { "InstanceId", "ProjectId", "DatabaseId", }); + internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor, + new java.lang.String[] { "DatabaseUri", "ServingLocations", }); + internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "PageSize", "PageToken", }); + internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor, + new java.lang.String[] { "ProjectId", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", }); + internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor, + new java.lang.String[] { "ProjectId", "BackupInstanceId", "BackupId", "DatabaseInstanceId", "DatabaseId", }); + internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "DatabaseId", }); + internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "BackupId", "DatabaseId", "ExpireTime", "VersionTime", }); + internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "BackupId", "SourceBackup", "ExpireTime", }); + internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "BackupId", }); + internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "BackupId", "ExpireTime", }); + internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "BackupId", }); + internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor, + new java.lang.String[] { "ProjectId", "InstanceId", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_executor_v1_GetOperationAction_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_GetOperationAction_descriptor, + new java.lang.String[] { "Operation", }); + internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor, + new java.lang.String[] { "Operation", }); + internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor, + new java.lang.String[] { "BatchTxnTime", "Tid", "CloudDatabaseRole", "Param", }); + internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor, + new java.lang.String[] { "Cleanup", }); + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor, + new java.lang.String[] { "Read", "Table", "DesiredBytesPerPartition", "MaxPartitionCount", }); + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor, + new java.lang.String[] { "Query", "DesiredBytesPerPartition", }); + internal_static_google_spanner_executor_v1_BatchPartition_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_BatchPartition_descriptor, + new java.lang.String[] { "Partition", "PartitionToken", "Table", "Index", }); + internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor, + new java.lang.String[] { "Partition", }); + internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor, + new java.lang.String[] { "Name", "StartTime", "EndTime", "PartitionToken", "ReadOptions", "HeartbeatMilliseconds", "DeadlineSeconds", "CloudDatabaseRole", }); + internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor, + new java.lang.String[] { "Status", "CommitTime", "ReadResult", "QueryResult", "TransactionRestarted", "BatchTxnId", "DbPartition", "AdminResult", "DmlRowsModified", "ChangeStreamRecords", }); + internal_static_google_spanner_executor_v1_AdminResult_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_AdminResult_descriptor, + new java.lang.String[] { "BackupResponse", "OperationResponse", "DatabaseResponse", "InstanceResponse", "InstanceConfigResponse", }); + internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor, + new java.lang.String[] { "ListedBackups", "ListedBackupOperations", "NextPageToken", "Backup", }); + internal_static_google_spanner_executor_v1_OperationResponse_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_OperationResponse_descriptor, + new java.lang.String[] { "ListedOperations", "NextPageToken", "Operation", }); + internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor, + new java.lang.String[] { "ListedInstances", "NextPageToken", "Instance", }); + internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor, + new java.lang.String[] { "ListedInstanceConfigs", "NextPageToken", "InstanceConfig", }); + internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor, + new java.lang.String[] { "ListedDatabases", "ListedDatabaseOperations", "NextPageToken", "Database", }); + internal_static_google_spanner_executor_v1_ReadResult_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ReadResult_descriptor, + new java.lang.String[] { "Table", "Index", "RequestIndex", "Row", "RowType", }); + internal_static_google_spanner_executor_v1_QueryResult_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_QueryResult_descriptor, + new java.lang.String[] { "Row", "RowType", }); + internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor, + new java.lang.String[] { "DataChange", "ChildPartition", "Heartbeat", "Record", }); + internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor, + new java.lang.String[] { "CommitTime", "RecordSequence", "TransactionId", "IsLastRecord", "Table", "ColumnTypes", "Mods", "ModType", "ValueCaptureType", "RecordCount", "PartitionCount", "TransactionTag", "IsSystemTransaction", }); + internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor = + internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor, + new java.lang.String[] { "Name", "Type", "IsPrimaryKey", "OrdinalPosition", }); + internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor = + internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor.getNestedTypes().get(1); + internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor, + new java.lang.String[] { "Keys", "NewValues", "OldValues", }); + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor, + new java.lang.String[] { "StartTime", "RecordSequence", "ChildPartitions", }); + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor = + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor, + new java.lang.String[] { "Token", "ParentPartitionTokens", }); + internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_google_spanner_executor_v1_HeartbeatRecord_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor, + new java.lang.String[] { "HeartbeatTime", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor(); + com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.getDescriptor(); + com.google.spanner.v1.SpannerProto.getDescriptor(); + com.google.spanner.v1.TypeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponse.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponse.java index 5e0076c56ab..46fffdaf7fb 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * CloudInstanceConfigResponse contains results returned by cloud instance
  * config related actions.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.CloudInstanceConfigResponse}
  */
-public final class CloudInstanceConfigResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudInstanceConfigResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CloudInstanceConfigResponse)
     CloudInstanceConfigResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudInstanceConfigResponse.newBuilder() to construct.
   private CloudInstanceConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudInstanceConfigResponse() {
     listedInstanceConfigs_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,119 +28,96 @@ private CloudInstanceConfigResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudInstanceConfigResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.CloudInstanceConfigResponse.class,
-            com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder.class);
+            com.google.spanner.executor.v1.CloudInstanceConfigResponse.class, com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int LISTED_INSTANCE_CONFIGS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
-  private java.util.List
-      listedInstanceConfigs_;
+  private java.util.List listedInstanceConfigs_;
   /**
-   *
-   *
    * 
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ @java.lang.Override - public java.util.List - getListedInstanceConfigsList() { + public java.util.List getListedInstanceConfigsList() { return listedInstanceConfigs_; } /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getListedInstanceConfigsOrBuilderList() { return listedInstanceConfigs_; } /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ @java.lang.Override public int getListedInstanceConfigsCount() { return listedInstanceConfigs_.size(); } /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getListedInstanceConfigs(int index) { return listedInstanceConfigs_.get(index); } /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getListedInstanceConfigsOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getListedInstanceConfigsOrBuilder( + int index) { return listedInstanceConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -167,30 +126,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -201,14 +160,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int INSTANCE_CONFIG_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; /** - * - * *
    * Instance config returned by GetCloudInstanceConfigAction.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; - * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -216,25 +172,18 @@ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Instance config returned by GetCloudInstanceConfigAction.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; - * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * Instance config returned by GetCloudInstanceConfigAction.
    * 
@@ -243,13 +192,10 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < listedInstanceConfigs_.size(); i++) { output.writeMessage(1, listedInstanceConfigs_.get(i)); } @@ -281,15 +228,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < listedInstanceConfigs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, listedInstanceConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, listedInstanceConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstanceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,19 +246,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CloudInstanceConfigResponse)) { return super.equals(obj); } - com.google.spanner.executor.v1.CloudInstanceConfigResponse other = - (com.google.spanner.executor.v1.CloudInstanceConfigResponse) obj; + com.google.spanner.executor.v1.CloudInstanceConfigResponse other = (com.google.spanner.executor.v1.CloudInstanceConfigResponse) obj; - if (!getListedInstanceConfigsList().equals(other.getListedInstanceConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getListedInstanceConfigsList() + .equals(other.getListedInstanceConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -340,104 +289,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudInstanceConfigResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.CloudInstanceConfigResponse prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.CloudInstanceConfigResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CloudInstanceConfigResponse contains results returned by cloud instance
    * config related actions.
@@ -445,23 +388,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.CloudInstanceConfigResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CloudInstanceConfigResponse)
       com.google.spanner.executor.v1.CloudInstanceConfigResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.CloudInstanceConfigResponse.class,
-              com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder.class);
+              com.google.spanner.executor.v1.CloudInstanceConfigResponse.class, com.google.spanner.executor.v1.CloudInstanceConfigResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.CloudInstanceConfigResponse.newBuilder()
@@ -469,18 +410,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getListedInstanceConfigsFieldBuilder();
         getInstanceConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -502,9 +443,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor;
     }
 
     @java.lang.Override
@@ -523,18 +464,14 @@ public com.google.spanner.executor.v1.CloudInstanceConfigResponse build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.CloudInstanceConfigResponse buildPartial() {
-      com.google.spanner.executor.v1.CloudInstanceConfigResponse result =
-          new com.google.spanner.executor.v1.CloudInstanceConfigResponse(this);
+      com.google.spanner.executor.v1.CloudInstanceConfigResponse result = new com.google.spanner.executor.v1.CloudInstanceConfigResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.executor.v1.CloudInstanceConfigResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.executor.v1.CloudInstanceConfigResponse result) {
       if (listedInstanceConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           listedInstanceConfigs_ = java.util.Collections.unmodifiableList(listedInstanceConfigs_);
@@ -553,8 +490,9 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudInstanceConfigRes
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -564,39 +502,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudInstanceConfigRes
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.CloudInstanceConfigResponse) {
-        return mergeFrom((com.google.spanner.executor.v1.CloudInstanceConfigResponse) other);
+        return mergeFrom((com.google.spanner.executor.v1.CloudInstanceConfigResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -604,8 +541,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.CloudInstanceConfigResponse other) {
-      if (other == com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.CloudInstanceConfigResponse.getDefaultInstance()) return this;
       if (listedInstanceConfigsBuilder_ == null) {
         if (!other.listedInstanceConfigs_.isEmpty()) {
           if (listedInstanceConfigs_.isEmpty()) {
@@ -624,10 +560,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CloudInstanceConfigRespo
             listedInstanceConfigsBuilder_ = null;
             listedInstanceConfigs_ = other.listedInstanceConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            listedInstanceConfigsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getListedInstanceConfigsFieldBuilder()
-                    : null;
+            listedInstanceConfigsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getListedInstanceConfigsFieldBuilder() : null;
           } else {
             listedInstanceConfigsBuilder_.addAllMessages(other.listedInstanceConfigs_);
           }
@@ -667,39 +602,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.instance.v1.InstanceConfig m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
-                        extensionRegistry);
-                if (listedInstanceConfigsBuilder_ == null) {
-                  ensureListedInstanceConfigsIsMutable();
-                  listedInstanceConfigs_.add(m);
-                } else {
-                  listedInstanceConfigsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.admin.instance.v1.InstanceConfig m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
+                      extensionRegistry);
+              if (listedInstanceConfigsBuilder_ == null) {
+                ensureListedInstanceConfigsIsMutable();
+                listedInstanceConfigs_.add(m);
+              } else {
+                listedInstanceConfigsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -709,39 +642,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        listedInstanceConfigs_ = java.util.Collections.emptyList();
-
+    private java.util.List listedInstanceConfigs_ =
+      java.util.Collections.emptyList();
     private void ensureListedInstanceConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        listedInstanceConfigs_ =
-            new java.util.ArrayList(
-                listedInstanceConfigs_);
+        listedInstanceConfigs_ = new java.util.ArrayList(listedInstanceConfigs_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        listedInstanceConfigsBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> listedInstanceConfigsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public java.util.List - getListedInstanceConfigsList() { + public java.util.List getListedInstanceConfigsList() { if (listedInstanceConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(listedInstanceConfigs_); } else { @@ -749,14 +671,11 @@ private void ensureListedInstanceConfigsIsMutable() { } } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public int getListedInstanceConfigsCount() { if (listedInstanceConfigsBuilder_ == null) { @@ -766,14 +685,11 @@ public int getListedInstanceConfigsCount() { } } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig getListedInstanceConfigs(int index) { if (listedInstanceConfigsBuilder_ == null) { @@ -783,14 +699,11 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getListedInstanceConf } } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder setListedInstanceConfigs( int index, com.google.spanner.admin.instance.v1.InstanceConfig value) { @@ -807,14 +720,11 @@ public Builder setListedInstanceConfigs( return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder setListedInstanceConfigs( int index, com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -828,17 +738,13 @@ public Builder setListedInstanceConfigs( return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public Builder addListedInstanceConfigs( - com.google.spanner.admin.instance.v1.InstanceConfig value) { + public Builder addListedInstanceConfigs(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (listedInstanceConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -852,14 +758,11 @@ public Builder addListedInstanceConfigs( return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder addListedInstanceConfigs( int index, com.google.spanner.admin.instance.v1.InstanceConfig value) { @@ -876,14 +779,11 @@ public Builder addListedInstanceConfigs( return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder addListedInstanceConfigs( com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -897,14 +797,11 @@ public Builder addListedInstanceConfigs( return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder addListedInstanceConfigs( int index, com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -918,20 +815,18 @@ public Builder addListedInstanceConfigs( return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder addAllListedInstanceConfigs( java.lang.Iterable values) { if (listedInstanceConfigsBuilder_ == null) { ensureListedInstanceConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listedInstanceConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listedInstanceConfigs_); onChanged(); } else { listedInstanceConfigsBuilder_.addAllMessages(values); @@ -939,14 +834,11 @@ public Builder addAllListedInstanceConfigs( return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder clearListedInstanceConfigs() { if (listedInstanceConfigsBuilder_ == null) { @@ -959,14 +851,11 @@ public Builder clearListedInstanceConfigs() { return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ public Builder removeListedInstanceConfigs(int index) { if (listedInstanceConfigsBuilder_ == null) { @@ -979,49 +868,39 @@ public Builder removeListedInstanceConfigs(int index) { return this; } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfig.Builder - getListedInstanceConfigsBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getListedInstanceConfigsBuilder( + int index) { return getListedInstanceConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getListedInstanceConfigsOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getListedInstanceConfigsOrBuilder( + int index) { if (listedInstanceConfigsBuilder_ == null) { - return listedInstanceConfigs_.get(index); - } else { + return listedInstanceConfigs_.get(index); } else { return listedInstanceConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public java.util.List - getListedInstanceConfigsOrBuilderList() { + public java.util.List + getListedInstanceConfigsOrBuilderList() { if (listedInstanceConfigsBuilder_ != null) { return listedInstanceConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -1029,62 +908,45 @@ public Builder removeListedInstanceConfigs(int index) { } } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfig.Builder - addListedInstanceConfigsBuilder() { - return getListedInstanceConfigsFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addListedInstanceConfigsBuilder() { + return getListedInstanceConfigsFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfig.Builder - addListedInstanceConfigsBuilder(int index) { - return getListedInstanceConfigsFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addListedInstanceConfigsBuilder( + int index) { + return getListedInstanceConfigsFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** - * - * *
      * List of instance configs returned by ListCloudInstanceConfigsAction.
      * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - public java.util.List - getListedInstanceConfigsBuilderList() { + public java.util.List + getListedInstanceConfigsBuilderList() { return getListedInstanceConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getListedInstanceConfigsFieldBuilder() { if (listedInstanceConfigsBuilder_ == null) { - listedInstanceConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + listedInstanceConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( listedInstanceConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1096,21 +958,19 @@ public Builder removeListedInstanceConfigs(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1119,22 +979,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1142,37 +1001,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1182,22 +1034,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1207,47 +1055,34 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> - instanceConfigBuilder_; + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_; /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; - * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; - * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
@@ -1268,8 +1103,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
@@ -1288,8 +1121,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
@@ -1298,10 +1129,9 @@ public Builder setInstanceConfig( */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -1316,8 +1146,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
@@ -1335,8 +1163,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
@@ -1349,27 +1175,21 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * Instance config returned by GetCloudInstanceConfigAction.
      * 
@@ -1377,24 +1197,21 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1404,12 +1221,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CloudInstanceConfigResponse) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CloudInstanceConfigResponse) private static final com.google.spanner.executor.v1.CloudInstanceConfigResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CloudInstanceConfigResponse(); } @@ -1418,27 +1235,27 @@ public static com.google.spanner.executor.v1.CloudInstanceConfigResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudInstanceConfigResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudInstanceConfigResponse 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; @@ -1453,4 +1270,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.spanner.executor.v1.CloudInstanceConfigResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponseOrBuilder.java index 64c629ef60f..5d8547a4103 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceConfigResponseOrBuilder.java @@ -1,142 +1,98 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CloudInstanceConfigResponseOrBuilder - extends +public interface CloudInstanceConfigResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CloudInstanceConfigResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - java.util.List + java.util.List getListedInstanceConfigsList(); /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ com.google.spanner.admin.instance.v1.InstanceConfig getListedInstanceConfigs(int index); /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ int getListedInstanceConfigsCount(); /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ - java.util.List + java.util.List getListedInstanceConfigsOrBuilderList(); /** - * - * *
    * List of instance configs returned by ListCloudInstanceConfigsAction.
    * 
* - * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; - * + * repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1; */ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getListedInstanceConfigsOrBuilder( int index); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Instance config returned by GetCloudInstanceConfigAction.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; - * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * Instance config returned by GetCloudInstanceConfigAction.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3; - * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * Instance config returned by GetCloudInstanceConfigAction.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponse.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponse.java index ba13279dee2..04c95ca9c17 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * CloudInstanceResponse contains results returned by cloud instance related
  * actions.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.CloudInstanceResponse}
  */
-public final class CloudInstanceResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CloudInstanceResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CloudInstanceResponse)
     CloudInstanceResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CloudInstanceResponse.newBuilder() to construct.
   private CloudInstanceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CloudInstanceResponse() {
     listedInstances_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,33 +28,29 @@ private CloudInstanceResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CloudInstanceResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.CloudInstanceResponse.class,
-            com.google.spanner.executor.v1.CloudInstanceResponse.Builder.class);
+            com.google.spanner.executor.v1.CloudInstanceResponse.class, com.google.spanner.executor.v1.CloudInstanceResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int LISTED_INSTANCES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List listedInstances_;
   /**
-   *
-   *
    * 
    * List of instances returned by ListCloudInstancesAction.
    * 
@@ -84,8 +62,6 @@ public java.util.List getListedIn return listedInstances_; } /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
@@ -93,13 +69,11 @@ public java.util.List getListedIn * repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getListedInstancesOrBuilderList() { return listedInstances_; } /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
@@ -111,8 +85,6 @@ public int getListedInstancesCount() { return listedInstances_.size(); } /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
@@ -124,8 +96,6 @@ public com.google.spanner.admin.instance.v1.Instance getListedInstances(int inde return listedInstances_.get(index); } /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
@@ -139,19 +109,15 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getListedInstances } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,30 +126,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,14 +160,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.Instance instance_; /** - * - * *
    * Instance returned by GetCloudInstanceAction
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 3; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -209,25 +172,18 @@ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Instance returned by GetCloudInstanceAction
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 3; - * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Instance returned by GetCloudInstanceAction
    * 
@@ -236,13 +192,10 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < listedInstances_.size(); i++) { output.writeMessage(1, listedInstances_.get(i)); } @@ -274,13 +228,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < listedInstances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, listedInstances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, listedInstances_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -290,19 +246,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CloudInstanceResponse)) { return super.equals(obj); } - com.google.spanner.executor.v1.CloudInstanceResponse other = - (com.google.spanner.executor.v1.CloudInstanceResponse) obj; + com.google.spanner.executor.v1.CloudInstanceResponse other = (com.google.spanner.executor.v1.CloudInstanceResponse) obj; - if (!getListedInstancesList().equals(other.getListedInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getListedInstancesList() + .equals(other.getListedInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -331,103 +289,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CloudInstanceResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CloudInstanceResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CloudInstanceResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.CloudInstanceResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CloudInstanceResponse contains results returned by cloud instance related
    * actions.
@@ -435,23 +388,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.CloudInstanceResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CloudInstanceResponse)
       com.google.spanner.executor.v1.CloudInstanceResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.CloudInstanceResponse.class,
-              com.google.spanner.executor.v1.CloudInstanceResponse.Builder.class);
+              com.google.spanner.executor.v1.CloudInstanceResponse.class, com.google.spanner.executor.v1.CloudInstanceResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.CloudInstanceResponse.newBuilder()
@@ -459,18 +410,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getListedInstancesFieldBuilder();
         getInstanceFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -492,9 +443,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor;
     }
 
     @java.lang.Override
@@ -513,18 +464,14 @@ public com.google.spanner.executor.v1.CloudInstanceResponse build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.CloudInstanceResponse buildPartial() {
-      com.google.spanner.executor.v1.CloudInstanceResponse result =
-          new com.google.spanner.executor.v1.CloudInstanceResponse(this);
+      com.google.spanner.executor.v1.CloudInstanceResponse result = new com.google.spanner.executor.v1.CloudInstanceResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.executor.v1.CloudInstanceResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.executor.v1.CloudInstanceResponse result) {
       if (listedInstancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           listedInstances_ = java.util.Collections.unmodifiableList(listedInstances_);
@@ -543,7 +490,9 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudInstanceResponse
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build();
+        result.instance_ = instanceBuilder_ == null
+            ? instance_
+            : instanceBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -553,39 +502,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CloudInstanceResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.CloudInstanceResponse) {
-        return mergeFrom((com.google.spanner.executor.v1.CloudInstanceResponse) other);
+        return mergeFrom((com.google.spanner.executor.v1.CloudInstanceResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -593,8 +541,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.CloudInstanceResponse other) {
-      if (other == com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.CloudInstanceResponse.getDefaultInstance()) return this;
       if (listedInstancesBuilder_ == null) {
         if (!other.listedInstances_.isEmpty()) {
           if (listedInstances_.isEmpty()) {
@@ -613,10 +560,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CloudInstanceResponse ot
             listedInstancesBuilder_ = null;
             listedInstances_ = other.listedInstances_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            listedInstancesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getListedInstancesFieldBuilder()
-                    : null;
+            listedInstancesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getListedInstancesFieldBuilder() : null;
           } else {
             listedInstancesBuilder_.addAllMessages(other.listedInstances_);
           }
@@ -656,38 +602,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.instance.v1.Instance m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.Instance.parser(), extensionRegistry);
-                if (listedInstancesBuilder_ == null) {
-                  ensureListedInstancesIsMutable();
-                  listedInstances_.add(m);
-                } else {
-                  listedInstancesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.admin.instance.v1.Instance m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.Instance.parser(),
+                      extensionRegistry);
+              if (listedInstancesBuilder_ == null) {
+                ensureListedInstancesIsMutable();
+                listedInstances_.add(m);
+              } else {
+                listedInstancesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -697,30 +642,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List listedInstances_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureListedInstancesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        listedInstances_ =
-            new java.util.ArrayList(
-                listedInstances_);
+        listedInstances_ = new java.util.ArrayList(listedInstances_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        listedInstancesBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> listedInstancesBuilder_;
 
     /**
-     *
-     *
      * 
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -735,8 +671,6 @@ public java.util.List getListedIn } } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -751,8 +685,6 @@ public int getListedInstancesCount() { } } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -767,8 +699,6 @@ public com.google.spanner.admin.instance.v1.Instance getListedInstances(int inde } } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -790,8 +720,6 @@ public Builder setListedInstances( return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -810,8 +738,6 @@ public Builder setListedInstances( return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -832,8 +758,6 @@ public Builder addListedInstances(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -855,8 +779,6 @@ public Builder addListedInstances( return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -875,8 +797,6 @@ public Builder addListedInstances( return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -895,8 +815,6 @@ public Builder addListedInstances( return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -907,7 +825,8 @@ public Builder addAllListedInstances( java.lang.Iterable values) { if (listedInstancesBuilder_ == null) { ensureListedInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listedInstances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listedInstances_); onChanged(); } else { listedInstancesBuilder_.addAllMessages(values); @@ -915,8 +834,6 @@ public Builder addAllListedInstances( return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -934,8 +851,6 @@ public Builder clearListedInstances() { return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -953,8 +868,6 @@ public Builder removeListedInstances(int index) { return this; } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -966,8 +879,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getListedInstancesB return getListedInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -977,22 +888,19 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getListedInstancesB public com.google.spanner.admin.instance.v1.InstanceOrBuilder getListedInstancesOrBuilder( int index) { if (listedInstancesBuilder_ == null) { - return listedInstances_.get(index); - } else { + return listedInstances_.get(index); } else { return listedInstancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1; */ - public java.util.List - getListedInstancesOrBuilderList() { + public java.util.List + getListedInstancesOrBuilderList() { if (listedInstancesBuilder_ != null) { return listedInstancesBuilder_.getMessageOrBuilderList(); } else { @@ -1000,8 +908,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getListedInstances } } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -1009,12 +915,10 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getListedInstances * repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder addListedInstancesBuilder() { - return getListedInstancesFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + return getListedInstancesFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
@@ -1023,34 +927,26 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addListedInstancesB */ public com.google.spanner.admin.instance.v1.Instance.Builder addListedInstancesBuilder( int index) { - return getListedInstancesFieldBuilder() - .addBuilder(index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + return getListedInstancesFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** - * - * *
      * List of instances returned by ListCloudInstancesAction.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1; */ - public java.util.List - getListedInstancesBuilderList() { + public java.util.List + getListedInstancesBuilderList() { return getListedInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getListedInstancesFieldBuilder() { if (listedInstancesBuilder_ == null) { - listedInstancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + listedInstancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( listedInstances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1062,21 +958,19 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addListedInstancesB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1085,22 +979,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1108,37 +1001,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1148,22 +1034,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1173,47 +1055,34 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.instance.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 3; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 3; - * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
@@ -1234,8 +1103,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
@@ -1254,8 +1121,6 @@ public Builder setInstance( return this; } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
@@ -1264,9 +1129,9 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1281,8 +1146,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
@@ -1300,8 +1163,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
@@ -1314,8 +1175,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
@@ -1326,14 +1185,11 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Instance returned by GetCloudInstanceAction
      * 
@@ -1341,24 +1197,21 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild * .google.spanner.admin.instance.v1.Instance instance = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1368,12 +1221,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CloudInstanceResponse) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CloudInstanceResponse) private static final com.google.spanner.executor.v1.CloudInstanceResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CloudInstanceResponse(); } @@ -1382,27 +1235,27 @@ public static com.google.spanner.executor.v1.CloudInstanceResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudInstanceResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudInstanceResponse 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; @@ -1417,4 +1270,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.CloudInstanceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponseOrBuilder.java similarity index 75% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponseOrBuilder.java index b87671d70c4..312a1e3e662 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudInstanceResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CloudInstanceResponseOrBuilder - extends +public interface CloudInstanceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CloudInstanceResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1; */ - java.util.List getListedInstancesList(); + java.util.List + getListedInstancesList(); /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
@@ -45,8 +26,6 @@ public interface CloudInstanceResponseOrBuilder */ com.google.spanner.admin.instance.v1.Instance getListedInstances(int index); /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
@@ -55,81 +34,65 @@ public interface CloudInstanceResponseOrBuilder */ int getListedInstancesCount(); /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1; */ - java.util.List + java.util.List getListedInstancesOrBuilderList(); /** - * - * *
    * List of instances returned by ListCloudInstancesAction.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1; */ - com.google.spanner.admin.instance.v1.InstanceOrBuilder getListedInstancesOrBuilder(int index); + com.google.spanner.admin.instance.v1.InstanceOrBuilder getListedInstancesOrBuilder( + int index); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Instance returned by GetCloudInstanceAction
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 3; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Instance returned by GetCloudInstanceAction
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 3; - * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * Instance returned by GetCloudInstanceAction
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadata.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadata.java index 9f47bead3cc..2017d5d80c9 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,63 +5,55 @@ package com.google.spanner.executor.v1; /** - * - * *
  * ColumnMetadata represents metadata of a single column.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ColumnMetadata} */ -public final class ColumnMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ColumnMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ColumnMetadata) ColumnMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ColumnMetadata.newBuilder() to construct. private ColumnMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ColumnMetadata() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ColumnMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ColumnMetadata.class, - com.google.spanner.executor.v1.ColumnMetadata.Builder.class); + com.google.spanner.executor.v1.ColumnMetadata.class, com.google.spanner.executor.v1.ColumnMetadata.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Column name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Column name.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -118,14 +95,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type type_; /** - * - * *
    * Column type.
    * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ @java.lang.Override @@ -133,14 +107,11 @@ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Column type.
    * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ @java.lang.Override @@ -148,8 +119,6 @@ public com.google.spanner.v1.Type getType() { return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } /** - * - * *
    * Column type.
    * 
@@ -162,7 +131,6 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +142,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -194,7 +163,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getType()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,18 +174,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ColumnMetadata)) { return super.equals(obj); } - com.google.spanner.executor.v1.ColumnMetadata other = - (com.google.spanner.executor.v1.ColumnMetadata) obj; + com.google.spanner.executor.v1.ColumnMetadata other = (com.google.spanner.executor.v1.ColumnMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType().equals(other.getType())) return false; + if (!getType() + .equals(other.getType())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -239,127 +210,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ColumnMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ColumnMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ColumnMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ColumnMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.ColumnMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ColumnMetadata represents metadata of a single column.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ColumnMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ColumnMetadata) com.google.spanner.executor.v1.ColumnMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ColumnMetadata.class, - com.google.spanner.executor.v1.ColumnMetadata.Builder.class); + com.google.spanner.executor.v1.ColumnMetadata.class, com.google.spanner.executor.v1.ColumnMetadata.Builder.class); } // Construct using com.google.spanner.executor.v1.ColumnMetadata.newBuilder() @@ -367,17 +331,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -392,9 +356,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; } @java.lang.Override @@ -413,11 +377,8 @@ public com.google.spanner.executor.v1.ColumnMetadata build() { @java.lang.Override public com.google.spanner.executor.v1.ColumnMetadata buildPartial() { - com.google.spanner.executor.v1.ColumnMetadata result = - new com.google.spanner.executor.v1.ColumnMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ColumnMetadata result = new com.google.spanner.executor.v1.ColumnMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -429,7 +390,9 @@ private void buildPartial0(com.google.spanner.executor.v1.ColumnMetadata result) } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); + result.type_ = typeBuilder_ == null + ? type_ + : typeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -439,39 +402,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ColumnMetadata result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ColumnMetadata) { - return mergeFrom((com.google.spanner.executor.v1.ColumnMetadata) other); + return mergeFrom((com.google.spanner.executor.v1.ColumnMetadata)other); } else { super.mergeFrom(other); return this; @@ -514,25 +476,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -542,25 +503,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Column 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -569,21 +527,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Column name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -591,35 +548,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Column name.
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Column name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -629,21 +579,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Column name.
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -653,33 +599,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Type type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - typeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> typeBuilder_; /** - * - * *
      * Column type.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Column type.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ public com.google.spanner.v1.Type getType() { @@ -690,8 +627,6 @@ public com.google.spanner.v1.Type getType() { } } /** - * - * *
      * Column type.
      * 
@@ -712,15 +647,14 @@ public Builder setType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
      * Column type.
      * 
* * .google.spanner.v1.Type type = 2; */ - public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setType( + com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -731,8 +665,6 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { return this; } /** - * - * *
      * Column type.
      * 
@@ -741,9 +673,9 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { */ public Builder mergeType(com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && type_ != null - && type_ != com.google.spanner.v1.Type.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + type_ != null && + type_ != com.google.spanner.v1.Type.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -758,8 +690,6 @@ public Builder mergeType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
      * Column type.
      * 
@@ -777,8 +707,6 @@ public Builder clearType() { return this; } /** - * - * *
      * Column type.
      * 
@@ -791,8 +719,6 @@ public com.google.spanner.v1.Type.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** - * - * *
      * Column type.
      * 
@@ -803,12 +729,11 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; + return type_ == null ? + com.google.spanner.v1.Type.getDefaultInstance() : type_; } } /** - * - * *
      * Column type.
      * 
@@ -816,23 +741,21 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { * .google.spanner.v1.Type type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder>(getType(), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( + getType(), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -842,12 +765,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ColumnMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ColumnMetadata) private static final com.google.spanner.executor.v1.ColumnMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ColumnMetadata(); } @@ -856,27 +779,27 @@ public static com.google.spanner.executor.v1.ColumnMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnMetadata 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; @@ -891,4 +814,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ColumnMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadataOrBuilder.java similarity index 59% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadataOrBuilder.java index 4326c89a2b1..627845d98d9 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ColumnMetadataOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ColumnMetadataOrBuilder - extends +public interface ColumnMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ColumnMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Column name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Column name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Column type.
    * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
    * Column type.
    * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ com.google.spanner.v1.Type getType(); /** - * - * *
    * Column type.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Concurrency.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Concurrency.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Concurrency.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Concurrency.java index 86ca81ed827..a61c5e244bb 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Concurrency.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Concurrency.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,57 +5,50 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Concurrency for read-only transactions.
  * 
* * Protobuf type {@code google.spanner.executor.v1.Concurrency} */ -public final class Concurrency extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Concurrency extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.Concurrency) ConcurrencyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Concurrency.newBuilder() to construct. private Concurrency(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Concurrency() { snapshotEpochRootTable_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Concurrency(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_Concurrency_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Concurrency_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.Concurrency.class, - com.google.spanner.executor.v1.Concurrency.Builder.class); + com.google.spanner.executor.v1.Concurrency.class, com.google.spanner.executor.v1.Concurrency.Builder.class); } private int concurrencyModeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object concurrencyMode_; - public enum ConcurrencyModeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STALENESS_SECONDS(1), MIN_READ_TIMESTAMP_MICROS(2), @@ -80,7 +58,6 @@ public enum ConcurrencyModeCase BATCH(6), CONCURRENCYMODE_NOT_SET(0); private final int value; - private ConcurrencyModeCase(int value) { this.value = value; } @@ -96,38 +73,29 @@ public static ConcurrencyModeCase valueOf(int value) { public static ConcurrencyModeCase forNumber(int value) { switch (value) { - case 1: - return STALENESS_SECONDS; - case 2: - return MIN_READ_TIMESTAMP_MICROS; - case 3: - return MAX_STALENESS_SECONDS; - case 4: - return EXACT_TIMESTAMP_MICROS; - case 5: - return STRONG; - case 6: - return BATCH; - case 0: - return CONCURRENCYMODE_NOT_SET; - default: - return null; + case 1: return STALENESS_SECONDS; + case 2: return MIN_READ_TIMESTAMP_MICROS; + case 3: return MAX_STALENESS_SECONDS; + case 4: return EXACT_TIMESTAMP_MICROS; + case 5: return STRONG; + case 6: return BATCH; + case 0: return CONCURRENCYMODE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConcurrencyModeCase getConcurrencyModeCase() { - return ConcurrencyModeCase.forNumber(concurrencyModeCase_); + public ConcurrencyModeCase + getConcurrencyModeCase() { + return ConcurrencyModeCase.forNumber( + concurrencyModeCase_); } public static final int STALENESS_SECONDS_FIELD_NUMBER = 1; /** - * - * *
    * Indicates a read at a consistent timestamp that is specified relative to
    * now. That is, if the caller has specified an exact staleness of s
@@ -135,7 +103,6 @@ public ConcurrencyModeCase getConcurrencyModeCase() {
    * 
* * double staleness_seconds = 1; - * * @return Whether the stalenessSeconds field is set. */ @java.lang.Override @@ -143,8 +110,6 @@ public boolean hasStalenessSeconds() { return concurrencyModeCase_ == 1; } /** - * - * *
    * Indicates a read at a consistent timestamp that is specified relative to
    * now. That is, if the caller has specified an exact staleness of s
@@ -152,7 +117,6 @@ public boolean hasStalenessSeconds() {
    * 
* * double staleness_seconds = 1; - * * @return The stalenessSeconds. */ @java.lang.Override @@ -165,14 +129,11 @@ public double getStalenessSeconds() { public static final int MIN_READ_TIMESTAMP_MICROS_FIELD_NUMBER = 2; /** - * - * *
    * Indicates a boundedly stale read that reads at a timestamp >= T.
    * 
* * int64 min_read_timestamp_micros = 2; - * * @return Whether the minReadTimestampMicros field is set. */ @java.lang.Override @@ -180,14 +141,11 @@ public boolean hasMinReadTimestampMicros() { return concurrencyModeCase_ == 2; } /** - * - * *
    * Indicates a boundedly stale read that reads at a timestamp >= T.
    * 
* * int64 min_read_timestamp_micros = 2; - * * @return The minReadTimestampMicros. */ @java.lang.Override @@ -200,14 +158,11 @@ public long getMinReadTimestampMicros() { public static final int MAX_STALENESS_SECONDS_FIELD_NUMBER = 3; /** - * - * *
    * Indicates a boundedly stale read that is at most N seconds stale.
    * 
* * double max_staleness_seconds = 3; - * * @return Whether the maxStalenessSeconds field is set. */ @java.lang.Override @@ -215,14 +170,11 @@ public boolean hasMaxStalenessSeconds() { return concurrencyModeCase_ == 3; } /** - * - * *
    * Indicates a boundedly stale read that is at most N seconds stale.
    * 
* * double max_staleness_seconds = 3; - * * @return The maxStalenessSeconds. */ @java.lang.Override @@ -235,14 +187,11 @@ public double getMaxStalenessSeconds() { public static final int EXACT_TIMESTAMP_MICROS_FIELD_NUMBER = 4; /** - * - * *
    * Indicates a read at a consistent timestamp.
    * 
* * int64 exact_timestamp_micros = 4; - * * @return Whether the exactTimestampMicros field is set. */ @java.lang.Override @@ -250,14 +199,11 @@ public boolean hasExactTimestampMicros() { return concurrencyModeCase_ == 4; } /** - * - * *
    * Indicates a read at a consistent timestamp.
    * 
* * int64 exact_timestamp_micros = 4; - * * @return The exactTimestampMicros. */ @java.lang.Override @@ -270,14 +216,11 @@ public long getExactTimestampMicros() { public static final int STRONG_FIELD_NUMBER = 5; /** - * - * *
    * Indicates a strong read, must only be set to true, or unset.
    * 
* * bool strong = 5; - * * @return Whether the strong field is set. */ @java.lang.Override @@ -285,14 +228,11 @@ public boolean hasStrong() { return concurrencyModeCase_ == 5; } /** - * - * *
    * Indicates a strong read, must only be set to true, or unset.
    * 
* * bool strong = 5; - * * @return The strong. */ @java.lang.Override @@ -305,14 +245,11 @@ public boolean getStrong() { public static final int BATCH_FIELD_NUMBER = 6; /** - * - * *
    * Indicates a batch read, must only be set to true, or unset.
    * 
* * bool batch = 6; - * * @return Whether the batch field is set. */ @java.lang.Override @@ -320,14 +257,11 @@ public boolean hasBatch() { return concurrencyModeCase_ == 6; } /** - * - * *
    * Indicates a batch read, must only be set to true, or unset.
    * 
* * bool batch = 6; - * * @return The batch. */ @java.lang.Override @@ -341,15 +275,12 @@ public boolean getBatch() { public static final int SNAPSHOT_EPOCH_READ_FIELD_NUMBER = 7; private boolean snapshotEpochRead_ = false; /** - * - * *
    * True if exact_timestamp_micros is set, and the chosen timestamp is that of
    * a snapshot epoch.
    * 
* * bool snapshot_epoch_read = 7; - * * @return The snapshotEpochRead. */ @java.lang.Override @@ -358,12 +289,9 @@ public boolean getSnapshotEpochRead() { } public static final int SNAPSHOT_EPOCH_ROOT_TABLE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object snapshotEpochRootTable_ = ""; /** - * - * *
    * If set, this is a snapshot epoch read constrained to read only the
    * specified log scope root table, and its children. Will not be set for full
@@ -371,7 +299,6 @@ public boolean getSnapshotEpochRead() {
    * 
* * string snapshot_epoch_root_table = 8; - * * @return The snapshotEpochRootTable. */ @java.lang.Override @@ -380,15 +307,14 @@ public java.lang.String getSnapshotEpochRootTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotEpochRootTable_ = s; return s; } } /** - * - * *
    * If set, this is a snapshot epoch read constrained to read only the
    * specified log scope root table, and its children. Will not be set for full
@@ -396,15 +322,16 @@ public java.lang.String getSnapshotEpochRootTable() {
    * 
* * string snapshot_epoch_root_table = 8; - * * @return The bytes for snapshotEpochRootTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSnapshotEpochRootTableBytes() { + public com.google.protobuf.ByteString + getSnapshotEpochRootTableBytes() { java.lang.Object ref = snapshotEpochRootTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotEpochRootTable_ = b; return b; } else { @@ -415,14 +342,11 @@ public com.google.protobuf.ByteString getSnapshotEpochRootTableBytes() { public static final int BATCH_READ_TIMESTAMP_MICROS_FIELD_NUMBER = 9; private long batchReadTimestampMicros_ = 0L; /** - * - * *
    * Set only when batch is true.
    * 
* * int64 batch_read_timestamp_micros = 9; - * * @return The batchReadTimestampMicros. */ @java.lang.Override @@ -431,7 +355,6 @@ public long getBatchReadTimestampMicros() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,24 +366,31 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (concurrencyModeCase_ == 1) { - output.writeDouble(1, (double) ((java.lang.Double) concurrencyMode_)); + output.writeDouble( + 1, (double)((java.lang.Double) concurrencyMode_)); } if (concurrencyModeCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) concurrencyMode_)); + output.writeInt64( + 2, (long)((java.lang.Long) concurrencyMode_)); } if (concurrencyModeCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) concurrencyMode_)); + output.writeDouble( + 3, (double)((java.lang.Double) concurrencyMode_)); } if (concurrencyModeCase_ == 4) { - output.writeInt64(4, (long) ((java.lang.Long) concurrencyMode_)); + output.writeInt64( + 4, (long)((java.lang.Long) concurrencyMode_)); } if (concurrencyModeCase_ == 5) { - output.writeBool(5, (boolean) ((java.lang.Boolean) concurrencyMode_)); + output.writeBool( + 5, (boolean)((java.lang.Boolean) concurrencyMode_)); } if (concurrencyModeCase_ == 6) { - output.writeBool(6, (boolean) ((java.lang.Boolean) concurrencyMode_)); + output.writeBool( + 6, (boolean)((java.lang.Boolean) concurrencyMode_)); } if (snapshotEpochRead_ != false) { output.writeBool(7, snapshotEpochRead_); @@ -481,43 +411,45 @@ public int getSerializedSize() { size = 0; if (concurrencyModeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 1, (double) ((java.lang.Double) concurrencyMode_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 1, (double)((java.lang.Double) concurrencyMode_)); } if (concurrencyModeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) concurrencyMode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) concurrencyMode_)); } if (concurrencyModeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) concurrencyMode_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) concurrencyMode_)); } if (concurrencyModeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 4, (long) ((java.lang.Long) concurrencyMode_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 4, (long)((java.lang.Long) concurrencyMode_)); } if (concurrencyModeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 5, (boolean) ((java.lang.Boolean) concurrencyMode_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 5, (boolean)((java.lang.Boolean) concurrencyMode_)); } if (concurrencyModeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 6, (boolean) ((java.lang.Boolean) concurrencyMode_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 6, (boolean)((java.lang.Boolean) concurrencyMode_)); } if (snapshotEpochRead_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, snapshotEpochRead_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, snapshotEpochRead_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshotEpochRootTable_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, snapshotEpochRootTable_); } if (batchReadTimestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, batchReadTimestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, batchReadTimestampMicros_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -527,38 +459,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.Concurrency)) { return super.equals(obj); } - com.google.spanner.executor.v1.Concurrency other = - (com.google.spanner.executor.v1.Concurrency) obj; + com.google.spanner.executor.v1.Concurrency other = (com.google.spanner.executor.v1.Concurrency) obj; - if (getSnapshotEpochRead() != other.getSnapshotEpochRead()) return false; - if (!getSnapshotEpochRootTable().equals(other.getSnapshotEpochRootTable())) return false; - if (getBatchReadTimestampMicros() != other.getBatchReadTimestampMicros()) return false; + if (getSnapshotEpochRead() + != other.getSnapshotEpochRead()) return false; + if (!getSnapshotEpochRootTable() + .equals(other.getSnapshotEpochRootTable())) return false; + if (getBatchReadTimestampMicros() + != other.getBatchReadTimestampMicros()) return false; if (!getConcurrencyModeCase().equals(other.getConcurrencyModeCase())) return false; switch (concurrencyModeCase_) { case 1: if (java.lang.Double.doubleToLongBits(getStalenessSeconds()) - != java.lang.Double.doubleToLongBits(other.getStalenessSeconds())) return false; + != java.lang.Double.doubleToLongBits( + other.getStalenessSeconds())) return false; break; case 2: - if (getMinReadTimestampMicros() != other.getMinReadTimestampMicros()) return false; + if (getMinReadTimestampMicros() + != other.getMinReadTimestampMicros()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getMaxStalenessSeconds()) - != java.lang.Double.doubleToLongBits(other.getMaxStalenessSeconds())) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxStalenessSeconds())) return false; break; case 4: - if (getExactTimestampMicros() != other.getExactTimestampMicros()) return false; + if (getExactTimestampMicros() + != other.getExactTimestampMicros()) return false; break; case 5: - if (getStrong() != other.getStrong()) return false; + if (getStrong() + != other.getStrong()) return false; break; case 6: - if (getBatch() != other.getBatch()) return false; + if (getBatch() + != other.getBatch()) return false; break; case 0: default: @@ -575,41 +515,43 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SNAPSHOT_EPOCH_READ_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSnapshotEpochRead()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSnapshotEpochRead()); hash = (37 * hash) + SNAPSHOT_EPOCH_ROOT_TABLE_FIELD_NUMBER; hash = (53 * hash) + getSnapshotEpochRootTable().hashCode(); hash = (37 * hash) + BATCH_READ_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBatchReadTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBatchReadTimestampMicros()); switch (concurrencyModeCase_) { case 1: hash = (37 * hash) + STALENESS_SECONDS_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getStalenessSeconds())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getStalenessSeconds())); break; case 2: hash = (37 * hash) + MIN_READ_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinReadTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMinReadTimestampMicros()); break; case 3: hash = (37 * hash) + MAX_STALENESS_SECONDS_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxStalenessSeconds())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxStalenessSeconds())); break; case 4: hash = (37 * hash) + EXACT_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExactTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExactTimestampMicros()); break; case 5: hash = (37 * hash) + STRONG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrong()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrong()); break; case 6: hash = (37 * hash) + BATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBatch()); break; case 0: default: @@ -619,136 +561,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.Concurrency parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.Concurrency parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.Concurrency parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.Concurrency parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.Concurrency parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.Concurrency parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.Concurrency parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.Concurrency parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.Concurrency parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.Concurrency parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.Concurrency parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.Concurrency parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.Concurrency parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.Concurrency parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.Concurrency prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Concurrency for read-only transactions.
    * 
* * Protobuf type {@code google.spanner.executor.v1.Concurrency} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.Concurrency) com.google.spanner.executor.v1.ConcurrencyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_Concurrency_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Concurrency_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.Concurrency.class, - com.google.spanner.executor.v1.Concurrency.Builder.class); + com.google.spanner.executor.v1.Concurrency.class, com.google.spanner.executor.v1.Concurrency.Builder.class); } // Construct using com.google.spanner.executor.v1.Concurrency.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -762,9 +700,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_Concurrency_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Concurrency_descriptor; } @java.lang.Override @@ -783,11 +721,8 @@ public com.google.spanner.executor.v1.Concurrency build() { @java.lang.Override public com.google.spanner.executor.v1.Concurrency buildPartial() { - com.google.spanner.executor.v1.Concurrency result = - new com.google.spanner.executor.v1.Concurrency(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.Concurrency result = new com.google.spanner.executor.v1.Concurrency(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -815,39 +750,38 @@ private void buildPartialOneofs(com.google.spanner.executor.v1.Concurrency resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.Concurrency) { - return mergeFrom((com.google.spanner.executor.v1.Concurrency) other); + return mergeFrom((com.google.spanner.executor.v1.Concurrency)other); } else { super.mergeFrom(other); return this; @@ -868,40 +802,33 @@ public Builder mergeFrom(com.google.spanner.executor.v1.Concurrency other) { setBatchReadTimestampMicros(other.getBatchReadTimestampMicros()); } switch (other.getConcurrencyModeCase()) { - case STALENESS_SECONDS: - { - setStalenessSeconds(other.getStalenessSeconds()); - break; - } - case MIN_READ_TIMESTAMP_MICROS: - { - setMinReadTimestampMicros(other.getMinReadTimestampMicros()); - break; - } - case MAX_STALENESS_SECONDS: - { - setMaxStalenessSeconds(other.getMaxStalenessSeconds()); - break; - } - case EXACT_TIMESTAMP_MICROS: - { - setExactTimestampMicros(other.getExactTimestampMicros()); - break; - } - case STRONG: - { - setStrong(other.getStrong()); - break; - } - case BATCH: - { - setBatch(other.getBatch()); - break; - } - case CONCURRENCYMODE_NOT_SET: - { - break; - } + case STALENESS_SECONDS: { + setStalenessSeconds(other.getStalenessSeconds()); + break; + } + case MIN_READ_TIMESTAMP_MICROS: { + setMinReadTimestampMicros(other.getMinReadTimestampMicros()); + break; + } + case MAX_STALENESS_SECONDS: { + setMaxStalenessSeconds(other.getMaxStalenessSeconds()); + break; + } + case EXACT_TIMESTAMP_MICROS: { + setExactTimestampMicros(other.getExactTimestampMicros()); + break; + } + case STRONG: { + setStrong(other.getStrong()); + break; + } + case BATCH: { + setBatch(other.getBatch()); + break; + } + case CONCURRENCYMODE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -929,67 +856,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: - { - concurrencyMode_ = input.readDouble(); - concurrencyModeCase_ = 1; - break; - } // case 9 - case 16: - { - concurrencyMode_ = input.readInt64(); - concurrencyModeCase_ = 2; - break; - } // case 16 - case 25: - { - concurrencyMode_ = input.readDouble(); - concurrencyModeCase_ = 3; - break; - } // case 25 - case 32: - { - concurrencyMode_ = input.readInt64(); - concurrencyModeCase_ = 4; - break; - } // case 32 - case 40: - { - concurrencyMode_ = input.readBool(); - concurrencyModeCase_ = 5; - break; - } // case 40 - case 48: - { - concurrencyMode_ = input.readBool(); - concurrencyModeCase_ = 6; - break; - } // case 48 - case 56: - { - snapshotEpochRead_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - snapshotEpochRootTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: - { - batchReadTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000100; - break; - } // case 72 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: { + concurrencyMode_ = input.readDouble(); + concurrencyModeCase_ = 1; + break; + } // case 9 + case 16: { + concurrencyMode_ = input.readInt64(); + concurrencyModeCase_ = 2; + break; + } // case 16 + case 25: { + concurrencyMode_ = input.readDouble(); + concurrencyModeCase_ = 3; + break; + } // case 25 + case 32: { + concurrencyMode_ = input.readInt64(); + concurrencyModeCase_ = 4; + break; + } // case 32 + case 40: { + concurrencyMode_ = input.readBool(); + concurrencyModeCase_ = 5; + break; + } // case 40 + case 48: { + concurrencyMode_ = input.readBool(); + concurrencyModeCase_ = 6; + break; + } // case 48 + case 56: { + snapshotEpochRead_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + snapshotEpochRootTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + batchReadTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000100; + break; + } // case 72 + 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) { @@ -999,12 +916,12 @@ public Builder mergeFrom( } // finally return this; } - private int concurrencyModeCase_ = 0; private java.lang.Object concurrencyMode_; - - public ConcurrencyModeCase getConcurrencyModeCase() { - return ConcurrencyModeCase.forNumber(concurrencyModeCase_); + public ConcurrencyModeCase + getConcurrencyModeCase() { + return ConcurrencyModeCase.forNumber( + concurrencyModeCase_); } public Builder clearConcurrencyMode() { @@ -1017,8 +934,6 @@ public Builder clearConcurrencyMode() { private int bitField0_; /** - * - * *
      * Indicates a read at a consistent timestamp that is specified relative to
      * now. That is, if the caller has specified an exact staleness of s
@@ -1026,15 +941,12 @@ public Builder clearConcurrencyMode() {
      * 
* * double staleness_seconds = 1; - * * @return Whether the stalenessSeconds field is set. */ public boolean hasStalenessSeconds() { return concurrencyModeCase_ == 1; } /** - * - * *
      * Indicates a read at a consistent timestamp that is specified relative to
      * now. That is, if the caller has specified an exact staleness of s
@@ -1042,7 +954,6 @@ public boolean hasStalenessSeconds() {
      * 
* * double staleness_seconds = 1; - * * @return The stalenessSeconds. */ public double getStalenessSeconds() { @@ -1052,8 +963,6 @@ public double getStalenessSeconds() { return 0D; } /** - * - * *
      * Indicates a read at a consistent timestamp that is specified relative to
      * now. That is, if the caller has specified an exact staleness of s
@@ -1061,7 +970,6 @@ public double getStalenessSeconds() {
      * 
* * double staleness_seconds = 1; - * * @param value The stalenessSeconds to set. * @return This builder for chaining. */ @@ -1073,8 +981,6 @@ public Builder setStalenessSeconds(double value) { return this; } /** - * - * *
      * Indicates a read at a consistent timestamp that is specified relative to
      * now. That is, if the caller has specified an exact staleness of s
@@ -1082,7 +988,6 @@ public Builder setStalenessSeconds(double value) {
      * 
* * double staleness_seconds = 1; - * * @return This builder for chaining. */ public Builder clearStalenessSeconds() { @@ -1095,28 +1000,22 @@ public Builder clearStalenessSeconds() { } /** - * - * *
      * Indicates a boundedly stale read that reads at a timestamp >= T.
      * 
* * int64 min_read_timestamp_micros = 2; - * * @return Whether the minReadTimestampMicros field is set. */ public boolean hasMinReadTimestampMicros() { return concurrencyModeCase_ == 2; } /** - * - * *
      * Indicates a boundedly stale read that reads at a timestamp >= T.
      * 
* * int64 min_read_timestamp_micros = 2; - * * @return The minReadTimestampMicros. */ public long getMinReadTimestampMicros() { @@ -1126,14 +1025,11 @@ public long getMinReadTimestampMicros() { return 0L; } /** - * - * *
      * Indicates a boundedly stale read that reads at a timestamp >= T.
      * 
* * int64 min_read_timestamp_micros = 2; - * * @param value The minReadTimestampMicros to set. * @return This builder for chaining. */ @@ -1145,14 +1041,11 @@ public Builder setMinReadTimestampMicros(long value) { return this; } /** - * - * *
      * Indicates a boundedly stale read that reads at a timestamp >= T.
      * 
* * int64 min_read_timestamp_micros = 2; - * * @return This builder for chaining. */ public Builder clearMinReadTimestampMicros() { @@ -1165,28 +1058,22 @@ public Builder clearMinReadTimestampMicros() { } /** - * - * *
      * Indicates a boundedly stale read that is at most N seconds stale.
      * 
* * double max_staleness_seconds = 3; - * * @return Whether the maxStalenessSeconds field is set. */ public boolean hasMaxStalenessSeconds() { return concurrencyModeCase_ == 3; } /** - * - * *
      * Indicates a boundedly stale read that is at most N seconds stale.
      * 
* * double max_staleness_seconds = 3; - * * @return The maxStalenessSeconds. */ public double getMaxStalenessSeconds() { @@ -1196,14 +1083,11 @@ public double getMaxStalenessSeconds() { return 0D; } /** - * - * *
      * Indicates a boundedly stale read that is at most N seconds stale.
      * 
* * double max_staleness_seconds = 3; - * * @param value The maxStalenessSeconds to set. * @return This builder for chaining. */ @@ -1215,14 +1099,11 @@ public Builder setMaxStalenessSeconds(double value) { return this; } /** - * - * *
      * Indicates a boundedly stale read that is at most N seconds stale.
      * 
* * double max_staleness_seconds = 3; - * * @return This builder for chaining. */ public Builder clearMaxStalenessSeconds() { @@ -1235,28 +1116,22 @@ public Builder clearMaxStalenessSeconds() { } /** - * - * *
      * Indicates a read at a consistent timestamp.
      * 
* * int64 exact_timestamp_micros = 4; - * * @return Whether the exactTimestampMicros field is set. */ public boolean hasExactTimestampMicros() { return concurrencyModeCase_ == 4; } /** - * - * *
      * Indicates a read at a consistent timestamp.
      * 
* * int64 exact_timestamp_micros = 4; - * * @return The exactTimestampMicros. */ public long getExactTimestampMicros() { @@ -1266,14 +1141,11 @@ public long getExactTimestampMicros() { return 0L; } /** - * - * *
      * Indicates a read at a consistent timestamp.
      * 
* * int64 exact_timestamp_micros = 4; - * * @param value The exactTimestampMicros to set. * @return This builder for chaining. */ @@ -1285,14 +1157,11 @@ public Builder setExactTimestampMicros(long value) { return this; } /** - * - * *
      * Indicates a read at a consistent timestamp.
      * 
* * int64 exact_timestamp_micros = 4; - * * @return This builder for chaining. */ public Builder clearExactTimestampMicros() { @@ -1305,28 +1174,22 @@ public Builder clearExactTimestampMicros() { } /** - * - * *
      * Indicates a strong read, must only be set to true, or unset.
      * 
* * bool strong = 5; - * * @return Whether the strong field is set. */ public boolean hasStrong() { return concurrencyModeCase_ == 5; } /** - * - * *
      * Indicates a strong read, must only be set to true, or unset.
      * 
* * bool strong = 5; - * * @return The strong. */ public boolean getStrong() { @@ -1336,14 +1199,11 @@ public boolean getStrong() { return false; } /** - * - * *
      * Indicates a strong read, must only be set to true, or unset.
      * 
* * bool strong = 5; - * * @param value The strong to set. * @return This builder for chaining. */ @@ -1355,14 +1215,11 @@ public Builder setStrong(boolean value) { return this; } /** - * - * *
      * Indicates a strong read, must only be set to true, or unset.
      * 
* * bool strong = 5; - * * @return This builder for chaining. */ public Builder clearStrong() { @@ -1375,28 +1232,22 @@ public Builder clearStrong() { } /** - * - * *
      * Indicates a batch read, must only be set to true, or unset.
      * 
* * bool batch = 6; - * * @return Whether the batch field is set. */ public boolean hasBatch() { return concurrencyModeCase_ == 6; } /** - * - * *
      * Indicates a batch read, must only be set to true, or unset.
      * 
* * bool batch = 6; - * * @return The batch. */ public boolean getBatch() { @@ -1406,14 +1257,11 @@ public boolean getBatch() { return false; } /** - * - * *
      * Indicates a batch read, must only be set to true, or unset.
      * 
* * bool batch = 6; - * * @param value The batch to set. * @return This builder for chaining. */ @@ -1425,14 +1273,11 @@ public Builder setBatch(boolean value) { return this; } /** - * - * *
      * Indicates a batch read, must only be set to true, or unset.
      * 
* * bool batch = 6; - * * @return This builder for chaining. */ public Builder clearBatch() { @@ -1444,17 +1289,14 @@ public Builder clearBatch() { return this; } - private boolean snapshotEpochRead_; + private boolean snapshotEpochRead_ ; /** - * - * *
      * True if exact_timestamp_micros is set, and the chosen timestamp is that of
      * a snapshot epoch.
      * 
* * bool snapshot_epoch_read = 7; - * * @return The snapshotEpochRead. */ @java.lang.Override @@ -1462,15 +1304,12 @@ public boolean getSnapshotEpochRead() { return snapshotEpochRead_; } /** - * - * *
      * True if exact_timestamp_micros is set, and the chosen timestamp is that of
      * a snapshot epoch.
      * 
* * bool snapshot_epoch_read = 7; - * * @param value The snapshotEpochRead to set. * @return This builder for chaining. */ @@ -1482,15 +1321,12 @@ public Builder setSnapshotEpochRead(boolean value) { return this; } /** - * - * *
      * True if exact_timestamp_micros is set, and the chosen timestamp is that of
      * a snapshot epoch.
      * 
* * bool snapshot_epoch_read = 7; - * * @return This builder for chaining. */ public Builder clearSnapshotEpochRead() { @@ -1502,8 +1338,6 @@ public Builder clearSnapshotEpochRead() { private java.lang.Object snapshotEpochRootTable_ = ""; /** - * - * *
      * If set, this is a snapshot epoch read constrained to read only the
      * specified log scope root table, and its children. Will not be set for full
@@ -1511,13 +1345,13 @@ public Builder clearSnapshotEpochRead() {
      * 
* * string snapshot_epoch_root_table = 8; - * * @return The snapshotEpochRootTable. */ public java.lang.String getSnapshotEpochRootTable() { java.lang.Object ref = snapshotEpochRootTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotEpochRootTable_ = s; return s; @@ -1526,8 +1360,6 @@ public java.lang.String getSnapshotEpochRootTable() { } } /** - * - * *
      * If set, this is a snapshot epoch read constrained to read only the
      * specified log scope root table, and its children. Will not be set for full
@@ -1535,14 +1367,15 @@ public java.lang.String getSnapshotEpochRootTable() {
      * 
* * string snapshot_epoch_root_table = 8; - * * @return The bytes for snapshotEpochRootTable. */ - public com.google.protobuf.ByteString getSnapshotEpochRootTableBytes() { + public com.google.protobuf.ByteString + getSnapshotEpochRootTableBytes() { java.lang.Object ref = snapshotEpochRootTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotEpochRootTable_ = b; return b; } else { @@ -1550,8 +1383,6 @@ public com.google.protobuf.ByteString getSnapshotEpochRootTableBytes() { } } /** - * - * *
      * If set, this is a snapshot epoch read constrained to read only the
      * specified log scope root table, and its children. Will not be set for full
@@ -1559,22 +1390,18 @@ public com.google.protobuf.ByteString getSnapshotEpochRootTableBytes() {
      * 
* * string snapshot_epoch_root_table = 8; - * * @param value The snapshotEpochRootTable to set. * @return This builder for chaining. */ - public Builder setSnapshotEpochRootTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotEpochRootTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } snapshotEpochRootTable_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * If set, this is a snapshot epoch read constrained to read only the
      * specified log scope root table, and its children. Will not be set for full
@@ -1582,7 +1409,6 @@ public Builder setSnapshotEpochRootTable(java.lang.String value) {
      * 
* * string snapshot_epoch_root_table = 8; - * * @return This builder for chaining. */ public Builder clearSnapshotEpochRootTable() { @@ -1592,8 +1418,6 @@ public Builder clearSnapshotEpochRootTable() { return this; } /** - * - * *
      * If set, this is a snapshot epoch read constrained to read only the
      * specified log scope root table, and its children. Will not be set for full
@@ -1601,14 +1425,12 @@ public Builder clearSnapshotEpochRootTable() {
      * 
* * string snapshot_epoch_root_table = 8; - * * @param value The bytes for snapshotEpochRootTable to set. * @return This builder for chaining. */ - public Builder setSnapshotEpochRootTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotEpochRootTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); snapshotEpochRootTable_ = value; bitField0_ |= 0x00000080; @@ -1616,16 +1438,13 @@ public Builder setSnapshotEpochRootTableBytes(com.google.protobuf.ByteString val return this; } - private long batchReadTimestampMicros_; + private long batchReadTimestampMicros_ ; /** - * - * *
      * Set only when batch is true.
      * 
* * int64 batch_read_timestamp_micros = 9; - * * @return The batchReadTimestampMicros. */ @java.lang.Override @@ -1633,14 +1452,11 @@ public long getBatchReadTimestampMicros() { return batchReadTimestampMicros_; } /** - * - * *
      * Set only when batch is true.
      * 
* * int64 batch_read_timestamp_micros = 9; - * * @param value The batchReadTimestampMicros to set. * @return This builder for chaining. */ @@ -1652,14 +1468,11 @@ public Builder setBatchReadTimestampMicros(long value) { return this; } /** - * - * *
      * Set only when batch is true.
      * 
* * int64 batch_read_timestamp_micros = 9; - * * @return This builder for chaining. */ public Builder clearBatchReadTimestampMicros() { @@ -1668,9 +1481,9 @@ public Builder clearBatchReadTimestampMicros() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1680,12 +1493,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.Concurrency) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.Concurrency) private static final com.google.spanner.executor.v1.Concurrency DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.Concurrency(); } @@ -1694,27 +1507,27 @@ public static com.google.spanner.executor.v1.Concurrency getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Concurrency 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Concurrency 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; @@ -1729,4 +1542,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.Concurrency getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ConcurrencyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ConcurrencyOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ConcurrencyOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ConcurrencyOrBuilder.java index fc8e9dd8f43..282d7bd703b 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ConcurrencyOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ConcurrencyOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ConcurrencyOrBuilder - extends +public interface ConcurrencyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.Concurrency) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Indicates a read at a consistent timestamp that is specified relative to
    * now. That is, if the caller has specified an exact staleness of s
@@ -34,13 +16,10 @@ public interface ConcurrencyOrBuilder
    * 
* * double staleness_seconds = 1; - * * @return Whether the stalenessSeconds field is set. */ boolean hasStalenessSeconds(); /** - * - * *
    * Indicates a read at a consistent timestamp that is specified relative to
    * now. That is, if the caller has specified an exact staleness of s
@@ -48,153 +27,117 @@ public interface ConcurrencyOrBuilder
    * 
* * double staleness_seconds = 1; - * * @return The stalenessSeconds. */ double getStalenessSeconds(); /** - * - * *
    * Indicates a boundedly stale read that reads at a timestamp >= T.
    * 
* * int64 min_read_timestamp_micros = 2; - * * @return Whether the minReadTimestampMicros field is set. */ boolean hasMinReadTimestampMicros(); /** - * - * *
    * Indicates a boundedly stale read that reads at a timestamp >= T.
    * 
* * int64 min_read_timestamp_micros = 2; - * * @return The minReadTimestampMicros. */ long getMinReadTimestampMicros(); /** - * - * *
    * Indicates a boundedly stale read that is at most N seconds stale.
    * 
* * double max_staleness_seconds = 3; - * * @return Whether the maxStalenessSeconds field is set. */ boolean hasMaxStalenessSeconds(); /** - * - * *
    * Indicates a boundedly stale read that is at most N seconds stale.
    * 
* * double max_staleness_seconds = 3; - * * @return The maxStalenessSeconds. */ double getMaxStalenessSeconds(); /** - * - * *
    * Indicates a read at a consistent timestamp.
    * 
* * int64 exact_timestamp_micros = 4; - * * @return Whether the exactTimestampMicros field is set. */ boolean hasExactTimestampMicros(); /** - * - * *
    * Indicates a read at a consistent timestamp.
    * 
* * int64 exact_timestamp_micros = 4; - * * @return The exactTimestampMicros. */ long getExactTimestampMicros(); /** - * - * *
    * Indicates a strong read, must only be set to true, or unset.
    * 
* * bool strong = 5; - * * @return Whether the strong field is set. */ boolean hasStrong(); /** - * - * *
    * Indicates a strong read, must only be set to true, or unset.
    * 
* * bool strong = 5; - * * @return The strong. */ boolean getStrong(); /** - * - * *
    * Indicates a batch read, must only be set to true, or unset.
    * 
* * bool batch = 6; - * * @return Whether the batch field is set. */ boolean hasBatch(); /** - * - * *
    * Indicates a batch read, must only be set to true, or unset.
    * 
* * bool batch = 6; - * * @return The batch. */ boolean getBatch(); /** - * - * *
    * True if exact_timestamp_micros is set, and the chosen timestamp is that of
    * a snapshot epoch.
    * 
* * bool snapshot_epoch_read = 7; - * * @return The snapshotEpochRead. */ boolean getSnapshotEpochRead(); /** - * - * *
    * If set, this is a snapshot epoch read constrained to read only the
    * specified log scope root table, and its children. Will not be set for full
@@ -202,13 +145,10 @@ public interface ConcurrencyOrBuilder
    * 
* * string snapshot_epoch_root_table = 8; - * * @return The snapshotEpochRootTable. */ java.lang.String getSnapshotEpochRootTable(); /** - * - * *
    * If set, this is a snapshot epoch read constrained to read only the
    * specified log scope root table, and its children. Will not be set for full
@@ -216,20 +156,17 @@ public interface ConcurrencyOrBuilder
    * 
* * string snapshot_epoch_root_table = 8; - * * @return The bytes for snapshotEpochRootTable. */ - com.google.protobuf.ByteString getSnapshotEpochRootTableBytes(); + com.google.protobuf.ByteString + getSnapshotEpochRootTableBytes(); /** - * - * *
    * Set only when batch is true.
    * 
* * int64 batch_read_timestamp_micros = 9; - * * @return The batchReadTimestampMicros. */ long getBatchReadTimestampMicros(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupAction.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupAction.java index 6980009bfb0..7ec202fe9a0 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that copies a Cloud Spanner database backup.
  * 
* * Protobuf type {@code google.spanner.executor.v1.CopyCloudBackupAction} */ -public final class CopyCloudBackupAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CopyCloudBackupAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CopyCloudBackupAction) CopyCloudBackupActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CopyCloudBackupAction.newBuilder() to construct. private CopyCloudBackupAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CopyCloudBackupAction() { projectId_ = ""; instanceId_ = ""; @@ -47,39 +29,34 @@ private CopyCloudBackupAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CopyCloudBackupAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CopyCloudBackupAction.class, - com.google.spanner.executor.v1.CopyCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.CopyCloudBackupAction.class, com.google.spanner.executor.v1.CopyCloudBackupAction.Builder.class); } private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -88,29 +65,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -119,18 +96,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -139,29 +112,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -170,18 +143,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ @java.lang.Override @@ -190,29 +159,29 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -221,12 +190,9 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * The fully qualified uri of the source backup from which this
    * backup was copied. eg.
@@ -234,7 +200,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
    * 
* * string source_backup = 4; - * * @return The sourceBackup. */ @java.lang.Override @@ -243,15 +208,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * The fully qualified uri of the source backup from which this
    * backup was copied. eg.
@@ -259,15 +223,16 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 4; - * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -278,16 +243,12 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -295,16 +256,12 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -312,15 +269,12 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -328,7 +282,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +293,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -378,7 +332,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sourceBackup_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -388,21 +343,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CopyCloudBackupAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.CopyCloudBackupAction other = - (com.google.spanner.executor.v1.CopyCloudBackupAction) obj; + com.google.spanner.executor.v1.CopyCloudBackupAction other = (com.google.spanner.executor.v1.CopyCloudBackupAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -433,126 +392,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CopyCloudBackupAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CopyCloudBackupAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CopyCloudBackupAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.CopyCloudBackupAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that copies a Cloud Spanner database backup.
    * 
* * Protobuf type {@code google.spanner.executor.v1.CopyCloudBackupAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CopyCloudBackupAction) com.google.spanner.executor.v1.CopyCloudBackupActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CopyCloudBackupAction.class, - com.google.spanner.executor.v1.CopyCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.CopyCloudBackupAction.class, com.google.spanner.executor.v1.CopyCloudBackupAction.Builder.class); } // Construct using com.google.spanner.executor.v1.CopyCloudBackupAction.newBuilder() @@ -560,17 +512,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getExpireTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -588,9 +540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; } @java.lang.Override @@ -609,11 +561,8 @@ public com.google.spanner.executor.v1.CopyCloudBackupAction build() { @java.lang.Override public com.google.spanner.executor.v1.CopyCloudBackupAction buildPartial() { - com.google.spanner.executor.v1.CopyCloudBackupAction result = - new com.google.spanner.executor.v1.CopyCloudBackupAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.CopyCloudBackupAction result = new com.google.spanner.executor.v1.CopyCloudBackupAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -634,7 +583,9 @@ private void buildPartial0(com.google.spanner.executor.v1.CopyCloudBackupAction } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -644,39 +595,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CopyCloudBackupAction public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.CopyCloudBackupAction) { - return mergeFrom((com.google.spanner.executor.v1.CopyCloudBackupAction) other); + return mergeFrom((com.google.spanner.executor.v1.CopyCloudBackupAction)other); } else { super.mergeFrom(other); return this; @@ -684,8 +634,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.CopyCloudBackupAction other) { - if (other == com.google.spanner.executor.v1.CopyCloudBackupAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.CopyCloudBackupAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -735,43 +684,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getExpireTimeFieldBuilder().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) { @@ -781,25 +726,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -808,21 +750,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -830,35 +771,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -868,21 +802,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -892,20 +822,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -914,21 +842,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -936,35 +863,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -974,21 +894,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -998,20 +914,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -1020,21 +934,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -1042,35 +955,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -1080,21 +986,17 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000004; @@ -1104,8 +1006,6 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * The fully qualified uri of the source backup from which this
      * backup was copied. eg.
@@ -1113,13 +1013,13 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string source_backup = 4; - * * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1128,8 +1028,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * The fully qualified uri of the source backup from which this
      * backup was copied. eg.
@@ -1137,14 +1035,15 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 4; - * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1152,8 +1051,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * The fully qualified uri of the source backup from which this
      * backup was copied. eg.
@@ -1161,22 +1058,18 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * 
* * string source_backup = 4; - * * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The fully qualified uri of the source backup from which this
      * backup was copied. eg.
@@ -1184,7 +1077,6 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 4; - * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1194,8 +1086,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * The fully qualified uri of the source backup from which this
      * backup was copied. eg.
@@ -1203,14 +1093,12 @@ public Builder clearSourceBackup() {
      * 
* * string source_backup = 4; - * * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000008; @@ -1220,61 +1108,42 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1290,18 +1159,15 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1312,22 +1178,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1342,16 +1204,12 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1364,16 +1222,12 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000010; @@ -1381,57 +1235,45 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1441,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CopyCloudBackupAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CopyCloudBackupAction) private static final com.google.spanner.executor.v1.CopyCloudBackupAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CopyCloudBackupAction(); } @@ -1455,27 +1297,27 @@ public static com.google.spanner.executor.v1.CopyCloudBackupAction getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyCloudBackupAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyCloudBackupAction 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; @@ -1490,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.CopyCloudBackupAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupActionOrBuilder.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupActionOrBuilder.java index 03c659bea49..df3eee8bd7c 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CopyCloudBackupActionOrBuilder.java @@ -1,107 +1,74 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CopyCloudBackupActionOrBuilder - extends +public interface CopyCloudBackupActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CopyCloudBackupAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * The fully qualified uri of the source backup from which this
    * backup was copied. eg.
@@ -109,13 +76,10 @@ public interface CopyCloudBackupActionOrBuilder
    * 
* * string source_backup = 4; - * * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * The fully qualified uri of the source backup from which this
    * backup was copied. eg.
@@ -123,49 +87,38 @@ public interface CopyCloudBackupActionOrBuilder
    * 
* * string source_backup = 4; - * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupAction.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupAction.java index f972e1a3e4e..fa0d1e4a3e0 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that creates a Cloud Spanner database backup.
  * 
* * Protobuf type {@code google.spanner.executor.v1.CreateCloudBackupAction} */ -public final class CreateCloudBackupAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCloudBackupAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CreateCloudBackupAction) CreateCloudBackupActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCloudBackupAction.newBuilder() to construct. private CreateCloudBackupAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCloudBackupAction() { projectId_ = ""; instanceId_ = ""; @@ -47,39 +29,34 @@ private CreateCloudBackupAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCloudBackupAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateCloudBackupAction.class, - com.google.spanner.executor.v1.CreateCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.CreateCloudBackupAction.class, com.google.spanner.executor.v1.CreateCloudBackupAction.Builder.class); } private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -88,29 +65,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -119,18 +96,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -139,29 +112,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -170,18 +143,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ @java.lang.Override @@ -190,29 +159,29 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -221,12 +190,9 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The id of the database from which this backup was
    * created, e.g. "db0". Note that this needs to be in the
@@ -234,7 +200,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
    * 
* * string database_id = 4; - * * @return The databaseId. */ @java.lang.Override @@ -243,15 +208,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The id of the database from which this backup was
    * created, e.g. "db0". Note that this needs to be in the
@@ -259,15 +223,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 4; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -278,16 +243,12 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -295,16 +256,12 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -312,15 +269,12 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -330,8 +284,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int VERSION_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp versionTime_; /** - * - * *
    * The version time of the backup, which must be within the time range of
    * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -339,7 +291,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * optional .google.protobuf.Timestamp version_time = 6; - * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -347,8 +298,6 @@ public boolean hasVersionTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The version time of the backup, which must be within the time range of
    * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -356,7 +305,6 @@ public boolean hasVersionTime() {
    * 
* * optional .google.protobuf.Timestamp version_time = 6; - * * @return The versionTime. */ @java.lang.Override @@ -364,8 +312,6 @@ public com.google.protobuf.Timestamp getVersionTime() { return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } /** - * - * *
    * The version time of the backup, which must be within the time range of
    * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -380,7 +326,6 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -392,7 +337,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
@@ -433,10 +379,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, databaseId_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getExpireTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getExpireTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getVersionTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getVersionTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -446,25 +394,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.executor.v1.CreateCloudBackupAction)) {
       return super.equals(obj);
     }
-    com.google.spanner.executor.v1.CreateCloudBackupAction other =
-        (com.google.spanner.executor.v1.CreateCloudBackupAction) obj;
+    com.google.spanner.executor.v1.CreateCloudBackupAction other = (com.google.spanner.executor.v1.CreateCloudBackupAction) obj;
 
-    if (!getProjectId().equals(other.getProjectId())) return false;
-    if (!getInstanceId().equals(other.getInstanceId())) return false;
-    if (!getBackupId().equals(other.getBackupId())) return false;
-    if (!getDatabaseId().equals(other.getDatabaseId())) return false;
+    if (!getProjectId()
+        .equals(other.getProjectId())) return false;
+    if (!getInstanceId()
+        .equals(other.getInstanceId())) return false;
+    if (!getBackupId()
+        .equals(other.getBackupId())) return false;
+    if (!getDatabaseId()
+        .equals(other.getDatabaseId())) return false;
     if (hasExpireTime() != other.hasExpireTime()) return false;
     if (hasExpireTime()) {
-      if (!getExpireTime().equals(other.getExpireTime())) return false;
+      if (!getExpireTime()
+          .equals(other.getExpireTime())) return false;
     }
     if (hasVersionTime() != other.hasVersionTime()) return false;
     if (hasVersionTime()) {
-      if (!getVersionTime().equals(other.getVersionTime())) return false;
+      if (!getVersionTime()
+          .equals(other.getVersionTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -499,127 +452,119 @@ public int hashCode() {
   }
 
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.executor.v1.CreateCloudBackupAction parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.executor.v1.CreateCloudBackupAction parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.executor.v1.CreateCloudBackupAction parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.executor.v1.CreateCloudBackupAction prototype) {
+  public static Builder newBuilder(com.google.spanner.executor.v1.CreateCloudBackupAction prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Action that creates a Cloud Spanner database backup.
    * 
* * Protobuf type {@code google.spanner.executor.v1.CreateCloudBackupAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CreateCloudBackupAction) com.google.spanner.executor.v1.CreateCloudBackupActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateCloudBackupAction.class, - com.google.spanner.executor.v1.CreateCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.CreateCloudBackupAction.class, com.google.spanner.executor.v1.CreateCloudBackupAction.Builder.class); } // Construct using com.google.spanner.executor.v1.CreateCloudBackupAction.newBuilder() @@ -627,18 +572,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getExpireTimeFieldBuilder(); getVersionTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -661,9 +606,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; } @java.lang.Override @@ -682,11 +627,8 @@ public com.google.spanner.executor.v1.CreateCloudBackupAction build() { @java.lang.Override public com.google.spanner.executor.v1.CreateCloudBackupAction buildPartial() { - com.google.spanner.executor.v1.CreateCloudBackupAction result = - new com.google.spanner.executor.v1.CreateCloudBackupAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.CreateCloudBackupAction result = new com.google.spanner.executor.v1.CreateCloudBackupAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -707,12 +649,15 @@ private void buildPartial0(com.google.spanner.executor.v1.CreateCloudBackupActio } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.versionTime_ = - versionTimeBuilder_ == null ? versionTime_ : versionTimeBuilder_.build(); + result.versionTime_ = versionTimeBuilder_ == null + ? versionTime_ + : versionTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -722,39 +667,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CreateCloudBackupActio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.CreateCloudBackupAction) { - return mergeFrom((com.google.spanner.executor.v1.CreateCloudBackupAction) other); + return mergeFrom((com.google.spanner.executor.v1.CreateCloudBackupAction)other); } else { super.mergeFrom(other); return this; @@ -762,8 +706,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.CreateCloudBackupAction other) { - if (other == com.google.spanner.executor.v1.CreateCloudBackupAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.CreateCloudBackupAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -816,49 +759,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + 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) { @@ -868,25 +808,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -895,21 +832,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -917,35 +853,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -955,21 +884,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -979,20 +904,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -1001,21 +924,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -1023,35 +945,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1061,21 +976,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -1085,20 +996,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -1107,21 +1016,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -1129,35 +1037,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -1167,21 +1068,17 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * The id of the backup to be created, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000004; @@ -1191,8 +1088,6 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The id of the database from which this backup was
      * created, e.g. "db0". Note that this needs to be in the
@@ -1200,13 +1095,13 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 4; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1215,8 +1110,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The id of the database from which this backup was
      * created, e.g. "db0". Note that this needs to be in the
@@ -1224,14 +1117,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 4; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1239,8 +1133,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The id of the database from which this backup was
      * created, e.g. "db0". Note that this needs to be in the
@@ -1248,22 +1140,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 4; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The id of the database from which this backup was
      * created, e.g. "db0". Note that this needs to be in the
@@ -1271,7 +1159,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 4; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1281,8 +1168,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The id of the database from which this backup was
      * created, e.g. "db0". Note that this needs to be in the
@@ -1290,14 +1175,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 4; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000008; @@ -1307,61 +1190,42 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1377,18 +1241,15 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1399,22 +1260,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1429,16 +1286,12 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1451,16 +1304,12 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000010; @@ -1468,50 +1317,38 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. The expiration time of the backup, which must be at least 6
      * hours and at most 366 days from the time the request is received.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -1519,13 +1356,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private com.google.protobuf.Timestamp versionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - versionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> versionTimeBuilder_; /** - * - * *
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1533,15 +1365,12 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * 
* * optional .google.protobuf.Timestamp version_time = 6; - * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1549,21 +1378,16 @@ public boolean hasVersionTime() {
      * 
* * optional .google.protobuf.Timestamp version_time = 6; - * * @return The versionTime. */ public com.google.protobuf.Timestamp getVersionTime() { if (versionTimeBuilder_ == null) { - return versionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : versionTime_; + return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } else { return versionTimeBuilder_.getMessage(); } } /** - * - * *
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1586,8 +1410,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1596,7 +1418,8 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
      *
      * optional .google.protobuf.Timestamp version_time = 6;
      */
-    public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setVersionTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (versionTimeBuilder_ == null) {
         versionTime_ = builderForValue.build();
       } else {
@@ -1607,8 +1430,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1619,9 +1440,9 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
      */
     public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && versionTime_ != null
-            && versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          versionTime_ != null &&
+          versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getVersionTimeBuilder().mergeFrom(value);
         } else {
           versionTime_ = value;
@@ -1636,8 +1457,6 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1657,8 +1476,6 @@ public Builder clearVersionTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1673,8 +1490,6 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1687,14 +1502,11 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
       if (versionTimeBuilder_ != null) {
         return versionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return versionTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : versionTime_;
+        return versionTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The version time of the backup, which must be within the time range of
      * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -1704,24 +1516,21 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * optional .google.protobuf.Timestamp version_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getVersionTimeFieldBuilder() {
       if (versionTimeBuilder_ == null) {
-        versionTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getVersionTime(), getParentForChildren(), isClean());
+        versionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getVersionTime(),
+                getParentForChildren(),
+                isClean());
         versionTime_ = null;
       }
       return versionTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1731,12 +1540,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CreateCloudBackupAction)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CreateCloudBackupAction)
   private static final com.google.spanner.executor.v1.CreateCloudBackupAction DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CreateCloudBackupAction();
   }
@@ -1745,27 +1554,27 @@ public static com.google.spanner.executor.v1.CreateCloudBackupAction getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CreateCloudBackupAction 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateCloudBackupAction 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;
@@ -1780,4 +1589,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.executor.v1.CreateCloudBackupAction getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupActionOrBuilder.java
similarity index 77%
rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupActionOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupActionOrBuilder.java
index 1059f9cf08c..5764916d609 100644
--- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupActionOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudBackupActionOrBuilder.java
@@ -1,107 +1,74 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/executor/v1/cloud_executor.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.executor.v1;
 
-public interface CreateCloudBackupActionOrBuilder
-    extends
+public interface CreateCloudBackupActionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CreateCloudBackupAction)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * The id of the backup to be created, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * The id of the database from which this backup was
    * created, e.g. "db0". Note that this needs to be in the
@@ -109,13 +76,10 @@ public interface CreateCloudBackupActionOrBuilder
    * 
* * string database_id = 4; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The id of the database from which this backup was
    * created, e.g. "db0". Note that this needs to be in the
@@ -123,55 +87,42 @@ public interface CreateCloudBackupActionOrBuilder
    * 
* * string database_id = 4; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. The expiration time of the backup, which must be at least 6
    * hours and at most 366 days from the time the request is received.
    * 
* - * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * The version time of the backup, which must be within the time range of
    * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -179,13 +130,10 @@ public interface CreateCloudBackupActionOrBuilder
    * 
* * optional .google.protobuf.Timestamp version_time = 6; - * * @return Whether the versionTime field is set. */ boolean hasVersionTime(); /** - * - * *
    * The version time of the backup, which must be within the time range of
    * [earliest_version_time, NOW], where earliest_version_time is retrieved by
@@ -193,13 +141,10 @@ public interface CreateCloudBackupActionOrBuilder
    * 
* * optional .google.protobuf.Timestamp version_time = 6; - * * @return The versionTime. */ com.google.protobuf.Timestamp getVersionTime(); /** - * - * *
    * The version time of the backup, which must be within the time range of
    * [earliest_version_time, NOW], where earliest_version_time is retrieved by
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseAction.java
similarity index 72%
rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseAction.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseAction.java
index 3f17917a664..2bdd81f3e99 100644
--- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseAction.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseAction.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/executor/v1/cloud_executor.proto
 
@@ -20,68 +5,61 @@
 package com.google.spanner.executor.v1;
 
 /**
- *
- *
  * 
  * Action that creates a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.executor.v1.CreateCloudDatabaseAction} */ -public final class CreateCloudDatabaseAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCloudDatabaseAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CreateCloudDatabaseAction) CreateCloudDatabaseActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCloudDatabaseAction.newBuilder() to construct. private CreateCloudDatabaseAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCloudDatabaseAction() { instanceId_ = ""; projectId_ = ""; databaseId_ = ""; - sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sdlStatement_ = + com.google.protobuf.LazyStringArrayList.emptyList(); dialect_ = ""; protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCloudDatabaseAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateCloudDatabaseAction.class, - com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.CreateCloudDatabaseAction.class, com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder.class); } private int bitField0_; public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -90,29 +68,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -121,18 +99,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -141,29 +115,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -172,18 +146,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ @java.lang.Override @@ -192,29 +162,29 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -223,47 +193,38 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } public static final int SDL_STATEMENT_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @return A list containing the sdlStatement. */ - public com.google.protobuf.ProtocolStringList getSdlStatementList() { + public com.google.protobuf.ProtocolStringList + getSdlStatementList() { return sdlStatement_; } /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @return The count of sdlStatement. */ public int getSdlStatementCount() { return sdlStatement_.size(); } /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the element to return. * @return The sdlStatement at the given index. */ @@ -271,33 +232,28 @@ public java.lang.String getSdlStatement(int index) { return sdlStatement_.get(index); } /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the value to return. * @return The bytes of the sdlStatement at the given index. */ - public com.google.protobuf.ByteString getSdlStatementBytes(int index) { + public com.google.protobuf.ByteString + getSdlStatementBytes(int index) { return sdlStatement_.getByteString(index); } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * The KMS key used to encrypt the database to be created if the database
    * should be CMEK protected.
    * 
* * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5; - * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -305,26 +261,19 @@ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The KMS key used to encrypt the database to be created if the database
    * should be CMEK protected.
    * 
* * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5; - * * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * The KMS key used to encrypt the database to be created if the database
    * should be CMEK protected.
@@ -333,26 +282,19 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;
    */
   @java.lang.Override
-  public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder
-      getEncryptionConfigOrBuilder() {
-    return encryptionConfig_ == null
-        ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()
-        : encryptionConfig_;
+  public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
+    return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
   }
 
   public static final int DIALECT_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object dialect_ = "";
   /**
-   *
-   *
    * 
    * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
    * 
* * optional string dialect = 6; - * * @return Whether the dialect field is set. */ @java.lang.Override @@ -360,14 +302,11 @@ public boolean hasDialect() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
    * 
* * optional string dialect = 6; - * * @return The dialect. */ @java.lang.Override @@ -376,29 +315,29 @@ public java.lang.String getDialect() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialect_ = s; return s; } } /** - * - * *
    * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
    * 
* * optional string dialect = 6; - * * @return The bytes for dialect. */ @java.lang.Override - public com.google.protobuf.ByteString getDialectBytes() { + public com.google.protobuf.ByteString + getDialectBytes() { java.lang.Object ref = dialect_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialect_ = b; return b; } else { @@ -410,7 +349,6 @@ public com.google.protobuf.ByteString getDialectBytes() { private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes proto_descriptors = 7; - * * @return Whether the protoDescriptors field is set. */ @java.lang.Override @@ -419,7 +357,6 @@ public boolean hasProtoDescriptors() { } /** * optional bytes proto_descriptors = 7; - * * @return The protoDescriptors. */ @java.lang.Override @@ -428,7 +365,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,7 +376,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } @@ -489,13 +426,15 @@ public int getSerializedSize() { size += 1 * getSdlStatementList().size(); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEncryptionConfig()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, dialect_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(7, protoDescriptors_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(7, protoDescriptors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -505,29 +444,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CreateCloudDatabaseAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.CreateCloudDatabaseAction other = - (com.google.spanner.executor.v1.CreateCloudDatabaseAction) obj; + com.google.spanner.executor.v1.CreateCloudDatabaseAction other = (com.google.spanner.executor.v1.CreateCloudDatabaseAction) obj; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; - if (!getSdlStatementList().equals(other.getSdlStatementList())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; + if (!getSdlStatementList() + .equals(other.getSdlStatementList())) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (hasDialect() != other.hasDialect()) return false; if (hasDialect()) { - if (!getDialect().equals(other.getDialect())) return false; + if (!getDialect() + .equals(other.getDialect())) return false; } if (hasProtoDescriptors() != other.hasProtoDescriptors()) return false; if (hasProtoDescriptors()) { - if (!getProtoDescriptors().equals(other.getProtoDescriptors())) return false; + if (!getProtoDescriptors() + .equals(other.getProtoDescriptors())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -568,127 +513,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CreateCloudDatabaseAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.CreateCloudDatabaseAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.CreateCloudDatabaseAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that creates a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.executor.v1.CreateCloudDatabaseAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CreateCloudDatabaseAction) com.google.spanner.executor.v1.CreateCloudDatabaseActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateCloudDatabaseAction.class, - com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.CreateCloudDatabaseAction.class, com.google.spanner.executor.v1.CreateCloudDatabaseAction.Builder.class); } // Construct using com.google.spanner.executor.v1.CreateCloudDatabaseAction.newBuilder() @@ -696,17 +633,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEncryptionConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -714,7 +651,8 @@ public Builder clear() { instanceId_ = ""; projectId_ = ""; databaseId_ = ""; - sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sdlStatement_ = + com.google.protobuf.LazyStringArrayList.emptyList(); encryptionConfig_ = null; if (encryptionConfigBuilder_ != null) { encryptionConfigBuilder_.dispose(); @@ -726,9 +664,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; } @java.lang.Override @@ -747,11 +685,8 @@ public com.google.spanner.executor.v1.CreateCloudDatabaseAction build() { @java.lang.Override public com.google.spanner.executor.v1.CreateCloudDatabaseAction buildPartial() { - com.google.spanner.executor.v1.CreateCloudDatabaseAction result = - new com.google.spanner.executor.v1.CreateCloudDatabaseAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.CreateCloudDatabaseAction result = new com.google.spanner.executor.v1.CreateCloudDatabaseAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -773,8 +708,9 @@ private void buildPartial0(com.google.spanner.executor.v1.CreateCloudDatabaseAct } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { @@ -792,39 +728,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CreateCloudDatabaseAct public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.CreateCloudDatabaseAction) { - return mergeFrom((com.google.spanner.executor.v1.CreateCloudDatabaseAction) other); + return mergeFrom((com.google.spanner.executor.v1.CreateCloudDatabaseAction)other); } else { super.mergeFrom(other); return this; @@ -832,8 +767,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.CreateCloudDatabaseAction other) { - if (other == com.google.spanner.executor.v1.CreateCloudDatabaseAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.CreateCloudDatabaseAction.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -896,57 +830,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSdlStatementIsMutable(); - sdlStatement_.add(s); - break; - } // case 34 - case 42: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - dialect_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - protoDescriptors_ = input.readBytes(); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSdlStatementIsMutable(); + sdlStatement_.add(s); + break; + } // case 34 + case 42: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + dialect_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + protoDescriptors_ = input.readBytes(); + bitField0_ |= 0x00000040; + break; + } // case 58 + 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) { @@ -956,25 +883,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -983,21 +907,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -1005,35 +928,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1043,21 +959,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -1067,20 +979,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1089,21 +999,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1111,35 +1020,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1149,21 +1051,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -1173,20 +1071,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1195,21 +1091,20 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1217,35 +1112,28 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1255,21 +1143,17 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000004; @@ -1279,7 +1163,6 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSdlStatementIsMutable() { if (!sdlStatement_.isModifiable()) { sdlStatement_ = new com.google.protobuf.LazyStringArrayList(sdlStatement_); @@ -1287,43 +1170,35 @@ private void ensureSdlStatementIsMutable() { bitField0_ |= 0x00000008; } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @return A list containing the sdlStatement. */ - public com.google.protobuf.ProtocolStringList getSdlStatementList() { + public com.google.protobuf.ProtocolStringList + getSdlStatementList() { sdlStatement_.makeImmutable(); return sdlStatement_; } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @return The count of sdlStatement. */ public int getSdlStatementCount() { return sdlStatement_.size(); } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @param index The index of the element to return. * @return The sdlStatement at the given index. */ @@ -1331,37 +1206,31 @@ public java.lang.String getSdlStatement(int index) { return sdlStatement_.get(index); } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @param index The index of the value to return. * @return The bytes of the sdlStatement at the given index. */ - public com.google.protobuf.ByteString getSdlStatementBytes(int index) { + public com.google.protobuf.ByteString + getSdlStatementBytes(int index) { return sdlStatement_.getByteString(index); } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @param index The index to set the value at. * @param value The sdlStatement to set. * @return This builder for chaining. */ - public Builder setSdlStatement(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSdlStatement( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSdlStatementIsMutable(); sdlStatement_.set(index, value); bitField0_ |= 0x00000008; @@ -1369,21 +1238,17 @@ public Builder setSdlStatement(int index, java.lang.String value) { return this; } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @param value The sdlStatement to add. * @return This builder for chaining. */ - public Builder addSdlStatement(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSdlStatement( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSdlStatementIsMutable(); sdlStatement_.add(value); bitField0_ |= 0x00000008; @@ -1391,58 +1256,50 @@ public Builder addSdlStatement(java.lang.String value) { return this; } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @param values The sdlStatement to add. * @return This builder for chaining. */ - public Builder addAllSdlStatement(java.lang.Iterable values) { + public Builder addAllSdlStatement( + java.lang.Iterable values) { ensureSdlStatementIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sdlStatement_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sdlStatement_); bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @return This builder for chaining. */ public Builder clearSdlStatement() { - sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + sdlStatement_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
      * SDL statements to apply to the new database.
      * 
* * repeated string sdl_statement = 4; - * * @param value The bytes of the sdlStatement to add. * @return This builder for chaining. */ - public Builder addSdlStatementBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSdlStatementBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSdlStatementIsMutable(); sdlStatement_.add(value); @@ -1453,49 +1310,36 @@ public Builder addSdlStatementBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
      * 
* * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5; - * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
      * 
* * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5; - * * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
@@ -1503,8 +1347,7 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
      *
      * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;
      */
-    public Builder setEncryptionConfig(
-        com.google.spanner.admin.database.v1.EncryptionConfig value) {
+    public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1518,8 +1361,6 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
@@ -1539,8 +1380,6 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
@@ -1548,13 +1387,11 @@ public Builder setEncryptionConfig(
      *
      * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;
      */
-    public Builder mergeEncryptionConfig(
-        com.google.spanner.admin.database.v1.EncryptionConfig value) {
+    public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && encryptionConfig_ != null
-            && encryptionConfig_
-                != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          encryptionConfig_ != null &&
+          encryptionConfig_ != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) {
           getEncryptionConfigBuilder().mergeFrom(value);
         } else {
           encryptionConfig_ = value;
@@ -1569,8 +1406,6 @@ public Builder mergeEncryptionConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
@@ -1589,8 +1424,6 @@ public Builder clearEncryptionConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
@@ -1598,15 +1431,12 @@ public Builder clearEncryptionConfig() {
      *
      * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;
      */
-    public com.google.spanner.admin.database.v1.EncryptionConfig.Builder
-        getEncryptionConfigBuilder() {
+    public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getEncryptionConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
@@ -1614,19 +1444,15 @@ public Builder clearEncryptionConfig() {
      *
      * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;
      */
-    public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder
-        getEncryptionConfigOrBuilder() {
+    public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
       if (encryptionConfigBuilder_ != null) {
         return encryptionConfigBuilder_.getMessageOrBuilder();
       } else {
-        return encryptionConfig_ == null
-            ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()
-            : encryptionConfig_;
+        return encryptionConfig_ == null ?
+            com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The KMS key used to encrypt the database to be created if the database
      * should be CMEK protected.
@@ -1635,17 +1461,14 @@ public Builder clearEncryptionConfig() {
      * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.EncryptionConfig,
-            com.google.spanner.admin.database.v1.EncryptionConfig.Builder,
-            com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>
+        com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> 
         getEncryptionConfigFieldBuilder() {
       if (encryptionConfigBuilder_ == null) {
-        encryptionConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.EncryptionConfig,
-                com.google.spanner.admin.database.v1.EncryptionConfig.Builder,
-                com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>(
-                getEncryptionConfig(), getParentForChildren(), isClean());
+        encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>(
+                getEncryptionConfig(),
+                getParentForChildren(),
+                isClean());
         encryptionConfig_ = null;
       }
       return encryptionConfigBuilder_;
@@ -1653,34 +1476,29 @@ public Builder clearEncryptionConfig() {
 
     private java.lang.Object dialect_ = "";
     /**
-     *
-     *
      * 
      * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
      * 
* * optional string dialect = 6; - * * @return Whether the dialect field is set. */ public boolean hasDialect() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
      * 
* * optional string dialect = 6; - * * @return The dialect. */ public java.lang.String getDialect() { java.lang.Object ref = dialect_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dialect_ = s; return s; @@ -1689,21 +1507,20 @@ public java.lang.String getDialect() { } } /** - * - * *
      * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
      * 
* * optional string dialect = 6; - * * @return The bytes for dialect. */ - public com.google.protobuf.ByteString getDialectBytes() { + public com.google.protobuf.ByteString + getDialectBytes() { java.lang.Object ref = dialect_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dialect_ = b; return b; } else { @@ -1711,35 +1528,28 @@ public com.google.protobuf.ByteString getDialectBytes() { } } /** - * - * *
      * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
      * 
* * optional string dialect = 6; - * * @param value The dialect to set. * @return This builder for chaining. */ - public Builder setDialect(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialect( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } dialect_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
      * 
* * optional string dialect = 6; - * * @return This builder for chaining. */ public Builder clearDialect() { @@ -1749,21 +1559,17 @@ public Builder clearDialect() { return this; } /** - * - * *
      * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
      * 
* * optional string dialect = 6; - * * @param value The bytes for dialect to set. * @return This builder for chaining. */ - public Builder setDialectBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDialectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dialect_ = value; bitField0_ |= 0x00000020; @@ -1774,7 +1580,6 @@ public Builder setDialectBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes proto_descriptors = 7; - * * @return Whether the protoDescriptors field is set. */ @java.lang.Override @@ -1783,7 +1588,6 @@ public boolean hasProtoDescriptors() { } /** * optional bytes proto_descriptors = 7; - * * @return The protoDescriptors. */ @java.lang.Override @@ -1792,14 +1596,11 @@ public com.google.protobuf.ByteString getProtoDescriptors() { } /** * optional bytes proto_descriptors = 7; - * * @param value The protoDescriptors to set. * @return This builder for chaining. */ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } protoDescriptors_ = value; bitField0_ |= 0x00000040; onChanged(); @@ -1807,7 +1608,6 @@ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) { } /** * optional bytes proto_descriptors = 7; - * * @return This builder for chaining. */ public Builder clearProtoDescriptors() { @@ -1816,9 +1616,9 @@ public Builder clearProtoDescriptors() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1828,12 +1628,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CreateCloudDatabaseAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CreateCloudDatabaseAction) private static final com.google.spanner.executor.v1.CreateCloudDatabaseAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CreateCloudDatabaseAction(); } @@ -1842,27 +1642,27 @@ public static com.google.spanner.executor.v1.CreateCloudDatabaseAction getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCloudDatabaseAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCloudDatabaseAction 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; @@ -1877,4 +1677,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.executor.v1.CreateCloudDatabaseAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseActionOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseActionOrBuilder.java index 45e88f0ad26..a197d024647 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudDatabaseActionOrBuilder.java @@ -1,184 +1,135 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CreateCloudDatabaseActionOrBuilder - extends +public interface CreateCloudDatabaseActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CreateCloudDatabaseAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @return A list containing the sdlStatement. */ - java.util.List getSdlStatementList(); + java.util.List + getSdlStatementList(); /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @return The count of sdlStatement. */ int getSdlStatementCount(); /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the element to return. * @return The sdlStatement at the given index. */ java.lang.String getSdlStatement(int index); /** - * - * *
    * SDL statements to apply to the new database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the value to return. * @return The bytes of the sdlStatement at the given index. */ - com.google.protobuf.ByteString getSdlStatementBytes(int index); + com.google.protobuf.ByteString + getSdlStatementBytes(int index); /** - * - * *
    * The KMS key used to encrypt the database to be created if the database
    * should be CMEK protected.
    * 
* * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5; - * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * The KMS key used to encrypt the database to be created if the database
    * should be CMEK protected.
    * 
* * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5; - * * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * The KMS key used to encrypt the database to be created if the database
    * should be CMEK protected.
@@ -189,51 +140,41 @@ public interface CreateCloudDatabaseActionOrBuilder
   com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
    * 
* * optional string dialect = 6; - * * @return Whether the dialect field is set. */ boolean hasDialect(); /** - * - * *
    * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
    * 
* * optional string dialect = 6; - * * @return The dialect. */ java.lang.String getDialect(); /** - * - * *
    * Optional SQL dialect (GOOGLESQL or POSTGRESQL).  Default: GOOGLESQL.
    * 
* * optional string dialect = 6; - * * @return The bytes for dialect. */ - com.google.protobuf.ByteString getDialectBytes(); + com.google.protobuf.ByteString + getDialectBytes(); /** * optional bytes proto_descriptors = 7; - * * @return Whether the protoDescriptors field is set. */ boolean hasProtoDescriptors(); /** * optional bytes proto_descriptors = 7; - * * @return The protoDescriptors. */ com.google.protobuf.ByteString getProtoDescriptors(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceAction.java similarity index 67% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceAction.java index 4ea02b4fea1..4513ee07a13 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that creates a Cloud Spanner instance.
  * 
* * Protobuf type {@code google.spanner.executor.v1.CreateCloudInstanceAction} */ -public final class CreateCloudInstanceAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCloudInstanceAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CreateCloudInstanceAction) CreateCloudInstanceActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCloudInstanceAction.newBuilder() to construct. private CreateCloudInstanceAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCloudInstanceAction() { instanceId_ = ""; projectId_ = ""; @@ -46,13 +28,14 @@ private CreateCloudInstanceAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCloudInstanceAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -63,34 +46,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 5: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateCloudInstanceAction.class, - com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.CreateCloudInstanceAction.class, com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder.class); } private int bitField0_; public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -99,29 +76,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -130,18 +107,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -150,29 +123,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -181,18 +154,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_CONFIG_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object instanceConfigId_ = ""; /** - * - * *
    * Instance config ID, e.g. "test-config".
    * 
* * string instance_config_id = 3; - * * @return The instanceConfigId. */ @java.lang.Override @@ -201,29 +170,29 @@ public java.lang.String getInstanceConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; } } /** - * - * *
    * Instance config ID, e.g. "test-config".
    * 
* * string instance_config_id = 3; - * * @return The bytes for instanceConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -234,14 +203,11 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 4; private int nodeCount_ = 0; /** - * - * *
    * Number of nodes (processing_units should not be set or set to 0 if used).
    * 
* * optional int32 node_count = 4; - * * @return Whether the nodeCount field is set. */ @java.lang.Override @@ -249,14 +215,11 @@ public boolean hasNodeCount() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Number of nodes (processing_units should not be set or set to 0 if used).
    * 
* * optional int32 node_count = 4; - * * @return The nodeCount. */ @java.lang.Override @@ -267,14 +230,11 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 6; private int processingUnits_ = 0; /** - * - * *
    * Number of processing units (node_count should be set to 0 if used).
    * 
* * optional int32 processing_units = 6; - * * @return Whether the processingUnits field is set. */ @java.lang.Override @@ -282,14 +242,11 @@ public boolean hasProcessingUnits() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Number of processing units (node_count should be set to 0 if used).
    * 
* * optional int32 processing_units = 6; - * * @return The processingUnits. */ @java.lang.Override @@ -300,17 +257,13 @@ public int getProcessingUnits() { public static final int AUTOSCALING_CONFIG_FIELD_NUMBER = 7; private com.google.spanner.admin.instance.v1.AutoscalingConfig autoscalingConfig_; /** - * - * *
    * The autoscaling config for this instance. If non-empty, an autoscaling
    * instance will be created (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return Whether the autoscalingConfig field is set. */ @java.lang.Override @@ -318,74 +271,60 @@ public boolean hasAutoscalingConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The autoscaling config for this instance. If non-empty, an autoscaling
    * instance will be created (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return The autoscalingConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig() { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } /** - * - * *
    * The autoscaling config for this instance. If non-empty, an autoscaling
    * instance will be created (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder - getAutoscalingConfigOrBuilder() { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder() { + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * labels.
    * 
@@ -393,21 +332,20 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * labels.
    * 
@@ -419,8 +357,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * labels.
    * 
@@ -428,19 +364,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * labels.
    * 
@@ -448,11 +382,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -460,7 +394,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -472,7 +405,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } @@ -485,8 +419,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(4, nodeCount_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(6, processingUnits_); } @@ -512,23 +450,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, instanceConfigId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, nodeCount_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, nodeCount_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, labels__); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, processingUnits_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, processingUnits_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getAutoscalingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getAutoscalingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -538,30 +479,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CreateCloudInstanceAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.CreateCloudInstanceAction other = - (com.google.spanner.executor.v1.CreateCloudInstanceAction) obj; + com.google.spanner.executor.v1.CreateCloudInstanceAction other = (com.google.spanner.executor.v1.CreateCloudInstanceAction) obj; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceConfigId().equals(other.getInstanceConfigId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceConfigId() + .equals(other.getInstanceConfigId())) return false; if (hasNodeCount() != other.hasNodeCount()) return false; if (hasNodeCount()) { - if (getNodeCount() != other.getNodeCount()) return false; + if (getNodeCount() + != other.getNodeCount()) return false; } if (hasProcessingUnits() != other.hasProcessingUnits()) return false; if (hasProcessingUnits()) { - if (getProcessingUnits() != other.getProcessingUnits()) return false; + if (getProcessingUnits() + != other.getProcessingUnits()) return false; } if (hasAutoscalingConfig() != other.hasAutoscalingConfig()) return false; if (hasAutoscalingConfig()) { - if (!getAutoscalingConfig().equals(other.getAutoscalingConfig())) return false; + if (!getAutoscalingConfig() + .equals(other.getAutoscalingConfig())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -601,117 +548,111 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CreateCloudInstanceAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.CreateCloudInstanceAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.CreateCloudInstanceAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that creates a Cloud Spanner instance.
    * 
* * Protobuf type {@code google.spanner.executor.v1.CreateCloudInstanceAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CreateCloudInstanceAction) com.google.spanner.executor.v1.CreateCloudInstanceActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -721,10 +662,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 5: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -732,18 +673,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 5: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateCloudInstanceAction.class, - com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.CreateCloudInstanceAction.class, com.google.spanner.executor.v1.CreateCloudInstanceAction.Builder.class); } // Construct using com.google.spanner.executor.v1.CreateCloudInstanceAction.newBuilder() @@ -751,17 +690,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAutoscalingConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -781,9 +720,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; } @java.lang.Override @@ -802,11 +741,8 @@ public com.google.spanner.executor.v1.CreateCloudInstanceAction build() { @java.lang.Override public com.google.spanner.executor.v1.CreateCloudInstanceAction buildPartial() { - com.google.spanner.executor.v1.CreateCloudInstanceAction result = - new com.google.spanner.executor.v1.CreateCloudInstanceAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.CreateCloudInstanceAction result = new com.google.spanner.executor.v1.CreateCloudInstanceAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -832,10 +768,9 @@ private void buildPartial0(com.google.spanner.executor.v1.CreateCloudInstanceAct to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.autoscalingConfig_ = - autoscalingConfigBuilder_ == null - ? autoscalingConfig_ - : autoscalingConfigBuilder_.build(); + result.autoscalingConfig_ = autoscalingConfigBuilder_ == null + ? autoscalingConfig_ + : autoscalingConfigBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000040) != 0)) { @@ -849,39 +784,38 @@ private void buildPartial0(com.google.spanner.executor.v1.CreateCloudInstanceAct public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.CreateCloudInstanceAction) { - return mergeFrom((com.google.spanner.executor.v1.CreateCloudInstanceAction) other); + return mergeFrom((com.google.spanner.executor.v1.CreateCloudInstanceAction)other); } else { super.mergeFrom(other); return this; @@ -889,8 +823,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.CreateCloudInstanceAction other) { - if (other == com.google.spanner.executor.v1.CreateCloudInstanceAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.CreateCloudInstanceAction.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -915,7 +848,8 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CreateCloudInstanceActio if (other.hasAutoscalingConfig()) { mergeAutoscalingConfig(other.getAutoscalingConfig()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000040; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -943,62 +877,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - instanceConfigId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: - { - processingUnits_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 48 - case 58: - { - input.readMessage( - getAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + instanceConfigId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: { + processingUnits_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 48 + case 58: { + input.readMessage( + getAutoscalingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + 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) { @@ -1008,25 +933,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -1035,21 +957,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -1057,35 +978,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1095,21 +1009,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -1119,20 +1029,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1141,21 +1049,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1163,35 +1070,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1201,21 +1101,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -1225,20 +1121,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceConfigId_ = ""; /** - * - * *
      * Instance config ID, e.g. "test-config".
      * 
* * string instance_config_id = 3; - * * @return The instanceConfigId. */ public java.lang.String getInstanceConfigId() { java.lang.Object ref = instanceConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; @@ -1247,21 +1141,20 @@ public java.lang.String getInstanceConfigId() { } } /** - * - * *
      * Instance config ID, e.g. "test-config".
      * 
* * string instance_config_id = 3; - * * @return The bytes for instanceConfigId. */ - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -1269,35 +1162,28 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { } } /** - * - * *
      * Instance config ID, e.g. "test-config".
      * 
* * string instance_config_id = 3; - * * @param value The instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceConfigId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Instance config ID, e.g. "test-config".
      * 
* * string instance_config_id = 3; - * * @return This builder for chaining. */ public Builder clearInstanceConfigId() { @@ -1307,21 +1193,17 @@ public Builder clearInstanceConfigId() { return this; } /** - * - * *
      * Instance config ID, e.g. "test-config".
      * 
* * string instance_config_id = 3; - * * @param value The bytes for instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceConfigId_ = value; bitField0_ |= 0x00000004; @@ -1329,16 +1211,13 @@ public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
      * Number of nodes (processing_units should not be set or set to 0 if used).
      * 
* * optional int32 node_count = 4; - * * @return Whether the nodeCount field is set. */ @java.lang.Override @@ -1346,14 +1225,11 @@ public boolean hasNodeCount() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Number of nodes (processing_units should not be set or set to 0 if used).
      * 
* * optional int32 node_count = 4; - * * @return The nodeCount. */ @java.lang.Override @@ -1361,14 +1237,11 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
      * Number of nodes (processing_units should not be set or set to 0 if used).
      * 
* * optional int32 node_count = 4; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -1380,14 +1253,11 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
      * Number of nodes (processing_units should not be set or set to 0 if used).
      * 
* * optional int32 node_count = 4; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -1397,16 +1267,13 @@ public Builder clearNodeCount() { return this; } - private int processingUnits_; + private int processingUnits_ ; /** - * - * *
      * Number of processing units (node_count should be set to 0 if used).
      * 
* * optional int32 processing_units = 6; - * * @return Whether the processingUnits field is set. */ @java.lang.Override @@ -1414,14 +1281,11 @@ public boolean hasProcessingUnits() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Number of processing units (node_count should be set to 0 if used).
      * 
* * optional int32 processing_units = 6; - * * @return The processingUnits. */ @java.lang.Override @@ -1429,14 +1293,11 @@ public int getProcessingUnits() { return processingUnits_; } /** - * - * *
      * Number of processing units (node_count should be set to 0 if used).
      * 
* * optional int32 processing_units = 6; - * * @param value The processingUnits to set. * @return This builder for chaining. */ @@ -1448,14 +1309,11 @@ public Builder setProcessingUnits(int value) { return this; } /** - * - * *
      * Number of processing units (node_count should be set to 0 if used).
      * 
* * optional int32 processing_units = 6; - * * @return This builder for chaining. */ public Builder clearProcessingUnits() { @@ -1467,64 +1325,47 @@ public Builder clearProcessingUnits() { private com.google.spanner.admin.instance.v1.AutoscalingConfig autoscalingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> - autoscalingConfigBuilder_; + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> autoscalingConfigBuilder_; /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return The autoscalingConfig. */ public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig() { if (autoscalingConfigBuilder_ == null) { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } else { return autoscalingConfigBuilder_.getMessage(); } } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public Builder setAutoscalingConfig( - com.google.spanner.admin.instance.v1.AutoscalingConfig value) { + public Builder setAutoscalingConfig(com.google.spanner.admin.instance.v1.AutoscalingConfig value) { if (autoscalingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1538,16 +1379,13 @@ public Builder setAutoscalingConfig( return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ public Builder setAutoscalingConfig( com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder builderForValue) { @@ -1561,24 +1399,19 @@ public Builder setAutoscalingConfig( return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public Builder mergeAutoscalingConfig( - com.google.spanner.admin.instance.v1.AutoscalingConfig value) { + public Builder mergeAutoscalingConfig(com.google.spanner.admin.instance.v1.AutoscalingConfig value) { if (autoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && autoscalingConfig_ != null - && autoscalingConfig_ - != com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + autoscalingConfig_ != null && + autoscalingConfig_ != com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) { getAutoscalingConfigBuilder().mergeFrom(value); } else { autoscalingConfig_ = value; @@ -1593,16 +1426,13 @@ public Builder mergeAutoscalingConfig( return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ public Builder clearAutoscalingConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1615,87 +1445,74 @@ public Builder clearAutoscalingConfig() { return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder - getAutoscalingConfigBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder getAutoscalingConfigBuilder() { bitField0_ |= 0x00000020; onChanged(); return getAutoscalingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder - getAutoscalingConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder() { if (autoscalingConfigBuilder_ != null) { return autoscalingConfigBuilder_.getMessageOrBuilder(); } else { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? + com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } } /** - * - * *
      * The autoscaling config for this instance. If non-empty, an autoscaling
      * instance will be created (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> getAutoscalingConfigFieldBuilder() { if (autoscalingConfigBuilder_ == null) { - autoscalingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder>( - getAutoscalingConfig(), getParentForChildren(), isClean()); + autoscalingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder>( + getAutoscalingConfig(), + getParentForChildren(), + isClean()); autoscalingConfig_ = null; } return autoscalingConfigBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1704,13 +1521,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * labels.
      * 
@@ -1718,21 +1532,20 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * labels.
      * 
@@ -1744,8 +1557,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * labels.
      * 
@@ -1753,19 +1564,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * labels.
      * 
@@ -1773,81 +1582,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 5; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 5; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 5; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1857,12 +1664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CreateCloudInstanceAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CreateCloudInstanceAction) private static final com.google.spanner.executor.v1.CreateCloudInstanceAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CreateCloudInstanceAction(); } @@ -1871,27 +1678,27 @@ public static com.google.spanner.executor.v1.CreateCloudInstanceAction getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCloudInstanceAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCloudInstanceAction 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; @@ -1906,4 +1713,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.executor.v1.CreateCloudInstanceAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceActionOrBuilder.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceActionOrBuilder.java index fddb9230bd9..34cfd4c2019 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateCloudInstanceActionOrBuilder.java @@ -1,201 +1,145 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CreateCloudInstanceActionOrBuilder - extends +public interface CreateCloudInstanceActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CreateCloudInstanceAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Instance config ID, e.g. "test-config".
    * 
* * string instance_config_id = 3; - * * @return The instanceConfigId. */ java.lang.String getInstanceConfigId(); /** - * - * *
    * Instance config ID, e.g. "test-config".
    * 
* * string instance_config_id = 3; - * * @return The bytes for instanceConfigId. */ - com.google.protobuf.ByteString getInstanceConfigIdBytes(); + com.google.protobuf.ByteString + getInstanceConfigIdBytes(); /** - * - * *
    * Number of nodes (processing_units should not be set or set to 0 if used).
    * 
* * optional int32 node_count = 4; - * * @return Whether the nodeCount field is set. */ boolean hasNodeCount(); /** - * - * *
    * Number of nodes (processing_units should not be set or set to 0 if used).
    * 
* * optional int32 node_count = 4; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
    * Number of processing units (node_count should be set to 0 if used).
    * 
* * optional int32 processing_units = 6; - * * @return Whether the processingUnits field is set. */ boolean hasProcessingUnits(); /** - * - * *
    * Number of processing units (node_count should be set to 0 if used).
    * 
* * optional int32 processing_units = 6; - * * @return The processingUnits. */ int getProcessingUnits(); /** - * - * *
    * The autoscaling config for this instance. If non-empty, an autoscaling
    * instance will be created (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return Whether the autoscalingConfig field is set. */ boolean hasAutoscalingConfig(); /** - * - * *
    * The autoscaling config for this instance. If non-empty, an autoscaling
    * instance will be created (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return The autoscalingConfig. */ com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig(); /** - * - * *
    * The autoscaling config for this instance. If non-empty, an autoscaling
    * instance will be created (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder(); /** - * - * *
    * labels.
    * 
@@ -204,31 +148,30 @@ public interface CreateCloudInstanceActionOrBuilder */ int getLabelsCount(); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 5; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 5; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * labels.
    * 
@@ -236,18 +179,17 @@ public interface CreateCloudInstanceActionOrBuilder * map<string, string> labels = 5; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 5; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigAction.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigAction.java index bce0f5f511d..f7204293a6d 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,25 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that creates a user instance config.
  * 
* * Protobuf type {@code google.spanner.executor.v1.CreateUserInstanceConfigAction} */ -public final class CreateUserInstanceConfigAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateUserInstanceConfigAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.CreateUserInstanceConfigAction) CreateUserInstanceConfigActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateUserInstanceConfigAction.newBuilder() to construct. - private CreateUserInstanceConfigAction( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateUserInstanceConfigAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateUserInstanceConfigAction() { userConfigId_ = ""; projectId_ = ""; @@ -48,38 +29,33 @@ private CreateUserInstanceConfigAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateUserInstanceConfigAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.class, - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.CreateUserInstanceConfigAction.class, com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder.class); } public static final int USER_CONFIG_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object userConfigId_ = ""; /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The userConfigId. */ @java.lang.Override @@ -88,29 +64,29 @@ public java.lang.String getUserConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userConfigId_ = s; return s; } } /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserConfigIdBytes() { + public com.google.protobuf.ByteString + getUserConfigIdBytes() { java.lang.Object ref = userConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userConfigId_ = b; return b; } else { @@ -119,18 +95,14 @@ public com.google.protobuf.ByteString getUserConfigIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -139,29 +111,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -170,18 +142,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int BASE_CONFIG_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object baseConfigId_ = ""; /** - * - * *
    * Base config ID, e.g. "test-config".
    * 
* * string base_config_id = 3; - * * @return The baseConfigId. */ @java.lang.Override @@ -190,29 +158,29 @@ public java.lang.String getBaseConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfigId_ = s; return s; } } /** - * - * *
    * Base config ID, e.g. "test-config".
    * 
* * string base_config_id = 3; - * * @return The bytes for baseConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseConfigIdBytes() { + public com.google.protobuf.ByteString + getBaseConfigIdBytes() { java.lang.Object ref = baseConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseConfigId_ = b; return b; } else { @@ -221,12 +189,9 @@ public com.google.protobuf.ByteString getBaseConfigIdBytes() { } public static final int REPLICAS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List replicas_; /** - * - * *
    * Replicas that should be included in the user config.
    * 
@@ -238,8 +203,6 @@ public java.util.List getRepli return replicas_; } /** - * - * *
    * Replicas that should be included in the user config.
    * 
@@ -247,13 +210,11 @@ public java.util.List getRepli * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ @java.lang.Override - public java.util.List + public java.util.List getReplicasOrBuilderList() { return replicas_; } /** - * - * *
    * Replicas that should be included in the user config.
    * 
@@ -265,8 +226,6 @@ public int getReplicasCount() { return replicas_.size(); } /** - * - * *
    * Replicas that should be included in the user config.
    * 
@@ -278,8 +237,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) { return replicas_.get(index); } /** - * - * *
    * Replicas that should be included in the user config.
    * 
@@ -287,12 +244,12 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) { * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder( + int index) { return replicas_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userConfigId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userConfigId_); } @@ -336,7 +294,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, baseConfigId_); } for (int i = 0; i < replicas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, replicas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, replicas_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -346,18 +305,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.CreateUserInstanceConfigAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.CreateUserInstanceConfigAction other = - (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) obj; + com.google.spanner.executor.v1.CreateUserInstanceConfigAction other = (com.google.spanner.executor.v1.CreateUserInstanceConfigAction) obj; - if (!getUserConfigId().equals(other.getUserConfigId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getBaseConfigId().equals(other.getBaseConfigId())) return false; - if (!getReplicasList().equals(other.getReplicasList())) return false; + if (!getUserConfigId() + .equals(other.getUserConfigId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getBaseConfigId() + .equals(other.getBaseConfigId())) return false; + if (!getReplicasList() + .equals(other.getReplicasList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -385,136 +347,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.CreateUserInstanceConfigAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.CreateUserInstanceConfigAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that creates a user instance config.
    * 
* * Protobuf type {@code google.spanner.executor.v1.CreateUserInstanceConfigAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.CreateUserInstanceConfigAction) com.google.spanner.executor.v1.CreateUserInstanceConfigActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.class, - com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.CreateUserInstanceConfigAction.class, com.google.spanner.executor.v1.CreateUserInstanceConfigAction.Builder.class); } // Construct using com.google.spanner.executor.v1.CreateUserInstanceConfigAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -533,14 +490,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.CreateUserInstanceConfigAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.CreateUserInstanceConfigAction getDefaultInstanceForType() { return com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance(); } @@ -555,18 +511,14 @@ public com.google.spanner.executor.v1.CreateUserInstanceConfigAction build() { @java.lang.Override public com.google.spanner.executor.v1.CreateUserInstanceConfigAction buildPartial() { - com.google.spanner.executor.v1.CreateUserInstanceConfigAction result = - new com.google.spanner.executor.v1.CreateUserInstanceConfigAction(this); + com.google.spanner.executor.v1.CreateUserInstanceConfigAction result = new com.google.spanner.executor.v1.CreateUserInstanceConfigAction(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.CreateUserInstanceConfigAction result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.CreateUserInstanceConfigAction result) { if (replicasBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { replicas_ = java.util.Collections.unmodifiableList(replicas_); @@ -578,8 +530,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.spanner.executor.v1.CreateUserInstanceConfigAction result) { + private void buildPartial0(com.google.spanner.executor.v1.CreateUserInstanceConfigAction result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.userConfigId_ = userConfigId_; @@ -596,39 +547,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.CreateUserInstanceConfigAction) { - return mergeFrom((com.google.spanner.executor.v1.CreateUserInstanceConfigAction) other); + return mergeFrom((com.google.spanner.executor.v1.CreateUserInstanceConfigAction)other); } else { super.mergeFrom(other); return this; @@ -636,9 +586,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.CreateUserInstanceConfigAction other) { - if (other - == com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.CreateUserInstanceConfigAction.getDefaultInstance()) return this; if (!other.getUserConfigId().isEmpty()) { userConfigId_ = other.userConfigId_; bitField0_ |= 0x00000001; @@ -672,10 +620,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.CreateUserInstanceConfig replicasBuilder_ = null; replicas_ = other.replicas_; bitField0_ = (bitField0_ & ~0x00000008); - replicasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReplicasFieldBuilder() - : null; + replicasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReplicasFieldBuilder() : null; } else { replicasBuilder_.addAllMessages(other.replicas_); } @@ -707,45 +654,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - userConfigId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - baseConfigId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.spanner.admin.instance.v1.ReplicaInfo m = - input.readMessage( - com.google.spanner.admin.instance.v1.ReplicaInfo.parser(), - extensionRegistry); - if (replicasBuilder_ == null) { - ensureReplicasIsMutable(); - replicas_.add(m); - } else { - replicasBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + userConfigId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + baseConfigId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.spanner.admin.instance.v1.ReplicaInfo m = + input.readMessage( + com.google.spanner.admin.instance.v1.ReplicaInfo.parser(), + extensionRegistry); + if (replicasBuilder_ == null) { + ensureReplicasIsMutable(); + replicas_.add(m); + } else { + replicasBuilder_.addMessage(m); + } + 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) { @@ -755,25 +697,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object userConfigId_ = ""; /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return The userConfigId. */ public java.lang.String getUserConfigId() { java.lang.Object ref = userConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userConfigId_ = s; return s; @@ -782,21 +721,20 @@ public java.lang.String getUserConfigId() { } } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ - public com.google.protobuf.ByteString getUserConfigIdBytes() { + public com.google.protobuf.ByteString + getUserConfigIdBytes() { java.lang.Object ref = userConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userConfigId_ = b; return b; } else { @@ -804,35 +742,28 @@ public com.google.protobuf.ByteString getUserConfigIdBytes() { } } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @param value The userConfigId to set. * @return This builder for chaining. */ - public Builder setUserConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userConfigId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return This builder for chaining. */ public Builder clearUserConfigId() { @@ -842,21 +773,17 @@ public Builder clearUserConfigId() { return this; } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @param value The bytes for userConfigId to set. * @return This builder for chaining. */ - public Builder setUserConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userConfigId_ = value; bitField0_ |= 0x00000001; @@ -866,20 +793,18 @@ public Builder setUserConfigIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -888,21 +813,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -910,35 +834,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -948,21 +865,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -972,20 +885,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object baseConfigId_ = ""; /** - * - * *
      * Base config ID, e.g. "test-config".
      * 
* * string base_config_id = 3; - * * @return The baseConfigId. */ public java.lang.String getBaseConfigId() { java.lang.Object ref = baseConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfigId_ = s; return s; @@ -994,21 +905,20 @@ public java.lang.String getBaseConfigId() { } } /** - * - * *
      * Base config ID, e.g. "test-config".
      * 
* * string base_config_id = 3; - * * @return The bytes for baseConfigId. */ - public com.google.protobuf.ByteString getBaseConfigIdBytes() { + public com.google.protobuf.ByteString + getBaseConfigIdBytes() { java.lang.Object ref = baseConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseConfigId_ = b; return b; } else { @@ -1016,35 +926,28 @@ public com.google.protobuf.ByteString getBaseConfigIdBytes() { } } /** - * - * *
      * Base config ID, e.g. "test-config".
      * 
* * string base_config_id = 3; - * * @param value The baseConfigId to set. * @return This builder for chaining. */ - public Builder setBaseConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } baseConfigId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Base config ID, e.g. "test-config".
      * 
* * string base_config_id = 3; - * * @return This builder for chaining. */ public Builder clearBaseConfigId() { @@ -1054,21 +957,17 @@ public Builder clearBaseConfigId() { return this; } /** - * - * *
      * Base config ID, e.g. "test-config".
      * 
* * string base_config_id = 3; - * * @param value The bytes for baseConfigId to set. * @return This builder for chaining. */ - public Builder setBaseConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); baseConfigId_ = value; bitField0_ |= 0x00000004; @@ -1077,25 +976,18 @@ public Builder setBaseConfigIdBytes(com.google.protobuf.ByteString value) { } private java.util.List replicas_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReplicasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - replicas_ = - new java.util.ArrayList(replicas_); + replicas_ = new java.util.ArrayList(replicas_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> - replicasBuilder_; + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> replicasBuilder_; /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1110,8 +1002,6 @@ public java.util.List getRepli } } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1126,8 +1016,6 @@ public int getReplicasCount() { } } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1142,15 +1030,14 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) { } } /** - * - * *
      * Replicas that should be included in the user config.
      * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - public Builder setReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { + public Builder setReplicas( + int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { if (replicasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1164,8 +1051,6 @@ public Builder setReplicas(int index, com.google.spanner.admin.instance.v1.Repli return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1184,8 +1069,6 @@ public Builder setReplicas( return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1206,15 +1089,14 @@ public Builder addReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo valu return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - public Builder addReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { + public Builder addReplicas( + int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { if (replicasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1228,8 +1110,6 @@ public Builder addReplicas(int index, com.google.spanner.admin.instance.v1.Repli return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1248,8 +1128,6 @@ public Builder addReplicas( return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1268,8 +1146,6 @@ public Builder addReplicas( return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1280,7 +1156,8 @@ public Builder addAllReplicas( java.lang.Iterable values) { if (replicasBuilder_ == null) { ensureReplicasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, replicas_); onChanged(); } else { replicasBuilder_.addAllMessages(values); @@ -1288,8 +1165,6 @@ public Builder addAllReplicas( return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1307,8 +1182,6 @@ public Builder clearReplicas() { return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1326,20 +1199,17 @@ public Builder removeReplicas(int index) { return this; } /** - * - * *
      * Replicas that should be included in the user config.
      * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder(int index) { + public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder( + int index) { return getReplicasFieldBuilder().getBuilder(index); } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1349,22 +1219,19 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuild public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder( int index) { if (replicasBuilder_ == null) { - return replicas_.get(index); - } else { + return replicas_.get(index); } else { return replicasBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Replicas that should be included in the user config.
      * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - public java.util.List - getReplicasOrBuilderList() { + public java.util.List + getReplicasOrBuilderList() { if (replicasBuilder_ != null) { return replicasBuilder_.getMessageOrBuilderList(); } else { @@ -1372,8 +1239,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu } } /** - * - * *
      * Replicas that should be included in the user config.
      * 
@@ -1381,55 +1246,49 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder() { - return getReplicasFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + return getReplicasFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** - * - * *
      * Replicas that should be included in the user config.
      * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder(int index) { - return getReplicasFieldBuilder() - .addBuilder(index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder( + int index) { + return getReplicasFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** - * - * *
      * Replicas that should be included in the user config.
      * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - public java.util.List - getReplicasBuilderList() { + public java.util.List + getReplicasBuilderList() { return getReplicasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> getReplicasFieldBuilder() { if (replicasBuilder_ == null) { - replicasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( - replicas_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + replicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( + replicas_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); replicas_ = null; } return replicasBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1439,13 +1298,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.CreateUserInstanceConfigAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.CreateUserInstanceConfigAction) - private static final com.google.spanner.executor.v1.CreateUserInstanceConfigAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.CreateUserInstanceConfigAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.CreateUserInstanceConfigAction(); } @@ -1454,27 +1312,27 @@ public static com.google.spanner.executor.v1.CreateUserInstanceConfigAction getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserInstanceConfigAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserInstanceConfigAction 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; @@ -1489,4 +1347,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.spanner.executor.v1.CreateUserInstanceConfigAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigActionOrBuilder.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigActionOrBuilder.java index ffa1f5b8a8a..ddab9852733 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CreateUserInstanceConfigActionOrBuilder.java @@ -1,117 +1,83 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface CreateUserInstanceConfigActionOrBuilder - extends +public interface CreateUserInstanceConfigActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CreateUserInstanceConfigAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The userConfigId. */ java.lang.String getUserConfigId(); /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ - com.google.protobuf.ByteString getUserConfigIdBytes(); + com.google.protobuf.ByteString + getUserConfigIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Base config ID, e.g. "test-config".
    * 
* * string base_config_id = 3; - * * @return The baseConfigId. */ java.lang.String getBaseConfigId(); /** - * - * *
    * Base config ID, e.g. "test-config".
    * 
* * string base_config_id = 3; - * * @return The bytes for baseConfigId. */ - com.google.protobuf.ByteString getBaseConfigIdBytes(); + com.google.protobuf.ByteString + getBaseConfigIdBytes(); /** - * - * *
    * Replicas that should be included in the user config.
    * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - java.util.List getReplicasList(); + java.util.List + getReplicasList(); /** - * - * *
    * Replicas that should be included in the user config.
    * 
@@ -120,8 +86,6 @@ public interface CreateUserInstanceConfigActionOrBuilder */ com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index); /** - * - * *
    * Replicas that should be included in the user config.
    * 
@@ -130,24 +94,21 @@ public interface CreateUserInstanceConfigActionOrBuilder */ int getReplicasCount(); /** - * - * *
    * Replicas that should be included in the user config.
    * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - java.util.List + java.util.List getReplicasOrBuilderList(); /** - * - * *
    * Replicas that should be included in the user config.
    * 
* * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4; */ - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index); + com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecord.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecord.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecord.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecord.java index 5aa9a5d9a58..d82c4376cf1 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecord.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecord.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * ChangeStream data change record.
  * 
* * Protobuf type {@code google.spanner.executor.v1.DataChangeRecord} */ -public final class DataChangeRecord extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataChangeRecord extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DataChangeRecord) DataChangeRecordOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataChangeRecord.newBuilder() to construct. private DataChangeRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataChangeRecord() { recordSequence_ = ""; transactionId_ = ""; @@ -51,125 +33,104 @@ private DataChangeRecord() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataChangeRecord(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DataChangeRecord.class, - com.google.spanner.executor.v1.DataChangeRecord.Builder.class); + com.google.spanner.executor.v1.DataChangeRecord.class, com.google.spanner.executor.v1.DataChangeRecord.Builder.class); } - public interface ColumnTypeOrBuilder - extends + public interface ColumnTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DataChangeRecord.ColumnType) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Column name.
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Column name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Column type in JSON.
      * 
* * string type = 2; - * * @return The type. */ java.lang.String getType(); /** - * - * *
      * Column type in JSON.
      * 
* * string type = 2; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
      * Whether the column is a primary key column.
      * 
* * bool is_primary_key = 3; - * * @return The isPrimaryKey. */ boolean getIsPrimaryKey(); /** - * - * *
      * The position of the column as defined in the schema.
      * 
* * int64 ordinal_position = 4; - * * @return The ordinalPosition. */ long getOrdinalPosition(); } /** - * - * *
    * Column types.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DataChangeRecord.ColumnType} */ - public static final class ColumnType extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ColumnType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DataChangeRecord.ColumnType) ColumnTypeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ColumnType.newBuilder() to construct. private ColumnType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ColumnType() { name_ = ""; type_ = ""; @@ -177,38 +138,33 @@ private ColumnType() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ColumnType(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.class, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder.class); + com.google.spanner.executor.v1.DataChangeRecord.ColumnType.class, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Column name.
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -217,29 +173,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Column name.
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -248,18 +204,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
      * Column type in JSON.
      * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -268,29 +220,29 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
      * Column type in JSON.
      * 
* * string type = 2; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -301,14 +253,11 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int IS_PRIMARY_KEY_FIELD_NUMBER = 3; private boolean isPrimaryKey_ = false; /** - * - * *
      * Whether the column is a primary key column.
      * 
* * bool is_primary_key = 3; - * * @return The isPrimaryKey. */ @java.lang.Override @@ -319,14 +268,11 @@ public boolean getIsPrimaryKey() { public static final int ORDINAL_POSITION_FIELD_NUMBER = 4; private long ordinalPosition_ = 0L; /** - * - * *
      * The position of the column as defined in the schema.
      * 
* * int64 ordinal_position = 4; - * * @return The ordinalPosition. */ @java.lang.Override @@ -335,7 +281,6 @@ public long getOrdinalPosition() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +292,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -376,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } if (isPrimaryKey_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isPrimaryKey_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isPrimaryKey_); } if (ordinalPosition_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, ordinalPosition_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, ordinalPosition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -389,18 +337,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DataChangeRecord.ColumnType)) { return super.equals(obj); } - com.google.spanner.executor.v1.DataChangeRecord.ColumnType other = - (com.google.spanner.executor.v1.DataChangeRecord.ColumnType) obj; + com.google.spanner.executor.v1.DataChangeRecord.ColumnType other = (com.google.spanner.executor.v1.DataChangeRecord.ColumnType) obj; - if (!getName().equals(other.getName())) return false; - if (!getType().equals(other.getType())) return false; - if (getIsPrimaryKey() != other.getIsPrimaryKey()) return false; - if (getOrdinalPosition() != other.getOrdinalPosition()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getType() + .equals(other.getType())) return false; + if (getIsPrimaryKey() + != other.getIsPrimaryKey()) return false; + if (getOrdinalPosition() + != other.getOrdinalPosition()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -417,103 +368,100 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + IS_PRIMARY_KEY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPrimaryKey()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsPrimaryKey()); hash = (37 * hash) + ORDINAL_POSITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOrdinalPosition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOrdinalPosition()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.DataChangeRecord.ColumnType prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.DataChangeRecord.ColumnType prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -523,41 +471,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Column types.
      * 
* * Protobuf type {@code google.spanner.executor.v1.DataChangeRecord.ColumnType} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DataChangeRecord.ColumnType) com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.class, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder.class); + com.google.spanner.executor.v1.DataChangeRecord.ColumnType.class, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder.class); } // Construct using com.google.spanner.executor.v1.DataChangeRecord.ColumnType.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -570,14 +516,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.DataChangeRecord.ColumnType - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.DataChangeRecord.ColumnType getDefaultInstanceForType() { return com.google.spanner.executor.v1.DataChangeRecord.ColumnType.getDefaultInstance(); } @@ -592,17 +537,13 @@ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType build() { @java.lang.Override public com.google.spanner.executor.v1.DataChangeRecord.ColumnType buildPartial() { - com.google.spanner.executor.v1.DataChangeRecord.ColumnType result = - new com.google.spanner.executor.v1.DataChangeRecord.ColumnType(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.DataChangeRecord.ColumnType result = new com.google.spanner.executor.v1.DataChangeRecord.ColumnType(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.DataChangeRecord.ColumnType result) { + private void buildPartial0(com.google.spanner.executor.v1.DataChangeRecord.ColumnType result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -622,41 +563,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DataChangeRecord.ColumnType) { - return mergeFrom((com.google.spanner.executor.v1.DataChangeRecord.ColumnType) other); + return mergeFrom((com.google.spanner.executor.v1.DataChangeRecord.ColumnType)other); } else { super.mergeFrom(other); return this; @@ -664,9 +602,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.DataChangeRecord.ColumnType other) { - if (other - == com.google.spanner.executor.v1.DataChangeRecord.ColumnType.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.DataChangeRecord.ColumnType.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -709,37 +645,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - type_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - isPrimaryKey_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: - { - ordinalPosition_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + isPrimaryKey_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + ordinalPosition_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -749,25 +680,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Column 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -776,21 +704,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Column name.
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -798,35 +725,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Column name.
        * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Column name.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -836,21 +756,17 @@ public Builder clearName() { return this; } /** - * - * *
        * Column name.
        * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -860,20 +776,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
        * Column type in JSON.
        * 
* * string type = 2; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -882,21 +796,20 @@ public java.lang.String getType() { } } /** - * - * *
        * Column type in JSON.
        * 
* * string type = 2; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -904,35 +817,28 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
        * Column type in JSON.
        * 
* * string type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Column type in JSON.
        * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -942,21 +848,17 @@ public Builder clearType() { return this; } /** - * - * *
        * Column type in JSON.
        * 
* * string type = 2; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -964,16 +866,13 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { return this; } - private boolean isPrimaryKey_; + private boolean isPrimaryKey_ ; /** - * - * *
        * Whether the column is a primary key column.
        * 
* * bool is_primary_key = 3; - * * @return The isPrimaryKey. */ @java.lang.Override @@ -981,14 +880,11 @@ public boolean getIsPrimaryKey() { return isPrimaryKey_; } /** - * - * *
        * Whether the column is a primary key column.
        * 
* * bool is_primary_key = 3; - * * @param value The isPrimaryKey to set. * @return This builder for chaining. */ @@ -1000,14 +896,11 @@ public Builder setIsPrimaryKey(boolean value) { return this; } /** - * - * *
        * Whether the column is a primary key column.
        * 
* * bool is_primary_key = 3; - * * @return This builder for chaining. */ public Builder clearIsPrimaryKey() { @@ -1017,16 +910,13 @@ public Builder clearIsPrimaryKey() { return this; } - private long ordinalPosition_; + private long ordinalPosition_ ; /** - * - * *
        * The position of the column as defined in the schema.
        * 
* * int64 ordinal_position = 4; - * * @return The ordinalPosition. */ @java.lang.Override @@ -1034,14 +924,11 @@ public long getOrdinalPosition() { return ordinalPosition_; } /** - * - * *
        * The position of the column as defined in the schema.
        * 
* * int64 ordinal_position = 4; - * * @param value The ordinalPosition to set. * @return This builder for chaining. */ @@ -1053,14 +940,11 @@ public Builder setOrdinalPosition(long value) { return this; } /** - * - * *
        * The position of the column as defined in the schema.
        * 
* * int64 ordinal_position = 4; - * * @return This builder for chaining. */ public Builder clearOrdinalPosition() { @@ -1069,7 +953,6 @@ public Builder clearOrdinalPosition() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1082,13 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DataChangeRecord.ColumnType) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DataChangeRecord.ColumnType) - private static final com.google.spanner.executor.v1.DataChangeRecord.ColumnType - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.DataChangeRecord.ColumnType DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DataChangeRecord.ColumnType(); } @@ -1097,28 +979,27 @@ public static com.google.spanner.executor.v1.DataChangeRecord.ColumnType getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnType 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnType 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; @@ -1133,111 +1014,93 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.DataChangeRecord.ColumnType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ModOrBuilder - extends + public interface ModOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DataChangeRecord.Mod) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The primary key values in JSON.
      * 
* * string keys = 1; - * * @return The keys. */ java.lang.String getKeys(); /** - * - * *
      * The primary key values in JSON.
      * 
* * string keys = 1; - * * @return The bytes for keys. */ - com.google.protobuf.ByteString getKeysBytes(); + com.google.protobuf.ByteString + getKeysBytes(); /** - * - * *
      * The new values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string new_values = 2; - * * @return The newValues. */ java.lang.String getNewValues(); /** - * - * *
      * The new values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string new_values = 2; - * * @return The bytes for newValues. */ - com.google.protobuf.ByteString getNewValuesBytes(); + com.google.protobuf.ByteString + getNewValuesBytes(); /** - * - * *
      * The old values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string old_values = 3; - * * @return The oldValues. */ java.lang.String getOldValues(); /** - * - * *
      * The old values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string old_values = 3; - * * @return The bytes for oldValues. */ - com.google.protobuf.ByteString getOldValuesBytes(); + com.google.protobuf.ByteString + getOldValuesBytes(); } /** - * - * *
    * Describes the changes that were made.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DataChangeRecord.Mod} */ - public static final class Mod extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Mod extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DataChangeRecord.Mod) ModOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Mod.newBuilder() to construct. private Mod(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Mod() { keys_ = ""; newValues_ = ""; @@ -1246,38 +1109,33 @@ private Mod() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Mod(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DataChangeRecord.Mod.class, - com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder.class); + com.google.spanner.executor.v1.DataChangeRecord.Mod.class, com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder.class); } public static final int KEYS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object keys_ = ""; /** - * - * *
      * The primary key values in JSON.
      * 
* * string keys = 1; - * * @return The keys. */ @java.lang.Override @@ -1286,29 +1144,29 @@ public java.lang.String getKeys() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keys_ = s; return s; } } /** - * - * *
      * The primary key values in JSON.
      * 
* * string keys = 1; - * * @return The bytes for keys. */ @java.lang.Override - public com.google.protobuf.ByteString getKeysBytes() { + public com.google.protobuf.ByteString + getKeysBytes() { java.lang.Object ref = keys_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keys_ = b; return b; } else { @@ -1317,19 +1175,15 @@ public com.google.protobuf.ByteString getKeysBytes() { } public static final int NEW_VALUES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object newValues_ = ""; /** - * - * *
      * The new values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string new_values = 2; - * * @return The newValues. */ @java.lang.Override @@ -1338,30 +1192,30 @@ public java.lang.String getNewValues() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newValues_ = s; return s; } } /** - * - * *
      * The new values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string new_values = 2; - * * @return The bytes for newValues. */ @java.lang.Override - public com.google.protobuf.ByteString getNewValuesBytes() { + public com.google.protobuf.ByteString + getNewValuesBytes() { java.lang.Object ref = newValues_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newValues_ = b; return b; } else { @@ -1370,19 +1224,15 @@ public com.google.protobuf.ByteString getNewValuesBytes() { } public static final int OLD_VALUES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object oldValues_ = ""; /** - * - * *
      * The old values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string old_values = 3; - * * @return The oldValues. */ @java.lang.Override @@ -1391,30 +1241,30 @@ public java.lang.String getOldValues() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); oldValues_ = s; return s; } } /** - * - * *
      * The old values of the changed columns in JSON. Only contain the non-key
      * columns.
      * 
* * string old_values = 3; - * * @return The bytes for oldValues. */ @java.lang.Override - public com.google.protobuf.ByteString getOldValuesBytes() { + public com.google.protobuf.ByteString + getOldValuesBytes() { java.lang.Object ref = oldValues_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); oldValues_ = b; return b; } else { @@ -1423,7 +1273,6 @@ public com.google.protobuf.ByteString getOldValuesBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1435,7 +1284,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keys_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keys_); } @@ -1471,17 +1321,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DataChangeRecord.Mod)) { return super.equals(obj); } - com.google.spanner.executor.v1.DataChangeRecord.Mod other = - (com.google.spanner.executor.v1.DataChangeRecord.Mod) obj; + com.google.spanner.executor.v1.DataChangeRecord.Mod other = (com.google.spanner.executor.v1.DataChangeRecord.Mod) obj; - if (!getKeys().equals(other.getKeys())) return false; - if (!getNewValues().equals(other.getNewValues())) return false; - if (!getOldValues().equals(other.getOldValues())) return false; + if (!getKeys() + .equals(other.getKeys())) return false; + if (!getNewValues() + .equals(other.getNewValues())) return false; + if (!getOldValues() + .equals(other.getOldValues())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1505,94 +1357,89 @@ public int hashCode() { } public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DataChangeRecord.Mod parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.DataChangeRecord.Mod prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.DataChangeRecord.Mod prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1602,41 +1449,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Describes the changes that were made.
      * 
* * Protobuf type {@code google.spanner.executor.v1.DataChangeRecord.Mod} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DataChangeRecord.Mod) com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DataChangeRecord.Mod.class, - com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder.class); + com.google.spanner.executor.v1.DataChangeRecord.Mod.class, com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder.class); } // Construct using com.google.spanner.executor.v1.DataChangeRecord.Mod.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1648,9 +1493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; } @java.lang.Override @@ -1669,11 +1514,8 @@ public com.google.spanner.executor.v1.DataChangeRecord.Mod build() { @java.lang.Override public com.google.spanner.executor.v1.DataChangeRecord.Mod buildPartial() { - com.google.spanner.executor.v1.DataChangeRecord.Mod result = - new com.google.spanner.executor.v1.DataChangeRecord.Mod(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.DataChangeRecord.Mod result = new com.google.spanner.executor.v1.DataChangeRecord.Mod(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1695,41 +1537,38 @@ private void buildPartial0(com.google.spanner.executor.v1.DataChangeRecord.Mod r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DataChangeRecord.Mod) { - return mergeFrom((com.google.spanner.executor.v1.DataChangeRecord.Mod) other); + return mergeFrom((com.google.spanner.executor.v1.DataChangeRecord.Mod)other); } else { super.mergeFrom(other); return this; @@ -1737,8 +1576,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.DataChangeRecord.Mod other) { - if (other == com.google.spanner.executor.v1.DataChangeRecord.Mod.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.DataChangeRecord.Mod.getDefaultInstance()) return this; if (!other.getKeys().isEmpty()) { keys_ = other.keys_; bitField0_ |= 0x00000001; @@ -1780,31 +1618,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - keys_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - newValues_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - oldValues_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + keys_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + newValues_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + oldValues_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -1814,25 +1648,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object keys_ = ""; /** - * - * *
        * The primary key values in JSON.
        * 
* * string keys = 1; - * * @return The keys. */ public java.lang.String getKeys() { java.lang.Object ref = keys_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keys_ = s; return s; @@ -1841,21 +1672,20 @@ public java.lang.String getKeys() { } } /** - * - * *
        * The primary key values in JSON.
        * 
* * string keys = 1; - * * @return The bytes for keys. */ - public com.google.protobuf.ByteString getKeysBytes() { + public com.google.protobuf.ByteString + getKeysBytes() { java.lang.Object ref = keys_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keys_ = b; return b; } else { @@ -1863,35 +1693,28 @@ public com.google.protobuf.ByteString getKeysBytes() { } } /** - * - * *
        * The primary key values in JSON.
        * 
* * string keys = 1; - * * @param value The keys to set. * @return This builder for chaining. */ - public Builder setKeys(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeys( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } keys_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The primary key values in JSON.
        * 
* * string keys = 1; - * * @return This builder for chaining. */ public Builder clearKeys() { @@ -1901,21 +1724,17 @@ public Builder clearKeys() { return this; } /** - * - * *
        * The primary key values in JSON.
        * 
* * string keys = 1; - * * @param value The bytes for keys to set. * @return This builder for chaining. */ - public Builder setKeysBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeysBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keys_ = value; bitField0_ |= 0x00000001; @@ -1925,21 +1744,19 @@ public Builder setKeysBytes(com.google.protobuf.ByteString value) { private java.lang.Object newValues_ = ""; /** - * - * *
        * The new values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string new_values = 2; - * * @return The newValues. */ public java.lang.String getNewValues() { java.lang.Object ref = newValues_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newValues_ = s; return s; @@ -1948,22 +1765,21 @@ public java.lang.String getNewValues() { } } /** - * - * *
        * The new values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string new_values = 2; - * * @return The bytes for newValues. */ - public com.google.protobuf.ByteString getNewValuesBytes() { + public com.google.protobuf.ByteString + getNewValuesBytes() { java.lang.Object ref = newValues_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newValues_ = b; return b; } else { @@ -1971,37 +1787,30 @@ public com.google.protobuf.ByteString getNewValuesBytes() { } } /** - * - * *
        * The new values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string new_values = 2; - * * @param value The newValues to set. * @return This builder for chaining. */ - public Builder setNewValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } newValues_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The new values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string new_values = 2; - * * @return This builder for chaining. */ public Builder clearNewValues() { @@ -2011,22 +1820,18 @@ public Builder clearNewValues() { return this; } /** - * - * *
        * The new values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string new_values = 2; - * * @param value The bytes for newValues to set. * @return This builder for chaining. */ - public Builder setNewValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNewValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newValues_ = value; bitField0_ |= 0x00000002; @@ -2036,21 +1841,19 @@ public Builder setNewValuesBytes(com.google.protobuf.ByteString value) { private java.lang.Object oldValues_ = ""; /** - * - * *
        * The old values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string old_values = 3; - * * @return The oldValues. */ public java.lang.String getOldValues() { java.lang.Object ref = oldValues_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); oldValues_ = s; return s; @@ -2059,22 +1862,21 @@ public java.lang.String getOldValues() { } } /** - * - * *
        * The old values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string old_values = 3; - * * @return The bytes for oldValues. */ - public com.google.protobuf.ByteString getOldValuesBytes() { + public com.google.protobuf.ByteString + getOldValuesBytes() { java.lang.Object ref = oldValues_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); oldValues_ = b; return b; } else { @@ -2082,37 +1884,30 @@ public com.google.protobuf.ByteString getOldValuesBytes() { } } /** - * - * *
        * The old values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string old_values = 3; - * * @param value The oldValues to set. * @return This builder for chaining. */ - public Builder setOldValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOldValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } oldValues_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The old values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string old_values = 3; - * * @return This builder for chaining. */ public Builder clearOldValues() { @@ -2122,29 +1917,24 @@ public Builder clearOldValues() { return this; } /** - * - * *
        * The old values of the changed columns in JSON. Only contain the non-key
        * columns.
        * 
* * string old_values = 3; - * * @param value The bytes for oldValues to set. * @return This builder for chaining. */ - public Builder setOldValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOldValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); oldValues_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2157,12 +1947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DataChangeRecord.Mod) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DataChangeRecord.Mod) private static final com.google.spanner.executor.v1.DataChangeRecord.Mod DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DataChangeRecord.Mod(); } @@ -2171,28 +1961,27 @@ public static com.google.spanner.executor.v1.DataChangeRecord.Mod getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Mod 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Mod 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; @@ -2207,20 +1996,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.DataChangeRecord.Mod getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int COMMIT_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp commitTime_; /** - * - * *
    * The timestamp in which the change was committed.
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -2228,14 +2015,11 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The timestamp in which the change was committed.
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return The commitTime. */ @java.lang.Override @@ -2243,8 +2027,6 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** - * - * *
    * The timestamp in which the change was committed.
    * 
@@ -2257,18 +2039,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { } public static final int RECORD_SEQUENCE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object recordSequence_ = ""; /** - * - * *
    * The sequence number for the record within the transaction.
    * 
* * string record_sequence = 2; - * * @return The recordSequence. */ @java.lang.Override @@ -2277,29 +2055,29 @@ public java.lang.String getRecordSequence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSequence_ = s; return s; } } /** - * - * *
    * The sequence number for the record within the transaction.
    * 
* * string record_sequence = 2; - * * @return The bytes for recordSequence. */ @java.lang.Override - public com.google.protobuf.ByteString getRecordSequenceBytes() { + public com.google.protobuf.ByteString + getRecordSequenceBytes() { java.lang.Object ref = recordSequence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recordSequence_ = b; return b; } else { @@ -2308,19 +2086,15 @@ public com.google.protobuf.ByteString getRecordSequenceBytes() { } public static final int TRANSACTION_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object transactionId_ = ""; /** - * - * *
    * A globally unique string that represents the transaction in which the
    * change was committed.
    * 
* * string transaction_id = 3; - * * @return The transactionId. */ @java.lang.Override @@ -2329,30 +2103,30 @@ public java.lang.String getTransactionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionId_ = s; return s; } } /** - * - * *
    * A globally unique string that represents the transaction in which the
    * change was committed.
    * 
* * string transaction_id = 3; - * * @return The bytes for transactionId. */ @java.lang.Override - public com.google.protobuf.ByteString getTransactionIdBytes() { + public com.google.protobuf.ByteString + getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionId_ = b; return b; } else { @@ -2363,15 +2137,12 @@ public com.google.protobuf.ByteString getTransactionIdBytes() { public static final int IS_LAST_RECORD_FIELD_NUMBER = 4; private boolean isLastRecord_ = false; /** - * - * *
    * Indicates whether this is the last record for a transaction in the current
    * partition.
    * 
* * bool is_last_record = 4; - * * @return The isLastRecord. */ @java.lang.Override @@ -2380,18 +2151,14 @@ public boolean getIsLastRecord() { } public static final int TABLE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
    * Name of the table affected by the change.
    * 
* * string table = 5; - * * @return The table. */ @java.lang.Override @@ -2400,29 +2167,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Name of the table affected by the change.
    * 
* * string table = 5; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -2431,12 +2198,9 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int COLUMN_TYPES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List columnTypes_; /** - * - * *
    * Column types defined in the schema.
    * 
@@ -2444,13 +2208,10 @@ public com.google.protobuf.ByteString getTableBytes() { * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ @java.lang.Override - public java.util.List - getColumnTypesList() { + public java.util.List getColumnTypesList() { return columnTypes_; } /** - * - * *
    * Column types defined in the schema.
    * 
@@ -2458,14 +2219,11 @@ public com.google.protobuf.ByteString getTableBytes() { * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ @java.lang.Override - public java.util.List< - ? extends com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder> + public java.util.List getColumnTypesOrBuilderList() { return columnTypes_; } /** - * - * *
    * Column types defined in the schema.
    * 
@@ -2477,8 +2235,6 @@ public int getColumnTypesCount() { return columnTypes_.size(); } /** - * - * *
    * Column types defined in the schema.
    * 
@@ -2490,8 +2246,6 @@ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType getColumnTypes return columnTypes_.get(index); } /** - * - * *
    * Column types defined in the schema.
    * 
@@ -2499,18 +2253,15 @@ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType getColumnTypes * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ @java.lang.Override - public com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder - getColumnTypesOrBuilder(int index) { + public com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder getColumnTypesOrBuilder( + int index) { return columnTypes_.get(index); } public static final int MODS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private java.util.List mods_; /** - * - * *
    * Changes made in the transaction.
    * 
@@ -2522,8 +2273,6 @@ public java.util.List getMo return mods_; } /** - * - * *
    * Changes made in the transaction.
    * 
@@ -2531,13 +2280,11 @@ public java.util.List getMo * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ @java.lang.Override - public java.util.List + public java.util.List getModsOrBuilderList() { return mods_; } /** - * - * *
    * Changes made in the transaction.
    * 
@@ -2549,8 +2296,6 @@ public int getModsCount() { return mods_.size(); } /** - * - * *
    * Changes made in the transaction.
    * 
@@ -2562,8 +2307,6 @@ public com.google.spanner.executor.v1.DataChangeRecord.Mod getMods(int index) { return mods_.get(index); } /** - * - * *
    * Changes made in the transaction.
    * 
@@ -2571,23 +2314,20 @@ public com.google.spanner.executor.v1.DataChangeRecord.Mod getMods(int index) { * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ @java.lang.Override - public com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder getModsOrBuilder(int index) { + public com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder getModsOrBuilder( + int index) { return mods_.get(index); } public static final int MOD_TYPE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object modType_ = ""; /** - * - * *
    * Describes the type of change. One of INSERT, UPDATE or DELETE.
    * 
* * string mod_type = 8; - * * @return The modType. */ @java.lang.Override @@ -2596,29 +2336,29 @@ public java.lang.String getModType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); modType_ = s; return s; } } /** - * - * *
    * Describes the type of change. One of INSERT, UPDATE or DELETE.
    * 
* * string mod_type = 8; - * * @return The bytes for modType. */ @java.lang.Override - public com.google.protobuf.ByteString getModTypeBytes() { + public com.google.protobuf.ByteString + getModTypeBytes() { java.lang.Object ref = modType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); modType_ = b; return b; } else { @@ -2627,18 +2367,14 @@ public com.google.protobuf.ByteString getModTypeBytes() { } public static final int VALUE_CAPTURE_TYPE_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object valueCaptureType_ = ""; /** - * - * *
    * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
    * 
* * string value_capture_type = 9; - * * @return The valueCaptureType. */ @java.lang.Override @@ -2647,29 +2383,29 @@ public java.lang.String getValueCaptureType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); valueCaptureType_ = s; return s; } } /** - * - * *
    * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
    * 
* * string value_capture_type = 9; - * * @return The bytes for valueCaptureType. */ @java.lang.Override - public com.google.protobuf.ByteString getValueCaptureTypeBytes() { + public com.google.protobuf.ByteString + getValueCaptureTypeBytes() { java.lang.Object ref = valueCaptureType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); valueCaptureType_ = b; return b; } else { @@ -2680,14 +2416,11 @@ public com.google.protobuf.ByteString getValueCaptureTypeBytes() { public static final int RECORD_COUNT_FIELD_NUMBER = 10; private long recordCount_ = 0L; /** - * - * *
    * Number of records in transactions.
    * 
* * int64 record_count = 10; - * * @return The recordCount. */ @java.lang.Override @@ -2698,14 +2431,11 @@ public long getRecordCount() { public static final int PARTITION_COUNT_FIELD_NUMBER = 11; private long partitionCount_ = 0L; /** - * - * *
    * Number of partitions in transactions.
    * 
* * int64 partition_count = 11; - * * @return The partitionCount. */ @java.lang.Override @@ -2714,18 +2444,14 @@ public long getPartitionCount() { } public static final int TRANSACTION_TAG_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object transactionTag_ = ""; /** - * - * *
    * Transaction tag info.
    * 
* * string transaction_tag = 12; - * * @return The transactionTag. */ @java.lang.Override @@ -2734,29 +2460,29 @@ public java.lang.String getTransactionTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; } } /** - * - * *
    * Transaction tag info.
    * 
* * string transaction_tag = 12; - * * @return The bytes for transactionTag. */ @java.lang.Override - public com.google.protobuf.ByteString getTransactionTagBytes() { + public com.google.protobuf.ByteString + getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -2767,14 +2493,11 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { public static final int IS_SYSTEM_TRANSACTION_FIELD_NUMBER = 13; private boolean isSystemTransaction_ = false; /** - * - * *
    * Whether the transaction is a system transactionn.
    * 
* * bool is_system_transaction = 13; - * * @return The isSystemTransaction. */ @java.lang.Override @@ -2783,7 +2506,6 @@ public boolean getIsSystemTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2795,7 +2517,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommitTime()); } @@ -2845,7 +2568,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommitTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recordSequence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recordSequence_); @@ -2854,16 +2578,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, transactionId_); } if (isLastRecord_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, isLastRecord_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, isLastRecord_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, table_); } for (int i = 0; i < columnTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, columnTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, columnTypes_.get(i)); } for (int i = 0; i < mods_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, mods_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, mods_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, modType_); @@ -2872,16 +2599,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, valueCaptureType_); } if (recordCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, recordCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, recordCount_); } if (partitionCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, partitionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, partitionCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, transactionTag_); } if (isSystemTransaction_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, isSystemTransaction_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, isSystemTransaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2891,30 +2621,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DataChangeRecord)) { return super.equals(obj); } - com.google.spanner.executor.v1.DataChangeRecord other = - (com.google.spanner.executor.v1.DataChangeRecord) obj; + com.google.spanner.executor.v1.DataChangeRecord other = (com.google.spanner.executor.v1.DataChangeRecord) obj; if (hasCommitTime() != other.hasCommitTime()) return false; if (hasCommitTime()) { - if (!getCommitTime().equals(other.getCommitTime())) return false; - } - if (!getRecordSequence().equals(other.getRecordSequence())) return false; - if (!getTransactionId().equals(other.getTransactionId())) return false; - if (getIsLastRecord() != other.getIsLastRecord()) return false; - if (!getTable().equals(other.getTable())) return false; - if (!getColumnTypesList().equals(other.getColumnTypesList())) return false; - if (!getModsList().equals(other.getModsList())) return false; - if (!getModType().equals(other.getModType())) return false; - if (!getValueCaptureType().equals(other.getValueCaptureType())) return false; - if (getRecordCount() != other.getRecordCount()) return false; - if (getPartitionCount() != other.getPartitionCount()) return false; - if (!getTransactionTag().equals(other.getTransactionTag())) return false; - if (getIsSystemTransaction() != other.getIsSystemTransaction()) return false; + if (!getCommitTime() + .equals(other.getCommitTime())) return false; + } + if (!getRecordSequence() + .equals(other.getRecordSequence())) return false; + if (!getTransactionId() + .equals(other.getTransactionId())) return false; + if (getIsLastRecord() + != other.getIsLastRecord()) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (!getColumnTypesList() + .equals(other.getColumnTypesList())) return false; + if (!getModsList() + .equals(other.getModsList())) return false; + if (!getModType() + .equals(other.getModType())) return false; + if (!getValueCaptureType() + .equals(other.getValueCaptureType())) return false; + if (getRecordCount() + != other.getRecordCount()) return false; + if (getPartitionCount() + != other.getPartitionCount()) return false; + if (!getTransactionTag() + .equals(other.getTransactionTag())) return false; + if (getIsSystemTransaction() + != other.getIsSystemTransaction()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2935,7 +2677,8 @@ public int hashCode() { hash = (37 * hash) + TRANSACTION_ID_FIELD_NUMBER; hash = (53 * hash) + getTransactionId().hashCode(); hash = (37 * hash) + IS_LAST_RECORD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsLastRecord()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsLastRecord()); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); if (getColumnTypesCount() > 0) { @@ -2951,139 +2694,135 @@ public int hashCode() { hash = (37 * hash) + VALUE_CAPTURE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getValueCaptureType().hashCode(); hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRecordCount()); hash = (37 * hash) + PARTITION_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPartitionCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPartitionCount()); hash = (37 * hash) + TRANSACTION_TAG_FIELD_NUMBER; hash = (53 * hash) + getTransactionTag().hashCode(); hash = (37 * hash) + IS_SYSTEM_TRANSACTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsSystemTransaction()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsSystemTransaction()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DataChangeRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DataChangeRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DataChangeRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.DataChangeRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ChangeStream data change record.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DataChangeRecord} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DataChangeRecord) com.google.spanner.executor.v1.DataChangeRecordOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DataChangeRecord.class, - com.google.spanner.executor.v1.DataChangeRecord.Builder.class); + com.google.spanner.executor.v1.DataChangeRecord.class, com.google.spanner.executor.v1.DataChangeRecord.Builder.class); } // Construct using com.google.spanner.executor.v1.DataChangeRecord.newBuilder() @@ -3091,19 +2830,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCommitTimeFieldBuilder(); getColumnTypesFieldBuilder(); getModsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3141,9 +2880,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; } @java.lang.Override @@ -3162,18 +2901,14 @@ public com.google.spanner.executor.v1.DataChangeRecord build() { @java.lang.Override public com.google.spanner.executor.v1.DataChangeRecord buildPartial() { - com.google.spanner.executor.v1.DataChangeRecord result = - new com.google.spanner.executor.v1.DataChangeRecord(this); + com.google.spanner.executor.v1.DataChangeRecord result = new com.google.spanner.executor.v1.DataChangeRecord(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.DataChangeRecord result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.DataChangeRecord result) { if (columnTypesBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { columnTypes_ = java.util.Collections.unmodifiableList(columnTypes_); @@ -3198,7 +2933,9 @@ private void buildPartial0(com.google.spanner.executor.v1.DataChangeRecord resul int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -3238,39 +2975,38 @@ private void buildPartial0(com.google.spanner.executor.v1.DataChangeRecord resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DataChangeRecord) { - return mergeFrom((com.google.spanner.executor.v1.DataChangeRecord) other); + return mergeFrom((com.google.spanner.executor.v1.DataChangeRecord)other); } else { super.mergeFrom(other); return this; @@ -3278,8 +3014,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.DataChangeRecord other) { - if (other == com.google.spanner.executor.v1.DataChangeRecord.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.DataChangeRecord.getDefaultInstance()) return this; if (other.hasCommitTime()) { mergeCommitTime(other.getCommitTime()); } @@ -3319,10 +3054,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.DataChangeRecord other) columnTypesBuilder_ = null; columnTypes_ = other.columnTypes_; bitField0_ = (bitField0_ & ~0x00000020); - columnTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getColumnTypesFieldBuilder() - : null; + columnTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColumnTypesFieldBuilder() : null; } else { columnTypesBuilder_.addAllMessages(other.columnTypes_); } @@ -3346,10 +3080,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.DataChangeRecord other) modsBuilder_ = null; mods_ = other.mods_; bitField0_ = (bitField0_ & ~0x00000040); - modsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getModsFieldBuilder() - : null; + modsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getModsFieldBuilder() : null; } else { modsBuilder_.addAllMessages(other.mods_); } @@ -3405,107 +3138,95 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - recordSequence_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - transactionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - isLastRecord_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.spanner.executor.v1.DataChangeRecord.ColumnType m = - input.readMessage( - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.parser(), - extensionRegistry); - if (columnTypesBuilder_ == null) { - ensureColumnTypesIsMutable(); - columnTypes_.add(m); - } else { - columnTypesBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: - { - com.google.spanner.executor.v1.DataChangeRecord.Mod m = - input.readMessage( - com.google.spanner.executor.v1.DataChangeRecord.Mod.parser(), - extensionRegistry); - if (modsBuilder_ == null) { - ensureModsIsMutable(); - mods_.add(m); - } else { - modsBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: - { - modType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: - { - valueCaptureType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: - { - recordCount_ = input.readInt64(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: - { - partitionCount_ = input.readInt64(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 98: - { - transactionTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 104: - { - isSystemTransaction_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 104 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + recordSequence_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + transactionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + isLastRecord_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.spanner.executor.v1.DataChangeRecord.ColumnType m = + input.readMessage( + com.google.spanner.executor.v1.DataChangeRecord.ColumnType.parser(), + extensionRegistry); + if (columnTypesBuilder_ == null) { + ensureColumnTypesIsMutable(); + columnTypes_.add(m); + } else { + columnTypesBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: { + com.google.spanner.executor.v1.DataChangeRecord.Mod m = + input.readMessage( + com.google.spanner.executor.v1.DataChangeRecord.Mod.parser(), + extensionRegistry); + if (modsBuilder_ == null) { + ensureModsIsMutable(); + mods_.add(m); + } else { + modsBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: { + modType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + valueCaptureType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + recordCount_ = input.readInt64(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + partitionCount_ = input.readInt64(); + bitField0_ |= 0x00000400; + break; + } // case 88 + case 98: { + transactionTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 104: { + isSystemTransaction_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 104 + 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) { @@ -3515,52 +3236,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp commitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_; /** - * - * *
      * The timestamp in which the change was committed.
      * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The timestamp in which the change was committed.
      * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTime_; + return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** - * - * *
      * The timestamp in which the change was committed.
      * 
@@ -3580,16 +3287,15 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) { onChanged(); return this; } - /** - * - * + /** *
      * The timestamp in which the change was committed.
      * 
* * .google.protobuf.Timestamp commit_time = 1; */ - public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimeBuilder_ == null) { commitTime_ = builderForValue.build(); } else { @@ -3600,8 +3306,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The timestamp in which the change was committed.
      * 
@@ -3610,9 +3314,9 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && commitTime_ != null - && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + commitTime_ != null && + commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -3627,8 +3331,6 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The timestamp in which the change was committed.
      * 
@@ -3646,8 +3348,6 @@ public Builder clearCommitTime() { return this; } /** - * - * *
      * The timestamp in which the change was committed.
      * 
@@ -3660,8 +3360,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The timestamp in which the change was committed.
      * 
@@ -3672,14 +3370,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { if (commitTimeBuilder_ != null) { return commitTimeBuilder_.getMessageOrBuilder(); } else { - return commitTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTime_; + return commitTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } } /** - * - * *
      * The timestamp in which the change was committed.
      * 
@@ -3687,17 +3382,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { * .google.protobuf.Timestamp commit_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCommitTimeFieldBuilder() { if (commitTimeBuilder_ == null) { - commitTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCommitTime(), getParentForChildren(), isClean()); + commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCommitTime(), + getParentForChildren(), + isClean()); commitTime_ = null; } return commitTimeBuilder_; @@ -3705,20 +3397,18 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { private java.lang.Object recordSequence_ = ""; /** - * - * *
      * The sequence number for the record within the transaction.
      * 
* * string record_sequence = 2; - * * @return The recordSequence. */ public java.lang.String getRecordSequence() { java.lang.Object ref = recordSequence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordSequence_ = s; return s; @@ -3727,21 +3417,20 @@ public java.lang.String getRecordSequence() { } } /** - * - * *
      * The sequence number for the record within the transaction.
      * 
* * string record_sequence = 2; - * * @return The bytes for recordSequence. */ - public com.google.protobuf.ByteString getRecordSequenceBytes() { + public com.google.protobuf.ByteString + getRecordSequenceBytes() { java.lang.Object ref = recordSequence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recordSequence_ = b; return b; } else { @@ -3749,35 +3438,28 @@ public com.google.protobuf.ByteString getRecordSequenceBytes() { } } /** - * - * *
      * The sequence number for the record within the transaction.
      * 
* * string record_sequence = 2; - * * @param value The recordSequence to set. * @return This builder for chaining. */ - public Builder setRecordSequence(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRecordSequence( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } recordSequence_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The sequence number for the record within the transaction.
      * 
* * string record_sequence = 2; - * * @return This builder for chaining. */ public Builder clearRecordSequence() { @@ -3787,21 +3469,17 @@ public Builder clearRecordSequence() { return this; } /** - * - * *
      * The sequence number for the record within the transaction.
      * 
* * string record_sequence = 2; - * * @param value The bytes for recordSequence to set. * @return This builder for chaining. */ - public Builder setRecordSequenceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRecordSequenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); recordSequence_ = value; bitField0_ |= 0x00000002; @@ -3811,21 +3489,19 @@ public Builder setRecordSequenceBytes(com.google.protobuf.ByteString value) { private java.lang.Object transactionId_ = ""; /** - * - * *
      * A globally unique string that represents the transaction in which the
      * change was committed.
      * 
* * string transaction_id = 3; - * * @return The transactionId. */ public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionId_ = s; return s; @@ -3834,22 +3510,21 @@ public java.lang.String getTransactionId() { } } /** - * - * *
      * A globally unique string that represents the transaction in which the
      * change was committed.
      * 
* * string transaction_id = 3; - * * @return The bytes for transactionId. */ - public com.google.protobuf.ByteString getTransactionIdBytes() { + public com.google.protobuf.ByteString + getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionId_ = b; return b; } else { @@ -3857,37 +3532,30 @@ public com.google.protobuf.ByteString getTransactionIdBytes() { } } /** - * - * *
      * A globally unique string that represents the transaction in which the
      * change was committed.
      * 
* * string transaction_id = 3; - * * @param value The transactionId to set. * @return This builder for chaining. */ - public Builder setTransactionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } transactionId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A globally unique string that represents the transaction in which the
      * change was committed.
      * 
* * string transaction_id = 3; - * * @return This builder for chaining. */ public Builder clearTransactionId() { @@ -3897,22 +3565,18 @@ public Builder clearTransactionId() { return this; } /** - * - * *
      * A globally unique string that represents the transaction in which the
      * change was committed.
      * 
* * string transaction_id = 3; - * * @param value The bytes for transactionId to set. * @return This builder for chaining. */ - public Builder setTransactionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionId_ = value; bitField0_ |= 0x00000004; @@ -3920,17 +3584,14 @@ public Builder setTransactionIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean isLastRecord_; + private boolean isLastRecord_ ; /** - * - * *
      * Indicates whether this is the last record for a transaction in the current
      * partition.
      * 
* * bool is_last_record = 4; - * * @return The isLastRecord. */ @java.lang.Override @@ -3938,15 +3599,12 @@ public boolean getIsLastRecord() { return isLastRecord_; } /** - * - * *
      * Indicates whether this is the last record for a transaction in the current
      * partition.
      * 
* * bool is_last_record = 4; - * * @param value The isLastRecord to set. * @return This builder for chaining. */ @@ -3958,15 +3616,12 @@ public Builder setIsLastRecord(boolean value) { return this; } /** - * - * *
      * Indicates whether this is the last record for a transaction in the current
      * partition.
      * 
* * bool is_last_record = 4; - * * @return This builder for chaining. */ public Builder clearIsLastRecord() { @@ -3978,20 +3633,18 @@ public Builder clearIsLastRecord() { private java.lang.Object table_ = ""; /** - * - * *
      * Name of the table affected by the change.
      * 
* * string table = 5; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -4000,21 +3653,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Name of the table affected by the change.
      * 
* * string table = 5; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -4022,35 +3674,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Name of the table affected by the change.
      * 
* * string table = 5; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Name of the table affected by the change.
      * 
* * string table = 5; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -4060,21 +3705,17 @@ public Builder clearTable() { return this; } /** - * - * *
      * Name of the table affected by the change.
      * 
* * string table = 5; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000010; @@ -4082,36 +3723,26 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - columnTypes_ = java.util.Collections.emptyList(); - + private java.util.List columnTypes_ = + java.util.Collections.emptyList(); private void ensureColumnTypesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - columnTypes_ = - new java.util.ArrayList( - columnTypes_); + columnTypes_ = new java.util.ArrayList(columnTypes_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord.ColumnType, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder, - com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder> - columnTypesBuilder_; + com.google.spanner.executor.v1.DataChangeRecord.ColumnType, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder, com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder> columnTypesBuilder_; /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - public java.util.List - getColumnTypesList() { + public java.util.List getColumnTypesList() { if (columnTypesBuilder_ == null) { return java.util.Collections.unmodifiableList(columnTypes_); } else { @@ -4119,14 +3750,11 @@ private void ensureColumnTypesIsMutable() { } } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public int getColumnTypesCount() { if (columnTypesBuilder_ == null) { @@ -4136,14 +3764,11 @@ public int getColumnTypesCount() { } } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType getColumnTypes(int index) { if (columnTypesBuilder_ == null) { @@ -4153,14 +3778,11 @@ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType getColumnTypes } } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder setColumnTypes( int index, com.google.spanner.executor.v1.DataChangeRecord.ColumnType value) { @@ -4177,18 +3799,14 @@ public Builder setColumnTypes( return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder setColumnTypes( - int index, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder builderForValue) { + int index, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder builderForValue) { if (columnTypesBuilder_ == null) { ensureColumnTypesIsMutable(); columnTypes_.set(index, builderForValue.build()); @@ -4199,17 +3817,13 @@ public Builder setColumnTypes( return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - public Builder addColumnTypes( - com.google.spanner.executor.v1.DataChangeRecord.ColumnType value) { + public Builder addColumnTypes(com.google.spanner.executor.v1.DataChangeRecord.ColumnType value) { if (columnTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4223,14 +3837,11 @@ public Builder addColumnTypes( return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder addColumnTypes( int index, com.google.spanner.executor.v1.DataChangeRecord.ColumnType value) { @@ -4247,14 +3858,11 @@ public Builder addColumnTypes( return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder addColumnTypes( com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder builderForValue) { @@ -4268,18 +3876,14 @@ public Builder addColumnTypes( return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder addColumnTypes( - int index, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder builderForValue) { + int index, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder builderForValue) { if (columnTypesBuilder_ == null) { ensureColumnTypesIsMutable(); columnTypes_.add(index, builderForValue.build()); @@ -4290,21 +3894,18 @@ public Builder addColumnTypes( return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder addAllColumnTypes( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (columnTypesBuilder_ == null) { ensureColumnTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columnTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columnTypes_); onChanged(); } else { columnTypesBuilder_.addAllMessages(values); @@ -4312,14 +3913,11 @@ public Builder addAllColumnTypes( return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder clearColumnTypes() { if (columnTypesBuilder_ == null) { @@ -4332,14 +3930,11 @@ public Builder clearColumnTypes() { return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public Builder removeColumnTypes(int index) { if (columnTypesBuilder_ == null) { @@ -4352,50 +3947,39 @@ public Builder removeColumnTypes(int index) { return this; } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder getColumnTypesBuilder( int index) { return getColumnTypesFieldBuilder().getBuilder(index); } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - public com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder - getColumnTypesOrBuilder(int index) { + public com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder getColumnTypesOrBuilder( + int index) { if (columnTypesBuilder_ == null) { - return columnTypes_.get(index); - } else { + return columnTypes_.get(index); } else { return columnTypesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - public java.util.List< - ? extends com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder> - getColumnTypesOrBuilderList() { + public java.util.List + getColumnTypesOrBuilderList() { if (columnTypesBuilder_ != null) { return columnTypesBuilder_.getMessageOrBuilderList(); } else { @@ -4403,89 +3987,67 @@ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder getCol } } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - public com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder - addColumnTypesBuilder() { - return getColumnTypesFieldBuilder() - .addBuilder( - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.getDefaultInstance()); + public com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder addColumnTypesBuilder() { + return getColumnTypesFieldBuilder().addBuilder( + com.google.spanner.executor.v1.DataChangeRecord.ColumnType.getDefaultInstance()); } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ public com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder addColumnTypesBuilder( int index) { - return getColumnTypesFieldBuilder() - .addBuilder( - index, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.getDefaultInstance()); + return getColumnTypesFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.getDefaultInstance()); } /** - * - * *
      * Column types defined in the schema.
      * 
* - * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; - * + * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - public java.util.List - getColumnTypesBuilderList() { + public java.util.List + getColumnTypesBuilderList() { return getColumnTypesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord.ColumnType, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder, - com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder> + com.google.spanner.executor.v1.DataChangeRecord.ColumnType, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder, com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder> getColumnTypesFieldBuilder() { if (columnTypesBuilder_ == null) { - columnTypesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord.ColumnType, - com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder, - com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder>( - columnTypes_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + columnTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.DataChangeRecord.ColumnType, com.google.spanner.executor.v1.DataChangeRecord.ColumnType.Builder, com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder>( + columnTypes_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); columnTypes_ = null; } return columnTypesBuilder_; } private java.util.List mods_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureModsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { mods_ = new java.util.ArrayList(mods_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord.Mod, - com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder, - com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder> - modsBuilder_; + com.google.spanner.executor.v1.DataChangeRecord.Mod, com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder, com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder> modsBuilder_; /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4500,8 +4062,6 @@ public java.util.List getMo } } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4516,8 +4076,6 @@ public int getModsCount() { } } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4532,15 +4090,14 @@ public com.google.spanner.executor.v1.DataChangeRecord.Mod getMods(int index) { } } /** - * - * *
      * Changes made in the transaction.
      * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - public Builder setMods(int index, com.google.spanner.executor.v1.DataChangeRecord.Mod value) { + public Builder setMods( + int index, com.google.spanner.executor.v1.DataChangeRecord.Mod value) { if (modsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4554,8 +4111,6 @@ public Builder setMods(int index, com.google.spanner.executor.v1.DataChangeRecor return this; } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4574,8 +4129,6 @@ public Builder setMods( return this; } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4596,15 +4149,14 @@ public Builder addMods(com.google.spanner.executor.v1.DataChangeRecord.Mod value return this; } /** - * - * *
      * Changes made in the transaction.
      * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - public Builder addMods(int index, com.google.spanner.executor.v1.DataChangeRecord.Mod value) { + public Builder addMods( + int index, com.google.spanner.executor.v1.DataChangeRecord.Mod value) { if (modsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4618,8 +4170,6 @@ public Builder addMods(int index, com.google.spanner.executor.v1.DataChangeRecor return this; } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4638,8 +4188,6 @@ public Builder addMods( return this; } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4658,8 +4206,6 @@ public Builder addMods( return this; } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4670,7 +4216,8 @@ public Builder addAllMods( java.lang.Iterable values) { if (modsBuilder_ == null) { ensureModsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mods_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mods_); onChanged(); } else { modsBuilder_.addAllMessages(values); @@ -4678,8 +4225,6 @@ public Builder addAllMods( return this; } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4697,8 +4242,6 @@ public Builder clearMods() { return this; } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4716,20 +4259,17 @@ public Builder removeMods(int index) { return this; } /** - * - * *
      * Changes made in the transaction.
      * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - public com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder getModsBuilder(int index) { + public com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder getModsBuilder( + int index) { return getModsFieldBuilder().getBuilder(index); } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4739,22 +4279,19 @@ public com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder getModsBuilde public com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder getModsOrBuilder( int index) { if (modsBuilder_ == null) { - return mods_.get(index); - } else { + return mods_.get(index); } else { return modsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Changes made in the transaction.
      * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - public java.util.List - getModsOrBuilderList() { + public java.util.List + getModsOrBuilderList() { if (modsBuilder_ != null) { return modsBuilder_.getMessageOrBuilderList(); } else { @@ -4762,8 +4299,6 @@ public com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder getModsOrBui } } /** - * - * *
      * Changes made in the transaction.
      * 
@@ -4771,49 +4306,42 @@ public com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder getModsOrBui * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ public com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder addModsBuilder() { - return getModsFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.DataChangeRecord.Mod.getDefaultInstance()); + return getModsFieldBuilder().addBuilder( + com.google.spanner.executor.v1.DataChangeRecord.Mod.getDefaultInstance()); } /** - * - * *
      * Changes made in the transaction.
      * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - public com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder addModsBuilder(int index) { - return getModsFieldBuilder() - .addBuilder( - index, com.google.spanner.executor.v1.DataChangeRecord.Mod.getDefaultInstance()); + public com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder addModsBuilder( + int index) { + return getModsFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.DataChangeRecord.Mod.getDefaultInstance()); } /** - * - * *
      * Changes made in the transaction.
      * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - public java.util.List - getModsBuilderList() { + public java.util.List + getModsBuilderList() { return getModsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord.Mod, - com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder, - com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder> + com.google.spanner.executor.v1.DataChangeRecord.Mod, com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder, com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder> getModsFieldBuilder() { if (modsBuilder_ == null) { - modsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.DataChangeRecord.Mod, - com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder, - com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder>( - mods_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); + modsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.DataChangeRecord.Mod, com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder, com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder>( + mods_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); mods_ = null; } return modsBuilder_; @@ -4821,20 +4349,18 @@ public com.google.spanner.executor.v1.DataChangeRecord.Mod.Builder addModsBuilde private java.lang.Object modType_ = ""; /** - * - * *
      * Describes the type of change. One of INSERT, UPDATE or DELETE.
      * 
* * string mod_type = 8; - * * @return The modType. */ public java.lang.String getModType() { java.lang.Object ref = modType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); modType_ = s; return s; @@ -4843,21 +4369,20 @@ public java.lang.String getModType() { } } /** - * - * *
      * Describes the type of change. One of INSERT, UPDATE or DELETE.
      * 
* * string mod_type = 8; - * * @return The bytes for modType. */ - public com.google.protobuf.ByteString getModTypeBytes() { + public com.google.protobuf.ByteString + getModTypeBytes() { java.lang.Object ref = modType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); modType_ = b; return b; } else { @@ -4865,35 +4390,28 @@ public com.google.protobuf.ByteString getModTypeBytes() { } } /** - * - * *
      * Describes the type of change. One of INSERT, UPDATE or DELETE.
      * 
* * string mod_type = 8; - * * @param value The modType to set. * @return This builder for chaining. */ - public Builder setModType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setModType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } modType_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Describes the type of change. One of INSERT, UPDATE or DELETE.
      * 
* * string mod_type = 8; - * * @return This builder for chaining. */ public Builder clearModType() { @@ -4903,21 +4421,17 @@ public Builder clearModType() { return this; } /** - * - * *
      * Describes the type of change. One of INSERT, UPDATE or DELETE.
      * 
* * string mod_type = 8; - * * @param value The bytes for modType to set. * @return This builder for chaining. */ - public Builder setModTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setModTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); modType_ = value; bitField0_ |= 0x00000080; @@ -4927,20 +4441,18 @@ public Builder setModTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object valueCaptureType_ = ""; /** - * - * *
      * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
      * 
* * string value_capture_type = 9; - * * @return The valueCaptureType. */ public java.lang.String getValueCaptureType() { java.lang.Object ref = valueCaptureType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); valueCaptureType_ = s; return s; @@ -4949,21 +4461,20 @@ public java.lang.String getValueCaptureType() { } } /** - * - * *
      * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
      * 
* * string value_capture_type = 9; - * * @return The bytes for valueCaptureType. */ - public com.google.protobuf.ByteString getValueCaptureTypeBytes() { + public com.google.protobuf.ByteString + getValueCaptureTypeBytes() { java.lang.Object ref = valueCaptureType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); valueCaptureType_ = b; return b; } else { @@ -4971,35 +4482,28 @@ public com.google.protobuf.ByteString getValueCaptureTypeBytes() { } } /** - * - * *
      * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
      * 
* * string value_capture_type = 9; - * * @param value The valueCaptureType to set. * @return This builder for chaining. */ - public Builder setValueCaptureType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueCaptureType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } valueCaptureType_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
      * 
* * string value_capture_type = 9; - * * @return This builder for chaining. */ public Builder clearValueCaptureType() { @@ -5009,21 +4513,17 @@ public Builder clearValueCaptureType() { return this; } /** - * - * *
      * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
      * 
* * string value_capture_type = 9; - * * @param value The bytes for valueCaptureType to set. * @return This builder for chaining. */ - public Builder setValueCaptureTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueCaptureTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueCaptureType_ = value; bitField0_ |= 0x00000100; @@ -5031,16 +4531,13 @@ public Builder setValueCaptureTypeBytes(com.google.protobuf.ByteString value) { return this; } - private long recordCount_; + private long recordCount_ ; /** - * - * *
      * Number of records in transactions.
      * 
* * int64 record_count = 10; - * * @return The recordCount. */ @java.lang.Override @@ -5048,14 +4545,11 @@ public long getRecordCount() { return recordCount_; } /** - * - * *
      * Number of records in transactions.
      * 
* * int64 record_count = 10; - * * @param value The recordCount to set. * @return This builder for chaining. */ @@ -5067,14 +4561,11 @@ public Builder setRecordCount(long value) { return this; } /** - * - * *
      * Number of records in transactions.
      * 
* * int64 record_count = 10; - * * @return This builder for chaining. */ public Builder clearRecordCount() { @@ -5084,16 +4575,13 @@ public Builder clearRecordCount() { return this; } - private long partitionCount_; + private long partitionCount_ ; /** - * - * *
      * Number of partitions in transactions.
      * 
* * int64 partition_count = 11; - * * @return The partitionCount. */ @java.lang.Override @@ -5101,14 +4589,11 @@ public long getPartitionCount() { return partitionCount_; } /** - * - * *
      * Number of partitions in transactions.
      * 
* * int64 partition_count = 11; - * * @param value The partitionCount to set. * @return This builder for chaining. */ @@ -5120,14 +4605,11 @@ public Builder setPartitionCount(long value) { return this; } /** - * - * *
      * Number of partitions in transactions.
      * 
* * int64 partition_count = 11; - * * @return This builder for chaining. */ public Builder clearPartitionCount() { @@ -5139,20 +4621,18 @@ public Builder clearPartitionCount() { private java.lang.Object transactionTag_ = ""; /** - * - * *
      * Transaction tag info.
      * 
* * string transaction_tag = 12; - * * @return The transactionTag. */ public java.lang.String getTransactionTag() { java.lang.Object ref = transactionTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; @@ -5161,21 +4641,20 @@ public java.lang.String getTransactionTag() { } } /** - * - * *
      * Transaction tag info.
      * 
* * string transaction_tag = 12; - * * @return The bytes for transactionTag. */ - public com.google.protobuf.ByteString getTransactionTagBytes() { + public com.google.protobuf.ByteString + getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -5183,35 +4662,28 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { } } /** - * - * *
      * Transaction tag info.
      * 
* * string transaction_tag = 12; - * * @param value The transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } transactionTag_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Transaction tag info.
      * 
* * string transaction_tag = 12; - * * @return This builder for chaining. */ public Builder clearTransactionTag() { @@ -5221,21 +4693,17 @@ public Builder clearTransactionTag() { return this; } /** - * - * *
      * Transaction tag info.
      * 
* * string transaction_tag = 12; - * * @param value The bytes for transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionTag_ = value; bitField0_ |= 0x00000800; @@ -5243,16 +4711,13 @@ public Builder setTransactionTagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean isSystemTransaction_; + private boolean isSystemTransaction_ ; /** - * - * *
      * Whether the transaction is a system transactionn.
      * 
* * bool is_system_transaction = 13; - * * @return The isSystemTransaction. */ @java.lang.Override @@ -5260,14 +4725,11 @@ public boolean getIsSystemTransaction() { return isSystemTransaction_; } /** - * - * *
      * Whether the transaction is a system transactionn.
      * 
* * bool is_system_transaction = 13; - * * @param value The isSystemTransaction to set. * @return This builder for chaining. */ @@ -5279,14 +4741,11 @@ public Builder setIsSystemTransaction(boolean value) { return this; } /** - * - * *
      * Whether the transaction is a system transactionn.
      * 
* * bool is_system_transaction = 13; - * * @return This builder for chaining. */ public Builder clearIsSystemTransaction() { @@ -5295,9 +4754,9 @@ public Builder clearIsSystemTransaction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5307,12 +4766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DataChangeRecord) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DataChangeRecord) private static final com.google.spanner.executor.v1.DataChangeRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DataChangeRecord(); } @@ -5321,27 +4780,27 @@ public static com.google.spanner.executor.v1.DataChangeRecord getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataChangeRecord 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataChangeRecord 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; @@ -5356,4 +4815,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.DataChangeRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecordOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecordOrBuilder.java similarity index 81% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecordOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecordOrBuilder.java index 19a708c546d..3cdf2b77171 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecordOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DataChangeRecordOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface DataChangeRecordOrBuilder - extends +public interface DataChangeRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DataChangeRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The timestamp in which the change was committed.
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** - * - * *
    * The timestamp in which the change was committed.
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** - * - * *
    * The timestamp in which the change was committed.
    * 
@@ -60,109 +36,88 @@ public interface DataChangeRecordOrBuilder com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder(); /** - * - * *
    * The sequence number for the record within the transaction.
    * 
* * string record_sequence = 2; - * * @return The recordSequence. */ java.lang.String getRecordSequence(); /** - * - * *
    * The sequence number for the record within the transaction.
    * 
* * string record_sequence = 2; - * * @return The bytes for recordSequence. */ - com.google.protobuf.ByteString getRecordSequenceBytes(); + com.google.protobuf.ByteString + getRecordSequenceBytes(); /** - * - * *
    * A globally unique string that represents the transaction in which the
    * change was committed.
    * 
* * string transaction_id = 3; - * * @return The transactionId. */ java.lang.String getTransactionId(); /** - * - * *
    * A globally unique string that represents the transaction in which the
    * change was committed.
    * 
* * string transaction_id = 3; - * * @return The bytes for transactionId. */ - com.google.protobuf.ByteString getTransactionIdBytes(); + com.google.protobuf.ByteString + getTransactionIdBytes(); /** - * - * *
    * Indicates whether this is the last record for a transaction in the current
    * partition.
    * 
* * bool is_last_record = 4; - * * @return The isLastRecord. */ boolean getIsLastRecord(); /** - * - * *
    * Name of the table affected by the change.
    * 
* * string table = 5; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Name of the table affected by the change.
    * 
* * string table = 5; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * Column types defined in the schema.
    * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - java.util.List getColumnTypesList(); + java.util.List + getColumnTypesList(); /** - * - * *
    * Column types defined in the schema.
    * 
@@ -171,8 +126,6 @@ public interface DataChangeRecordOrBuilder */ com.google.spanner.executor.v1.DataChangeRecord.ColumnType getColumnTypes(int index); /** - * - * *
    * Column types defined in the schema.
    * 
@@ -181,19 +134,15 @@ public interface DataChangeRecordOrBuilder */ int getColumnTypesCount(); /** - * - * *
    * Column types defined in the schema.
    * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6; */ - java.util.List + java.util.List getColumnTypesOrBuilderList(); /** - * - * *
    * Column types defined in the schema.
    * 
@@ -204,18 +153,15 @@ com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder getColumnTyp int index); /** - * - * *
    * Changes made in the transaction.
    * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - java.util.List getModsList(); + java.util.List + getModsList(); /** - * - * *
    * Changes made in the transaction.
    * 
@@ -224,8 +170,6 @@ com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder getColumnTyp */ com.google.spanner.executor.v1.DataChangeRecord.Mod getMods(int index); /** - * - * *
    * Changes made in the transaction.
    * 
@@ -234,137 +178,110 @@ com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder getColumnTyp */ int getModsCount(); /** - * - * *
    * Changes made in the transaction.
    * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - java.util.List + java.util.List getModsOrBuilderList(); /** - * - * *
    * Changes made in the transaction.
    * 
* * repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7; */ - com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder getModsOrBuilder(int index); + com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder getModsOrBuilder( + int index); /** - * - * *
    * Describes the type of change. One of INSERT, UPDATE or DELETE.
    * 
* * string mod_type = 8; - * * @return The modType. */ java.lang.String getModType(); /** - * - * *
    * Describes the type of change. One of INSERT, UPDATE or DELETE.
    * 
* * string mod_type = 8; - * * @return The bytes for modType. */ - com.google.protobuf.ByteString getModTypeBytes(); + com.google.protobuf.ByteString + getModTypeBytes(); /** - * - * *
    * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
    * 
* * string value_capture_type = 9; - * * @return The valueCaptureType. */ java.lang.String getValueCaptureType(); /** - * - * *
    * One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
    * 
* * string value_capture_type = 9; - * * @return The bytes for valueCaptureType. */ - com.google.protobuf.ByteString getValueCaptureTypeBytes(); + com.google.protobuf.ByteString + getValueCaptureTypeBytes(); /** - * - * *
    * Number of records in transactions.
    * 
* * int64 record_count = 10; - * * @return The recordCount. */ long getRecordCount(); /** - * - * *
    * Number of partitions in transactions.
    * 
* * int64 partition_count = 11; - * * @return The partitionCount. */ long getPartitionCount(); /** - * - * *
    * Transaction tag info.
    * 
* * string transaction_tag = 12; - * * @return The transactionTag. */ java.lang.String getTransactionTag(); /** - * - * *
    * Transaction tag info.
    * 
* * string transaction_tag = 12; - * * @return The bytes for transactionTag. */ - com.google.protobuf.ByteString getTransactionTagBytes(); + com.google.protobuf.ByteString + getTransactionTagBytes(); /** - * - * *
    * Whether the transaction is a system transactionn.
    * 
* * bool is_system_transaction = 13; - * * @return The isSystemTransaction. */ boolean getIsSystemTransaction(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupAction.java index dd91b01e387..611d86bf251 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that deletes a Cloud Spanner database backup.
  * 
* * Protobuf type {@code google.spanner.executor.v1.DeleteCloudBackupAction} */ -public final class DeleteCloudBackupAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCloudBackupAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DeleteCloudBackupAction) DeleteCloudBackupActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCloudBackupAction.newBuilder() to construct. private DeleteCloudBackupAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCloudBackupAction() { projectId_ = ""; instanceId_ = ""; @@ -46,38 +28,33 @@ private DeleteCloudBackupAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCloudBackupAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DeleteCloudBackupAction.class, - com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.DeleteCloudBackupAction.class, com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -168,18 +141,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * The id of the backup to delete, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ @java.lang.Override @@ -188,29 +157,29 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * The id of the backup to delete, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -219,7 +188,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -267,17 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DeleteCloudBackupAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.DeleteCloudBackupAction other = - (com.google.spanner.executor.v1.DeleteCloudBackupAction) obj; + com.google.spanner.executor.v1.DeleteCloudBackupAction other = (com.google.spanner.executor.v1.DeleteCloudBackupAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,136 +272,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DeleteCloudBackupAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.DeleteCloudBackupAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.DeleteCloudBackupAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that deletes a Cloud Spanner database backup.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DeleteCloudBackupAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DeleteCloudBackupAction) com.google.spanner.executor.v1.DeleteCloudBackupActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DeleteCloudBackupAction.class, - com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.DeleteCloudBackupAction.class, com.google.spanner.executor.v1.DeleteCloudBackupAction.Builder.class); } // Construct using com.google.spanner.executor.v1.DeleteCloudBackupAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; } @java.lang.Override @@ -463,11 +429,8 @@ public com.google.spanner.executor.v1.DeleteCloudBackupAction build() { @java.lang.Override public com.google.spanner.executor.v1.DeleteCloudBackupAction buildPartial() { - com.google.spanner.executor.v1.DeleteCloudBackupAction result = - new com.google.spanner.executor.v1.DeleteCloudBackupAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.DeleteCloudBackupAction result = new com.google.spanner.executor.v1.DeleteCloudBackupAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -489,39 +452,38 @@ private void buildPartial0(com.google.spanner.executor.v1.DeleteCloudBackupActio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DeleteCloudBackupAction) { - return mergeFrom((com.google.spanner.executor.v1.DeleteCloudBackupAction) other); + return mergeFrom((com.google.spanner.executor.v1.DeleteCloudBackupAction)other); } else { super.mergeFrom(other); return this; @@ -529,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.DeleteCloudBackupAction other) { - if (other == com.google.spanner.executor.v1.DeleteCloudBackupAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.DeleteCloudBackupAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -572,31 +533,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -606,25 +563,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -633,21 +587,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -655,35 +608,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -693,21 +639,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -717,20 +659,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -739,21 +679,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -761,35 +700,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -799,21 +731,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -823,20 +751,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * The id of the backup to delete, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -845,21 +771,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * The id of the backup to delete, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -867,35 +792,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * The id of the backup to delete, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the backup to delete, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -905,30 +823,26 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * The id of the backup to delete, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -938,12 +852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DeleteCloudBackupAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DeleteCloudBackupAction) private static final com.google.spanner.executor.v1.DeleteCloudBackupAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DeleteCloudBackupAction(); } @@ -952,27 +866,27 @@ public static com.google.spanner.executor.v1.DeleteCloudBackupAction getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCloudBackupAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCloudBackupAction 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; @@ -987,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.DeleteCloudBackupAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupActionOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupActionOrBuilder.java index 0fe780e81c3..5bf5ab5469e 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudBackupActionOrBuilder.java @@ -1,101 +1,70 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface DeleteCloudBackupActionOrBuilder - extends +public interface DeleteCloudBackupActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DeleteCloudBackupAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * The id of the backup to delete, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * The id of the backup to delete, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceAction.java similarity index 67% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceAction.java index b51b285e469..614ddda6063 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that deletes a Cloud Spanner instance.
  * 
* * Protobuf type {@code google.spanner.executor.v1.DeleteCloudInstanceAction} */ -public final class DeleteCloudInstanceAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCloudInstanceAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DeleteCloudInstanceAction) DeleteCloudInstanceActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCloudInstanceAction.newBuilder() to construct. private DeleteCloudInstanceAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCloudInstanceAction() { instanceId_ = ""; projectId_ = ""; @@ -45,38 +27,33 @@ private DeleteCloudInstanceAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCloudInstanceAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DeleteCloudInstanceAction.class, - com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.DeleteCloudInstanceAction.class, com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } @@ -209,16 +182,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DeleteCloudInstanceAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.DeleteCloudInstanceAction other = - (com.google.spanner.executor.v1.DeleteCloudInstanceAction) obj; + com.google.spanner.executor.v1.DeleteCloudInstanceAction other = (com.google.spanner.executor.v1.DeleteCloudInstanceAction) obj; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,136 +214,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DeleteCloudInstanceAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.DeleteCloudInstanceAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.DeleteCloudInstanceAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that deletes a Cloud Spanner instance.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DeleteCloudInstanceAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DeleteCloudInstanceAction) com.google.spanner.executor.v1.DeleteCloudInstanceActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DeleteCloudInstanceAction.class, - com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.DeleteCloudInstanceAction.class, com.google.spanner.executor.v1.DeleteCloudInstanceAction.Builder.class); } // Construct using com.google.spanner.executor.v1.DeleteCloudInstanceAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; } @java.lang.Override @@ -401,11 +370,8 @@ public com.google.spanner.executor.v1.DeleteCloudInstanceAction build() { @java.lang.Override public com.google.spanner.executor.v1.DeleteCloudInstanceAction buildPartial() { - com.google.spanner.executor.v1.DeleteCloudInstanceAction result = - new com.google.spanner.executor.v1.DeleteCloudInstanceAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.DeleteCloudInstanceAction result = new com.google.spanner.executor.v1.DeleteCloudInstanceAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -424,39 +390,38 @@ private void buildPartial0(com.google.spanner.executor.v1.DeleteCloudInstanceAct public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DeleteCloudInstanceAction) { - return mergeFrom((com.google.spanner.executor.v1.DeleteCloudInstanceAction) other); + return mergeFrom((com.google.spanner.executor.v1.DeleteCloudInstanceAction)other); } else { super.mergeFrom(other); return this; @@ -464,8 +429,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.DeleteCloudInstanceAction other) { - if (other == com.google.spanner.executor.v1.DeleteCloudInstanceAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.DeleteCloudInstanceAction.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -502,25 +466,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = 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) { @@ -530,25 +491,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -557,21 +515,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -579,35 +536,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -617,21 +567,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -641,20 +587,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -663,21 +607,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -685,35 +628,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -723,30 +659,26 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +688,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DeleteCloudInstanceAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DeleteCloudInstanceAction) private static final com.google.spanner.executor.v1.DeleteCloudInstanceAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DeleteCloudInstanceAction(); } @@ -770,27 +702,27 @@ public static com.google.spanner.executor.v1.DeleteCloudInstanceAction getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCloudInstanceAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCloudInstanceAction 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; @@ -805,4 +737,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.executor.v1.DeleteCloudInstanceAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceActionOrBuilder.java similarity index 56% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceActionOrBuilder.java index 51e0037165a..6a79a37bbca 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteCloudInstanceActionOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface DeleteCloudInstanceActionOrBuilder - extends +public interface DeleteCloudInstanceActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DeleteCloudInstanceAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigAction.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigAction.java index e25dc61e7e0..8d03f707fb6 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,25 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that deletes a user instance configs.
  * 
* * Protobuf type {@code google.spanner.executor.v1.DeleteUserInstanceConfigAction} */ -public final class DeleteUserInstanceConfigAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUserInstanceConfigAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DeleteUserInstanceConfigAction) DeleteUserInstanceConfigActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUserInstanceConfigAction.newBuilder() to construct. - private DeleteUserInstanceConfigAction( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteUserInstanceConfigAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUserInstanceConfigAction() { userConfigId_ = ""; projectId_ = ""; @@ -46,38 +27,33 @@ private DeleteUserInstanceConfigAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUserInstanceConfigAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.class, - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.class, com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder.class); } public static final int USER_CONFIG_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object userConfigId_ = ""; /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The userConfigId. */ @java.lang.Override @@ -86,29 +62,29 @@ public java.lang.String getUserConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userConfigId_ = s; return s; } } /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserConfigIdBytes() { + public com.google.protobuf.ByteString + getUserConfigIdBytes() { java.lang.Object ref = userConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userConfigId_ = b; return b; } else { @@ -117,18 +93,14 @@ public com.google.protobuf.ByteString getUserConfigIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -137,29 +109,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userConfigId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userConfigId_); } @@ -210,16 +182,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DeleteUserInstanceConfigAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction other = - (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) obj; + com.google.spanner.executor.v1.DeleteUserInstanceConfigAction other = (com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) obj; - if (!getUserConfigId().equals(other.getUserConfigId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getUserConfigId() + .equals(other.getUserConfigId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,136 +214,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.DeleteUserInstanceConfigAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that deletes a user instance configs.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DeleteUserInstanceConfigAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DeleteUserInstanceConfigAction) com.google.spanner.executor.v1.DeleteUserInstanceConfigActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.class, - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.class, com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.Builder.class); } // Construct using com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -381,14 +349,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction getDefaultInstanceForType() { return com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance(); } @@ -403,17 +370,13 @@ public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction build() { @java.lang.Override public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction buildPartial() { - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction result = - new com.google.spanner.executor.v1.DeleteUserInstanceConfigAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.DeleteUserInstanceConfigAction result = new com.google.spanner.executor.v1.DeleteUserInstanceConfigAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.DeleteUserInstanceConfigAction result) { + private void buildPartial0(com.google.spanner.executor.v1.DeleteUserInstanceConfigAction result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.userConfigId_ = userConfigId_; @@ -427,39 +390,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) { - return mergeFrom((com.google.spanner.executor.v1.DeleteUserInstanceConfigAction) other); + return mergeFrom((com.google.spanner.executor.v1.DeleteUserInstanceConfigAction)other); } else { super.mergeFrom(other); return this; @@ -467,9 +429,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.DeleteUserInstanceConfigAction other) { - if (other - == com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.DeleteUserInstanceConfigAction.getDefaultInstance()) return this; if (!other.getUserConfigId().isEmpty()) { userConfigId_ = other.userConfigId_; bitField0_ |= 0x00000001; @@ -506,25 +466,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - userConfigId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + userConfigId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = 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) { @@ -534,25 +491,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object userConfigId_ = ""; /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return The userConfigId. */ public java.lang.String getUserConfigId() { java.lang.Object ref = userConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userConfigId_ = s; return s; @@ -561,21 +515,20 @@ public java.lang.String getUserConfigId() { } } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ - public com.google.protobuf.ByteString getUserConfigIdBytes() { + public com.google.protobuf.ByteString + getUserConfigIdBytes() { java.lang.Object ref = userConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userConfigId_ = b; return b; } else { @@ -583,35 +536,28 @@ public com.google.protobuf.ByteString getUserConfigIdBytes() { } } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @param value The userConfigId to set. * @return This builder for chaining. */ - public Builder setUserConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userConfigId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return This builder for chaining. */ public Builder clearUserConfigId() { @@ -621,21 +567,17 @@ public Builder clearUserConfigId() { return this; } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @param value The bytes for userConfigId to set. * @return This builder for chaining. */ - public Builder setUserConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userConfigId_ = value; bitField0_ |= 0x00000001; @@ -645,20 +587,18 @@ public Builder setUserConfigIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -667,21 +607,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -689,35 +628,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -727,30 +659,26 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -760,13 +688,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DeleteUserInstanceConfigAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DeleteUserInstanceConfigAction) - private static final com.google.spanner.executor.v1.DeleteUserInstanceConfigAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.DeleteUserInstanceConfigAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DeleteUserInstanceConfigAction(); } @@ -775,27 +702,27 @@ public static com.google.spanner.executor.v1.DeleteUserInstanceConfigAction getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserInstanceConfigAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserInstanceConfigAction 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; @@ -810,4 +737,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.spanner.executor.v1.DeleteUserInstanceConfigAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigActionOrBuilder.java similarity index 57% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigActionOrBuilder.java index 0af0ab956bb..c6c01e7177e 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DeleteUserInstanceConfigActionOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface DeleteUserInstanceConfigActionOrBuilder - extends +public interface DeleteUserInstanceConfigActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DeleteUserInstanceConfigAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The userConfigId. */ java.lang.String getUserConfigId(); /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ - com.google.protobuf.ByteString getUserConfigIdBytes(); + com.google.protobuf.ByteString + getUserConfigIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlAction.java index 08a3f01ad48..76917bd6df9 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,59 +5,53 @@ package com.google.spanner.executor.v1; /** - * - * *
  * A single DML statement.
  * 
* * Protobuf type {@code google.spanner.executor.v1.DmlAction} */ -public final class DmlAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DmlAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DmlAction) DmlActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DmlAction.newBuilder() to construct. private DmlAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DmlAction() {} + private DmlAction() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DmlAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DmlAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DmlAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DmlAction.class, - com.google.spanner.executor.v1.DmlAction.Builder.class); + com.google.spanner.executor.v1.DmlAction.class, com.google.spanner.executor.v1.DmlAction.Builder.class); } private int bitField0_; public static final int UPDATE_FIELD_NUMBER = 1; private com.google.spanner.executor.v1.QueryAction update_; /** - * - * *
    * DML statement.
    * 
* * .google.spanner.executor.v1.QueryAction update = 1; - * * @return Whether the update field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasUpdate() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * DML statement.
    * 
* * .google.spanner.executor.v1.QueryAction update = 1; - * * @return The update. */ @java.lang.Override public com.google.spanner.executor.v1.QueryAction getUpdate() { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } /** - * - * *
    * DML statement.
    * 
@@ -107,23 +79,18 @@ public com.google.spanner.executor.v1.QueryAction getUpdate() { */ @java.lang.Override public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdateOrBuilder() { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } public static final int AUTOCOMMIT_IF_SUPPORTED_FIELD_NUMBER = 2; private boolean autocommitIfSupported_ = false; /** - * - * *
    * Whether to autocommit the transaction after executing the DML statement,
    * if the Executor supports autocommit.
    * 
* * optional bool autocommit_if_supported = 2; - * * @return Whether the autocommitIfSupported field is set. */ @java.lang.Override @@ -131,15 +98,12 @@ public boolean hasAutocommitIfSupported() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Whether to autocommit the transaction after executing the DML statement,
    * if the Executor supports autocommit.
    * 
* * optional bool autocommit_if_supported = 2; - * * @return The autocommitIfSupported. */ @java.lang.Override @@ -148,7 +112,6 @@ public boolean getAutocommitIfSupported() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,7 +123,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpdate()); } @@ -177,10 +141,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdate()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, autocommitIfSupported_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, autocommitIfSupported_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -190,7 +156,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DmlAction)) { return super.equals(obj); @@ -199,11 +165,13 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; } if (hasAutocommitIfSupported() != other.hasAutocommitIfSupported()) return false; if (hasAutocommitIfSupported()) { - if (getAutocommitIfSupported() != other.getAutocommitIfSupported()) return false; + if (getAutocommitIfSupported() + != other.getAutocommitIfSupported()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,134 +190,128 @@ public int hashCode() { } if (hasAutocommitIfSupported()) { hash = (37 * hash) + AUTOCOMMIT_IF_SUPPORTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutocommitIfSupported()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutocommitIfSupported()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.executor.v1.DmlAction parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.DmlAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DmlAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DmlAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DmlAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DmlAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DmlAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DmlAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DmlAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DmlAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DmlAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DmlAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DmlAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DmlAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.DmlAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single DML statement.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DmlAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DmlAction) com.google.spanner.executor.v1.DmlActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DmlAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DmlAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DmlAction.class, - com.google.spanner.executor.v1.DmlAction.Builder.class); + com.google.spanner.executor.v1.DmlAction.class, com.google.spanner.executor.v1.DmlAction.Builder.class); } // Construct using com.google.spanner.executor.v1.DmlAction.newBuilder() @@ -357,17 +319,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUpdateFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +344,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DmlAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DmlAction_descriptor; } @java.lang.Override @@ -403,11 +365,8 @@ public com.google.spanner.executor.v1.DmlAction build() { @java.lang.Override public com.google.spanner.executor.v1.DmlAction buildPartial() { - com.google.spanner.executor.v1.DmlAction result = - new com.google.spanner.executor.v1.DmlAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.DmlAction result = new com.google.spanner.executor.v1.DmlAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -416,7 +375,9 @@ private void buildPartial0(com.google.spanner.executor.v1.DmlAction result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.update_ = updateBuilder_ == null ? update_ : updateBuilder_.build(); + result.update_ = updateBuilder_ == null + ? update_ + : updateBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -430,39 +391,38 @@ private void buildPartial0(com.google.spanner.executor.v1.DmlAction result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DmlAction) { - return mergeFrom((com.google.spanner.executor.v1.DmlAction) other); + return mergeFrom((com.google.spanner.executor.v1.DmlAction)other); } else { super.mergeFrom(other); return this; @@ -503,25 +463,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - autocommitIfSupported_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + autocommitIfSupported_ = 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) { @@ -531,52 +490,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.spanner.executor.v1.QueryAction update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> - updateBuilder_; + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> updateBuilder_; /** - * - * *
      * DML statement.
      * 
* * .google.spanner.executor.v1.QueryAction update = 1; - * * @return Whether the update field is set. */ public boolean hasUpdate() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * DML statement.
      * 
* * .google.spanner.executor.v1.QueryAction update = 1; - * * @return The update. */ public com.google.spanner.executor.v1.QueryAction getUpdate() { if (updateBuilder_ == null) { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } else { return updateBuilder_.getMessage(); } } /** - * - * *
      * DML statement.
      * 
@@ -597,15 +542,14 @@ public Builder setUpdate(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * DML statement.
      * 
* * .google.spanner.executor.v1.QueryAction update = 1; */ - public Builder setUpdate(com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { + public Builder setUpdate( + com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); } else { @@ -616,8 +560,6 @@ public Builder setUpdate(com.google.spanner.executor.v1.QueryAction.Builder buil return this; } /** - * - * *
      * DML statement.
      * 
@@ -626,9 +568,9 @@ public Builder setUpdate(com.google.spanner.executor.v1.QueryAction.Builder buil */ public Builder mergeUpdate(com.google.spanner.executor.v1.QueryAction value) { if (updateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && update_ != null - && update_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + update_ != null && + update_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { getUpdateBuilder().mergeFrom(value); } else { update_ = value; @@ -643,8 +585,6 @@ public Builder mergeUpdate(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * DML statement.
      * 
@@ -662,8 +602,6 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * DML statement.
      * 
@@ -676,8 +614,6 @@ public com.google.spanner.executor.v1.QueryAction.Builder getUpdateBuilder() { return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * DML statement.
      * 
@@ -688,14 +624,11 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdateOrBuilder() if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? + com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } } /** - * - * *
      * DML statement.
      * 
@@ -703,33 +636,27 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdateOrBuilder() * .google.spanner.executor.v1.QueryAction update = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder>( - getUpdate(), getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder>( + getUpdate(), + getParentForChildren(), + isClean()); update_ = null; } return updateBuilder_; } - private boolean autocommitIfSupported_; + private boolean autocommitIfSupported_ ; /** - * - * *
      * Whether to autocommit the transaction after executing the DML statement,
      * if the Executor supports autocommit.
      * 
* * optional bool autocommit_if_supported = 2; - * * @return Whether the autocommitIfSupported field is set. */ @java.lang.Override @@ -737,15 +664,12 @@ public boolean hasAutocommitIfSupported() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Whether to autocommit the transaction after executing the DML statement,
      * if the Executor supports autocommit.
      * 
* * optional bool autocommit_if_supported = 2; - * * @return The autocommitIfSupported. */ @java.lang.Override @@ -753,15 +677,12 @@ public boolean getAutocommitIfSupported() { return autocommitIfSupported_; } /** - * - * *
      * Whether to autocommit the transaction after executing the DML statement,
      * if the Executor supports autocommit.
      * 
* * optional bool autocommit_if_supported = 2; - * * @param value The autocommitIfSupported to set. * @return This builder for chaining. */ @@ -773,15 +694,12 @@ public Builder setAutocommitIfSupported(boolean value) { return this; } /** - * - * *
      * Whether to autocommit the transaction after executing the DML statement,
      * if the Executor supports autocommit.
      * 
* * optional bool autocommit_if_supported = 2; - * * @return This builder for chaining. */ public Builder clearAutocommitIfSupported() { @@ -790,9 +708,9 @@ public Builder clearAutocommitIfSupported() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,12 +720,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DmlAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DmlAction) private static final com.google.spanner.executor.v1.DmlAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DmlAction(); } @@ -816,27 +734,27 @@ public static com.google.spanner.executor.v1.DmlAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DmlAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DmlAction 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; @@ -851,4 +769,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.DmlAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlActionOrBuilder.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlActionOrBuilder.java index 33198f0591d..f6cf23c60fd 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DmlActionOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface DmlActionOrBuilder - extends +public interface DmlActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DmlAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DML statement.
    * 
* * .google.spanner.executor.v1.QueryAction update = 1; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * DML statement.
    * 
* * .google.spanner.executor.v1.QueryAction update = 1; - * * @return The update. */ com.google.spanner.executor.v1.QueryAction getUpdate(); /** - * - * *
    * DML statement.
    * 
@@ -60,28 +36,22 @@ public interface DmlActionOrBuilder com.google.spanner.executor.v1.QueryActionOrBuilder getUpdateOrBuilder(); /** - * - * *
    * Whether to autocommit the transaction after executing the DML statement,
    * if the Executor supports autocommit.
    * 
* * optional bool autocommit_if_supported = 2; - * * @return Whether the autocommitIfSupported field is set. */ boolean hasAutocommitIfSupported(); /** - * - * *
    * Whether to autocommit the transaction after executing the DML statement,
    * if the Executor supports autocommit.
    * 
* * optional bool autocommit_if_supported = 2; - * * @return The autocommitIfSupported. */ boolean getAutocommitIfSupported(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseAction.java index 6b52ea3f0ac..6ca4de71357 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that drops a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.executor.v1.DropCloudDatabaseAction} */ -public final class DropCloudDatabaseAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DropCloudDatabaseAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.DropCloudDatabaseAction) DropCloudDatabaseActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DropCloudDatabaseAction.newBuilder() to construct. private DropCloudDatabaseAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DropCloudDatabaseAction() { instanceId_ = ""; projectId_ = ""; @@ -46,38 +28,33 @@ private DropCloudDatabaseAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DropCloudDatabaseAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DropCloudDatabaseAction.class, - com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.DropCloudDatabaseAction.class, com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -168,18 +141,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ @java.lang.Override @@ -188,29 +157,29 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -219,7 +188,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } @@ -267,17 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.DropCloudDatabaseAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.DropCloudDatabaseAction other = - (com.google.spanner.executor.v1.DropCloudDatabaseAction) obj; + com.google.spanner.executor.v1.DropCloudDatabaseAction other = (com.google.spanner.executor.v1.DropCloudDatabaseAction) obj; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,136 +272,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.DropCloudDatabaseAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.DropCloudDatabaseAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.DropCloudDatabaseAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that drops a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.executor.v1.DropCloudDatabaseAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.DropCloudDatabaseAction) com.google.spanner.executor.v1.DropCloudDatabaseActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.DropCloudDatabaseAction.class, - com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.DropCloudDatabaseAction.class, com.google.spanner.executor.v1.DropCloudDatabaseAction.Builder.class); } // Construct using com.google.spanner.executor.v1.DropCloudDatabaseAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; } @java.lang.Override @@ -463,11 +429,8 @@ public com.google.spanner.executor.v1.DropCloudDatabaseAction build() { @java.lang.Override public com.google.spanner.executor.v1.DropCloudDatabaseAction buildPartial() { - com.google.spanner.executor.v1.DropCloudDatabaseAction result = - new com.google.spanner.executor.v1.DropCloudDatabaseAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.DropCloudDatabaseAction result = new com.google.spanner.executor.v1.DropCloudDatabaseAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -489,39 +452,38 @@ private void buildPartial0(com.google.spanner.executor.v1.DropCloudDatabaseActio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.DropCloudDatabaseAction) { - return mergeFrom((com.google.spanner.executor.v1.DropCloudDatabaseAction) other); + return mergeFrom((com.google.spanner.executor.v1.DropCloudDatabaseAction)other); } else { super.mergeFrom(other); return this; @@ -529,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.DropCloudDatabaseAction other) { - if (other == com.google.spanner.executor.v1.DropCloudDatabaseAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.DropCloudDatabaseAction.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -572,31 +533,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -606,25 +563,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -633,21 +587,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -655,35 +608,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -693,21 +639,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -717,20 +659,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -739,21 +679,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -761,35 +700,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -799,21 +731,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -823,20 +751,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -845,21 +771,20 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -867,35 +792,28 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -905,30 +823,26 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -938,12 +852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.DropCloudDatabaseAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.DropCloudDatabaseAction) private static final com.google.spanner.executor.v1.DropCloudDatabaseAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.DropCloudDatabaseAction(); } @@ -952,27 +866,27 @@ public static com.google.spanner.executor.v1.DropCloudDatabaseAction getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropCloudDatabaseAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropCloudDatabaseAction 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; @@ -987,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.DropCloudDatabaseAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseActionOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseActionOrBuilder.java index 8c6e9055910..c0d2674be57 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/DropCloudDatabaseActionOrBuilder.java @@ -1,101 +1,70 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface DropCloudDatabaseActionOrBuilder - extends +public interface DropCloudDatabaseActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.DropCloudDatabaseAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQuery.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQuery.java similarity index 75% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQuery.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQuery.java index 079f9088dbd..7bb9c0bbf16 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQuery.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,66 +5,59 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Execute a change stream TVF query.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ExecuteChangeStreamQuery} */ -public final class ExecuteChangeStreamQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExecuteChangeStreamQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ExecuteChangeStreamQuery) ExecuteChangeStreamQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExecuteChangeStreamQuery.newBuilder() to construct. private ExecuteChangeStreamQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecuteChangeStreamQuery() { name_ = ""; partitionToken_ = ""; - readOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + readOptions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); cloudDatabaseRole_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecuteChangeStreamQuery(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.class, - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder.class); + com.google.spanner.executor.v1.ExecuteChangeStreamQuery.class, com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Name for this change stream.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name for this change stream.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,15 +99,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Specifies that records with commit_timestamp greater than or equal to
    * start_time should be returned.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -137,15 +112,12 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Specifies that records with commit_timestamp greater than or equal to
    * start_time should be returned.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -153,8 +125,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Specifies that records with commit_timestamp greater than or equal to
    * start_time should be returned.
@@ -170,15 +140,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * Specifies that records with commit_timestamp less than or equal to
    * end_time should be returned.
    * 
* * optional .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -186,15 +153,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Specifies that records with commit_timestamp less than or equal to
    * end_time should be returned.
    * 
* * optional .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -202,8 +166,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Specifies that records with commit_timestamp less than or equal to
    * end_time should be returned.
@@ -217,19 +179,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   public static final int PARTITION_TOKEN_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object partitionToken_ = "";
   /**
-   *
-   *
    * 
    * Specifies which change stream partition to query, based on the content of
    * child partitions records.
    * 
* * optional string partition_token = 4; - * * @return Whether the partitionToken field is set. */ @java.lang.Override @@ -237,15 +195,12 @@ public boolean hasPartitionToken() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Specifies which change stream partition to query, based on the content of
    * child partitions records.
    * 
* * optional string partition_token = 4; - * * @return The partitionToken. */ @java.lang.Override @@ -254,30 +209,30 @@ public java.lang.String getPartitionToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionToken_ = s; return s; } } /** - * - * *
    * Specifies which change stream partition to query, based on the content of
    * child partitions records.
    * 
* * optional string partition_token = 4; - * * @return The bytes for partitionToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPartitionTokenBytes() { + public com.google.protobuf.ByteString + getPartitionTokenBytes() { java.lang.Object ref = partitionToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); partitionToken_ = b; return b; } else { @@ -286,47 +241,38 @@ public com.google.protobuf.ByteString getPartitionTokenBytes() { } public static final int READ_OPTIONS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList readOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @return A list containing the readOptions. */ - public com.google.protobuf.ProtocolStringList getReadOptionsList() { + public com.google.protobuf.ProtocolStringList + getReadOptionsList() { return readOptions_; } /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @return The count of readOptions. */ public int getReadOptionsCount() { return readOptions_.size(); } /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @param index The index of the element to return. * @return The readOptions at the given index. */ @@ -334,33 +280,28 @@ public java.lang.String getReadOptions(int index) { return readOptions_.get(index); } /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @param index The index of the value to return. * @return The bytes of the readOptions at the given index. */ - public com.google.protobuf.ByteString getReadOptionsBytes(int index) { + public com.google.protobuf.ByteString + getReadOptionsBytes(int index) { return readOptions_.getByteString(index); } public static final int HEARTBEAT_MILLISECONDS_FIELD_NUMBER = 6; private int heartbeatMilliseconds_ = 0; /** - * - * *
    * Determines how frequently a heartbeat ChangeRecord will be returned in case
    * there are no transactions committed in this partition, in milliseconds.
    * 
* * optional int32 heartbeat_milliseconds = 6; - * * @return Whether the heartbeatMilliseconds field is set. */ @java.lang.Override @@ -368,15 +309,12 @@ public boolean hasHeartbeatMilliseconds() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Determines how frequently a heartbeat ChangeRecord will be returned in case
    * there are no transactions committed in this partition, in milliseconds.
    * 
* * optional int32 heartbeat_milliseconds = 6; - * * @return The heartbeatMilliseconds. */ @java.lang.Override @@ -387,14 +325,11 @@ public int getHeartbeatMilliseconds() { public static final int DEADLINE_SECONDS_FIELD_NUMBER = 7; private long deadlineSeconds_ = 0L; /** - * - * *
    * Deadline for this change stream query, in seconds.
    * 
* * optional int64 deadline_seconds = 7; - * * @return Whether the deadlineSeconds field is set. */ @java.lang.Override @@ -402,14 +337,11 @@ public boolean hasDeadlineSeconds() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Deadline for this change stream query, in seconds.
    * 
* * optional int64 deadline_seconds = 7; - * * @return The deadlineSeconds. */ @java.lang.Override @@ -418,12 +350,9 @@ public long getDeadlineSeconds() { } public static final int CLOUD_DATABASE_ROLE_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object cloudDatabaseRole_ = ""; /** - * - * *
    * Database role to assume while performing this action. This should only be
    * set for cloud requests. Setting the database role will enforce additional
@@ -431,7 +360,6 @@ public long getDeadlineSeconds() {
    * 
* * optional string cloud_database_role = 8; - * * @return Whether the cloudDatabaseRole field is set. */ @java.lang.Override @@ -439,8 +367,6 @@ public boolean hasCloudDatabaseRole() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
    * Database role to assume while performing this action. This should only be
    * set for cloud requests. Setting the database role will enforce additional
@@ -448,7 +374,6 @@ public boolean hasCloudDatabaseRole() {
    * 
* * optional string cloud_database_role = 8; - * * @return The cloudDatabaseRole. */ @java.lang.Override @@ -457,15 +382,14 @@ public java.lang.String getCloudDatabaseRole() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudDatabaseRole_ = s; return s; } } /** - * - * *
    * Database role to assume while performing this action. This should only be
    * set for cloud requests. Setting the database role will enforce additional
@@ -473,15 +397,16 @@ public java.lang.String getCloudDatabaseRole() {
    * 
* * optional string cloud_database_role = 8; - * * @return The bytes for cloudDatabaseRole. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { + public com.google.protobuf.ByteString + getCloudDatabaseRoleBytes() { java.lang.Object ref = cloudDatabaseRole_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudDatabaseRole_ = b; return b; } else { @@ -490,7 +415,6 @@ public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -502,7 +426,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -540,10 +465,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, partitionToken_); @@ -557,10 +484,12 @@ public int getSerializedSize() { size += 1 * getReadOptionsList().size(); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, heartbeatMilliseconds_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, heartbeatMilliseconds_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, deadlineSeconds_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, deadlineSeconds_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cloudDatabaseRole_); @@ -573,39 +502,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ExecuteChangeStreamQuery)) { return super.equals(obj); } - com.google.spanner.executor.v1.ExecuteChangeStreamQuery other = - (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) obj; + com.google.spanner.executor.v1.ExecuteChangeStreamQuery other = (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (hasPartitionToken() != other.hasPartitionToken()) return false; if (hasPartitionToken()) { - if (!getPartitionToken().equals(other.getPartitionToken())) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; } - if (!getReadOptionsList().equals(other.getReadOptionsList())) return false; + if (!getReadOptionsList() + .equals(other.getReadOptionsList())) return false; if (hasHeartbeatMilliseconds() != other.hasHeartbeatMilliseconds()) return false; if (hasHeartbeatMilliseconds()) { - if (getHeartbeatMilliseconds() != other.getHeartbeatMilliseconds()) return false; + if (getHeartbeatMilliseconds() + != other.getHeartbeatMilliseconds()) return false; } if (hasDeadlineSeconds() != other.hasDeadlineSeconds()) return false; if (hasDeadlineSeconds()) { - if (getDeadlineSeconds() != other.getDeadlineSeconds()) return false; + if (getDeadlineSeconds() + != other.getDeadlineSeconds()) return false; } if (hasCloudDatabaseRole() != other.hasCloudDatabaseRole()) return false; if (hasCloudDatabaseRole()) { - if (!getCloudDatabaseRole().equals(other.getCloudDatabaseRole())) return false; + if (!getCloudDatabaseRole() + .equals(other.getCloudDatabaseRole())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -642,7 +578,8 @@ public int hashCode() { } if (hasDeadlineSeconds()) { hash = (37 * hash) + DEADLINE_SECONDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeadlineSeconds()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDeadlineSeconds()); } if (hasCloudDatabaseRole()) { hash = (37 * hash) + CLOUD_DATABASE_ROLE_FIELD_NUMBER; @@ -654,127 +591,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ExecuteChangeStreamQuery prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ExecuteChangeStreamQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Execute a change stream TVF query.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ExecuteChangeStreamQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ExecuteChangeStreamQuery) com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.class, - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder.class); + com.google.spanner.executor.v1.ExecuteChangeStreamQuery.class, com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder.class); } // Construct using com.google.spanner.executor.v1.ExecuteChangeStreamQuery.newBuilder() @@ -782,18 +711,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -810,7 +739,8 @@ public Builder clear() { endTimeBuilder_ = null; } partitionToken_ = ""; - readOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + readOptions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); heartbeatMilliseconds_ = 0; deadlineSeconds_ = 0L; cloudDatabaseRole_ = ""; @@ -818,9 +748,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; } @java.lang.Override @@ -839,11 +769,8 @@ public com.google.spanner.executor.v1.ExecuteChangeStreamQuery build() { @java.lang.Override public com.google.spanner.executor.v1.ExecuteChangeStreamQuery buildPartial() { - com.google.spanner.executor.v1.ExecuteChangeStreamQuery result = - new com.google.spanner.executor.v1.ExecuteChangeStreamQuery(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ExecuteChangeStreamQuery result = new com.google.spanner.executor.v1.ExecuteChangeStreamQuery(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -855,11 +782,15 @@ private void buildPartial0(com.google.spanner.executor.v1.ExecuteChangeStreamQue } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -889,39 +820,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ExecuteChangeStreamQue public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ExecuteChangeStreamQuery) { - return mergeFrom((com.google.spanner.executor.v1.ExecuteChangeStreamQuery) other); + return mergeFrom((com.google.spanner.executor.v1.ExecuteChangeStreamQuery)other); } else { super.mergeFrom(other); return this; @@ -929,8 +859,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ExecuteChangeStreamQuery other) { - if (other == com.google.spanner.executor.v1.ExecuteChangeStreamQuery.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ExecuteChangeStreamQuery.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -994,62 +923,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - partitionToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureReadOptionsIsMutable(); - readOptions_.add(s); - break; - } // case 42 - case 48: - { - heartbeatMilliseconds_ = input.readInt32(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - deadlineSeconds_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - cloudDatabaseRole_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + partitionToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureReadOptionsIsMutable(); + readOptions_.add(s); + break; + } // case 42 + case 48: { + heartbeatMilliseconds_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + deadlineSeconds_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + cloudDatabaseRole_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + 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) { @@ -1059,25 +983,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Name for this change stream.
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1086,21 +1007,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name for this change stream.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1108,35 +1028,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name for this change stream.
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name for this change stream.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1146,21 +1059,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name for this change stream.
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1170,35 +1079,26 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1209,8 +1109,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
@@ -1232,8 +1130,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
@@ -1241,7 +1137,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -1252,8 +1149,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
@@ -1263,9 +1158,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1280,8 +1175,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
@@ -1300,8 +1193,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
@@ -1315,8 +1206,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
@@ -1328,12 +1217,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp greater than or equal to
      * start_time should be returned.
@@ -1342,17 +1230,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1360,35 +1245,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
      * 
* * optional .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
      * 
* * optional .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1399,8 +1275,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
@@ -1422,8 +1296,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
@@ -1431,7 +1303,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * optional .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1442,8 +1315,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
@@ -1453,9 +1324,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1470,8 +1341,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
@@ -1490,8 +1359,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
@@ -1505,8 +1372,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
@@ -1518,12 +1383,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies that records with commit_timestamp less than or equal to
      * end_time should be returned.
@@ -1532,17 +1396,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * optional .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1550,36 +1411,31 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object partitionToken_ = "";
     /**
-     *
-     *
      * 
      * Specifies which change stream partition to query, based on the content of
      * child partitions records.
      * 
* * optional string partition_token = 4; - * * @return Whether the partitionToken field is set. */ public boolean hasPartitionToken() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Specifies which change stream partition to query, based on the content of
      * child partitions records.
      * 
* * optional string partition_token = 4; - * * @return The partitionToken. */ public java.lang.String getPartitionToken() { java.lang.Object ref = partitionToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionToken_ = s; return s; @@ -1588,22 +1444,21 @@ public java.lang.String getPartitionToken() { } } /** - * - * *
      * Specifies which change stream partition to query, based on the content of
      * child partitions records.
      * 
* * optional string partition_token = 4; - * * @return The bytes for partitionToken. */ - public com.google.protobuf.ByteString getPartitionTokenBytes() { + public com.google.protobuf.ByteString + getPartitionTokenBytes() { java.lang.Object ref = partitionToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); partitionToken_ = b; return b; } else { @@ -1611,37 +1466,30 @@ public com.google.protobuf.ByteString getPartitionTokenBytes() { } } /** - * - * *
      * Specifies which change stream partition to query, based on the content of
      * child partitions records.
      * 
* * optional string partition_token = 4; - * * @param value The partitionToken to set. * @return This builder for chaining. */ - public Builder setPartitionToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPartitionToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Specifies which change stream partition to query, based on the content of
      * child partitions records.
      * 
* * optional string partition_token = 4; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -1651,22 +1499,18 @@ public Builder clearPartitionToken() { return this; } /** - * - * *
      * Specifies which change stream partition to query, based on the content of
      * child partitions records.
      * 
* * optional string partition_token = 4; - * * @param value The bytes for partitionToken to set. * @return This builder for chaining. */ - public Builder setPartitionTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPartitionTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionToken_ = value; bitField0_ |= 0x00000008; @@ -1676,7 +1520,6 @@ public Builder setPartitionTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList readOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureReadOptionsIsMutable() { if (!readOptions_.isModifiable()) { readOptions_ = new com.google.protobuf.LazyStringArrayList(readOptions_); @@ -1684,43 +1527,35 @@ private void ensureReadOptionsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @return A list containing the readOptions. */ - public com.google.protobuf.ProtocolStringList getReadOptionsList() { + public com.google.protobuf.ProtocolStringList + getReadOptionsList() { readOptions_.makeImmutable(); return readOptions_; } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @return The count of readOptions. */ public int getReadOptionsCount() { return readOptions_.size(); } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @param index The index of the element to return. * @return The readOptions at the given index. */ @@ -1728,37 +1563,31 @@ public java.lang.String getReadOptions(int index) { return readOptions_.get(index); } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @param index The index of the value to return. * @return The bytes of the readOptions at the given index. */ - public com.google.protobuf.ByteString getReadOptionsBytes(int index) { + public com.google.protobuf.ByteString + getReadOptionsBytes(int index) { return readOptions_.getByteString(index); } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @param index The index to set the value at. * @param value The readOptions to set. * @return This builder for chaining. */ - public Builder setReadOptions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReadOptions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReadOptionsIsMutable(); readOptions_.set(index, value); bitField0_ |= 0x00000010; @@ -1766,21 +1595,17 @@ public Builder setReadOptions(int index, java.lang.String value) { return this; } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @param value The readOptions to add. * @return This builder for chaining. */ - public Builder addReadOptions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReadOptions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReadOptionsIsMutable(); readOptions_.add(value); bitField0_ |= 0x00000010; @@ -1788,58 +1613,50 @@ public Builder addReadOptions(java.lang.String value) { return this; } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @param values The readOptions to add. * @return This builder for chaining. */ - public Builder addAllReadOptions(java.lang.Iterable values) { + public Builder addAllReadOptions( + java.lang.Iterable values) { ensureReadOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, readOptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, readOptions_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @return This builder for chaining. */ public Builder clearReadOptions() { - readOptions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + readOptions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
      * Read options for this change stream query.
      * 
* * repeated string read_options = 5; - * * @param value The bytes of the readOptions to add. * @return This builder for chaining. */ - public Builder addReadOptionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReadOptionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReadOptionsIsMutable(); readOptions_.add(value); @@ -1848,17 +1665,14 @@ public Builder addReadOptionsBytes(com.google.protobuf.ByteString value) { return this; } - private int heartbeatMilliseconds_; + private int heartbeatMilliseconds_ ; /** - * - * *
      * Determines how frequently a heartbeat ChangeRecord will be returned in case
      * there are no transactions committed in this partition, in milliseconds.
      * 
* * optional int32 heartbeat_milliseconds = 6; - * * @return Whether the heartbeatMilliseconds field is set. */ @java.lang.Override @@ -1866,15 +1680,12 @@ public boolean hasHeartbeatMilliseconds() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Determines how frequently a heartbeat ChangeRecord will be returned in case
      * there are no transactions committed in this partition, in milliseconds.
      * 
* * optional int32 heartbeat_milliseconds = 6; - * * @return The heartbeatMilliseconds. */ @java.lang.Override @@ -1882,15 +1693,12 @@ public int getHeartbeatMilliseconds() { return heartbeatMilliseconds_; } /** - * - * *
      * Determines how frequently a heartbeat ChangeRecord will be returned in case
      * there are no transactions committed in this partition, in milliseconds.
      * 
* * optional int32 heartbeat_milliseconds = 6; - * * @param value The heartbeatMilliseconds to set. * @return This builder for chaining. */ @@ -1902,15 +1710,12 @@ public Builder setHeartbeatMilliseconds(int value) { return this; } /** - * - * *
      * Determines how frequently a heartbeat ChangeRecord will be returned in case
      * there are no transactions committed in this partition, in milliseconds.
      * 
* * optional int32 heartbeat_milliseconds = 6; - * * @return This builder for chaining. */ public Builder clearHeartbeatMilliseconds() { @@ -1920,16 +1725,13 @@ public Builder clearHeartbeatMilliseconds() { return this; } - private long deadlineSeconds_; + private long deadlineSeconds_ ; /** - * - * *
      * Deadline for this change stream query, in seconds.
      * 
* * optional int64 deadline_seconds = 7; - * * @return Whether the deadlineSeconds field is set. */ @java.lang.Override @@ -1937,14 +1739,11 @@ public boolean hasDeadlineSeconds() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Deadline for this change stream query, in seconds.
      * 
* * optional int64 deadline_seconds = 7; - * * @return The deadlineSeconds. */ @java.lang.Override @@ -1952,14 +1751,11 @@ public long getDeadlineSeconds() { return deadlineSeconds_; } /** - * - * *
      * Deadline for this change stream query, in seconds.
      * 
* * optional int64 deadline_seconds = 7; - * * @param value The deadlineSeconds to set. * @return This builder for chaining. */ @@ -1971,14 +1767,11 @@ public Builder setDeadlineSeconds(long value) { return this; } /** - * - * *
      * Deadline for this change stream query, in seconds.
      * 
* * optional int64 deadline_seconds = 7; - * * @return This builder for chaining. */ public Builder clearDeadlineSeconds() { @@ -1990,8 +1783,6 @@ public Builder clearDeadlineSeconds() { private java.lang.Object cloudDatabaseRole_ = ""; /** - * - * *
      * Database role to assume while performing this action. This should only be
      * set for cloud requests. Setting the database role will enforce additional
@@ -1999,15 +1790,12 @@ public Builder clearDeadlineSeconds() {
      * 
* * optional string cloud_database_role = 8; - * * @return Whether the cloudDatabaseRole field is set. */ public boolean hasCloudDatabaseRole() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Database role to assume while performing this action. This should only be
      * set for cloud requests. Setting the database role will enforce additional
@@ -2015,13 +1803,13 @@ public boolean hasCloudDatabaseRole() {
      * 
* * optional string cloud_database_role = 8; - * * @return The cloudDatabaseRole. */ public java.lang.String getCloudDatabaseRole() { java.lang.Object ref = cloudDatabaseRole_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudDatabaseRole_ = s; return s; @@ -2030,8 +1818,6 @@ public java.lang.String getCloudDatabaseRole() { } } /** - * - * *
      * Database role to assume while performing this action. This should only be
      * set for cloud requests. Setting the database role will enforce additional
@@ -2039,14 +1825,15 @@ public java.lang.String getCloudDatabaseRole() {
      * 
* * optional string cloud_database_role = 8; - * * @return The bytes for cloudDatabaseRole. */ - public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { + public com.google.protobuf.ByteString + getCloudDatabaseRoleBytes() { java.lang.Object ref = cloudDatabaseRole_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudDatabaseRole_ = b; return b; } else { @@ -2054,8 +1841,6 @@ public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { } } /** - * - * *
      * Database role to assume while performing this action. This should only be
      * set for cloud requests. Setting the database role will enforce additional
@@ -2063,22 +1848,18 @@ public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() {
      * 
* * optional string cloud_database_role = 8; - * * @param value The cloudDatabaseRole to set. * @return This builder for chaining. */ - public Builder setCloudDatabaseRole(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudDatabaseRole( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cloudDatabaseRole_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Database role to assume while performing this action. This should only be
      * set for cloud requests. Setting the database role will enforce additional
@@ -2086,7 +1867,6 @@ public Builder setCloudDatabaseRole(java.lang.String value) {
      * 
* * optional string cloud_database_role = 8; - * * @return This builder for chaining. */ public Builder clearCloudDatabaseRole() { @@ -2096,8 +1876,6 @@ public Builder clearCloudDatabaseRole() { return this; } /** - * - * *
      * Database role to assume while performing this action. This should only be
      * set for cloud requests. Setting the database role will enforce additional
@@ -2105,23 +1883,21 @@ public Builder clearCloudDatabaseRole() {
      * 
* * optional string cloud_database_role = 8; - * * @param value The bytes for cloudDatabaseRole to set. * @return This builder for chaining. */ - public Builder setCloudDatabaseRoleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudDatabaseRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cloudDatabaseRole_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2131,12 +1907,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ExecuteChangeStreamQuery) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ExecuteChangeStreamQuery) private static final com.google.spanner.executor.v1.ExecuteChangeStreamQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ExecuteChangeStreamQuery(); } @@ -2145,27 +1921,27 @@ public static com.google.spanner.executor.v1.ExecuteChangeStreamQuery getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecuteChangeStreamQuery 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteChangeStreamQuery 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; @@ -2180,4 +1956,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ExecuteChangeStreamQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQueryOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQueryOrBuilder.java index 5b140383142..2c847892e83 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecuteChangeStreamQueryOrBuilder.java @@ -1,83 +1,54 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ExecuteChangeStreamQueryOrBuilder - extends +public interface ExecuteChangeStreamQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ExecuteChangeStreamQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name for this change stream.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name for this change stream.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Specifies that records with commit_timestamp greater than or equal to
    * start_time should be returned.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Specifies that records with commit_timestamp greater than or equal to
    * start_time should be returned.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Specifies that records with commit_timestamp greater than or equal to
    * start_time should be returned.
@@ -88,34 +59,26 @@ public interface ExecuteChangeStreamQueryOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specifies that records with commit_timestamp less than or equal to
    * end_time should be returned.
    * 
* * optional .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Specifies that records with commit_timestamp less than or equal to
    * end_time should be returned.
    * 
* * optional .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Specifies that records with commit_timestamp less than or equal to
    * end_time should be returned.
@@ -126,151 +89,119 @@ public interface ExecuteChangeStreamQueryOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Specifies which change stream partition to query, based on the content of
    * child partitions records.
    * 
* * optional string partition_token = 4; - * * @return Whether the partitionToken field is set. */ boolean hasPartitionToken(); /** - * - * *
    * Specifies which change stream partition to query, based on the content of
    * child partitions records.
    * 
* * optional string partition_token = 4; - * * @return The partitionToken. */ java.lang.String getPartitionToken(); /** - * - * *
    * Specifies which change stream partition to query, based on the content of
    * child partitions records.
    * 
* * optional string partition_token = 4; - * * @return The bytes for partitionToken. */ - com.google.protobuf.ByteString getPartitionTokenBytes(); + com.google.protobuf.ByteString + getPartitionTokenBytes(); /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @return A list containing the readOptions. */ - java.util.List getReadOptionsList(); + java.util.List + getReadOptionsList(); /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @return The count of readOptions. */ int getReadOptionsCount(); /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @param index The index of the element to return. * @return The readOptions at the given index. */ java.lang.String getReadOptions(int index); /** - * - * *
    * Read options for this change stream query.
    * 
* * repeated string read_options = 5; - * * @param index The index of the value to return. * @return The bytes of the readOptions at the given index. */ - com.google.protobuf.ByteString getReadOptionsBytes(int index); + com.google.protobuf.ByteString + getReadOptionsBytes(int index); /** - * - * *
    * Determines how frequently a heartbeat ChangeRecord will be returned in case
    * there are no transactions committed in this partition, in milliseconds.
    * 
* * optional int32 heartbeat_milliseconds = 6; - * * @return Whether the heartbeatMilliseconds field is set. */ boolean hasHeartbeatMilliseconds(); /** - * - * *
    * Determines how frequently a heartbeat ChangeRecord will be returned in case
    * there are no transactions committed in this partition, in milliseconds.
    * 
* * optional int32 heartbeat_milliseconds = 6; - * * @return The heartbeatMilliseconds. */ int getHeartbeatMilliseconds(); /** - * - * *
    * Deadline for this change stream query, in seconds.
    * 
* * optional int64 deadline_seconds = 7; - * * @return Whether the deadlineSeconds field is set. */ boolean hasDeadlineSeconds(); /** - * - * *
    * Deadline for this change stream query, in seconds.
    * 
* * optional int64 deadline_seconds = 7; - * * @return The deadlineSeconds. */ long getDeadlineSeconds(); /** - * - * *
    * Database role to assume while performing this action. This should only be
    * set for cloud requests. Setting the database role will enforce additional
@@ -278,13 +209,10 @@ public interface ExecuteChangeStreamQueryOrBuilder
    * 
* * optional string cloud_database_role = 8; - * * @return Whether the cloudDatabaseRole field is set. */ boolean hasCloudDatabaseRole(); /** - * - * *
    * Database role to assume while performing this action. This should only be
    * set for cloud requests. Setting the database role will enforce additional
@@ -292,13 +220,10 @@ public interface ExecuteChangeStreamQueryOrBuilder
    * 
* * optional string cloud_database_role = 8; - * * @return The cloudDatabaseRole. */ java.lang.String getCloudDatabaseRole(); /** - * - * *
    * Database role to assume while performing this action. This should only be
    * set for cloud requests. Setting the database role will enforce additional
@@ -306,8 +231,8 @@ public interface ExecuteChangeStreamQueryOrBuilder
    * 
* * optional string cloud_database_role = 8; - * * @return The bytes for cloudDatabaseRole. */ - com.google.protobuf.ByteString getCloudDatabaseRoleBytes(); + com.google.protobuf.ByteString + getCloudDatabaseRoleBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionAction.java similarity index 66% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionAction.java index 9acbcea6546..e06cfe867d4 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Performs a read or query for the given partitions. This action must be
  * executed in the context of the same transaction that was used to generate
@@ -30,51 +13,47 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.ExecutePartitionAction}
  */
-public final class ExecutePartitionAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExecutePartitionAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ExecutePartitionAction)
     ExecutePartitionActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExecutePartitionAction.newBuilder() to construct.
   private ExecutePartitionAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ExecutePartitionAction() {}
+  private ExecutePartitionAction() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExecutePartitionAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.ExecutePartitionAction.class,
-            com.google.spanner.executor.v1.ExecutePartitionAction.Builder.class);
+            com.google.spanner.executor.v1.ExecutePartitionAction.class, com.google.spanner.executor.v1.ExecutePartitionAction.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.spanner.executor.v1.BatchPartition partition_;
   /**
-   *
-   *
    * 
    * Batch partition to execute on.
    * 
* * .google.spanner.executor.v1.BatchPartition partition = 1; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -82,25 +61,18 @@ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Batch partition to execute on.
    * 
* * .google.spanner.executor.v1.BatchPartition partition = 1; - * * @return The partition. */ @java.lang.Override public com.google.spanner.executor.v1.BatchPartition getPartition() { - return partition_ == null - ? com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() : partition_; } /** - * - * *
    * Batch partition to execute on.
    * 
@@ -109,13 +81,10 @@ public com.google.spanner.executor.v1.BatchPartition getPartition() { */ @java.lang.Override public com.google.spanner.executor.v1.BatchPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() : partition_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +96,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getPartition()); } @@ -141,7 +111,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +122,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ExecutePartitionAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ExecutePartitionAction other = - (com.google.spanner.executor.v1.ExecutePartitionAction) obj; + com.google.spanner.executor.v1.ExecutePartitionAction other = (com.google.spanner.executor.v1.ExecutePartitionAction) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -184,104 +155,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ExecutePartitionAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ExecutePartitionAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ExecutePartitionAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ExecutePartitionAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ExecutePartitionAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Performs a read or query for the given partitions. This action must be
    * executed in the context of the same transaction that was used to generate
@@ -290,23 +255,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.ExecutePartitionAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ExecutePartitionAction)
       com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.ExecutePartitionAction.class,
-              com.google.spanner.executor.v1.ExecutePartitionAction.Builder.class);
+              com.google.spanner.executor.v1.ExecutePartitionAction.class, com.google.spanner.executor.v1.ExecutePartitionAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.ExecutePartitionAction.newBuilder()
@@ -314,17 +277,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPartitionFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -338,9 +301,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor;
     }
 
     @java.lang.Override
@@ -359,11 +322,8 @@ public com.google.spanner.executor.v1.ExecutePartitionAction build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.ExecutePartitionAction buildPartial() {
-      com.google.spanner.executor.v1.ExecutePartitionAction result =
-          new com.google.spanner.executor.v1.ExecutePartitionAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.ExecutePartitionAction result = new com.google.spanner.executor.v1.ExecutePartitionAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -372,7 +332,9 @@ private void buildPartial0(com.google.spanner.executor.v1.ExecutePartitionAction
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -382,39 +344,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ExecutePartitionAction
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.ExecutePartitionAction) {
-        return mergeFrom((com.google.spanner.executor.v1.ExecutePartitionAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.ExecutePartitionAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -422,8 +383,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.ExecutePartitionAction other) {
-      if (other == com.google.spanner.executor.v1.ExecutePartitionAction.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.ExecutePartitionAction.getDefaultInstance()) return this;
       if (other.hasPartition()) {
         mergePartition(other.getPartition());
       }
@@ -453,19 +413,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -475,52 +435,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.executor.v1.BatchPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.BatchPartition,
-            com.google.spanner.executor.v1.BatchPartition.Builder,
-            com.google.spanner.executor.v1.BatchPartitionOrBuilder>
-        partitionBuilder_;
+        com.google.spanner.executor.v1.BatchPartition, com.google.spanner.executor.v1.BatchPartition.Builder, com.google.spanner.executor.v1.BatchPartitionOrBuilder> partitionBuilder_;
     /**
-     *
-     *
      * 
      * Batch partition to execute on.
      * 
* * .google.spanner.executor.v1.BatchPartition partition = 1; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Batch partition to execute on.
      * 
* * .google.spanner.executor.v1.BatchPartition partition = 1; - * * @return The partition. */ public com.google.spanner.executor.v1.BatchPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * Batch partition to execute on.
      * 
@@ -541,8 +487,6 @@ public Builder setPartition(com.google.spanner.executor.v1.BatchPartition value) return this; } /** - * - * *
      * Batch partition to execute on.
      * 
@@ -561,8 +505,6 @@ public Builder setPartition( return this; } /** - * - * *
      * Batch partition to execute on.
      * 
@@ -571,9 +513,9 @@ public Builder setPartition( */ public Builder mergePartition(com.google.spanner.executor.v1.BatchPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && partition_ != null - && partition_ != com.google.spanner.executor.v1.BatchPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + partition_ != null && + partition_ != com.google.spanner.executor.v1.BatchPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -588,8 +530,6 @@ public Builder mergePartition(com.google.spanner.executor.v1.BatchPartition valu return this; } /** - * - * *
      * Batch partition to execute on.
      * 
@@ -607,8 +547,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * Batch partition to execute on.
      * 
@@ -621,8 +559,6 @@ public com.google.spanner.executor.v1.BatchPartition.Builder getPartitionBuilder return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Batch partition to execute on.
      * 
@@ -633,14 +569,11 @@ public com.google.spanner.executor.v1.BatchPartitionOrBuilder getPartitionOrBuil if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.spanner.executor.v1.BatchPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * Batch partition to execute on.
      * 
@@ -648,24 +581,21 @@ public com.google.spanner.executor.v1.BatchPartitionOrBuilder getPartitionOrBuil * .google.spanner.executor.v1.BatchPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.BatchPartition, - com.google.spanner.executor.v1.BatchPartition.Builder, - com.google.spanner.executor.v1.BatchPartitionOrBuilder> + com.google.spanner.executor.v1.BatchPartition, com.google.spanner.executor.v1.BatchPartition.Builder, com.google.spanner.executor.v1.BatchPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.BatchPartition, - com.google.spanner.executor.v1.BatchPartition.Builder, - com.google.spanner.executor.v1.BatchPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.BatchPartition, com.google.spanner.executor.v1.BatchPartition.Builder, com.google.spanner.executor.v1.BatchPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -675,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ExecutePartitionAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ExecutePartitionAction) private static final com.google.spanner.executor.v1.ExecutePartitionAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ExecutePartitionAction(); } @@ -689,27 +619,27 @@ public static com.google.spanner.executor.v1.ExecutePartitionAction getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutePartitionAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutePartitionAction 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; @@ -724,4 +654,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ExecutePartitionAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionActionOrBuilder.java similarity index 60% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionActionOrBuilder.java index 44c1a3d93df..cac3aa4e7bb 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ExecutePartitionActionOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ExecutePartitionActionOrBuilder - extends +public interface ExecutePartitionActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ExecutePartitionAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Batch partition to execute on.
    * 
* * .google.spanner.executor.v1.BatchPartition partition = 1; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * Batch partition to execute on.
    * 
* * .google.spanner.executor.v1.BatchPartition partition = 1; - * * @return The partition. */ com.google.spanner.executor.v1.BatchPartition getPartition(); /** - * - * *
    * Batch partition to execute on.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionAction.java similarity index 66% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionAction.java index daeb03a9637..8d81525bc70 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,62 +5,55 @@ package com.google.spanner.executor.v1; /** - * - * *
  * FinishTransactionAction defines an action of finishing a transaction.
  * 
* * Protobuf type {@code google.spanner.executor.v1.FinishTransactionAction} */ -public final class FinishTransactionAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinishTransactionAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.FinishTransactionAction) FinishTransactionActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinishTransactionAction.newBuilder() to construct. private FinishTransactionAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinishTransactionAction() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinishTransactionAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.FinishTransactionAction.class, - com.google.spanner.executor.v1.FinishTransactionAction.Builder.class); + com.google.spanner.executor.v1.FinishTransactionAction.class, com.google.spanner.executor.v1.FinishTransactionAction.Builder.class); } /** - * - * *
    * Mode indicates how the transaction should be finished.
    * 
* * Protobuf enum {@code google.spanner.executor.v1.FinishTransactionAction.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * "MODE_UNSPECIFIED" is equivalent to "COMMIT".
      * 
@@ -84,8 +62,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * Commit the transaction.
      * 
@@ -94,8 +70,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ COMMIT(1), /** - * - * *
      * Drop the transaction without committing it.
      * 
@@ -107,8 +81,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * "MODE_UNSPECIFIED" is equivalent to "COMMIT".
      * 
@@ -117,8 +89,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Commit the transaction.
      * 
@@ -127,8 +97,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMIT_VALUE = 1; /** - * - * *
      * Drop the transaction without committing it.
      * 
@@ -137,6 +105,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABANDON_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -161,51 +130,49 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return COMMIT; - case 2: - return ABANDON; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return COMMIT; + case 2: return ABANDON; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Mode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.spanner.executor.v1.FinishTransactionAction.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.spanner.executor.v1.FinishTransactionAction.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -225,44 +192,32 @@ private Mode(int value) { public static final int MODE_FIELD_NUMBER = 1; private int mode_ = 0; /** - * - * *
    * Defines how exactly the transaction should be completed, e.g. with
    * commit or abortion.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Defines how exactly the transaction should be completed, e.g. with
    * commit or abortion.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @return The mode. */ - @java.lang.Override - public com.google.spanner.executor.v1.FinishTransactionAction.Mode getMode() { - com.google.spanner.executor.v1.FinishTransactionAction.Mode result = - com.google.spanner.executor.v1.FinishTransactionAction.Mode.forNumber(mode_); - return result == null - ? com.google.spanner.executor.v1.FinishTransactionAction.Mode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.executor.v1.FinishTransactionAction.Mode getMode() { + com.google.spanner.executor.v1.FinishTransactionAction.Mode result = com.google.spanner.executor.v1.FinishTransactionAction.Mode.forNumber(mode_); + return result == null ? com.google.spanner.executor.v1.FinishTransactionAction.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,10 +229,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (mode_ - != com.google.spanner.executor.v1.FinishTransactionAction.Mode.MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (mode_ != com.google.spanner.executor.v1.FinishTransactionAction.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, mode_); } getUnknownFields().writeTo(output); @@ -289,10 +243,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (mode_ - != com.google.spanner.executor.v1.FinishTransactionAction.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); + if (mode_ != com.google.spanner.executor.v1.FinishTransactionAction.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -302,13 +255,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.FinishTransactionAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.FinishTransactionAction other = - (com.google.spanner.executor.v1.FinishTransactionAction) obj; + com.google.spanner.executor.v1.FinishTransactionAction other = (com.google.spanner.executor.v1.FinishTransactionAction) obj; if (mode_ != other.mode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -330,136 +282,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.FinishTransactionAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.FinishTransactionAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.FinishTransactionAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.FinishTransactionAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.FinishTransactionAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * FinishTransactionAction defines an action of finishing a transaction.
    * 
* * Protobuf type {@code google.spanner.executor.v1.FinishTransactionAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.FinishTransactionAction) com.google.spanner.executor.v1.FinishTransactionActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.FinishTransactionAction.class, - com.google.spanner.executor.v1.FinishTransactionAction.Builder.class); + com.google.spanner.executor.v1.FinishTransactionAction.class, com.google.spanner.executor.v1.FinishTransactionAction.Builder.class); } // Construct using com.google.spanner.executor.v1.FinishTransactionAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; } @java.lang.Override @@ -490,11 +437,8 @@ public com.google.spanner.executor.v1.FinishTransactionAction build() { @java.lang.Override public com.google.spanner.executor.v1.FinishTransactionAction buildPartial() { - com.google.spanner.executor.v1.FinishTransactionAction result = - new com.google.spanner.executor.v1.FinishTransactionAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.FinishTransactionAction result = new com.google.spanner.executor.v1.FinishTransactionAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -510,39 +454,38 @@ private void buildPartial0(com.google.spanner.executor.v1.FinishTransactionActio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.FinishTransactionAction) { - return mergeFrom((com.google.spanner.executor.v1.FinishTransactionAction) other); + return mergeFrom((com.google.spanner.executor.v1.FinishTransactionAction)other); } else { super.mergeFrom(other); return this; @@ -550,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.FinishTransactionAction other) { - if (other == com.google.spanner.executor.v1.FinishTransactionAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.FinishTransactionAction.getDefaultInstance()) return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } @@ -581,19 +523,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + 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) { @@ -603,36 +543,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int mode_ = 0; /** - * - * *
      * Defines how exactly the transaction should be completed, e.g. with
      * commit or abortion.
      * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Defines how exactly the transaction should be completed, e.g. with
      * commit or abortion.
      * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -643,35 +575,26 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
      * Defines how exactly the transaction should be completed, e.g. with
      * commit or abortion.
      * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @return The mode. */ @java.lang.Override public com.google.spanner.executor.v1.FinishTransactionAction.Mode getMode() { - com.google.spanner.executor.v1.FinishTransactionAction.Mode result = - com.google.spanner.executor.v1.FinishTransactionAction.Mode.forNumber(mode_); - return result == null - ? com.google.spanner.executor.v1.FinishTransactionAction.Mode.UNRECOGNIZED - : result; + com.google.spanner.executor.v1.FinishTransactionAction.Mode result = com.google.spanner.executor.v1.FinishTransactionAction.Mode.forNumber(mode_); + return result == null ? com.google.spanner.executor.v1.FinishTransactionAction.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Defines how exactly the transaction should be completed, e.g. with
      * commit or abortion.
      * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -685,15 +608,12 @@ public Builder setMode(com.google.spanner.executor.v1.FinishTransactionAction.Mo return this; } /** - * - * *
      * Defines how exactly the transaction should be completed, e.g. with
      * commit or abortion.
      * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -702,9 +622,9 @@ public Builder clearMode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,12 +634,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.FinishTransactionAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.FinishTransactionAction) private static final com.google.spanner.executor.v1.FinishTransactionAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.FinishTransactionAction(); } @@ -728,27 +648,27 @@ public static com.google.spanner.executor.v1.FinishTransactionAction getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinishTransactionAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinishTransactionAction 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; @@ -763,4 +683,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.FinishTransactionAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionActionOrBuilder.java similarity index 58% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionActionOrBuilder.java index 1281a913d35..2c1ee33a973 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/FinishTransactionActionOrBuilder.java @@ -1,52 +1,30 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface FinishTransactionActionOrBuilder - extends +public interface FinishTransactionActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.FinishTransactionAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines how exactly the transaction should be completed, e.g. with
    * commit or abortion.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * Defines how exactly the transaction should be completed, e.g. with
    * commit or abortion.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction.Mode mode = 1; - * * @return The mode. */ com.google.spanner.executor.v1.FinishTransactionAction.Mode getMode(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryAction.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryAction.java index 06bc998672f..8841cc8eb06 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Generate database partitions for the given query. Successful outcomes will
  * contain database partitions in the db_partition field.
@@ -29,52 +12,47 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.GenerateDbPartitionsForQueryAction}
  */
-public final class GenerateDbPartitionsForQueryAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateDbPartitionsForQueryAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.GenerateDbPartitionsForQueryAction)
     GenerateDbPartitionsForQueryActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateDbPartitionsForQueryAction.newBuilder() to construct.
-  private GenerateDbPartitionsForQueryAction(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateDbPartitionsForQueryAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private GenerateDbPartitionsForQueryAction() {}
+  private GenerateDbPartitionsForQueryAction() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateDbPartitionsForQueryAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.class,
-            com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder.class);
+            com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.class, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder.class);
   }
 
   private int bitField0_;
   public static final int QUERY_FIELD_NUMBER = 1;
   private com.google.spanner.executor.v1.QueryAction query_;
   /**
-   *
-   *
    * 
    * Query to generate partitions for.
    * 
* * .google.spanner.executor.v1.QueryAction query = 1; - * * @return Whether the query field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasQuery() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Query to generate partitions for.
    * 
* * .google.spanner.executor.v1.QueryAction query = 1; - * * @return The query. */ @java.lang.Override public com.google.spanner.executor.v1.QueryAction getQuery() { - return query_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : query_; + return query_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : query_; } /** - * - * *
    * Query to generate partitions for.
    * 
@@ -109,23 +80,18 @@ public com.google.spanner.executor.v1.QueryAction getQuery() { */ @java.lang.Override public com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder() { - return query_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : query_; + return query_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : query_; } public static final int DESIRED_BYTES_PER_PARTITION_FIELD_NUMBER = 2; private long desiredBytesPerPartition_ = 0L; /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 2; - * * @return Whether the desiredBytesPerPartition field is set. */ @java.lang.Override @@ -133,15 +99,12 @@ public boolean hasDesiredBytesPerPartition() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 2; - * * @return The desiredBytesPerPartition. */ @java.lang.Override @@ -150,7 +113,6 @@ public long getDesiredBytesPerPartition() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,7 +124,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getQuery()); } @@ -179,10 +142,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getQuery()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, desiredBytesPerPartition_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, desiredBytesPerPartition_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,21 +157,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction other = - (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) obj; + com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction other = (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) obj; if (hasQuery() != other.hasQuery()) return false; if (hasQuery()) { - if (!getQuery().equals(other.getQuery())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; } if (hasDesiredBytesPerPartition() != other.hasDesiredBytesPerPartition()) return false; if (hasDesiredBytesPerPartition()) { - if (getDesiredBytesPerPartition() != other.getDesiredBytesPerPartition()) return false; + if (getDesiredBytesPerPartition() + != other.getDesiredBytesPerPartition()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -225,7 +191,8 @@ public int hashCode() { } if (hasDesiredBytesPerPartition()) { hash = (37 * hash) + DESIRED_BYTES_PER_PARTITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDesiredBytesPerPartition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDesiredBytesPerPartition()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -233,105 +200,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - 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 com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction 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 com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Generate database partitions for the given query. Successful outcomes will
    * contain database partitions in the db_partition field.
@@ -339,42 +299,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.GenerateDbPartitionsForQueryAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.GenerateDbPartitionsForQueryAction)
       com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.class,
-              com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder.class);
+              com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.class, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.newBuilder()
+    // Construct using com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getQueryFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,14 +346,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction
-        getDefaultInstanceForType() {
+    public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction getDefaultInstanceForType() {
       return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance();
     }
 
@@ -411,21 +367,19 @@ public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction build()
 
     @java.lang.Override
     public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction buildPartial() {
-      com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction result =
-          new com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction result = new com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction result) {
+    private void buildPartial0(com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build();
+        result.query_ = queryBuilder_ == null
+            ? query_
+            : queryBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
@@ -439,50 +393,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) {
-        return mergeFrom((com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction other) {
-      if (other
-          == com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction other) {
+      if (other == com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance()) return this;
       if (other.hasQuery()) {
         mergeQuery(other.getQuery());
       }
@@ -515,25 +465,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                desiredBytesPerPartition_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              desiredBytesPerPartition_ = input.readInt64();
+              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) {
@@ -543,52 +492,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.executor.v1.QueryAction query_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.QueryAction,
-            com.google.spanner.executor.v1.QueryAction.Builder,
-            com.google.spanner.executor.v1.QueryActionOrBuilder>
-        queryBuilder_;
+        com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> queryBuilder_;
     /**
-     *
-     *
      * 
      * Query to generate partitions for.
      * 
* * .google.spanner.executor.v1.QueryAction query = 1; - * * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Query to generate partitions for.
      * 
* * .google.spanner.executor.v1.QueryAction query = 1; - * * @return The query. */ public com.google.spanner.executor.v1.QueryAction getQuery() { if (queryBuilder_ == null) { - return query_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : query_; + return query_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } /** - * - * *
      * Query to generate partitions for.
      * 
@@ -609,15 +544,14 @@ public Builder setQuery(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * Query to generate partitions for.
      * 
* * .google.spanner.executor.v1.QueryAction query = 1; */ - public Builder setQuery(com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { + public Builder setQuery( + com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { @@ -628,8 +562,6 @@ public Builder setQuery(com.google.spanner.executor.v1.QueryAction.Builder build return this; } /** - * - * *
      * Query to generate partitions for.
      * 
@@ -638,9 +570,9 @@ public Builder setQuery(com.google.spanner.executor.v1.QueryAction.Builder build */ public Builder mergeQuery(com.google.spanner.executor.v1.QueryAction value) { if (queryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && query_ != null - && query_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + query_ != null && + query_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; @@ -655,8 +587,6 @@ public Builder mergeQuery(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * Query to generate partitions for.
      * 
@@ -674,8 +604,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * Query to generate partitions for.
      * 
@@ -688,8 +616,6 @@ public com.google.spanner.executor.v1.QueryAction.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Query to generate partitions for.
      * 
@@ -700,14 +626,11 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { - return query_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : query_; + return query_ == null ? + com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : query_; } } /** - * - * *
      * Query to generate partitions for.
      * 
@@ -715,33 +638,27 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder() { * .google.spanner.executor.v1.QueryAction query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { - queryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder>( - getQuery(), getParentForChildren(), isClean()); + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder>( + getQuery(), + getParentForChildren(), + isClean()); query_ = null; } return queryBuilder_; } - private long desiredBytesPerPartition_; + private long desiredBytesPerPartition_ ; /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 2; - * * @return Whether the desiredBytesPerPartition field is set. */ @java.lang.Override @@ -749,15 +666,12 @@ public boolean hasDesiredBytesPerPartition() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 2; - * * @return The desiredBytesPerPartition. */ @java.lang.Override @@ -765,15 +679,12 @@ public long getDesiredBytesPerPartition() { return desiredBytesPerPartition_; } /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 2; - * * @param value The desiredBytesPerPartition to set. * @return This builder for chaining. */ @@ -785,15 +696,12 @@ public Builder setDesiredBytesPerPartition(long value) { return this; } /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 2; - * * @return This builder for chaining. */ public Builder clearDesiredBytesPerPartition() { @@ -802,9 +710,9 @@ public Builder clearDesiredBytesPerPartition() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -814,43 +722,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) - private static final com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction(); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - getDefaultInstance() { + public static com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateDbPartitionsForQueryAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateDbPartitionsForQueryAction 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; @@ -862,8 +768,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryActionOrBuilder.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryActionOrBuilder.java index 197443620c3..484f050aa16 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForQueryActionOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface GenerateDbPartitionsForQueryActionOrBuilder - extends +public interface GenerateDbPartitionsForQueryActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Query to generate partitions for.
    * 
* * .google.spanner.executor.v1.QueryAction query = 1; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * Query to generate partitions for.
    * 
* * .google.spanner.executor.v1.QueryAction query = 1; - * * @return The query. */ com.google.spanner.executor.v1.QueryAction getQuery(); /** - * - * *
    * Query to generate partitions for.
    * 
@@ -60,28 +36,22 @@ public interface GenerateDbPartitionsForQueryActionOrBuilder com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder(); /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 2; - * * @return Whether the desiredBytesPerPartition field is set. */ boolean hasDesiredBytesPerPartition(); /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 2; - * * @return The desiredBytesPerPartition. */ long getDesiredBytesPerPartition(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadAction.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadAction.java index 29d4008069c..3c176492047 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Generate database partitions for the given read. Successful outcomes will
  * contain database partitions in the db_partition field.
@@ -29,54 +12,48 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.GenerateDbPartitionsForReadAction}
  */
-public final class GenerateDbPartitionsForReadAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateDbPartitionsForReadAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.GenerateDbPartitionsForReadAction)
     GenerateDbPartitionsForReadActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateDbPartitionsForReadAction.newBuilder() to construct.
-  private GenerateDbPartitionsForReadAction(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateDbPartitionsForReadAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateDbPartitionsForReadAction() {
     table_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateDbPartitionsForReadAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.class,
-            com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder.class);
+            com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.class, com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder.class);
   }
 
   private int bitField0_;
   public static final int READ_FIELD_NUMBER = 1;
   private com.google.spanner.executor.v1.ReadAction read_;
   /**
-   *
-   *
    * 
    * Read to generate partitions for.
    * 
* * .google.spanner.executor.v1.ReadAction read = 1; - * * @return Whether the read field is set. */ @java.lang.Override @@ -84,14 +61,11 @@ public boolean hasRead() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Read to generate partitions for.
    * 
* * .google.spanner.executor.v1.ReadAction read = 1; - * * @return The read. */ @java.lang.Override @@ -99,8 +73,6 @@ public com.google.spanner.executor.v1.ReadAction getRead() { return read_ == null ? com.google.spanner.executor.v1.ReadAction.getDefaultInstance() : read_; } /** - * - * *
    * Read to generate partitions for.
    * 
@@ -113,12 +85,9 @@ public com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder() { } public static final int TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List table_; /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
@@ -130,8 +99,6 @@ public java.util.List getTableList return table_; } /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
@@ -139,13 +106,11 @@ public java.util.List getTableList * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ @java.lang.Override - public java.util.List + public java.util.List getTableOrBuilderList() { return table_; } /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
@@ -157,8 +122,6 @@ public int getTableCount() { return table_.size(); } /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
@@ -170,8 +133,6 @@ public com.google.spanner.executor.v1.TableMetadata getTable(int index) { return table_.get(index); } /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
@@ -179,22 +140,20 @@ public com.google.spanner.executor.v1.TableMetadata getTable(int index) { * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ @java.lang.Override - public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(int index) { + public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder( + int index) { return table_.get(index); } public static final int DESIRED_BYTES_PER_PARTITION_FIELD_NUMBER = 3; private long desiredBytesPerPartition_ = 0L; /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 3; - * * @return Whether the desiredBytesPerPartition field is set. */ @java.lang.Override @@ -202,15 +161,12 @@ public boolean hasDesiredBytesPerPartition() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 3; - * * @return The desiredBytesPerPartition. */ @java.lang.Override @@ -221,15 +177,12 @@ public long getDesiredBytesPerPartition() { public static final int MAX_PARTITION_COUNT_FIELD_NUMBER = 4; private long maxPartitionCount_ = 0L; /** - * - * *
    * If set, the desired max number of partitions. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 max_partition_count = 4; - * * @return Whether the maxPartitionCount field is set. */ @java.lang.Override @@ -237,15 +190,12 @@ public boolean hasMaxPartitionCount() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * If set, the desired max number of partitions. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 max_partition_count = 4; - * * @return The maxPartitionCount. */ @java.lang.Override @@ -254,7 +204,6 @@ public long getMaxPartitionCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +215,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getRead()); } @@ -289,16 +239,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRead()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRead()); } for (int i = 0; i < table_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, table_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, table_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, desiredBytesPerPartition_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, desiredBytesPerPartition_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, maxPartitionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, maxPartitionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -308,26 +262,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction other = - (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) obj; + com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction other = (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) obj; if (hasRead() != other.hasRead()) return false; if (hasRead()) { - if (!getRead().equals(other.getRead())) return false; + if (!getRead() + .equals(other.getRead())) return false; } - if (!getTableList().equals(other.getTableList())) return false; + if (!getTableList() + .equals(other.getTableList())) return false; if (hasDesiredBytesPerPartition() != other.hasDesiredBytesPerPartition()) return false; if (hasDesiredBytesPerPartition()) { - if (getDesiredBytesPerPartition() != other.getDesiredBytesPerPartition()) return false; + if (getDesiredBytesPerPartition() + != other.getDesiredBytesPerPartition()) return false; } if (hasMaxPartitionCount() != other.hasMaxPartitionCount()) return false; if (hasMaxPartitionCount()) { - if (getMaxPartitionCount() != other.getMaxPartitionCount()) return false; + if (getMaxPartitionCount() + != other.getMaxPartitionCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -350,11 +307,13 @@ public int hashCode() { } if (hasDesiredBytesPerPartition()) { hash = (37 * hash) + DESIRED_BYTES_PER_PARTITION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDesiredBytesPerPartition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDesiredBytesPerPartition()); } if (hasMaxPartitionCount()) { hash = (37 * hash) + MAX_PARTITION_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPartitionCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxPartitionCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -362,104 +321,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Generate database partitions for the given read. Successful outcomes will
    * contain database partitions in the db_partition field.
@@ -467,23 +420,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.GenerateDbPartitionsForReadAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.GenerateDbPartitionsForReadAction)
       com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.class,
-              com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder.class);
+              com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.class, com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.newBuilder()
@@ -491,18 +442,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getReadFieldBuilder();
         getTableFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -525,14 +476,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction
-        getDefaultInstanceForType() {
+    public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction getDefaultInstanceForType() {
       return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance();
     }
 
@@ -547,18 +497,14 @@ public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction build()
 
     @java.lang.Override
     public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction buildPartial() {
-      com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction result =
-          new com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction(this);
+      com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction result = new com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction result) {
+    private void buildPartialRepeatedFields(com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction result) {
       if (tableBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           table_ = java.util.Collections.unmodifiableList(table_);
@@ -570,12 +516,13 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction result) {
+    private void buildPartial0(com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.read_ = readBuilder_ == null ? read_ : readBuilder_.build();
+        result.read_ = readBuilder_ == null
+            ? read_
+            : readBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -593,50 +540,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) {
-        return mergeFrom((com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction other) {
-      if (other
-          == com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction other) {
+      if (other == com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance()) return this;
       if (other.hasRead()) {
         mergeRead(other.getRead());
       }
@@ -658,10 +601,9 @@ public Builder mergeFrom(
             tableBuilder_ = null;
             table_ = other.table_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            tableBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTableFieldBuilder()
-                    : null;
+            tableBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTableFieldBuilder() : null;
           } else {
             tableBuilder_.addAllMessages(other.table_);
           }
@@ -699,44 +641,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getReadFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.spanner.executor.v1.TableMetadata m =
-                    input.readMessage(
-                        com.google.spanner.executor.v1.TableMetadata.parser(), extensionRegistry);
-                if (tableBuilder_ == null) {
-                  ensureTableIsMutable();
-                  table_.add(m);
-                } else {
-                  tableBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                desiredBytesPerPartition_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                maxPartitionCount_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getReadFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.spanner.executor.v1.TableMetadata m =
+                  input.readMessage(
+                      com.google.spanner.executor.v1.TableMetadata.parser(),
+                      extensionRegistry);
+              if (tableBuilder_ == null) {
+                ensureTableIsMutable();
+                table_.add(m);
+              } else {
+                tableBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              desiredBytesPerPartition_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              maxPartitionCount_ = input.readInt64();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            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) {
@@ -746,52 +686,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.executor.v1.ReadAction read_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.ReadAction,
-            com.google.spanner.executor.v1.ReadAction.Builder,
-            com.google.spanner.executor.v1.ReadActionOrBuilder>
-        readBuilder_;
+        com.google.spanner.executor.v1.ReadAction, com.google.spanner.executor.v1.ReadAction.Builder, com.google.spanner.executor.v1.ReadActionOrBuilder> readBuilder_;
     /**
-     *
-     *
      * 
      * Read to generate partitions for.
      * 
* * .google.spanner.executor.v1.ReadAction read = 1; - * * @return Whether the read field is set. */ public boolean hasRead() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Read to generate partitions for.
      * 
* * .google.spanner.executor.v1.ReadAction read = 1; - * * @return The read. */ public com.google.spanner.executor.v1.ReadAction getRead() { if (readBuilder_ == null) { - return read_ == null - ? com.google.spanner.executor.v1.ReadAction.getDefaultInstance() - : read_; + return read_ == null ? com.google.spanner.executor.v1.ReadAction.getDefaultInstance() : read_; } else { return readBuilder_.getMessage(); } } /** - * - * *
      * Read to generate partitions for.
      * 
@@ -812,15 +738,14 @@ public Builder setRead(com.google.spanner.executor.v1.ReadAction value) { return this; } /** - * - * *
      * Read to generate partitions for.
      * 
* * .google.spanner.executor.v1.ReadAction read = 1; */ - public Builder setRead(com.google.spanner.executor.v1.ReadAction.Builder builderForValue) { + public Builder setRead( + com.google.spanner.executor.v1.ReadAction.Builder builderForValue) { if (readBuilder_ == null) { read_ = builderForValue.build(); } else { @@ -831,8 +756,6 @@ public Builder setRead(com.google.spanner.executor.v1.ReadAction.Builder builder return this; } /** - * - * *
      * Read to generate partitions for.
      * 
@@ -841,9 +764,9 @@ public Builder setRead(com.google.spanner.executor.v1.ReadAction.Builder builder */ public Builder mergeRead(com.google.spanner.executor.v1.ReadAction value) { if (readBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && read_ != null - && read_ != com.google.spanner.executor.v1.ReadAction.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + read_ != null && + read_ != com.google.spanner.executor.v1.ReadAction.getDefaultInstance()) { getReadBuilder().mergeFrom(value); } else { read_ = value; @@ -858,8 +781,6 @@ public Builder mergeRead(com.google.spanner.executor.v1.ReadAction value) { return this; } /** - * - * *
      * Read to generate partitions for.
      * 
@@ -877,8 +798,6 @@ public Builder clearRead() { return this; } /** - * - * *
      * Read to generate partitions for.
      * 
@@ -891,8 +810,6 @@ public com.google.spanner.executor.v1.ReadAction.Builder getReadBuilder() { return getReadFieldBuilder().getBuilder(); } /** - * - * *
      * Read to generate partitions for.
      * 
@@ -903,14 +820,11 @@ public com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder() { if (readBuilder_ != null) { return readBuilder_.getMessageOrBuilder(); } else { - return read_ == null - ? com.google.spanner.executor.v1.ReadAction.getDefaultInstance() - : read_; + return read_ == null ? + com.google.spanner.executor.v1.ReadAction.getDefaultInstance() : read_; } } /** - * - * *
      * Read to generate partitions for.
      * 
@@ -918,41 +832,32 @@ public com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder() { * .google.spanner.executor.v1.ReadAction read = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReadAction, - com.google.spanner.executor.v1.ReadAction.Builder, - com.google.spanner.executor.v1.ReadActionOrBuilder> + com.google.spanner.executor.v1.ReadAction, com.google.spanner.executor.v1.ReadAction.Builder, com.google.spanner.executor.v1.ReadActionOrBuilder> getReadFieldBuilder() { if (readBuilder_ == null) { - readBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReadAction, - com.google.spanner.executor.v1.ReadAction.Builder, - com.google.spanner.executor.v1.ReadActionOrBuilder>( - getRead(), getParentForChildren(), isClean()); + readBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ReadAction, com.google.spanner.executor.v1.ReadAction.Builder, com.google.spanner.executor.v1.ReadActionOrBuilder>( + getRead(), + getParentForChildren(), + isClean()); read_ = null; } return readBuilder_; } private java.util.List table_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { table_ = new java.util.ArrayList(table_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.TableMetadata, - com.google.spanner.executor.v1.TableMetadata.Builder, - com.google.spanner.executor.v1.TableMetadataOrBuilder> - tableBuilder_; + com.google.spanner.executor.v1.TableMetadata, com.google.spanner.executor.v1.TableMetadata.Builder, com.google.spanner.executor.v1.TableMetadataOrBuilder> tableBuilder_; /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -967,8 +872,6 @@ public java.util.List getTableList } } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -983,8 +886,6 @@ public int getTableCount() { } } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -999,15 +900,14 @@ public com.google.spanner.executor.v1.TableMetadata getTable(int index) { } } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public Builder setTable(int index, com.google.spanner.executor.v1.TableMetadata value) { + public Builder setTable( + int index, com.google.spanner.executor.v1.TableMetadata value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1021,8 +921,6 @@ public Builder setTable(int index, com.google.spanner.executor.v1.TableMetadata return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -1041,8 +939,6 @@ public Builder setTable( return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -1063,15 +959,14 @@ public Builder addTable(com.google.spanner.executor.v1.TableMetadata value) { return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public Builder addTable(int index, com.google.spanner.executor.v1.TableMetadata value) { + public Builder addTable( + int index, com.google.spanner.executor.v1.TableMetadata value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1085,15 +980,14 @@ public Builder addTable(int index, com.google.spanner.executor.v1.TableMetadata return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public Builder addTable(com.google.spanner.executor.v1.TableMetadata.Builder builderForValue) { + public Builder addTable( + com.google.spanner.executor.v1.TableMetadata.Builder builderForValue) { if (tableBuilder_ == null) { ensureTableIsMutable(); table_.add(builderForValue.build()); @@ -1104,8 +998,6 @@ public Builder addTable(com.google.spanner.executor.v1.TableMetadata.Builder bui return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -1124,8 +1016,6 @@ public Builder addTable( return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -1136,7 +1026,8 @@ public Builder addAllTable( java.lang.Iterable values) { if (tableBuilder_ == null) { ensureTableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, table_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, table_); onChanged(); } else { tableBuilder_.addAllMessages(values); @@ -1144,8 +1035,6 @@ public Builder addAllTable( return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -1163,8 +1052,6 @@ public Builder clearTable() { return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -1182,44 +1069,39 @@ public Builder removeTable(int index) { return this; } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public com.google.spanner.executor.v1.TableMetadata.Builder getTableBuilder(int index) { + public com.google.spanner.executor.v1.TableMetadata.Builder getTableBuilder( + int index) { return getTableFieldBuilder().getBuilder(index); } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(int index) { + public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder( + int index) { if (tableBuilder_ == null) { - return table_.get(index); - } else { + return table_.get(index); } else { return tableBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public java.util.List - getTableOrBuilderList() { + public java.util.List + getTableOrBuilderList() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilderList(); } else { @@ -1227,8 +1109,6 @@ public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(i } } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
@@ -1236,64 +1116,55 @@ public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(i * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder() { - return getTableFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.TableMetadata.getDefaultInstance()); + return getTableFieldBuilder().addBuilder( + com.google.spanner.executor.v1.TableMetadata.getDefaultInstance()); } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder(int index) { - return getTableFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.TableMetadata.getDefaultInstance()); + public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder( + int index) { + return getTableFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.TableMetadata.getDefaultInstance()); } /** - * - * *
      * Metadata related to the tables involved in the read.
      * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - public java.util.List - getTableBuilderList() { + public java.util.List + getTableBuilderList() { return getTableFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.TableMetadata, - com.google.spanner.executor.v1.TableMetadata.Builder, - com.google.spanner.executor.v1.TableMetadataOrBuilder> + com.google.spanner.executor.v1.TableMetadata, com.google.spanner.executor.v1.TableMetadata.Builder, com.google.spanner.executor.v1.TableMetadataOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.TableMetadata, - com.google.spanner.executor.v1.TableMetadata.Builder, - com.google.spanner.executor.v1.TableMetadataOrBuilder>( - table_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.TableMetadata, com.google.spanner.executor.v1.TableMetadata.Builder, com.google.spanner.executor.v1.TableMetadataOrBuilder>( + table_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; } - private long desiredBytesPerPartition_; + private long desiredBytesPerPartition_ ; /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 3; - * * @return Whether the desiredBytesPerPartition field is set. */ @java.lang.Override @@ -1301,15 +1172,12 @@ public boolean hasDesiredBytesPerPartition() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 3; - * * @return The desiredBytesPerPartition. */ @java.lang.Override @@ -1317,15 +1185,12 @@ public long getDesiredBytesPerPartition() { return desiredBytesPerPartition_; } /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 3; - * * @param value The desiredBytesPerPartition to set. * @return This builder for chaining. */ @@ -1337,15 +1202,12 @@ public Builder setDesiredBytesPerPartition(long value) { return this; } /** - * - * *
      * Desired size of data in each partition. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 desired_bytes_per_partition = 3; - * * @return This builder for chaining. */ public Builder clearDesiredBytesPerPartition() { @@ -1355,17 +1217,14 @@ public Builder clearDesiredBytesPerPartition() { return this; } - private long maxPartitionCount_; + private long maxPartitionCount_ ; /** - * - * *
      * If set, the desired max number of partitions. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 max_partition_count = 4; - * * @return Whether the maxPartitionCount field is set. */ @java.lang.Override @@ -1373,15 +1232,12 @@ public boolean hasMaxPartitionCount() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * If set, the desired max number of partitions. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 max_partition_count = 4; - * * @return The maxPartitionCount. */ @java.lang.Override @@ -1389,15 +1245,12 @@ public long getMaxPartitionCount() { return maxPartitionCount_; } /** - * - * *
      * If set, the desired max number of partitions. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 max_partition_count = 4; - * * @param value The maxPartitionCount to set. * @return This builder for chaining. */ @@ -1409,15 +1262,12 @@ public Builder setMaxPartitionCount(long value) { return this; } /** - * - * *
      * If set, the desired max number of partitions. Spanner doesn't guarantee to
      * respect this value.
      * 
* * optional int64 max_partition_count = 4; - * * @return This builder for chaining. */ public Builder clearMaxPartitionCount() { @@ -1426,9 +1276,9 @@ public Builder clearMaxPartitionCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1438,43 +1288,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.GenerateDbPartitionsForReadAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.GenerateDbPartitionsForReadAction) - private static final com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction(); } - public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - getDefaultInstance() { + public static com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateDbPartitionsForReadAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateDbPartitionsForReadAction 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; @@ -1486,8 +1334,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadActionOrBuilder.java similarity index 77% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadActionOrBuilder.java index d415029950f..74ca57f9033 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GenerateDbPartitionsForReadActionOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface GenerateDbPartitionsForReadActionOrBuilder - extends +public interface GenerateDbPartitionsForReadActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GenerateDbPartitionsForReadAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Read to generate partitions for.
    * 
* * .google.spanner.executor.v1.ReadAction read = 1; - * * @return Whether the read field is set. */ boolean hasRead(); /** - * - * *
    * Read to generate partitions for.
    * 
* * .google.spanner.executor.v1.ReadAction read = 1; - * * @return The read. */ com.google.spanner.executor.v1.ReadAction getRead(); /** - * - * *
    * Read to generate partitions for.
    * 
@@ -60,18 +36,15 @@ public interface GenerateDbPartitionsForReadActionOrBuilder com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder(); /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - java.util.List getTableList(); + java.util.List + getTableList(); /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
@@ -80,8 +53,6 @@ public interface GenerateDbPartitionsForReadActionOrBuilder */ com.google.spanner.executor.v1.TableMetadata getTable(int index); /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
@@ -90,77 +61,62 @@ public interface GenerateDbPartitionsForReadActionOrBuilder */ int getTableCount(); /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - java.util.List + java.util.List getTableOrBuilderList(); /** - * - * *
    * Metadata related to the tables involved in the read.
    * 
* * repeated .google.spanner.executor.v1.TableMetadata table = 2; */ - com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(int index); + com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder( + int index); /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 3; - * * @return Whether the desiredBytesPerPartition field is set. */ boolean hasDesiredBytesPerPartition(); /** - * - * *
    * Desired size of data in each partition. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 desired_bytes_per_partition = 3; - * * @return The desiredBytesPerPartition. */ long getDesiredBytesPerPartition(); /** - * - * *
    * If set, the desired max number of partitions. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 max_partition_count = 4; - * * @return Whether the maxPartitionCount field is set. */ boolean hasMaxPartitionCount(); /** - * - * *
    * If set, the desired max number of partitions. Spanner doesn't guarantee to
    * respect this value.
    * 
* * optional int64 max_partition_count = 4; - * * @return The maxPartitionCount. */ long getMaxPartitionCount(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupAction.java index 1ad8a59980f..15ab48a3e13 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that gets a Cloud Spanner database backup.
  * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudBackupAction} */ -public final class GetCloudBackupAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCloudBackupAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.GetCloudBackupAction) GetCloudBackupActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCloudBackupAction.newBuilder() to construct. private GetCloudBackupAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCloudBackupAction() { projectId_ = ""; instanceId_ = ""; @@ -46,38 +28,33 @@ private GetCloudBackupAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCloudBackupAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudBackupAction.class, - com.google.spanner.executor.v1.GetCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.GetCloudBackupAction.class, com.google.spanner.executor.v1.GetCloudBackupAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -168,18 +141,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * The id of the backup to get, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ @java.lang.Override @@ -188,29 +157,29 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * The id of the backup to get, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -219,7 +188,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -267,17 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.GetCloudBackupAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.GetCloudBackupAction other = - (com.google.spanner.executor.v1.GetCloudBackupAction) obj; + com.google.spanner.executor.v1.GetCloudBackupAction other = (com.google.spanner.executor.v1.GetCloudBackupAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,135 +272,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudBackupAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.GetCloudBackupAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudBackupAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.GetCloudBackupAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that gets a Cloud Spanner database backup.
    * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudBackupAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.GetCloudBackupAction) com.google.spanner.executor.v1.GetCloudBackupActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudBackupAction.class, - com.google.spanner.executor.v1.GetCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.GetCloudBackupAction.class, com.google.spanner.executor.v1.GetCloudBackupAction.Builder.class); } // Construct using com.google.spanner.executor.v1.GetCloudBackupAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -441,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; } @java.lang.Override @@ -462,11 +429,8 @@ public com.google.spanner.executor.v1.GetCloudBackupAction build() { @java.lang.Override public com.google.spanner.executor.v1.GetCloudBackupAction buildPartial() { - com.google.spanner.executor.v1.GetCloudBackupAction result = - new com.google.spanner.executor.v1.GetCloudBackupAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.GetCloudBackupAction result = new com.google.spanner.executor.v1.GetCloudBackupAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -488,39 +452,38 @@ private void buildPartial0(com.google.spanner.executor.v1.GetCloudBackupAction r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.GetCloudBackupAction) { - return mergeFrom((com.google.spanner.executor.v1.GetCloudBackupAction) other); + return mergeFrom((com.google.spanner.executor.v1.GetCloudBackupAction)other); } else { super.mergeFrom(other); return this; @@ -528,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.GetCloudBackupAction other) { - if (other == com.google.spanner.executor.v1.GetCloudBackupAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.GetCloudBackupAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -571,31 +533,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -605,25 +563,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -632,21 +587,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -654,35 +608,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -692,21 +639,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -716,20 +659,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -738,21 +679,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -760,35 +700,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -798,21 +731,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -822,20 +751,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * The id of the backup to get, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -844,21 +771,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * The id of the backup to get, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -866,35 +792,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * The id of the backup to get, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the backup to get, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -904,30 +823,26 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * The id of the backup to get, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -937,12 +852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.GetCloudBackupAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.GetCloudBackupAction) private static final com.google.spanner.executor.v1.GetCloudBackupAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.GetCloudBackupAction(); } @@ -951,27 +866,27 @@ public static com.google.spanner.executor.v1.GetCloudBackupAction getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCloudBackupAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCloudBackupAction 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; @@ -986,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.GetCloudBackupAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupActionOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupActionOrBuilder.java index 67cac4420ef..e4b4a348785 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudBackupActionOrBuilder.java @@ -1,101 +1,70 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface GetCloudBackupActionOrBuilder - extends +public interface GetCloudBackupActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GetCloudBackupAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * The id of the backup to get, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * The id of the backup to get, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseAction.java index eae1bb45199..6bb3e0463a8 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that gets a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudDatabaseAction} */ -public final class GetCloudDatabaseAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCloudDatabaseAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.GetCloudDatabaseAction) GetCloudDatabaseActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCloudDatabaseAction.newBuilder() to construct. private GetCloudDatabaseAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCloudDatabaseAction() { projectId_ = ""; instanceId_ = ""; @@ -46,38 +28,33 @@ private GetCloudDatabaseAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCloudDatabaseAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudDatabaseAction.class, - com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.GetCloudDatabaseAction.class, com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -168,18 +141,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The id of the database to get, e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ @java.lang.Override @@ -188,29 +157,29 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The id of the database to get, e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -219,7 +188,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -267,17 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.GetCloudDatabaseAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.GetCloudDatabaseAction other = - (com.google.spanner.executor.v1.GetCloudDatabaseAction) obj; + com.google.spanner.executor.v1.GetCloudDatabaseAction other = (com.google.spanner.executor.v1.GetCloudDatabaseAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,136 +272,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudDatabaseAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.GetCloudDatabaseAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.GetCloudDatabaseAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that gets a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudDatabaseAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.GetCloudDatabaseAction) com.google.spanner.executor.v1.GetCloudDatabaseActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudDatabaseAction.class, - com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.GetCloudDatabaseAction.class, com.google.spanner.executor.v1.GetCloudDatabaseAction.Builder.class); } // Construct using com.google.spanner.executor.v1.GetCloudDatabaseAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; } @java.lang.Override @@ -463,11 +429,8 @@ public com.google.spanner.executor.v1.GetCloudDatabaseAction build() { @java.lang.Override public com.google.spanner.executor.v1.GetCloudDatabaseAction buildPartial() { - com.google.spanner.executor.v1.GetCloudDatabaseAction result = - new com.google.spanner.executor.v1.GetCloudDatabaseAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.GetCloudDatabaseAction result = new com.google.spanner.executor.v1.GetCloudDatabaseAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -489,39 +452,38 @@ private void buildPartial0(com.google.spanner.executor.v1.GetCloudDatabaseAction public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.GetCloudDatabaseAction) { - return mergeFrom((com.google.spanner.executor.v1.GetCloudDatabaseAction) other); + return mergeFrom((com.google.spanner.executor.v1.GetCloudDatabaseAction)other); } else { super.mergeFrom(other); return this; @@ -529,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.GetCloudDatabaseAction other) { - if (other == com.google.spanner.executor.v1.GetCloudDatabaseAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.GetCloudDatabaseAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -572,31 +533,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -606,25 +563,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -633,21 +587,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -655,35 +608,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -693,21 +639,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -717,20 +659,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -739,21 +679,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -761,35 +700,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -799,21 +731,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -823,20 +751,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The id of the database to get, e.g. "db0".
      * 
* * string database_id = 3; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -845,21 +771,20 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The id of the database to get, e.g. "db0".
      * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -867,35 +792,28 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The id of the database to get, e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the database to get, e.g. "db0".
      * 
* * string database_id = 3; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -905,30 +823,26 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The id of the database to get, e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -938,12 +852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.GetCloudDatabaseAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.GetCloudDatabaseAction) private static final com.google.spanner.executor.v1.GetCloudDatabaseAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.GetCloudDatabaseAction(); } @@ -952,27 +866,27 @@ public static com.google.spanner.executor.v1.GetCloudDatabaseAction getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCloudDatabaseAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCloudDatabaseAction 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; @@ -987,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.GetCloudDatabaseAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseActionOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseActionOrBuilder.java index ec6a9b3bca1..182f5db06b0 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudDatabaseActionOrBuilder.java @@ -1,101 +1,70 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface GetCloudDatabaseActionOrBuilder - extends +public interface GetCloudDatabaseActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GetCloudDatabaseAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * The id of the database to get, e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The id of the database to get, e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceAction.java similarity index 67% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceAction.java index cf7e774fe54..8c0e881558d 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that retrieves a Cloud Spanner instance.
  * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudInstanceAction} */ -public final class GetCloudInstanceAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCloudInstanceAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.GetCloudInstanceAction) GetCloudInstanceActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCloudInstanceAction.newBuilder() to construct. private GetCloudInstanceAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCloudInstanceAction() { projectId_ = ""; instanceId_ = ""; @@ -45,38 +27,33 @@ private GetCloudInstanceAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCloudInstanceAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudInstanceAction.class, - com.google.spanner.executor.v1.GetCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.GetCloudInstanceAction.class, com.google.spanner.executor.v1.GetCloudInstanceAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -116,19 +93,15 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path) to retrieve the instance from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -137,30 +110,30 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path) to retrieve the instance from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -211,16 +184,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.GetCloudInstanceAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.GetCloudInstanceAction other = - (com.google.spanner.executor.v1.GetCloudInstanceAction) obj; + com.google.spanner.executor.v1.GetCloudInstanceAction other = (com.google.spanner.executor.v1.GetCloudInstanceAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -242,136 +216,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudInstanceAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.GetCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudInstanceAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.GetCloudInstanceAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.GetCloudInstanceAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that retrieves a Cloud Spanner instance.
    * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudInstanceAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.GetCloudInstanceAction) com.google.spanner.executor.v1.GetCloudInstanceActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudInstanceAction.class, - com.google.spanner.executor.v1.GetCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.GetCloudInstanceAction.class, com.google.spanner.executor.v1.GetCloudInstanceAction.Builder.class); } // Construct using com.google.spanner.executor.v1.GetCloudInstanceAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; } @java.lang.Override @@ -403,11 +372,8 @@ public com.google.spanner.executor.v1.GetCloudInstanceAction build() { @java.lang.Override public com.google.spanner.executor.v1.GetCloudInstanceAction buildPartial() { - com.google.spanner.executor.v1.GetCloudInstanceAction result = - new com.google.spanner.executor.v1.GetCloudInstanceAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.GetCloudInstanceAction result = new com.google.spanner.executor.v1.GetCloudInstanceAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -426,39 +392,38 @@ private void buildPartial0(com.google.spanner.executor.v1.GetCloudInstanceAction public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.GetCloudInstanceAction) { - return mergeFrom((com.google.spanner.executor.v1.GetCloudInstanceAction) other); + return mergeFrom((com.google.spanner.executor.v1.GetCloudInstanceAction)other); } else { super.mergeFrom(other); return this; @@ -466,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.GetCloudInstanceAction other) { - if (other == com.google.spanner.executor.v1.GetCloudInstanceAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.GetCloudInstanceAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -504,25 +468,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = 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) { @@ -532,25 +493,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -559,21 +517,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -581,35 +538,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -619,21 +569,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -643,21 +589,19 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path) to retrieve the instance from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -666,22 +610,21 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path) to retrieve the instance from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -689,37 +632,30 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path) to retrieve the instance from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path) to retrieve the instance from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -729,31 +665,27 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path) to retrieve the instance from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +695,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.GetCloudInstanceAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.GetCloudInstanceAction) private static final com.google.spanner.executor.v1.GetCloudInstanceAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.GetCloudInstanceAction(); } @@ -777,27 +709,27 @@ public static com.google.spanner.executor.v1.GetCloudInstanceAction getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCloudInstanceAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCloudInstanceAction 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; @@ -812,4 +744,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.GetCloudInstanceAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceActionOrBuilder.java similarity index 58% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceActionOrBuilder.java index 016fb31a4fc..06538fe5eba 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceActionOrBuilder.java @@ -1,78 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface GetCloudInstanceActionOrBuilder - extends +public interface GetCloudInstanceActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GetCloudInstanceAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path) to retrieve the instance from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path) to retrieve the instance from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigAction.java similarity index 67% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigAction.java index bc25ab24966..46d03d52d5a 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that gets a user instance config.
  * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudInstanceConfigAction} */ -public final class GetCloudInstanceConfigAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCloudInstanceConfigAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.GetCloudInstanceConfigAction) GetCloudInstanceConfigActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCloudInstanceConfigAction.newBuilder() to construct. private GetCloudInstanceConfigAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCloudInstanceConfigAction() { instanceConfigId_ = ""; projectId_ = ""; @@ -45,38 +27,33 @@ private GetCloudInstanceConfigAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCloudInstanceConfigAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.class, - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.GetCloudInstanceConfigAction.class, com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder.class); } public static final int INSTANCE_CONFIG_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceConfigId_ = ""; /** - * - * *
    * Instance config ID (not path), e.g. "custom-config".
    * 
* * string instance_config_id = 1; - * * @return The instanceConfigId. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getInstanceConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; } } /** - * - * *
    * Instance config ID (not path), e.g. "custom-config".
    * 
* * string instance_config_id = 1; - * * @return The bytes for instanceConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceConfigId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceConfigId_); } @@ -209,16 +182,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.GetCloudInstanceConfigAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.GetCloudInstanceConfigAction other = - (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) obj; + com.google.spanner.executor.v1.GetCloudInstanceConfigAction other = (com.google.spanner.executor.v1.GetCloudInstanceConfigAction) obj; - if (!getInstanceConfigId().equals(other.getInstanceConfigId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getInstanceConfigId() + .equals(other.getInstanceConfigId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,136 +214,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.GetCloudInstanceConfigAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.GetCloudInstanceConfigAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that gets a user instance config.
    * 
* * Protobuf type {@code google.spanner.executor.v1.GetCloudInstanceConfigAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.GetCloudInstanceConfigAction) com.google.spanner.executor.v1.GetCloudInstanceConfigActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.class, - com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.GetCloudInstanceConfigAction.class, com.google.spanner.executor.v1.GetCloudInstanceConfigAction.Builder.class); } // Construct using com.google.spanner.executor.v1.GetCloudInstanceConfigAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; } @java.lang.Override @@ -401,11 +370,8 @@ public com.google.spanner.executor.v1.GetCloudInstanceConfigAction build() { @java.lang.Override public com.google.spanner.executor.v1.GetCloudInstanceConfigAction buildPartial() { - com.google.spanner.executor.v1.GetCloudInstanceConfigAction result = - new com.google.spanner.executor.v1.GetCloudInstanceConfigAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.GetCloudInstanceConfigAction result = new com.google.spanner.executor.v1.GetCloudInstanceConfigAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -424,39 +390,38 @@ private void buildPartial0(com.google.spanner.executor.v1.GetCloudInstanceConfig public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.GetCloudInstanceConfigAction) { - return mergeFrom((com.google.spanner.executor.v1.GetCloudInstanceConfigAction) other); + return mergeFrom((com.google.spanner.executor.v1.GetCloudInstanceConfigAction)other); } else { super.mergeFrom(other); return this; @@ -464,8 +429,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.GetCloudInstanceConfigAction other) { - if (other == com.google.spanner.executor.v1.GetCloudInstanceConfigAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.GetCloudInstanceConfigAction.getDefaultInstance()) return this; if (!other.getInstanceConfigId().isEmpty()) { instanceConfigId_ = other.instanceConfigId_; bitField0_ |= 0x00000001; @@ -502,25 +466,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceConfigId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceConfigId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = 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) { @@ -530,25 +491,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceConfigId_ = ""; /** - * - * *
      * Instance config ID (not path), e.g. "custom-config".
      * 
* * string instance_config_id = 1; - * * @return The instanceConfigId. */ public java.lang.String getInstanceConfigId() { java.lang.Object ref = instanceConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; @@ -557,21 +515,20 @@ public java.lang.String getInstanceConfigId() { } } /** - * - * *
      * Instance config ID (not path), e.g. "custom-config".
      * 
* * string instance_config_id = 1; - * * @return The bytes for instanceConfigId. */ - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -579,35 +536,28 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { } } /** - * - * *
      * Instance config ID (not path), e.g. "custom-config".
      * 
* * string instance_config_id = 1; - * * @param value The instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceConfigId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Instance config ID (not path), e.g. "custom-config".
      * 
* * string instance_config_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceConfigId() { @@ -617,21 +567,17 @@ public Builder clearInstanceConfigId() { return this; } /** - * - * *
      * Instance config ID (not path), e.g. "custom-config".
      * 
* * string instance_config_id = 1; - * * @param value The bytes for instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceConfigId_ = value; bitField0_ |= 0x00000001; @@ -641,20 +587,18 @@ public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -663,21 +607,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -685,35 +628,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -723,30 +659,26 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +688,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.GetCloudInstanceConfigAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.GetCloudInstanceConfigAction) private static final com.google.spanner.executor.v1.GetCloudInstanceConfigAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.GetCloudInstanceConfigAction(); } @@ -770,27 +702,27 @@ public static com.google.spanner.executor.v1.GetCloudInstanceConfigAction getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCloudInstanceConfigAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCloudInstanceConfigAction 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; @@ -805,4 +737,6 @@ public com.google.protobuf.Parser getParserForType public com.google.spanner.executor.v1.GetCloudInstanceConfigAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigActionOrBuilder.java similarity index 57% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigActionOrBuilder.java index f5092ed316d..f97b33ef8ec 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetCloudInstanceConfigActionOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface GetCloudInstanceConfigActionOrBuilder - extends +public interface GetCloudInstanceConfigActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GetCloudInstanceConfigAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Instance config ID (not path), e.g. "custom-config".
    * 
* * string instance_config_id = 1; - * * @return The instanceConfigId. */ java.lang.String getInstanceConfigId(); /** - * - * *
    * Instance config ID (not path), e.g. "custom-config".
    * 
* * string instance_config_id = 1; - * * @return The bytes for instanceConfigId. */ - com.google.protobuf.ByteString getInstanceConfigIdBytes(); + com.google.protobuf.ByteString + getInstanceConfigIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationAction.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationAction.java index 0d3cebe92a0..38af23a0237 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,62 +5,54 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that gets an operation.
  * 
* * Protobuf type {@code google.spanner.executor.v1.GetOperationAction} */ -public final class GetOperationAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOperationAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.GetOperationAction) GetOperationActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOperationAction.newBuilder() to construct. private GetOperationAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOperationAction() { operation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOperationAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetOperationAction.class, - com.google.spanner.executor.v1.GetOperationAction.Builder.class); + com.google.spanner.executor.v1.GetOperationAction.class, com.google.spanner.executor.v1.GetOperationAction.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object operation_ = ""; /** - * - * *
    * The name of the operation resource.
    * 
* * string operation = 1; - * * @return The operation. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getOperation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } } /** - * - * *
    * The name of the operation resource.
    * 
* * string operation = 1; - * * @return The bytes for operation. */ @java.lang.Override - public com.google.protobuf.ByteString getOperationBytes() { + public com.google.protobuf.ByteString + getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -115,7 +92,6 @@ public com.google.protobuf.ByteString getOperationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operation_); } @@ -151,15 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.GetOperationAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.GetOperationAction other = - (com.google.spanner.executor.v1.GetOperationAction) obj; + com.google.spanner.executor.v1.GetOperationAction other = (com.google.spanner.executor.v1.GetOperationAction) obj; - if (!getOperation().equals(other.getOperation())) return false; + if (!getOperation() + .equals(other.getOperation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -179,135 +156,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.GetOperationAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetOperationAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetOperationAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.GetOperationAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.GetOperationAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.GetOperationAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.GetOperationAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that gets an operation.
    * 
* * Protobuf type {@code google.spanner.executor.v1.GetOperationAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.GetOperationAction) com.google.spanner.executor.v1.GetOperationActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.GetOperationAction.class, - com.google.spanner.executor.v1.GetOperationAction.Builder.class); + com.google.spanner.executor.v1.GetOperationAction.class, com.google.spanner.executor.v1.GetOperationAction.Builder.class); } // Construct using com.google.spanner.executor.v1.GetOperationAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; } @java.lang.Override @@ -338,11 +311,8 @@ public com.google.spanner.executor.v1.GetOperationAction build() { @java.lang.Override public com.google.spanner.executor.v1.GetOperationAction buildPartial() { - com.google.spanner.executor.v1.GetOperationAction result = - new com.google.spanner.executor.v1.GetOperationAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.GetOperationAction result = new com.google.spanner.executor.v1.GetOperationAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -358,39 +328,38 @@ private void buildPartial0(com.google.spanner.executor.v1.GetOperationAction res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.GetOperationAction) { - return mergeFrom((com.google.spanner.executor.v1.GetOperationAction) other); + return mergeFrom((com.google.spanner.executor.v1.GetOperationAction)other); } else { super.mergeFrom(other); return this; @@ -398,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.GetOperationAction other) { - if (other == com.google.spanner.executor.v1.GetOperationAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.GetOperationAction.getDefaultInstance()) return this; if (!other.getOperation().isEmpty()) { operation_ = other.operation_; bitField0_ |= 0x00000001; @@ -431,19 +399,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - operation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + operation_ = 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) { @@ -453,25 +419,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object operation_ = ""; /** - * - * *
      * The name of the operation resource.
      * 
* * string operation = 1; - * * @return The operation. */ public java.lang.String getOperation() { java.lang.Object ref = operation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; @@ -480,21 +443,20 @@ public java.lang.String getOperation() { } } /** - * - * *
      * The name of the operation resource.
      * 
* * string operation = 1; - * * @return The bytes for operation. */ - public com.google.protobuf.ByteString getOperationBytes() { + public com.google.protobuf.ByteString + getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -502,35 +464,28 @@ public com.google.protobuf.ByteString getOperationBytes() { } } /** - * - * *
      * The name of the operation resource.
      * 
* * string operation = 1; - * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } operation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the operation resource.
      * 
* * string operation = 1; - * * @return This builder for chaining. */ public Builder clearOperation() { @@ -540,30 +495,26 @@ public Builder clearOperation() { return this; } /** - * - * *
      * The name of the operation resource.
      * 
* * string operation = 1; - * * @param value The bytes for operation to set. * @return This builder for chaining. */ - public Builder setOperationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operation_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.GetOperationAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.GetOperationAction) private static final com.google.spanner.executor.v1.GetOperationAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.GetOperationAction(); } @@ -587,27 +538,27 @@ public static com.google.spanner.executor.v1.GetOperationAction getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOperationAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOperationAction 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; @@ -622,4 +573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.GetOperationAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationActionOrBuilder.java new file mode 100644 index 00000000000..553bc5d1dcf --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationActionOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/executor/v1/cloud_executor.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.executor.v1; + +public interface GetOperationActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GetOperationAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the operation resource.
+   * 
+ * + * string operation = 1; + * @return The operation. + */ + java.lang.String getOperation(); + /** + *
+   * The name of the operation resource.
+   * 
+ * + * string operation = 1; + * @return The bytes for operation. + */ + com.google.protobuf.ByteString + getOperationBytes(); +} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecord.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecord.java similarity index 66% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecord.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecord.java index 6344099b56b..c1e752ca990 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecord.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecord.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,59 +5,53 @@ package com.google.spanner.executor.v1; /** - * - * *
  * ChangeStream heartbeat record.
  * 
* * Protobuf type {@code google.spanner.executor.v1.HeartbeatRecord} */ -public final class HeartbeatRecord extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HeartbeatRecord extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.HeartbeatRecord) HeartbeatRecordOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HeartbeatRecord.newBuilder() to construct. private HeartbeatRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private HeartbeatRecord() {} + private HeartbeatRecord() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HeartbeatRecord(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_HeartbeatRecord_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_HeartbeatRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.HeartbeatRecord.class, - com.google.spanner.executor.v1.HeartbeatRecord.Builder.class); + com.google.spanner.executor.v1.HeartbeatRecord.class, com.google.spanner.executor.v1.HeartbeatRecord.Builder.class); } private int bitField0_; public static final int HEARTBEAT_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp heartbeatTime_; /** - * - * *
    * Timestamp for this heartbeat check.
    * 
* * .google.protobuf.Timestamp heartbeat_time = 1; - * * @return Whether the heartbeatTime field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasHeartbeatTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Timestamp for this heartbeat check.
    * 
* * .google.protobuf.Timestamp heartbeat_time = 1; - * * @return The heartbeatTime. */ @java.lang.Override public com.google.protobuf.Timestamp getHeartbeatTime() { - return heartbeatTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : heartbeatTime_; + return heartbeatTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : heartbeatTime_; } /** - * - * *
    * Timestamp for this heartbeat check.
    * 
@@ -107,13 +79,10 @@ public com.google.protobuf.Timestamp getHeartbeatTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getHeartbeatTimeOrBuilder() { - return heartbeatTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : heartbeatTime_; + return heartbeatTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : heartbeatTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getHeartbeatTime()); } @@ -139,7 +109,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeartbeatTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHeartbeatTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -149,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.HeartbeatRecord)) { return super.equals(obj); } - com.google.spanner.executor.v1.HeartbeatRecord other = - (com.google.spanner.executor.v1.HeartbeatRecord) obj; + com.google.spanner.executor.v1.HeartbeatRecord other = (com.google.spanner.executor.v1.HeartbeatRecord) obj; if (hasHeartbeatTime() != other.hasHeartbeatTime()) return false; if (hasHeartbeatTime()) { - if (!getHeartbeatTime().equals(other.getHeartbeatTime())) return false; + if (!getHeartbeatTime() + .equals(other.getHeartbeatTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,127 +152,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.HeartbeatRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.HeartbeatRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.HeartbeatRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.HeartbeatRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ChangeStream heartbeat record.
    * 
* * Protobuf type {@code google.spanner.executor.v1.HeartbeatRecord} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.HeartbeatRecord) com.google.spanner.executor.v1.HeartbeatRecordOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_HeartbeatRecord_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_HeartbeatRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.HeartbeatRecord.class, - com.google.spanner.executor.v1.HeartbeatRecord.Builder.class); + com.google.spanner.executor.v1.HeartbeatRecord.class, com.google.spanner.executor.v1.HeartbeatRecord.Builder.class); } // Construct using com.google.spanner.executor.v1.HeartbeatRecord.newBuilder() @@ -309,17 +273,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getHeartbeatTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; } @java.lang.Override @@ -354,11 +318,8 @@ public com.google.spanner.executor.v1.HeartbeatRecord build() { @java.lang.Override public com.google.spanner.executor.v1.HeartbeatRecord buildPartial() { - com.google.spanner.executor.v1.HeartbeatRecord result = - new com.google.spanner.executor.v1.HeartbeatRecord(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.HeartbeatRecord result = new com.google.spanner.executor.v1.HeartbeatRecord(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,8 +328,9 @@ private void buildPartial0(com.google.spanner.executor.v1.HeartbeatRecord result int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.heartbeatTime_ = - heartbeatTimeBuilder_ == null ? heartbeatTime_ : heartbeatTimeBuilder_.build(); + result.heartbeatTime_ = heartbeatTimeBuilder_ == null + ? heartbeatTime_ + : heartbeatTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -378,39 +340,38 @@ private void buildPartial0(com.google.spanner.executor.v1.HeartbeatRecord result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.HeartbeatRecord) { - return mergeFrom((com.google.spanner.executor.v1.HeartbeatRecord) other); + return mergeFrom((com.google.spanner.executor.v1.HeartbeatRecord)other); } else { super.mergeFrom(other); return this; @@ -448,19 +409,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getHeartbeatTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getHeartbeatTimeFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -470,52 +431,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp heartbeatTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - heartbeatTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> heartbeatTimeBuilder_; /** - * - * *
      * Timestamp for this heartbeat check.
      * 
* * .google.protobuf.Timestamp heartbeat_time = 1; - * * @return Whether the heartbeatTime field is set. */ public boolean hasHeartbeatTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
* * .google.protobuf.Timestamp heartbeat_time = 1; - * * @return The heartbeatTime. */ public com.google.protobuf.Timestamp getHeartbeatTime() { if (heartbeatTimeBuilder_ == null) { - return heartbeatTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : heartbeatTime_; + return heartbeatTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : heartbeatTime_; } else { return heartbeatTimeBuilder_.getMessage(); } } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
@@ -536,15 +483,14 @@ public Builder setHeartbeatTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
* * .google.protobuf.Timestamp heartbeat_time = 1; */ - public Builder setHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setHeartbeatTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (heartbeatTimeBuilder_ == null) { heartbeatTime_ = builderForValue.build(); } else { @@ -555,8 +501,6 @@ public Builder setHeartbeatTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
@@ -565,9 +509,9 @@ public Builder setHeartbeatTime(com.google.protobuf.Timestamp.Builder builderFor */ public Builder mergeHeartbeatTime(com.google.protobuf.Timestamp value) { if (heartbeatTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && heartbeatTime_ != null - && heartbeatTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + heartbeatTime_ != null && + heartbeatTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getHeartbeatTimeBuilder().mergeFrom(value); } else { heartbeatTime_ = value; @@ -582,8 +526,6 @@ public Builder mergeHeartbeatTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
@@ -601,8 +543,6 @@ public Builder clearHeartbeatTime() { return this; } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
@@ -615,8 +555,6 @@ public com.google.protobuf.Timestamp.Builder getHeartbeatTimeBuilder() { return getHeartbeatTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
@@ -627,14 +565,11 @@ public com.google.protobuf.TimestampOrBuilder getHeartbeatTimeOrBuilder() { if (heartbeatTimeBuilder_ != null) { return heartbeatTimeBuilder_.getMessageOrBuilder(); } else { - return heartbeatTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : heartbeatTime_; + return heartbeatTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : heartbeatTime_; } } /** - * - * *
      * Timestamp for this heartbeat check.
      * 
@@ -642,24 +577,21 @@ public com.google.protobuf.TimestampOrBuilder getHeartbeatTimeOrBuilder() { * .google.protobuf.Timestamp heartbeat_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getHeartbeatTimeFieldBuilder() { if (heartbeatTimeBuilder_ == null) { - heartbeatTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getHeartbeatTime(), getParentForChildren(), isClean()); + heartbeatTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getHeartbeatTime(), + getParentForChildren(), + isClean()); heartbeatTime_ = null; } return heartbeatTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -669,12 +601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.HeartbeatRecord) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.HeartbeatRecord) private static final com.google.spanner.executor.v1.HeartbeatRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.HeartbeatRecord(); } @@ -683,27 +615,27 @@ public static com.google.spanner.executor.v1.HeartbeatRecord getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HeartbeatRecord 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HeartbeatRecord 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; @@ -718,4 +650,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.HeartbeatRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecordOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecordOrBuilder.java similarity index 59% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecordOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecordOrBuilder.java index 2fd58d8829e..2050e75512d 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecordOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/HeartbeatRecordOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface HeartbeatRecordOrBuilder - extends +public interface HeartbeatRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.HeartbeatRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Timestamp for this heartbeat check.
    * 
* * .google.protobuf.Timestamp heartbeat_time = 1; - * * @return Whether the heartbeatTime field is set. */ boolean hasHeartbeatTime(); /** - * - * *
    * Timestamp for this heartbeat check.
    * 
* * .google.protobuf.Timestamp heartbeat_time = 1; - * * @return The heartbeatTime. */ com.google.protobuf.Timestamp getHeartbeatTime(); /** - * - * *
    * Timestamp for this heartbeat check.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRange.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRange.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRange.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRange.java index c27ddbcb302..56acd846161 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRange.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRange.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * KeyRange represents a range of rows in a table or index.
  *
@@ -34,44 +17,40 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.KeyRange}
  */
-public final class KeyRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class KeyRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.KeyRange)
     KeyRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use KeyRange.newBuilder() to construct.
   private KeyRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private KeyRange() {
     type_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new KeyRange();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_KeyRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeyRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.KeyRange.class,
-            com.google.spanner.executor.v1.KeyRange.Builder.class);
+            com.google.spanner.executor.v1.KeyRange.class, com.google.spanner.executor.v1.KeyRange.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Type controls whether "start" and "limit" are open or closed. By default,
    * "start" is closed, and "limit" is open.
@@ -79,10 +58,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.spanner.executor.v1.KeyRange.Type}
    */
-  public enum Type implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Type
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * "TYPE_UNSPECIFIED" is equivalent to "CLOSED_OPEN".
      * 
@@ -91,8 +69,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * [start,limit]
      * 
@@ -101,8 +77,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CLOSED_CLOSED(1), /** - * - * *
      * [start,limit)
      * 
@@ -111,8 +85,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CLOSED_OPEN(2), /** - * - * *
      * (start,limit]
      * 
@@ -121,8 +93,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ OPEN_CLOSED(3), /** - * - * *
      * (start,limit)
      * 
@@ -134,8 +104,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * "TYPE_UNSPECIFIED" is equivalent to "CLOSED_OPEN".
      * 
@@ -144,8 +112,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * [start,limit]
      * 
@@ -154,8 +120,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOSED_CLOSED_VALUE = 1; /** - * - * *
      * [start,limit)
      * 
@@ -164,8 +128,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOSED_OPEN_VALUE = 2; /** - * - * *
      * (start,limit]
      * 
@@ -174,8 +136,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPEN_CLOSED_VALUE = 3; /** - * - * *
      * (start,limit)
      * 
@@ -184,6 +144,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPEN_OPEN_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -208,53 +169,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return CLOSED_CLOSED; - case 2: - return CLOSED_OPEN; - case 3: - return OPEN_CLOSED; - case 4: - return OPEN_OPEN; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return CLOSED_CLOSED; + case 2: return CLOSED_OPEN; + case 3: return OPEN_CLOSED; + case 4: return OPEN_OPEN; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.spanner.executor.v1.KeyRange.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -275,8 +234,6 @@ private Type(int value) { public static final int START_FIELD_NUMBER = 1; private com.google.spanner.executor.v1.ValueList start_; /** - * - * *
    * "start" and "limit" must have the same number of key parts,
    * though they may name only a prefix of the table or index key.
@@ -284,7 +241,6 @@ private Type(int value) {
    * 
* * .google.spanner.executor.v1.ValueList start = 1; - * * @return Whether the start field is set. */ @java.lang.Override @@ -292,8 +248,6 @@ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * "start" and "limit" must have the same number of key parts,
    * though they may name only a prefix of the table or index key.
@@ -301,7 +255,6 @@ public boolean hasStart() {
    * 
* * .google.spanner.executor.v1.ValueList start = 1; - * * @return The start. */ @java.lang.Override @@ -309,8 +262,6 @@ public com.google.spanner.executor.v1.ValueList getStart() { return start_ == null ? com.google.spanner.executor.v1.ValueList.getDefaultInstance() : start_; } /** - * - * *
    * "start" and "limit" must have the same number of key parts,
    * though they may name only a prefix of the table or index key.
@@ -327,14 +278,11 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getStartOrBuilder() {
   public static final int LIMIT_FIELD_NUMBER = 2;
   private com.google.spanner.executor.v1.ValueList limit_;
   /**
-   *
-   *
    * 
    * The end key of this KeyRange.
    * 
* * .google.spanner.executor.v1.ValueList limit = 2; - * * @return Whether the limit field is set. */ @java.lang.Override @@ -342,14 +290,11 @@ public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The end key of this KeyRange.
    * 
* * .google.spanner.executor.v1.ValueList limit = 2; - * * @return The limit. */ @java.lang.Override @@ -357,8 +302,6 @@ public com.google.spanner.executor.v1.ValueList getLimit() { return limit_ == null ? com.google.spanner.executor.v1.ValueList.getDefaultInstance() : limit_; } /** - * - * *
    * The end key of this KeyRange.
    * 
@@ -373,55 +316,41 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getLimitOrBuilder() { public static final int TYPE_FIELD_NUMBER = 3; private int type_ = 0; /** - * - * *
    * "start" and "limit" type for this KeyRange.
    * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return Whether the type field is set. */ - @java.lang.Override - public boolean hasType() { + @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * "start" and "limit" type for this KeyRange.
    * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * "start" and "limit" type for this KeyRange.
    * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return The type. */ - @java.lang.Override - public com.google.spanner.executor.v1.KeyRange.Type getType() { - com.google.spanner.executor.v1.KeyRange.Type result = - com.google.spanner.executor.v1.KeyRange.Type.forNumber(type_); + @java.lang.Override public com.google.spanner.executor.v1.KeyRange.Type getType() { + com.google.spanner.executor.v1.KeyRange.Type result = com.google.spanner.executor.v1.KeyRange.Type.forNumber(type_); return result == null ? com.google.spanner.executor.v1.KeyRange.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -433,7 +362,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStart()); } @@ -453,13 +383,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStart()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStart()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLimit()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLimit()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -469,7 +402,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.KeyRange)) { return super.equals(obj); @@ -478,11 +411,13 @@ public boolean equals(final java.lang.Object obj) { if (hasStart() != other.hasStart()) return false; if (hasStart()) { - if (!getStart().equals(other.getStart())) return false; + if (!getStart() + .equals(other.getStart())) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { - if (!getLimit().equals(other.getLimit())) return false; + if (!getLimit() + .equals(other.getLimit())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { @@ -516,104 +451,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.KeyRange parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.KeyRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.KeyRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.KeyRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.KeyRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.KeyRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.KeyRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.KeyRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.KeyRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.KeyRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.KeyRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.KeyRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.KeyRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.KeyRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.KeyRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * KeyRange represents a range of rows in a table or index.
    *
@@ -626,23 +556,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.KeyRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.KeyRange)
       com.google.spanner.executor.v1.KeyRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_KeyRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeyRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.KeyRange.class,
-              com.google.spanner.executor.v1.KeyRange.Builder.class);
+              com.google.spanner.executor.v1.KeyRange.class, com.google.spanner.executor.v1.KeyRange.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.KeyRange.newBuilder()
@@ -650,18 +578,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartFieldBuilder();
         getLimitFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -681,9 +609,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_KeyRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeyRange_descriptor;
     }
 
     @java.lang.Override
@@ -702,11 +630,8 @@ public com.google.spanner.executor.v1.KeyRange build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.KeyRange buildPartial() {
-      com.google.spanner.executor.v1.KeyRange result =
-          new com.google.spanner.executor.v1.KeyRange(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.KeyRange result = new com.google.spanner.executor.v1.KeyRange(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -715,11 +640,15 @@ private void buildPartial0(com.google.spanner.executor.v1.KeyRange result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.start_ = startBuilder_ == null ? start_ : startBuilder_.build();
+        result.start_ = startBuilder_ == null
+            ? start_
+            : startBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.limit_ = limitBuilder_ == null ? limit_ : limitBuilder_.build();
+        result.limit_ = limitBuilder_ == null
+            ? limit_
+            : limitBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -733,39 +662,38 @@ private void buildPartial0(com.google.spanner.executor.v1.KeyRange result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.KeyRange) {
-        return mergeFrom((com.google.spanner.executor.v1.KeyRange) other);
+        return mergeFrom((com.google.spanner.executor.v1.KeyRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -809,31 +737,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStartFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getLimitFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStartFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getLimitFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            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) {
@@ -843,18 +771,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.executor.v1.ValueList start_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
-        startBuilder_;
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> startBuilder_;
     /**
-     *
-     *
      * 
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -862,15 +784,12 @@ public Builder mergeFrom(
      * 
* * .google.spanner.executor.v1.ValueList start = 1; - * * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -878,21 +797,16 @@ public boolean hasStart() {
      * 
* * .google.spanner.executor.v1.ValueList start = 1; - * * @return The start. */ public com.google.spanner.executor.v1.ValueList getStart() { if (startBuilder_ == null) { - return start_ == null - ? com.google.spanner.executor.v1.ValueList.getDefaultInstance() - : start_; + return start_ == null ? com.google.spanner.executor.v1.ValueList.getDefaultInstance() : start_; } else { return startBuilder_.getMessage(); } } /** - * - * *
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -915,8 +829,6 @@ public Builder setStart(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -925,7 +837,8 @@ public Builder setStart(com.google.spanner.executor.v1.ValueList value) {
      *
      * .google.spanner.executor.v1.ValueList start = 1;
      */
-    public Builder setStart(com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
+    public Builder setStart(
+        com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
       if (startBuilder_ == null) {
         start_ = builderForValue.build();
       } else {
@@ -936,8 +849,6 @@ public Builder setStart(com.google.spanner.executor.v1.ValueList.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -948,9 +859,9 @@ public Builder setStart(com.google.spanner.executor.v1.ValueList.Builder builder
      */
     public Builder mergeStart(com.google.spanner.executor.v1.ValueList value) {
       if (startBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && start_ != null
-            && start_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          start_ != null &&
+          start_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) {
           getStartBuilder().mergeFrom(value);
         } else {
           start_ = value;
@@ -965,8 +876,6 @@ public Builder mergeStart(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -986,8 +895,6 @@ public Builder clearStart() {
       return this;
     }
     /**
-     *
-     *
      * 
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -1002,8 +909,6 @@ public com.google.spanner.executor.v1.ValueList.Builder getStartBuilder() {
       return getStartFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -1016,14 +921,11 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getStartOrBuilder() {
       if (startBuilder_ != null) {
         return startBuilder_.getMessageOrBuilder();
       } else {
-        return start_ == null
-            ? com.google.spanner.executor.v1.ValueList.getDefaultInstance()
-            : start_;
+        return start_ == null ?
+            com.google.spanner.executor.v1.ValueList.getDefaultInstance() : start_;
       }
     }
     /**
-     *
-     *
      * 
      * "start" and "limit" must have the same number of key parts,
      * though they may name only a prefix of the table or index key.
@@ -1033,17 +935,14 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getStartOrBuilder() {
      * .google.spanner.executor.v1.ValueList start = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> 
         getStartFieldBuilder() {
       if (startBuilder_ == null) {
-        startBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.ValueList,
-                com.google.spanner.executor.v1.ValueList.Builder,
-                com.google.spanner.executor.v1.ValueListOrBuilder>(
-                getStart(), getParentForChildren(), isClean());
+        startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>(
+                getStart(),
+                getParentForChildren(),
+                isClean());
         start_ = null;
       }
       return startBuilder_;
@@ -1051,47 +950,34 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getStartOrBuilder() {
 
     private com.google.spanner.executor.v1.ValueList limit_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
-        limitBuilder_;
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> limitBuilder_;
     /**
-     *
-     *
      * 
      * The end key of this KeyRange.
      * 
* * .google.spanner.executor.v1.ValueList limit = 2; - * * @return Whether the limit field is set. */ public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The end key of this KeyRange.
      * 
* * .google.spanner.executor.v1.ValueList limit = 2; - * * @return The limit. */ public com.google.spanner.executor.v1.ValueList getLimit() { if (limitBuilder_ == null) { - return limit_ == null - ? com.google.spanner.executor.v1.ValueList.getDefaultInstance() - : limit_; + return limit_ == null ? com.google.spanner.executor.v1.ValueList.getDefaultInstance() : limit_; } else { return limitBuilder_.getMessage(); } } /** - * - * *
      * The end key of this KeyRange.
      * 
@@ -1112,15 +998,14 @@ public Builder setLimit(com.google.spanner.executor.v1.ValueList value) { return this; } /** - * - * *
      * The end key of this KeyRange.
      * 
* * .google.spanner.executor.v1.ValueList limit = 2; */ - public Builder setLimit(com.google.spanner.executor.v1.ValueList.Builder builderForValue) { + public Builder setLimit( + com.google.spanner.executor.v1.ValueList.Builder builderForValue) { if (limitBuilder_ == null) { limit_ = builderForValue.build(); } else { @@ -1131,8 +1016,6 @@ public Builder setLimit(com.google.spanner.executor.v1.ValueList.Builder builder return this; } /** - * - * *
      * The end key of this KeyRange.
      * 
@@ -1141,9 +1024,9 @@ public Builder setLimit(com.google.spanner.executor.v1.ValueList.Builder builder */ public Builder mergeLimit(com.google.spanner.executor.v1.ValueList value) { if (limitBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && limit_ != null - && limit_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + limit_ != null && + limit_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) { getLimitBuilder().mergeFrom(value); } else { limit_ = value; @@ -1158,8 +1041,6 @@ public Builder mergeLimit(com.google.spanner.executor.v1.ValueList value) { return this; } /** - * - * *
      * The end key of this KeyRange.
      * 
@@ -1177,8 +1058,6 @@ public Builder clearLimit() { return this; } /** - * - * *
      * The end key of this KeyRange.
      * 
@@ -1191,8 +1070,6 @@ public com.google.spanner.executor.v1.ValueList.Builder getLimitBuilder() { return getLimitFieldBuilder().getBuilder(); } /** - * - * *
      * The end key of this KeyRange.
      * 
@@ -1203,14 +1080,11 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getLimitOrBuilder() { if (limitBuilder_ != null) { return limitBuilder_.getMessageOrBuilder(); } else { - return limit_ == null - ? com.google.spanner.executor.v1.ValueList.getDefaultInstance() - : limit_; + return limit_ == null ? + com.google.spanner.executor.v1.ValueList.getDefaultInstance() : limit_; } } /** - * - * *
      * The end key of this KeyRange.
      * 
@@ -1218,17 +1092,14 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getLimitOrBuilder() { * .google.spanner.executor.v1.ValueList limit = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> getLimitFieldBuilder() { if (limitBuilder_ == null) { - limitBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder>( - getLimit(), getParentForChildren(), isClean()); + limitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>( + getLimit(), + getParentForChildren(), + isClean()); limit_ = null; } return limitBuilder_; @@ -1236,44 +1107,33 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getLimitOrBuilder() { private int type_ = 0; /** - * - * *
      * "start" and "limit" type for this KeyRange.
      * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return Whether the type field is set. */ - @java.lang.Override - public boolean hasType() { + @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * "start" and "limit" type for this KeyRange.
      * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * "start" and "limit" type for this KeyRange.
      * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1284,31 +1144,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * "start" and "limit" type for this KeyRange.
      * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return The type. */ @java.lang.Override public com.google.spanner.executor.v1.KeyRange.Type getType() { - com.google.spanner.executor.v1.KeyRange.Type result = - com.google.spanner.executor.v1.KeyRange.Type.forNumber(type_); + com.google.spanner.executor.v1.KeyRange.Type result = com.google.spanner.executor.v1.KeyRange.Type.forNumber(type_); return result == null ? com.google.spanner.executor.v1.KeyRange.Type.UNRECOGNIZED : result; } /** - * - * *
      * "start" and "limit" type for this KeyRange.
      * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1322,14 +1175,11 @@ public Builder setType(com.google.spanner.executor.v1.KeyRange.Type value) { return this; } /** - * - * *
      * "start" and "limit" type for this KeyRange.
      * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1338,9 +1188,9 @@ public Builder clearType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1350,12 +1200,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.KeyRange) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.KeyRange) private static final com.google.spanner.executor.v1.KeyRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.KeyRange(); } @@ -1364,27 +1214,27 @@ public static com.google.spanner.executor.v1.KeyRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeyRange 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KeyRange 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; @@ -1399,4 +1249,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.KeyRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRangeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRangeOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRangeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRangeOrBuilder.java index 427808e9718..def540a1a43 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRangeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeyRangeOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface KeyRangeOrBuilder - extends +public interface KeyRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.KeyRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * "start" and "limit" must have the same number of key parts,
    * though they may name only a prefix of the table or index key.
@@ -34,13 +16,10 @@ public interface KeyRangeOrBuilder
    * 
* * .google.spanner.executor.v1.ValueList start = 1; - * * @return Whether the start field is set. */ boolean hasStart(); /** - * - * *
    * "start" and "limit" must have the same number of key parts,
    * though they may name only a prefix of the table or index key.
@@ -48,13 +27,10 @@ public interface KeyRangeOrBuilder
    * 
* * .google.spanner.executor.v1.ValueList start = 1; - * * @return The start. */ com.google.spanner.executor.v1.ValueList getStart(); /** - * - * *
    * "start" and "limit" must have the same number of key parts,
    * though they may name only a prefix of the table or index key.
@@ -66,32 +42,24 @@ public interface KeyRangeOrBuilder
   com.google.spanner.executor.v1.ValueListOrBuilder getStartOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end key of this KeyRange.
    * 
* * .google.spanner.executor.v1.ValueList limit = 2; - * * @return Whether the limit field is set. */ boolean hasLimit(); /** - * - * *
    * The end key of this KeyRange.
    * 
* * .google.spanner.executor.v1.ValueList limit = 2; - * * @return The limit. */ com.google.spanner.executor.v1.ValueList getLimit(); /** - * - * *
    * The end key of this KeyRange.
    * 
@@ -101,38 +69,29 @@ public interface KeyRangeOrBuilder com.google.spanner.executor.v1.ValueListOrBuilder getLimitOrBuilder(); /** - * - * *
    * "start" and "limit" type for this KeyRange.
    * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
    * "start" and "limit" type for this KeyRange.
    * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * "start" and "limit" type for this KeyRange.
    * 
* * optional .google.spanner.executor.v1.KeyRange.Type type = 3; - * * @return The type. */ com.google.spanner.executor.v1.KeyRange.Type getType(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySet.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySet.java similarity index 75% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySet.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySet.java index 4bbba0c0791..70a5fd5ee9e 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySet.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySet.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * KeySet defines a collection of Spanner keys and/or key ranges. All
  * the keys are expected to be in the same table. The keys need not be
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.KeySet}
  */
-public final class KeySet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class KeySet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.KeySet)
     KeySetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use KeySet.newBuilder() to construct.
   private KeySet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private KeySet() {
     point_ = java.util.Collections.emptyList();
     range_ = java.util.Collections.emptyList();
@@ -47,32 +29,28 @@ private KeySet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new KeySet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_KeySet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeySet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.KeySet.class,
-            com.google.spanner.executor.v1.KeySet.Builder.class);
+            com.google.spanner.executor.v1.KeySet.class, com.google.spanner.executor.v1.KeySet.Builder.class);
   }
 
   public static final int POINT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List point_;
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -86,8 +64,6 @@ public java.util.List getPointList() {
     return point_;
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -97,13 +73,11 @@ public java.util.List getPointList() {
    * repeated .google.spanner.executor.v1.ValueList point = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPointOrBuilderList() {
     return point_;
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -117,8 +91,6 @@ public int getPointCount() {
     return point_.size();
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -132,8 +104,6 @@ public com.google.spanner.executor.v1.ValueList getPoint(int index) {
     return point_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -143,17 +113,15 @@ public com.google.spanner.executor.v1.ValueList getPoint(int index) {
    * repeated .google.spanner.executor.v1.ValueList point = 1;
    */
   @java.lang.Override
-  public com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(int index) {
+  public com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(
+      int index) {
     return point_.get(index);
   }
 
   public static final int RANGE_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List range_;
   /**
-   *
-   *
    * 
    * A list of key ranges.
    * 
@@ -165,8 +133,6 @@ public java.util.List getRangeList() { return range_; } /** - * - * *
    * A list of key ranges.
    * 
@@ -174,13 +140,11 @@ public java.util.List getRangeList() { * repeated .google.spanner.executor.v1.KeyRange range = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRangeOrBuilderList() { return range_; } /** - * - * *
    * A list of key ranges.
    * 
@@ -192,8 +156,6 @@ public int getRangeCount() { return range_.size(); } /** - * - * *
    * A list of key ranges.
    * 
@@ -205,8 +167,6 @@ public com.google.spanner.executor.v1.KeyRange getRange(int index) { return range_.get(index); } /** - * - * *
    * A list of key ranges.
    * 
@@ -214,15 +174,14 @@ public com.google.spanner.executor.v1.KeyRange getRange(int index) { * repeated .google.spanner.executor.v1.KeyRange range = 2; */ @java.lang.Override - public com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder(int index) { + public com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder( + int index) { return range_.get(index); } public static final int ALL_FIELD_NUMBER = 3; private boolean all_ = false; /** - * - * *
    * For convenience "all" can be set to "true" to indicate that this
    * "KeySet" matches all keys in the table or index. Note that any keys
@@ -230,7 +189,6 @@ public com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder(int in
    * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -239,7 +197,6 @@ public boolean getAll() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < point_.size(); i++) { output.writeMessage(1, point_.get(i)); } @@ -271,13 +229,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < point_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, point_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, point_.get(i)); } for (int i = 0; i < range_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, range_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, range_.get(i)); } if (all_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, all_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, all_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -287,16 +248,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.KeySet)) { return super.equals(obj); } com.google.spanner.executor.v1.KeySet other = (com.google.spanner.executor.v1.KeySet) obj; - if (!getPointList().equals(other.getPointList())) return false; - if (!getRangeList().equals(other.getRangeList())) return false; - if (getAll() != other.getAll()) return false; + if (!getPointList() + .equals(other.getPointList())) return false; + if (!getRangeList() + .equals(other.getRangeList())) return false; + if (getAll() + != other.getAll()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -317,109 +281,106 @@ public int hashCode() { hash = (53 * hash) + getRangeList().hashCode(); } hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAll()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.executor.v1.KeySet parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.KeySet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.KeySet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.KeySet parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.executor.v1.KeySet parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.KeySet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.KeySet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.KeySet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.KeySet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.KeySet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.executor.v1.KeySet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.KeySet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.KeySet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.KeySet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.KeySet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * KeySet defines a collection of Spanner keys and/or key ranges. All
    * the keys are expected to be in the same table. The keys need not be
@@ -428,32 +389,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.KeySet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.KeySet)
       com.google.spanner.executor.v1.KeySetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_KeySet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeySet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.KeySet.class,
-              com.google.spanner.executor.v1.KeySet.Builder.class);
+              com.google.spanner.executor.v1.KeySet.class, com.google.spanner.executor.v1.KeySet.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.KeySet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -477,9 +439,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_KeySet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_KeySet_descriptor;
     }
 
     @java.lang.Override
@@ -498,12 +460,9 @@ public com.google.spanner.executor.v1.KeySet build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.KeySet buildPartial() {
-      com.google.spanner.executor.v1.KeySet result =
-          new com.google.spanner.executor.v1.KeySet(this);
+      com.google.spanner.executor.v1.KeySet result = new com.google.spanner.executor.v1.KeySet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -540,39 +499,38 @@ private void buildPartial0(com.google.spanner.executor.v1.KeySet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.KeySet) {
-        return mergeFrom((com.google.spanner.executor.v1.KeySet) other);
+        return mergeFrom((com.google.spanner.executor.v1.KeySet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,10 +557,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.KeySet other) {
             pointBuilder_ = null;
             point_ = other.point_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            pointBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPointFieldBuilder()
-                    : null;
+            pointBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPointFieldBuilder() : null;
           } else {
             pointBuilder_.addAllMessages(other.point_);
           }
@@ -626,10 +583,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.KeySet other) {
             rangeBuilder_ = null;
             range_ = other.range_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rangeBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRangeFieldBuilder()
-                    : null;
+            rangeBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRangeFieldBuilder() : null;
           } else {
             rangeBuilder_.addAllMessages(other.range_);
           }
@@ -664,45 +620,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.executor.v1.ValueList m =
-                    input.readMessage(
-                        com.google.spanner.executor.v1.ValueList.parser(), extensionRegistry);
-                if (pointBuilder_ == null) {
-                  ensurePointIsMutable();
-                  point_.add(m);
-                } else {
-                  pointBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.spanner.executor.v1.KeyRange m =
-                    input.readMessage(
-                        com.google.spanner.executor.v1.KeyRange.parser(), extensionRegistry);
-                if (rangeBuilder_ == null) {
-                  ensureRangeIsMutable();
-                  range_.add(m);
-                } else {
-                  rangeBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                all_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.executor.v1.ValueList m =
+                  input.readMessage(
+                      com.google.spanner.executor.v1.ValueList.parser(),
+                      extensionRegistry);
+              if (pointBuilder_ == null) {
+                ensurePointIsMutable();
+                point_.add(m);
+              } else {
+                pointBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.spanner.executor.v1.KeyRange m =
+                  input.readMessage(
+                      com.google.spanner.executor.v1.KeyRange.parser(),
+                      extensionRegistry);
+              if (rangeBuilder_ == null) {
+                ensureRangeIsMutable();
+                range_.add(m);
+              } else {
+                rangeBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              all_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            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) {
@@ -712,28 +666,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List point_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePointIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         point_ = new java.util.ArrayList(point_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
-        pointBuilder_;
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> pointBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -750,8 +697,6 @@ public java.util.List getPointList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -768,8 +713,6 @@ public int getPointCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -786,8 +729,6 @@ public com.google.spanner.executor.v1.ValueList getPoint(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -796,7 +737,8 @@ public com.google.spanner.executor.v1.ValueList getPoint(int index) {
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public Builder setPoint(int index, com.google.spanner.executor.v1.ValueList value) {
+    public Builder setPoint(
+        int index, com.google.spanner.executor.v1.ValueList value) {
       if (pointBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -810,8 +752,6 @@ public Builder setPoint(int index, com.google.spanner.executor.v1.ValueList valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -832,8 +772,6 @@ public Builder setPoint(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -856,8 +794,6 @@ public Builder addPoint(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -866,7 +802,8 @@ public Builder addPoint(com.google.spanner.executor.v1.ValueList value) {
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public Builder addPoint(int index, com.google.spanner.executor.v1.ValueList value) {
+    public Builder addPoint(
+        int index, com.google.spanner.executor.v1.ValueList value) {
       if (pointBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -880,8 +817,6 @@ public Builder addPoint(int index, com.google.spanner.executor.v1.ValueList valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -890,7 +825,8 @@ public Builder addPoint(int index, com.google.spanner.executor.v1.ValueList valu
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public Builder addPoint(com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
+    public Builder addPoint(
+        com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
       if (pointBuilder_ == null) {
         ensurePointIsMutable();
         point_.add(builderForValue.build());
@@ -901,8 +837,6 @@ public Builder addPoint(com.google.spanner.executor.v1.ValueList.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -923,8 +857,6 @@ public Builder addPoint(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -937,7 +869,8 @@ public Builder addAllPoint(
         java.lang.Iterable values) {
       if (pointBuilder_ == null) {
         ensurePointIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, point_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, point_);
         onChanged();
       } else {
         pointBuilder_.addAllMessages(values);
@@ -945,8 +878,6 @@ public Builder addAllPoint(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -966,8 +897,6 @@ public Builder clearPoint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -987,8 +916,6 @@ public Builder removePoint(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -997,12 +924,11 @@ public Builder removePoint(int index) {
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public com.google.spanner.executor.v1.ValueList.Builder getPointBuilder(int index) {
+    public com.google.spanner.executor.v1.ValueList.Builder getPointBuilder(
+        int index) {
       return getPointFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1011,16 +937,14 @@ public com.google.spanner.executor.v1.ValueList.Builder getPointBuilder(int inde
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(int index) {
+    public com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(
+        int index) {
       if (pointBuilder_ == null) {
-        return point_.get(index);
-      } else {
+        return point_.get(index);  } else {
         return pointBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1029,8 +953,8 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(int i
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public java.util.List
-        getPointOrBuilderList() {
+    public java.util.List 
+         getPointOrBuilderList() {
       if (pointBuilder_ != null) {
         return pointBuilder_.getMessageOrBuilderList();
       } else {
@@ -1038,8 +962,6 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1049,12 +971,10 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(int i
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
     public com.google.spanner.executor.v1.ValueList.Builder addPointBuilder() {
-      return getPointFieldBuilder()
-          .addBuilder(com.google.spanner.executor.v1.ValueList.getDefaultInstance());
+      return getPointFieldBuilder().addBuilder(
+          com.google.spanner.executor.v1.ValueList.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1063,13 +983,12 @@ public com.google.spanner.executor.v1.ValueList.Builder addPointBuilder() {
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public com.google.spanner.executor.v1.ValueList.Builder addPointBuilder(int index) {
-      return getPointFieldBuilder()
-          .addBuilder(index, com.google.spanner.executor.v1.ValueList.getDefaultInstance());
+    public com.google.spanner.executor.v1.ValueList.Builder addPointBuilder(
+        int index) {
+      return getPointFieldBuilder().addBuilder(
+          index, com.google.spanner.executor.v1.ValueList.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in "keys" should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1078,46 +997,38 @@ public com.google.spanner.executor.v1.ValueList.Builder addPointBuilder(int inde
      *
      * repeated .google.spanner.executor.v1.ValueList point = 1;
      */
-    public java.util.List getPointBuilderList() {
+    public java.util.List 
+         getPointBuilderList() {
       return getPointFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> 
         getPointFieldBuilder() {
       if (pointBuilder_ == null) {
-        pointBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.executor.v1.ValueList,
-                com.google.spanner.executor.v1.ValueList.Builder,
-                com.google.spanner.executor.v1.ValueListOrBuilder>(
-                point_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        pointBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>(
+                point_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         point_ = null;
       }
       return pointBuilder_;
     }
 
     private java.util.List range_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRangeIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         range_ = new java.util.ArrayList(range_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.KeyRange,
-            com.google.spanner.executor.v1.KeyRange.Builder,
-            com.google.spanner.executor.v1.KeyRangeOrBuilder>
-        rangeBuilder_;
+        com.google.spanner.executor.v1.KeyRange, com.google.spanner.executor.v1.KeyRange.Builder, com.google.spanner.executor.v1.KeyRangeOrBuilder> rangeBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of key ranges.
      * 
@@ -1132,8 +1043,6 @@ public java.util.List getRangeList() { } } /** - * - * *
      * A list of key ranges.
      * 
@@ -1148,8 +1057,6 @@ public int getRangeCount() { } } /** - * - * *
      * A list of key ranges.
      * 
@@ -1164,15 +1071,14 @@ public com.google.spanner.executor.v1.KeyRange getRange(int index) { } } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public Builder setRange(int index, com.google.spanner.executor.v1.KeyRange value) { + public Builder setRange( + int index, com.google.spanner.executor.v1.KeyRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1186,8 +1092,6 @@ public Builder setRange(int index, com.google.spanner.executor.v1.KeyRange value return this; } /** - * - * *
      * A list of key ranges.
      * 
@@ -1206,8 +1110,6 @@ public Builder setRange( return this; } /** - * - * *
      * A list of key ranges.
      * 
@@ -1228,15 +1130,14 @@ public Builder addRange(com.google.spanner.executor.v1.KeyRange value) { return this; } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public Builder addRange(int index, com.google.spanner.executor.v1.KeyRange value) { + public Builder addRange( + int index, com.google.spanner.executor.v1.KeyRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1250,15 +1151,14 @@ public Builder addRange(int index, com.google.spanner.executor.v1.KeyRange value return this; } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public Builder addRange(com.google.spanner.executor.v1.KeyRange.Builder builderForValue) { + public Builder addRange( + com.google.spanner.executor.v1.KeyRange.Builder builderForValue) { if (rangeBuilder_ == null) { ensureRangeIsMutable(); range_.add(builderForValue.build()); @@ -1269,8 +1169,6 @@ public Builder addRange(com.google.spanner.executor.v1.KeyRange.Builder builderF return this; } /** - * - * *
      * A list of key ranges.
      * 
@@ -1289,8 +1187,6 @@ public Builder addRange( return this; } /** - * - * *
      * A list of key ranges.
      * 
@@ -1301,7 +1197,8 @@ public Builder addAllRange( java.lang.Iterable values) { if (rangeBuilder_ == null) { ensureRangeIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, range_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, range_); onChanged(); } else { rangeBuilder_.addAllMessages(values); @@ -1309,8 +1206,6 @@ public Builder addAllRange( return this; } /** - * - * *
      * A list of key ranges.
      * 
@@ -1328,8 +1223,6 @@ public Builder clearRange() { return this; } /** - * - * *
      * A list of key ranges.
      * 
@@ -1347,44 +1240,39 @@ public Builder removeRange(int index) { return this; } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public com.google.spanner.executor.v1.KeyRange.Builder getRangeBuilder(int index) { + public com.google.spanner.executor.v1.KeyRange.Builder getRangeBuilder( + int index) { return getRangeFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder(int index) { + public com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder( + int index) { if (rangeBuilder_ == null) { - return range_.get(index); - } else { + return range_.get(index); } else { return rangeBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public java.util.List - getRangeOrBuilderList() { + public java.util.List + getRangeOrBuilderList() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilderList(); } else { @@ -1392,8 +1280,6 @@ public com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder(int in } } /** - * - * *
      * A list of key ranges.
      * 
@@ -1401,56 +1287,49 @@ public com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder(int in * repeated .google.spanner.executor.v1.KeyRange range = 2; */ public com.google.spanner.executor.v1.KeyRange.Builder addRangeBuilder() { - return getRangeFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.KeyRange.getDefaultInstance()); + return getRangeFieldBuilder().addBuilder( + com.google.spanner.executor.v1.KeyRange.getDefaultInstance()); } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public com.google.spanner.executor.v1.KeyRange.Builder addRangeBuilder(int index) { - return getRangeFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.KeyRange.getDefaultInstance()); + public com.google.spanner.executor.v1.KeyRange.Builder addRangeBuilder( + int index) { + return getRangeFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.KeyRange.getDefaultInstance()); } /** - * - * *
      * A list of key ranges.
      * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - public java.util.List getRangeBuilderList() { + public java.util.List + getRangeBuilderList() { return getRangeFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.KeyRange, - com.google.spanner.executor.v1.KeyRange.Builder, - com.google.spanner.executor.v1.KeyRangeOrBuilder> + com.google.spanner.executor.v1.KeyRange, com.google.spanner.executor.v1.KeyRange.Builder, com.google.spanner.executor.v1.KeyRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.KeyRange, - com.google.spanner.executor.v1.KeyRange.Builder, - com.google.spanner.executor.v1.KeyRangeOrBuilder>( - range_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rangeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.KeyRange, com.google.spanner.executor.v1.KeyRange.Builder, com.google.spanner.executor.v1.KeyRangeOrBuilder>( + range_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); range_ = null; } return rangeBuilder_; } - private boolean all_; + private boolean all_ ; /** - * - * *
      * For convenience "all" can be set to "true" to indicate that this
      * "KeySet" matches all keys in the table or index. Note that any keys
@@ -1458,7 +1337,6 @@ public java.util.List getRangeB
      * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -1466,8 +1344,6 @@ public boolean getAll() { return all_; } /** - * - * *
      * For convenience "all" can be set to "true" to indicate that this
      * "KeySet" matches all keys in the table or index. Note that any keys
@@ -1475,7 +1351,6 @@ public boolean getAll() {
      * 
* * bool all = 3; - * * @param value The all to set. * @return This builder for chaining. */ @@ -1487,8 +1362,6 @@ public Builder setAll(boolean value) { return this; } /** - * - * *
      * For convenience "all" can be set to "true" to indicate that this
      * "KeySet" matches all keys in the table or index. Note that any keys
@@ -1496,7 +1369,6 @@ public Builder setAll(boolean value) {
      * 
* * bool all = 3; - * * @return This builder for chaining. */ public Builder clearAll() { @@ -1505,9 +1377,9 @@ public Builder clearAll() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1517,12 +1389,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.KeySet) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.KeySet) private static final com.google.spanner.executor.v1.KeySet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.KeySet(); } @@ -1531,27 +1403,27 @@ public static com.google.spanner.executor.v1.KeySet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeySet 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KeySet 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; @@ -1566,4 +1438,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.KeySet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySetOrBuilder.java similarity index 77% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySetOrBuilder.java index f89b2cc62ca..aafd3eb0909 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/KeySetOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface KeySetOrBuilder - extends +public interface KeySetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.KeySet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -35,10 +17,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList point = 1;
    */
-  java.util.List getPointList();
+  java.util.List 
+      getPointList();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -49,8 +30,6 @@ public interface KeySetOrBuilder
    */
   com.google.spanner.executor.v1.ValueList getPoint(int index);
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -61,8 +40,6 @@ public interface KeySetOrBuilder
    */
   int getPointCount();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -71,11 +48,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList point = 1;
    */
-  java.util.List
+  java.util.List 
       getPointOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in "keys" should have exactly as
    * many elements as there are columns in the primary or index key
@@ -84,21 +59,19 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList point = 1;
    */
-  com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(int index);
+  com.google.spanner.executor.v1.ValueListOrBuilder getPointOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of key ranges.
    * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - java.util.List getRangeList(); + java.util.List + getRangeList(); /** - * - * *
    * A list of key ranges.
    * 
@@ -107,8 +80,6 @@ public interface KeySetOrBuilder */ com.google.spanner.executor.v1.KeyRange getRange(int index); /** - * - * *
    * A list of key ranges.
    * 
@@ -117,30 +88,25 @@ public interface KeySetOrBuilder */ int getRangeCount(); /** - * - * *
    * A list of key ranges.
    * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - java.util.List + java.util.List getRangeOrBuilderList(); /** - * - * *
    * A list of key ranges.
    * 
* * repeated .google.spanner.executor.v1.KeyRange range = 2; */ - com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder(int index); + com.google.spanner.executor.v1.KeyRangeOrBuilder getRangeOrBuilder( + int index); /** - * - * *
    * For convenience "all" can be set to "true" to indicate that this
    * "KeySet" matches all keys in the table or index. Note that any keys
@@ -148,7 +114,6 @@ public interface KeySetOrBuilder
    * 
* * bool all = 3; - * * @return The all. */ boolean getAll(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsAction.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsAction.java index 3289e6bd380..cc14e077693 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,25 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that lists Cloud Spanner database backup operations.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudBackupOperationsAction} */ -public final class ListCloudBackupOperationsAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloudBackupOperationsAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ListCloudBackupOperationsAction) ListCloudBackupOperationsActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloudBackupOperationsAction.newBuilder() to construct. - private ListCloudBackupOperationsAction( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCloudBackupOperationsAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloudBackupOperationsAction() { projectId_ = ""; instanceId_ = ""; @@ -48,38 +29,33 @@ private ListCloudBackupOperationsAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloudBackupOperationsAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.class, - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudBackupOperationsAction.class, com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -88,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -119,19 +95,15 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path) to list backup operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -140,30 +112,30 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path) to list backup operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -172,12 +144,9 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -187,7 +156,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -196,15 +164,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -214,15 +181,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -233,15 +201,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -250,12 +215,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupOperationsResponse to the same "parent"
@@ -263,7 +225,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -272,15 +233,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupOperationsResponse to the same "parent"
@@ -288,15 +248,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -305,7 +266,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,7 +277,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -352,7 +313,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -365,19 +327,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ListCloudBackupOperationsAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ListCloudBackupOperationsAction other = - (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.executor.v1.ListCloudBackupOperationsAction other = (com.google.spanner.executor.v1.ListCloudBackupOperationsAction) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -405,136 +371,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ListCloudBackupOperationsAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ListCloudBackupOperationsAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that lists Cloud Spanner database backup operations.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudBackupOperationsAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ListCloudBackupOperationsAction) com.google.spanner.executor.v1.ListCloudBackupOperationsActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.class, - com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudBackupOperationsAction.class, com.google.spanner.executor.v1.ListCloudBackupOperationsAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ListCloudBackupOperationsAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -548,14 +509,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupOperationsAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.ListCloudBackupOperationsAction getDefaultInstanceForType() { return com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance(); } @@ -570,17 +530,13 @@ public com.google.spanner.executor.v1.ListCloudBackupOperationsAction build() { @java.lang.Override public com.google.spanner.executor.v1.ListCloudBackupOperationsAction buildPartial() { - com.google.spanner.executor.v1.ListCloudBackupOperationsAction result = - new com.google.spanner.executor.v1.ListCloudBackupOperationsAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ListCloudBackupOperationsAction result = new com.google.spanner.executor.v1.ListCloudBackupOperationsAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.ListCloudBackupOperationsAction result) { + private void buildPartial0(com.google.spanner.executor.v1.ListCloudBackupOperationsAction result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectId_ = projectId_; @@ -603,39 +559,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ListCloudBackupOperationsAction) { - return mergeFrom((com.google.spanner.executor.v1.ListCloudBackupOperationsAction) other); + return mergeFrom((com.google.spanner.executor.v1.ListCloudBackupOperationsAction)other); } else { super.mergeFrom(other); return this; @@ -643,9 +598,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ListCloudBackupOperationsAction other) { - if (other - == com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ListCloudBackupOperationsAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -695,43 +648,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + 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) { @@ -741,25 +688,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -768,21 +712,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -790,35 +733,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -828,21 +764,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -852,21 +784,19 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path) to list backup operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -875,22 +805,21 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path) to list backup operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -898,37 +827,30 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path) to list backup operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path) to list backup operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -938,22 +860,18 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path) to list backup operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -963,8 +881,6 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -974,13 +890,13 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -989,8 +905,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1000,14 +914,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1015,8 +930,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1026,22 +939,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1051,7 +960,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1061,8 +969,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1072,14 +978,12 @@ public Builder clearFilter() {
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1087,17 +991,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1105,15 +1006,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1125,15 +1023,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1145,8 +1040,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupOperationsResponse to the same "parent"
@@ -1154,13 +1047,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1169,8 +1062,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupOperationsResponse to the same "parent"
@@ -1178,14 +1069,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1193,8 +1085,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupOperationsResponse to the same "parent"
@@ -1202,22 +1092,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupOperationsResponse to the same "parent"
@@ -1225,7 +1111,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1235,8 +1120,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupOperationsResponse to the same "parent"
@@ -1244,23 +1127,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1270,43 +1151,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ListCloudBackupOperationsAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ListCloudBackupOperationsAction) - private static final com.google.spanner.executor.v1.ListCloudBackupOperationsAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.ListCloudBackupOperationsAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ListCloudBackupOperationsAction(); } - public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction - getDefaultInstance() { + public static com.google.spanner.executor.v1.ListCloudBackupOperationsAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloudBackupOperationsAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloudBackupOperationsAction 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; @@ -1318,8 +1197,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.spanner.executor.v1.ListCloudBackupOperationsAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.ListCloudBackupOperationsAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsActionOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsActionOrBuilder.java index a7933b2957d..e6925c486cc 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupOperationsActionOrBuilder.java @@ -1,84 +1,56 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ListCloudBackupOperationsActionOrBuilder - extends +public interface ListCloudBackupOperationsActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ListCloudBackupOperationsAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path) to list backup operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path) to list backup operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -88,13 +60,10 @@ public interface ListCloudBackupOperationsActionOrBuilder
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -104,28 +73,23 @@ public interface ListCloudBackupOperationsActionOrBuilder
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupOperationsResponse to the same "parent"
@@ -133,13 +97,10 @@ public interface ListCloudBackupOperationsActionOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupOperationsResponse to the same "parent"
@@ -147,8 +108,8 @@ public interface ListCloudBackupOperationsActionOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsAction.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsAction.java index ae97978a571..a3c06d0a614 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that lists Cloud Spanner database backups.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudBackupsAction} */ -public final class ListCloudBackupsAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloudBackupsAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ListCloudBackupsAction) ListCloudBackupsActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloudBackupsAction.newBuilder() to construct. private ListCloudBackupsAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloudBackupsAction() { projectId_ = ""; instanceId_ = ""; @@ -47,38 +29,33 @@ private ListCloudBackupsAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloudBackupsAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudBackupsAction.class, - com.google.spanner.executor.v1.ListCloudBackupsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudBackupsAction.class, com.google.spanner.executor.v1.ListCloudBackupsAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,18 +95,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -138,29 +111,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -169,12 +142,9 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -183,7 +153,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -192,15 +161,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -209,15 +177,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -228,15 +197,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -245,12 +211,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupsResponse to the same "parent"
@@ -258,7 +221,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -267,15 +229,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupsResponse to the same "parent"
@@ -283,15 +244,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -300,7 +262,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -347,7 +309,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -360,19 +323,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ListCloudBackupsAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ListCloudBackupsAction other = - (com.google.spanner.executor.v1.ListCloudBackupsAction) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.executor.v1.ListCloudBackupsAction other = (com.google.spanner.executor.v1.ListCloudBackupsAction) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -400,136 +367,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudBackupsAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ListCloudBackupsAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudBackupsAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ListCloudBackupsAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ListCloudBackupsAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that lists Cloud Spanner database backups.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudBackupsAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ListCloudBackupsAction) com.google.spanner.executor.v1.ListCloudBackupsActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudBackupsAction.class, - com.google.spanner.executor.v1.ListCloudBackupsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudBackupsAction.class, com.google.spanner.executor.v1.ListCloudBackupsAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ListCloudBackupsAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -543,9 +505,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; } @java.lang.Override @@ -564,11 +526,8 @@ public com.google.spanner.executor.v1.ListCloudBackupsAction build() { @java.lang.Override public com.google.spanner.executor.v1.ListCloudBackupsAction buildPartial() { - com.google.spanner.executor.v1.ListCloudBackupsAction result = - new com.google.spanner.executor.v1.ListCloudBackupsAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ListCloudBackupsAction result = new com.google.spanner.executor.v1.ListCloudBackupsAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -596,39 +555,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ListCloudBackupsAction public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ListCloudBackupsAction) { - return mergeFrom((com.google.spanner.executor.v1.ListCloudBackupsAction) other); + return mergeFrom((com.google.spanner.executor.v1.ListCloudBackupsAction)other); } else { super.mergeFrom(other); return this; @@ -636,8 +594,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ListCloudBackupsAction other) { - if (other == com.google.spanner.executor.v1.ListCloudBackupsAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ListCloudBackupsAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -687,43 +644,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + 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) { @@ -733,25 +684,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -760,21 +708,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -782,35 +729,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -820,21 +760,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -844,20 +780,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -866,21 +800,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -888,35 +821,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -926,21 +852,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -950,8 +872,6 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -960,13 +880,13 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -975,8 +895,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -985,14 +903,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1000,8 +919,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1010,22 +927,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1034,7 +947,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1044,8 +956,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1054,14 +964,12 @@ public Builder clearFilter() {
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1069,17 +977,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1087,15 +992,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1107,15 +1009,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1127,8 +1026,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupsResponse to the same "parent"
@@ -1136,13 +1033,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1151,8 +1048,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupsResponse to the same "parent"
@@ -1160,14 +1055,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1175,8 +1071,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupsResponse to the same "parent"
@@ -1184,22 +1078,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupsResponse to the same "parent"
@@ -1207,7 +1097,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1217,8 +1106,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListBackupsResponse to the same "parent"
@@ -1226,23 +1113,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1252,12 +1137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ListCloudBackupsAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ListCloudBackupsAction) private static final com.google.spanner.executor.v1.ListCloudBackupsAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ListCloudBackupsAction(); } @@ -1266,27 +1151,27 @@ public static com.google.spanner.executor.v1.ListCloudBackupsAction getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloudBackupsAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloudBackupsAction 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; @@ -1301,4 +1186,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ListCloudBackupsAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsActionOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsActionOrBuilder.java index 9dc7939ddbf..0470cbf2993 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudBackupsActionOrBuilder.java @@ -1,82 +1,54 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ListCloudBackupsActionOrBuilder - extends +public interface ListCloudBackupsActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ListCloudBackupsAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path) to list backups from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -85,13 +57,10 @@ public interface ListCloudBackupsActionOrBuilder
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -100,28 +69,23 @@ public interface ListCloudBackupsActionOrBuilder
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupsResponse to the same "parent"
@@ -129,13 +93,10 @@ public interface ListCloudBackupsActionOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListBackupsResponse to the same "parent"
@@ -143,8 +104,8 @@ public interface ListCloudBackupsActionOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsAction.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsAction.java index 0b06c5ee01b..96929328508 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,25 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that lists Cloud Spanner database operations.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudDatabaseOperationsAction} */ -public final class ListCloudDatabaseOperationsAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloudDatabaseOperationsAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ListCloudDatabaseOperationsAction) ListCloudDatabaseOperationsActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloudDatabaseOperationsAction.newBuilder() to construct. - private ListCloudDatabaseOperationsAction( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCloudDatabaseOperationsAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloudDatabaseOperationsAction() { projectId_ = ""; instanceId_ = ""; @@ -48,38 +29,33 @@ private ListCloudDatabaseOperationsAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloudDatabaseOperationsAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.class, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.class, com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -88,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -119,19 +95,15 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path) to list database operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -140,30 +112,30 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path) to list database operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -172,12 +144,9 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -188,7 +157,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
    * 
* * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -197,15 +165,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -216,15 +183,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 3; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -235,15 +203,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Number of databases to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -252,12 +217,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -265,7 +227,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -274,15 +235,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -290,15 +250,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -307,7 +268,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -354,7 +315,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -367,19 +329,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction other = - (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction other = (com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -407,136 +373,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that lists Cloud Spanner database operations.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudDatabaseOperationsAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ListCloudDatabaseOperationsAction) com.google.spanner.executor.v1.ListCloudDatabaseOperationsActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.class, - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.class, com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -550,14 +511,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction getDefaultInstanceForType() { return com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance(); } @@ -572,17 +532,13 @@ public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction build() @java.lang.Override public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction buildPartial() { - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction result = - new com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction result = new com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction result) { + private void buildPartial0(com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectId_ = projectId_; @@ -605,50 +561,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) { - return mergeFrom((com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction) other); + return mergeFrom((com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction other) { - if (other - == com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction other) { + if (other == com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -698,43 +650,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + 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) { @@ -744,25 +690,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -771,21 +714,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -793,35 +735,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -831,21 +766,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -855,21 +786,19 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path) to list database operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -878,22 +807,21 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path) to list database operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -901,37 +829,30 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path) to list database operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path) to list database operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -941,22 +862,18 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path) to list database operations from,
      * e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -966,8 +883,6 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -978,13 +893,13 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 3; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -993,8 +908,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1005,14 +918,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 3; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1020,8 +934,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1032,22 +944,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1058,7 +966,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1068,8 +975,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -1080,14 +985,12 @@ public Builder clearFilter() {
      * 
* * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000004; @@ -1095,17 +998,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of databases to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1113,15 +1013,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1133,15 +1030,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1153,8 +1047,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -1162,13 +1054,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1177,8 +1069,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -1186,14 +1076,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1201,8 +1092,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -1210,22 +1099,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -1233,7 +1118,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1243,8 +1127,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -1252,23 +1134,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1278,43 +1158,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ListCloudDatabaseOperationsAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ListCloudDatabaseOperationsAction) - private static final com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction(); } - public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - getDefaultInstance() { + public static com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloudDatabaseOperationsAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloudDatabaseOperationsAction 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; @@ -1326,8 +1204,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.ListCloudDatabaseOperationsAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsActionOrBuilder.java similarity index 74% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsActionOrBuilder.java index ff9f9bc5a7a..9147ffdc2a4 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabaseOperationsActionOrBuilder.java @@ -1,84 +1,56 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ListCloudDatabaseOperationsActionOrBuilder - extends +public interface ListCloudDatabaseOperationsActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ListCloudDatabaseOperationsAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path) to list database operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path) to list database operations from,
    * e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -89,13 +61,10 @@ public interface ListCloudDatabaseOperationsActionOrBuilder
    * 
* * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -106,28 +75,23 @@ public interface ListCloudDatabaseOperationsActionOrBuilder
    * 
* * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of databases to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -135,13 +99,10 @@ public interface ListCloudDatabaseOperationsActionOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabaseOperationsResponse to the same "parent"
@@ -149,8 +110,8 @@ public interface ListCloudDatabaseOperationsActionOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesAction.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesAction.java index 18ac43f07fe..259a07576d4 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that lists Cloud Spanner databases.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudDatabasesAction} */ -public final class ListCloudDatabasesAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloudDatabasesAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ListCloudDatabasesAction) ListCloudDatabasesActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloudDatabasesAction.newBuilder() to construct. private ListCloudDatabasesAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloudDatabasesAction() { projectId_ = ""; instanceId_ = ""; @@ -46,38 +28,33 @@ private ListCloudDatabasesAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloudDatabasesAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudDatabasesAction.class, - com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder.class); + com.google.spanner.executor.v1.ListCloudDatabasesAction.class, com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -170,15 +143,12 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of databases to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -187,12 +157,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabasesResponse to the same "parent"
@@ -200,7 +167,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -209,15 +175,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabasesResponse to the same "parent"
@@ -225,15 +190,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -242,7 +208,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -283,7 +249,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -296,18 +263,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ListCloudDatabasesAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ListCloudDatabasesAction other = - (com.google.spanner.executor.v1.ListCloudDatabasesAction) obj; + com.google.spanner.executor.v1.ListCloudDatabasesAction other = (com.google.spanner.executor.v1.ListCloudDatabasesAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -333,136 +303,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudDatabasesAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ListCloudDatabasesAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ListCloudDatabasesAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudDatabasesAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ListCloudDatabasesAction) com.google.spanner.executor.v1.ListCloudDatabasesActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudDatabasesAction.class, - com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder.class); + com.google.spanner.executor.v1.ListCloudDatabasesAction.class, com.google.spanner.executor.v1.ListCloudDatabasesAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ListCloudDatabasesAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; } @java.lang.Override @@ -496,11 +461,8 @@ public com.google.spanner.executor.v1.ListCloudDatabasesAction build() { @java.lang.Override public com.google.spanner.executor.v1.ListCloudDatabasesAction buildPartial() { - com.google.spanner.executor.v1.ListCloudDatabasesAction result = - new com.google.spanner.executor.v1.ListCloudDatabasesAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ListCloudDatabasesAction result = new com.google.spanner.executor.v1.ListCloudDatabasesAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -525,39 +487,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ListCloudDatabasesActi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ListCloudDatabasesAction) { - return mergeFrom((com.google.spanner.executor.v1.ListCloudDatabasesAction) other); + return mergeFrom((com.google.spanner.executor.v1.ListCloudDatabasesAction)other); } else { super.mergeFrom(other); return this; @@ -565,8 +526,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ListCloudDatabasesAction other) { - if (other == com.google.spanner.executor.v1.ListCloudDatabasesAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ListCloudDatabasesAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -611,37 +571,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = 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) { @@ -651,25 +606,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -678,21 +630,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -700,35 +651,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -738,21 +682,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -762,20 +702,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -784,21 +722,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -806,35 +743,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -844,21 +774,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -866,17 +792,14 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of databases to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -884,15 +807,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -904,15 +824,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -924,8 +841,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabasesResponse to the same "parent"
@@ -933,13 +848,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -948,8 +863,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabasesResponse to the same "parent"
@@ -957,14 +870,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -972,8 +886,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabasesResponse to the same "parent"
@@ -981,22 +893,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabasesResponse to the same "parent"
@@ -1004,7 +912,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1014,8 +921,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListDatabasesResponse to the same "parent"
@@ -1023,23 +928,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +952,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ListCloudDatabasesAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ListCloudDatabasesAction) private static final com.google.spanner.executor.v1.ListCloudDatabasesAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ListCloudDatabasesAction(); } @@ -1063,27 +966,27 @@ public static com.google.spanner.executor.v1.ListCloudDatabasesAction getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloudDatabasesAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloudDatabasesAction 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; @@ -1098,4 +1001,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ListCloudDatabasesAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesActionOrBuilder.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesActionOrBuilder.java index b671c39c88a..2a92088cc2c 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudDatabasesActionOrBuilder.java @@ -1,96 +1,65 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ListCloudDatabasesActionOrBuilder - extends +public interface ListCloudDatabasesActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ListCloudDatabasesAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path) to list databases from, e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Number of databases to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabasesResponse to the same "parent"
@@ -98,13 +67,10 @@ public interface ListCloudDatabasesActionOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListDatabasesResponse to the same "parent"
@@ -112,8 +78,8 @@ public interface ListCloudDatabasesActionOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsAction.java similarity index 69% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsAction.java index 01802e234d6..6b6d64859d8 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,25 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that lists user instance configs.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudInstanceConfigsAction} */ -public final class ListCloudInstanceConfigsAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloudInstanceConfigsAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ListCloudInstanceConfigsAction) ListCloudInstanceConfigsActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloudInstanceConfigsAction.newBuilder() to construct. - private ListCloudInstanceConfigsAction( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCloudInstanceConfigsAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloudInstanceConfigsAction() { projectId_ = ""; pageToken_ = ""; @@ -46,39 +27,34 @@ private ListCloudInstanceConfigsAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloudInstanceConfigsAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.class, - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.class, com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder.class); } private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -120,15 +96,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of instance configs to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 2; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -136,15 +109,12 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Number of instance configs to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -153,19 +123,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstanceConfigsResponse to the same "parent".
    * 
* * optional string page_token = 3; - * * @return Whether the pageToken field is set. */ @java.lang.Override @@ -173,15 +139,12 @@ public boolean hasPageToken() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstanceConfigsResponse to the same "parent".
    * 
* * optional string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -190,30 +153,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstanceConfigsResponse to the same "parent".
    * 
* * optional string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -222,7 +185,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +196,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -257,7 +220,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -270,22 +234,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ListCloudInstanceConfigsAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction other = - (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) obj; + com.google.spanner.executor.v1.ListCloudInstanceConfigsAction other = (com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() != other.getPageSize()) return false; + if (getPageSize() + != other.getPageSize()) return false; } if (hasPageToken() != other.hasPageToken()) return false; if (hasPageToken()) { - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -314,136 +280,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ListCloudInstanceConfigsAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that lists user instance configs.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudInstanceConfigsAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ListCloudInstanceConfigsAction) com.google.spanner.executor.v1.ListCloudInstanceConfigsActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.class, - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder.class); + com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.class, com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -455,14 +416,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction getDefaultInstanceForType() { return com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance(); } @@ -477,17 +437,13 @@ public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction build() { @java.lang.Override public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction buildPartial() { - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction result = - new com.google.spanner.executor.v1.ListCloudInstanceConfigsAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ListCloudInstanceConfigsAction result = new com.google.spanner.executor.v1.ListCloudInstanceConfigsAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.ListCloudInstanceConfigsAction result) { + private void buildPartial0(com.google.spanner.executor.v1.ListCloudInstanceConfigsAction result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectId_ = projectId_; @@ -508,39 +464,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) { - return mergeFrom((com.google.spanner.executor.v1.ListCloudInstanceConfigsAction) other); + return mergeFrom((com.google.spanner.executor.v1.ListCloudInstanceConfigsAction)other); } else { super.mergeFrom(other); return this; @@ -548,9 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ListCloudInstanceConfigsAction other) { - if (other - == com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -590,31 +543,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -624,25 +573,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -651,21 +597,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -673,35 +618,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -711,21 +649,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -733,17 +667,14 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of instance configs to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 2; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -751,15 +682,12 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Number of instance configs to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -767,15 +695,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of instance configs to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -787,15 +712,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of instance configs to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -807,36 +729,31 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstanceConfigsResponse to the same "parent".
      * 
* * optional string page_token = 3; - * * @return Whether the pageToken field is set. */ public boolean hasPageToken() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstanceConfigsResponse to the same "parent".
      * 
* * optional string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -845,22 +762,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstanceConfigsResponse to the same "parent".
      * 
* * optional string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -868,37 +784,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstanceConfigsResponse to the same "parent".
      * 
* * optional string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstanceConfigsResponse to the same "parent".
      * 
* * optional string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -908,31 +817,27 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstanceConfigsResponse to the same "parent".
      * 
* * optional string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,13 +847,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ListCloudInstanceConfigsAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ListCloudInstanceConfigsAction) - private static final com.google.spanner.executor.v1.ListCloudInstanceConfigsAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.ListCloudInstanceConfigsAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ListCloudInstanceConfigsAction(); } @@ -957,27 +861,27 @@ public static com.google.spanner.executor.v1.ListCloudInstanceConfigsAction getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloudInstanceConfigsAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloudInstanceConfigsAction 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; @@ -992,4 +896,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.spanner.executor.v1.ListCloudInstanceConfigsAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsActionOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsActionOrBuilder.java index 00661970d5f..60b34effa1e 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstanceConfigsActionOrBuilder.java @@ -1,118 +1,83 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ListCloudInstanceConfigsActionOrBuilder - extends +public interface ListCloudInstanceConfigsActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ListCloudInstanceConfigsAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Number of instance configs to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 2; - * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** - * - * *
    * Number of instance configs to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstanceConfigsResponse to the same "parent".
    * 
* * optional string page_token = 3; - * * @return Whether the pageToken field is set. */ boolean hasPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstanceConfigsResponse to the same "parent".
    * 
* * optional string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstanceConfigsResponse to the same "parent".
    * 
* * optional string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesAction.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesAction.java index 56b02f4e70c..96ff88e2569 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that lists Cloud Spanner databases.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudInstancesAction} */ -public final class ListCloudInstancesAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCloudInstancesAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ListCloudInstancesAction) ListCloudInstancesActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCloudInstancesAction.newBuilder() to construct. private ListCloudInstancesAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCloudInstancesAction() { projectId_ = ""; filter_ = ""; @@ -46,39 +28,34 @@ private ListCloudInstancesAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCloudInstancesAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudInstancesAction.class, - com.google.spanner.executor.v1.ListCloudInstancesAction.Builder.class); + com.google.spanner.executor.v1.ListCloudInstancesAction.class, com.google.spanner.executor.v1.ListCloudInstancesAction.Builder.class); } private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,12 +95,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -134,7 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * optional string filter = 2; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -142,8 +115,6 @@ public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -154,7 +125,6 @@ public boolean hasFilter() {
    * 
* * optional string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -163,15 +133,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -182,15 +151,16 @@ public java.lang.String getFilter() {
    * 
* * optional string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -201,15 +171,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of instances to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 3; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -217,15 +184,12 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Number of instances to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -234,12 +198,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstancesResponse to the same "parent"
@@ -247,7 +208,6 @@ public int getPageSize() {
    * 
* * optional string page_token = 4; - * * @return Whether the pageToken field is set. */ @java.lang.Override @@ -255,8 +215,6 @@ public boolean hasPageToken() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstancesResponse to the same "parent"
@@ -264,7 +222,6 @@ public boolean hasPageToken() {
    * 
* * optional string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -273,15 +230,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstancesResponse to the same "parent"
@@ -289,15 +245,16 @@ public java.lang.String getPageToken() {
    * 
* * optional string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -306,7 +263,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -347,7 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -360,26 +318,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ListCloudInstancesAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ListCloudInstancesAction other = - (com.google.spanner.executor.v1.ListCloudInstancesAction) obj; + com.google.spanner.executor.v1.ListCloudInstancesAction other = (com.google.spanner.executor.v1.ListCloudInstancesAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; } if (hasPageSize() != other.hasPageSize()) return false; if (hasPageSize()) { - if (getPageSize() != other.getPageSize()) return false; + if (getPageSize() + != other.getPageSize()) return false; } if (hasPageToken() != other.hasPageToken()) return false; if (hasPageToken()) { - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -412,136 +373,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ListCloudInstancesAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ListCloudInstancesAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ListCloudInstancesAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ListCloudInstancesAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ListCloudInstancesAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that lists Cloud Spanner databases.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ListCloudInstancesAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ListCloudInstancesAction) com.google.spanner.executor.v1.ListCloudInstancesActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ListCloudInstancesAction.class, - com.google.spanner.executor.v1.ListCloudInstancesAction.Builder.class); + com.google.spanner.executor.v1.ListCloudInstancesAction.class, com.google.spanner.executor.v1.ListCloudInstancesAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ListCloudInstancesAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +510,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; } @java.lang.Override @@ -575,11 +531,8 @@ public com.google.spanner.executor.v1.ListCloudInstancesAction build() { @java.lang.Override public com.google.spanner.executor.v1.ListCloudInstancesAction buildPartial() { - com.google.spanner.executor.v1.ListCloudInstancesAction result = - new com.google.spanner.executor.v1.ListCloudInstancesAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ListCloudInstancesAction result = new com.google.spanner.executor.v1.ListCloudInstancesAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -609,39 +562,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ListCloudInstancesActi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ListCloudInstancesAction) { - return mergeFrom((com.google.spanner.executor.v1.ListCloudInstancesAction) other); + return mergeFrom((com.google.spanner.executor.v1.ListCloudInstancesAction)other); } else { super.mergeFrom(other); return this; @@ -649,8 +601,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ListCloudInstancesAction other) { - if (other == com.google.spanner.executor.v1.ListCloudInstancesAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ListCloudInstancesAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -695,37 +646,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = 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) { @@ -735,25 +681,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -762,21 +705,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -784,35 +726,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -822,21 +757,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -846,8 +777,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -858,15 +787,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * optional string filter = 2; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -877,13 +803,13 @@ public boolean hasFilter() {
      * 
* * optional string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -892,8 +818,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -904,14 +828,15 @@ public java.lang.String getFilter() {
      * 
* * optional string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -919,8 +844,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -931,22 +854,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * optional string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -957,7 +876,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * optional string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -967,8 +885,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter expression that filters what operations are returned in the
      * response.
@@ -979,14 +895,12 @@ public Builder clearFilter() {
      * 
* * optional string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -994,17 +908,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of instances to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 3; - * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1012,15 +923,12 @@ public boolean hasPageSize() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Number of instances to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1028,15 +936,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of instances to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1048,15 +953,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of instances to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * optional int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1068,8 +970,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstancesResponse to the same "parent"
@@ -1077,15 +977,12 @@ public Builder clearPageSize() {
      * 
* * optional string page_token = 4; - * * @return Whether the pageToken field is set. */ public boolean hasPageToken() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstancesResponse to the same "parent"
@@ -1093,13 +990,13 @@ public boolean hasPageToken() {
      * 
* * optional string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1108,8 +1005,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstancesResponse to the same "parent"
@@ -1117,14 +1012,15 @@ public java.lang.String getPageToken() {
      * 
* * optional string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1132,8 +1028,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstancesResponse to the same "parent"
@@ -1141,22 +1035,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * optional string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstancesResponse to the same "parent"
@@ -1164,7 +1054,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * optional string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1174,8 +1063,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, "page_token" should contain a next_page_token
      * from a previous ListInstancesResponse to the same "parent"
@@ -1183,23 +1070,21 @@ public Builder clearPageToken() {
      * 
* * optional string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1209,12 +1094,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ListCloudInstancesAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ListCloudInstancesAction) private static final com.google.spanner.executor.v1.ListCloudInstancesAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ListCloudInstancesAction(); } @@ -1223,27 +1108,27 @@ public static com.google.spanner.executor.v1.ListCloudInstancesAction getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCloudInstancesAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCloudInstancesAction 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; @@ -1258,4 +1143,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ListCloudInstancesAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesActionOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesActionOrBuilder.java index e291af32903..fe3cb7c1f9c 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ListCloudInstancesActionOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ListCloudInstancesActionOrBuilder - extends +public interface ListCloudInstancesActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ListCloudInstancesAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -62,13 +39,10 @@ public interface ListCloudInstancesActionOrBuilder
    * 
* * optional string filter = 2; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -79,13 +53,10 @@ public interface ListCloudInstancesActionOrBuilder
    * 
* * optional string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter expression that filters what operations are returned in the
    * response.
@@ -96,41 +67,33 @@ public interface ListCloudInstancesActionOrBuilder
    * 
* * optional string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of instances to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 3; - * * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** - * - * *
    * Number of instances to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * optional int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstancesResponse to the same "parent"
@@ -138,13 +101,10 @@ public interface ListCloudInstancesActionOrBuilder
    * 
* * optional string page_token = 4; - * * @return Whether the pageToken field is set. */ boolean hasPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstancesResponse to the same "parent"
@@ -152,13 +112,10 @@ public interface ListCloudInstancesActionOrBuilder
    * 
* * optional string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, "page_token" should contain a next_page_token
    * from a previous ListInstancesResponse to the same "parent"
@@ -166,8 +123,8 @@ public interface ListCloudInstancesActionOrBuilder
    * 
* * optional string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationAction.java similarity index 74% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationAction.java index 7c5ce8a5d11..95a07602858 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,118 +5,100 @@ package com.google.spanner.executor.v1; /** - * - * *
  * A single mutation request.
  * 
* * Protobuf type {@code google.spanner.executor.v1.MutationAction} */ -public final class MutationAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutationAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.MutationAction) MutationActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutationAction.newBuilder() to construct. private MutationAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutationAction() { mod_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutationAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.MutationAction.class, - com.google.spanner.executor.v1.MutationAction.Builder.class); + com.google.spanner.executor.v1.MutationAction.class, com.google.spanner.executor.v1.MutationAction.Builder.class); } - public interface InsertArgsOrBuilder - extends + public interface InsertArgsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.MutationAction.InsertArgs) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @return A list containing the column. */ - java.util.List getColumnList(); + java.util.List + getColumnList(); /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @return The count of column. */ int getColumnCount(); /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @param index The index of the element to return. * @return The column at the given index. */ java.lang.String getColumn(int index); /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - com.google.protobuf.ByteString getColumnBytes(int index); + com.google.protobuf.ByteString + getColumnBytes(int index); /** - * - * *
      * Type information for the "values" entries below.
      * 
* * repeated .google.spanner.v1.Type type = 2; */ - java.util.List getTypeList(); + java.util.List + getTypeList(); /** - * - * *
      * Type information for the "values" entries below.
      * 
@@ -140,8 +107,6 @@ public interface InsertArgsOrBuilder */ com.google.spanner.v1.Type getType(int index); /** - * - * *
      * Type information for the "values" entries below.
      * 
@@ -150,39 +115,34 @@ public interface InsertArgsOrBuilder */ int getTypeCount(); /** - * - * *
      * Type information for the "values" entries below.
      * 
* * repeated .google.spanner.v1.Type type = 2; */ - java.util.List getTypeOrBuilderList(); + java.util.List + getTypeOrBuilderList(); /** - * - * *
      * Type information for the "values" entries below.
      * 
* * repeated .google.spanner.v1.Type type = 2; */ - com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(int index); + com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder( + int index); /** - * - * *
      * The values to be written.
      * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
      * The values to be written.
      * 
@@ -191,8 +151,6 @@ public interface InsertArgsOrBuilder */ com.google.spanner.executor.v1.ValueList getValues(int index); /** - * - * *
      * The values to be written.
      * 
@@ -201,115 +159,100 @@ public interface InsertArgsOrBuilder */ int getValuesCount(); /** - * - * *
      * The values to be written.
      * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - java.util.List + java.util.List getValuesOrBuilderList(); /** - * - * *
      * The values to be written.
      * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int index); + com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder( + int index); } /** - * - * *
    * Arguments to Insert, InsertOrUpdate, and Replace operations.
    * 
* * Protobuf type {@code google.spanner.executor.v1.MutationAction.InsertArgs} */ - public static final class InsertArgs extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class InsertArgs extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.MutationAction.InsertArgs) InsertArgsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InsertArgs.newBuilder() to construct. private InsertArgs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InsertArgs() { - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); type_ = java.util.Collections.emptyList(); values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InsertArgs(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.MutationAction.InsertArgs.class, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder.class); + com.google.spanner.executor.v1.MutationAction.InsertArgs.class, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder.class); } public static final int COLUMN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList column_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @return A list containing the column. */ - public com.google.protobuf.ProtocolStringList getColumnList() { + public com.google.protobuf.ProtocolStringList + getColumnList() { return column_; } /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @return The count of column. */ public int getColumnCount() { return column_.size(); } /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @param index The index of the element to return. * @return The column at the given index. */ @@ -317,28 +260,23 @@ public java.lang.String getColumn(int index) { return column_.get(index); } /** - * - * *
      * The names of the columns to be written.
      * 
* * repeated string column = 1; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - public com.google.protobuf.ByteString getColumnBytes(int index) { + public com.google.protobuf.ByteString + getColumnBytes(int index) { return column_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List type_; /** - * - * *
      * Type information for the "values" entries below.
      * 
@@ -350,8 +288,6 @@ public java.util.List getTypeList() { return type_; } /** - * - * *
      * Type information for the "values" entries below.
      * 
@@ -359,12 +295,11 @@ public java.util.List getTypeList() { * repeated .google.spanner.v1.Type type = 2; */ @java.lang.Override - public java.util.List getTypeOrBuilderList() { + public java.util.List + getTypeOrBuilderList() { return type_; } /** - * - * *
      * Type information for the "values" entries below.
      * 
@@ -376,8 +311,6 @@ public int getTypeCount() { return type_.size(); } /** - * - * *
      * Type information for the "values" entries below.
      * 
@@ -389,8 +322,6 @@ public com.google.spanner.v1.Type getType(int index) { return type_.get(index); } /** - * - * *
      * Type information for the "values" entries below.
      * 
@@ -398,17 +329,15 @@ public com.google.spanner.v1.Type getType(int index) { * repeated .google.spanner.v1.Type type = 2; */ @java.lang.Override - public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(int index) { + public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder( + int index) { return type_.get(index); } public static final int VALUES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List values_; /** - * - * *
      * The values to be written.
      * 
@@ -420,8 +349,6 @@ public java.util.List getValuesList() return values_; } /** - * - * *
      * The values to be written.
      * 
@@ -429,13 +356,11 @@ public java.util.List getValuesList() * repeated .google.spanner.executor.v1.ValueList values = 3; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** - * - * *
      * The values to be written.
      * 
@@ -447,8 +372,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
      * The values to be written.
      * 
@@ -460,8 +383,6 @@ public com.google.spanner.executor.v1.ValueList getValues(int index) { return values_.get(index); } /** - * - * *
      * The values to be written.
      * 
@@ -469,12 +390,12 @@ public com.google.spanner.executor.v1.ValueList getValues(int index) { * repeated .google.spanner.executor.v1.ValueList values = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int index) { + public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder( + int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -486,7 +407,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < column_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_.getRaw(i)); } @@ -514,10 +436,12 @@ public int getSerializedSize() { size += 1 * getColumnList().size(); } for (int i = 0; i < type_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, type_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, type_.get(i)); } for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, values_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, values_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -527,17 +451,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.MutationAction.InsertArgs)) { return super.equals(obj); } - com.google.spanner.executor.v1.MutationAction.InsertArgs other = - (com.google.spanner.executor.v1.MutationAction.InsertArgs) obj; + com.google.spanner.executor.v1.MutationAction.InsertArgs other = (com.google.spanner.executor.v1.MutationAction.InsertArgs) obj; - if (!getColumnList().equals(other.getColumnList())) return false; - if (!getTypeList().equals(other.getTypeList())) return false; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getColumnList() + .equals(other.getColumnList())) return false; + if (!getTypeList() + .equals(other.getTypeList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -567,94 +493,89 @@ public int hashCode() { } public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction.InsertArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.MutationAction.InsertArgs prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.MutationAction.InsertArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -664,46 +585,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Arguments to Insert, InsertOrUpdate, and Replace operations.
      * 
* * Protobuf type {@code google.spanner.executor.v1.MutationAction.InsertArgs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.MutationAction.InsertArgs) com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.MutationAction.InsertArgs.class, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder.class); + com.google.spanner.executor.v1.MutationAction.InsertArgs.class, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder.class); } // Construct using com.google.spanner.executor.v1.MutationAction.InsertArgs.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (typeBuilder_ == null) { type_ = java.util.Collections.emptyList(); } else { @@ -722,9 +642,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; } @java.lang.Override @@ -743,18 +663,14 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs build() { @java.lang.Override public com.google.spanner.executor.v1.MutationAction.InsertArgs buildPartial() { - com.google.spanner.executor.v1.MutationAction.InsertArgs result = - new com.google.spanner.executor.v1.MutationAction.InsertArgs(this); + com.google.spanner.executor.v1.MutationAction.InsertArgs result = new com.google.spanner.executor.v1.MutationAction.InsertArgs(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.MutationAction.InsertArgs result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.MutationAction.InsertArgs result) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { type_ = java.util.Collections.unmodifiableList(type_); @@ -787,41 +703,38 @@ private void buildPartial0(com.google.spanner.executor.v1.MutationAction.InsertA public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.MutationAction.InsertArgs) { - return mergeFrom((com.google.spanner.executor.v1.MutationAction.InsertArgs) other); + return mergeFrom((com.google.spanner.executor.v1.MutationAction.InsertArgs)other); } else { super.mergeFrom(other); return this; @@ -829,8 +742,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction.InsertArgs other) { - if (other == com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance()) return this; if (!other.column_.isEmpty()) { if (column_.isEmpty()) { column_ = other.column_; @@ -859,10 +771,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction.InsertArg typeBuilder_ = null; type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000002); - typeBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTypeFieldBuilder() - : null; + typeBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTypeFieldBuilder() : null; } else { typeBuilder_.addAllMessages(other.type_); } @@ -886,10 +797,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction.InsertArg valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000004); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValuesFieldBuilder() - : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -921,45 +831,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureColumnIsMutable(); - column_.add(s); - break; - } // case 10 - case 18: - { - com.google.spanner.v1.Type m = - input.readMessage(com.google.spanner.v1.Type.parser(), extensionRegistry); - if (typeBuilder_ == null) { - ensureTypeIsMutable(); - type_.add(m); - } else { - typeBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.spanner.executor.v1.ValueList m = - input.readMessage( - com.google.spanner.executor.v1.ValueList.parser(), extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureColumnIsMutable(); + column_.add(s); + break; + } // case 10 + case 18: { + com.google.spanner.v1.Type m = + input.readMessage( + com.google.spanner.v1.Type.parser(), + extensionRegistry); + if (typeBuilder_ == null) { + ensureTypeIsMutable(); + type_.add(m); + } else { + typeBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.spanner.executor.v1.ValueList m = + input.readMessage( + com.google.spanner.executor.v1.ValueList.parser(), + extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + 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) { @@ -969,12 +878,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList column_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureColumnIsMutable() { if (!column_.isModifiable()) { column_ = new com.google.protobuf.LazyStringArrayList(column_); @@ -982,43 +889,35 @@ private void ensureColumnIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @return A list containing the column. */ - public com.google.protobuf.ProtocolStringList getColumnList() { + public com.google.protobuf.ProtocolStringList + getColumnList() { column_.makeImmutable(); return column_; } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @return The count of column. */ public int getColumnCount() { return column_.size(); } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @param index The index of the element to return. * @return The column at the given index. */ @@ -1026,37 +925,31 @@ public java.lang.String getColumn(int index) { return column_.get(index); } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - public com.google.protobuf.ByteString getColumnBytes(int index) { + public com.google.protobuf.ByteString + getColumnBytes(int index) { return column_.getByteString(index); } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @param index The index to set the value at. * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumn( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.set(index, value); bitField0_ |= 0x00000001; @@ -1064,21 +957,17 @@ public Builder setColumn(int index, java.lang.String value) { return this; } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @param value The column to add. * @return This builder for chaining. */ - public Builder addColumn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.add(value); bitField0_ |= 0x00000001; @@ -1086,58 +975,50 @@ public Builder addColumn(java.lang.String value) { return this; } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @param values The column to add. * @return This builder for chaining. */ - public Builder addAllColumn(java.lang.Iterable values) { + public Builder addAllColumn( + java.lang.Iterable values) { ensureColumnIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, column_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, column_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @return This builder for chaining. */ public Builder clearColumn() { - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The names of the columns to be written.
        * 
* * repeated string column = 1; - * * @param value The bytes of the column to add. * @return This builder for chaining. */ - public Builder addColumnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnIsMutable(); column_.add(value); @@ -1146,24 +1027,19 @@ public Builder addColumnBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List type_ = java.util.Collections.emptyList(); - + private java.util.List type_ = + java.util.Collections.emptyList(); private void ensureTypeIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { type_ = new java.util.ArrayList(type_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - typeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> typeBuilder_; /** - * - * *
        * Type information for the "values" entries below.
        * 
@@ -1178,8 +1054,6 @@ public java.util.List getTypeList() { } } /** - * - * *
        * Type information for the "values" entries below.
        * 
@@ -1194,8 +1068,6 @@ public int getTypeCount() { } } /** - * - * *
        * Type information for the "values" entries below.
        * 
@@ -1210,15 +1082,14 @@ public com.google.spanner.v1.Type getType(int index) { } } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder setType(int index, com.google.spanner.v1.Type value) { + public Builder setType( + int index, com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1232,15 +1103,14 @@ public Builder setType(int index, com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder setType(int index, com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setType( + int index, com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.set(index, builderForValue.build()); @@ -1251,8 +1121,6 @@ public Builder setType(int index, com.google.spanner.v1.Type.Builder builderForV return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
@@ -1273,15 +1141,14 @@ public Builder addType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addType(int index, com.google.spanner.v1.Type value) { + public Builder addType( + int index, com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1295,15 +1162,14 @@ public Builder addType(int index, com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addType(com.google.spanner.v1.Type.Builder builderForValue) { + public Builder addType( + com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.add(builderForValue.build()); @@ -1314,15 +1180,14 @@ public Builder addType(com.google.spanner.v1.Type.Builder builderForValue) { return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addType(int index, com.google.spanner.v1.Type.Builder builderForValue) { + public Builder addType( + int index, com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.add(index, builderForValue.build()); @@ -1333,18 +1198,18 @@ public Builder addType(int index, com.google.spanner.v1.Type.Builder builderForV return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addAllType(java.lang.Iterable values) { + public Builder addAllType( + java.lang.Iterable values) { if (typeBuilder_ == null) { ensureTypeIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, type_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, type_); onChanged(); } else { typeBuilder_.addAllMessages(values); @@ -1352,8 +1217,6 @@ public Builder addAllType(java.lang.Iterable * Type information for the "values" entries below. *
@@ -1371,8 +1234,6 @@ public Builder clearType() { return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
@@ -1390,43 +1251,39 @@ public Builder removeType(int index) { return this; } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public com.google.spanner.v1.Type.Builder getTypeBuilder(int index) { + public com.google.spanner.v1.Type.Builder getTypeBuilder( + int index) { return getTypeFieldBuilder().getBuilder(index); } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(int index) { + public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder( + int index) { if (typeBuilder_ == null) { - return type_.get(index); - } else { + return type_.get(index); } else { return typeBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public java.util.List getTypeOrBuilderList() { + public java.util.List + getTypeOrBuilderList() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilderList(); } else { @@ -1434,8 +1291,6 @@ public java.util.List getTypeOrBu } } /** - * - * *
        * Type information for the "values" entries below.
        * 
@@ -1443,70 +1298,60 @@ public java.util.List getTypeOrBu * repeated .google.spanner.v1.Type type = 2; */ public com.google.spanner.v1.Type.Builder addTypeBuilder() { - return getTypeFieldBuilder().addBuilder(com.google.spanner.v1.Type.getDefaultInstance()); + return getTypeFieldBuilder().addBuilder( + com.google.spanner.v1.Type.getDefaultInstance()); } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public com.google.spanner.v1.Type.Builder addTypeBuilder(int index) { - return getTypeFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Type.getDefaultInstance()); + public com.google.spanner.v1.Type.Builder addTypeBuilder( + int index) { + return getTypeFieldBuilder().addBuilder( + index, com.google.spanner.v1.Type.getDefaultInstance()); } /** - * - * *
        * Type information for the "values" entries below.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public java.util.List getTypeBuilderList() { + public java.util.List + getTypeBuilderList() { return getTypeFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder>( - type_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( + type_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; } private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> - valuesBuilder_; + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> valuesBuilder_; /** - * - * *
        * The values to be written.
        * 
@@ -1521,8 +1366,6 @@ public java.util.List getValuesList() } } /** - * - * *
        * The values to be written.
        * 
@@ -1537,8 +1380,6 @@ public int getValuesCount() { } } /** - * - * *
        * The values to be written.
        * 
@@ -1553,15 +1394,14 @@ public com.google.spanner.executor.v1.ValueList getValues(int index) { } } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public Builder setValues(int index, com.google.spanner.executor.v1.ValueList value) { + public Builder setValues( + int index, com.google.spanner.executor.v1.ValueList value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1575,8 +1415,6 @@ public Builder setValues(int index, com.google.spanner.executor.v1.ValueList val return this; } /** - * - * *
        * The values to be written.
        * 
@@ -1595,8 +1433,6 @@ public Builder setValues( return this; } /** - * - * *
        * The values to be written.
        * 
@@ -1617,15 +1453,14 @@ public Builder addValues(com.google.spanner.executor.v1.ValueList value) { return this; } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public Builder addValues(int index, com.google.spanner.executor.v1.ValueList value) { + public Builder addValues( + int index, com.google.spanner.executor.v1.ValueList value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1639,15 +1474,14 @@ public Builder addValues(int index, com.google.spanner.executor.v1.ValueList val return this; } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public Builder addValues(com.google.spanner.executor.v1.ValueList.Builder builderForValue) { + public Builder addValues( + com.google.spanner.executor.v1.ValueList.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -1658,8 +1492,6 @@ public Builder addValues(com.google.spanner.executor.v1.ValueList.Builder builde return this; } /** - * - * *
        * The values to be written.
        * 
@@ -1678,8 +1510,6 @@ public Builder addValues( return this; } /** - * - * *
        * The values to be written.
        * 
@@ -1690,7 +1520,8 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -1698,8 +1529,6 @@ public Builder addAllValues( return this; } /** - * - * *
        * The values to be written.
        * 
@@ -1717,8 +1546,6 @@ public Builder clearValues() { return this; } /** - * - * *
        * The values to be written.
        * 
@@ -1736,44 +1563,39 @@ public Builder removeValues(int index) { return this; } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public com.google.spanner.executor.v1.ValueList.Builder getValuesBuilder(int index) { + public com.google.spanner.executor.v1.ValueList.Builder getValuesBuilder( + int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int index) { + public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder( + int index) { if (valuesBuilder_ == null) { - return values_.get(index); - } else { + return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -1781,8 +1603,6 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int } } /** - * - * *
        * The values to be written.
        * 
@@ -1790,53 +1610,46 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int * repeated .google.spanner.executor.v1.ValueList values = 3; */ public com.google.spanner.executor.v1.ValueList.Builder addValuesBuilder() { - return getValuesFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.ValueList.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder( + com.google.spanner.executor.v1.ValueList.getDefaultInstance()); } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public com.google.spanner.executor.v1.ValueList.Builder addValuesBuilder(int index) { - return getValuesFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.ValueList.getDefaultInstance()); + public com.google.spanner.executor.v1.ValueList.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.ValueList.getDefaultInstance()); } /** - * - * *
        * The values to be written.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public java.util.List - getValuesBuilderList() { + public java.util.List + getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder>( - values_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>( + values_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); values_ = null; } return valuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1849,12 +1662,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.MutationAction.InsertArgs) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.MutationAction.InsertArgs) private static final com.google.spanner.executor.v1.MutationAction.InsertArgs DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.MutationAction.InsertArgs(); } @@ -1863,28 +1676,27 @@ public static com.google.spanner.executor.v1.MutationAction.InsertArgs getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InsertArgs 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertArgs 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; @@ -1899,77 +1711,64 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.MutationAction.InsertArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdateArgsOrBuilder - extends + public interface UpdateArgsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.MutationAction.UpdateArgs) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @return A list containing the column. */ - java.util.List getColumnList(); + java.util.List + getColumnList(); /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @return The count of column. */ int getColumnCount(); /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @param index The index of the element to return. * @return The column at the given index. */ java.lang.String getColumn(int index); /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - com.google.protobuf.ByteString getColumnBytes(int index); + com.google.protobuf.ByteString + getColumnBytes(int index); /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
* * repeated .google.spanner.v1.Type type = 2; */ - java.util.List getTypeList(); + java.util.List + getTypeList(); /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
@@ -1978,8 +1777,6 @@ public interface UpdateArgsOrBuilder */ com.google.spanner.v1.Type getType(int index); /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
@@ -1988,39 +1785,34 @@ public interface UpdateArgsOrBuilder */ int getTypeCount(); /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
* * repeated .google.spanner.v1.Type type = 2; */ - java.util.List getTypeOrBuilderList(); + java.util.List + getTypeOrBuilderList(); /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
* * repeated .google.spanner.v1.Type type = 2; */ - com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(int index); + com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder( + int index); /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
@@ -2029,8 +1821,6 @@ public interface UpdateArgsOrBuilder */ com.google.spanner.executor.v1.ValueList getValues(int index); /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
@@ -2039,115 +1829,100 @@ public interface UpdateArgsOrBuilder */ int getValuesCount(); /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - java.util.List + java.util.List getValuesOrBuilderList(); /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int index); + com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder( + int index); } /** - * - * *
    * Arguments to Update.
    * 
* * Protobuf type {@code google.spanner.executor.v1.MutationAction.UpdateArgs} */ - public static final class UpdateArgs extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdateArgs extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.MutationAction.UpdateArgs) UpdateArgsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateArgs.newBuilder() to construct. private UpdateArgs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateArgs() { - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); type_ = java.util.Collections.emptyList(); values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateArgs(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.MutationAction.UpdateArgs.class, - com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder.class); + com.google.spanner.executor.v1.MutationAction.UpdateArgs.class, com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder.class); } public static final int COLUMN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList column_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @return A list containing the column. */ - public com.google.protobuf.ProtocolStringList getColumnList() { + public com.google.protobuf.ProtocolStringList + getColumnList() { return column_; } /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @return The count of column. */ public int getColumnCount() { return column_.size(); } /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @param index The index of the element to return. * @return The column at the given index. */ @@ -2155,28 +1930,23 @@ public java.lang.String getColumn(int index) { return column_.get(index); } /** - * - * *
      * The columns to be updated. Identical to InsertArgs.column.
      * 
* * repeated string column = 1; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - public com.google.protobuf.ByteString getColumnBytes(int index) { + public com.google.protobuf.ByteString + getColumnBytes(int index) { return column_.getByteString(index); } public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List type_; /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
@@ -2188,8 +1958,6 @@ public java.util.List getTypeList() { return type_; } /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
@@ -2197,12 +1965,11 @@ public java.util.List getTypeList() { * repeated .google.spanner.v1.Type type = 2; */ @java.lang.Override - public java.util.List getTypeOrBuilderList() { + public java.util.List + getTypeOrBuilderList() { return type_; } /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
@@ -2214,8 +1981,6 @@ public int getTypeCount() { return type_.size(); } /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
@@ -2227,8 +1992,6 @@ public com.google.spanner.v1.Type getType(int index) { return type_.get(index); } /** - * - * *
      * Type information for "values". Identical to InsertArgs.type.
      * 
@@ -2236,17 +1999,15 @@ public com.google.spanner.v1.Type getType(int index) { * repeated .google.spanner.v1.Type type = 2; */ @java.lang.Override - public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(int index) { + public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder( + int index) { return type_.get(index); } public static final int VALUES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List values_; /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
@@ -2258,8 +2019,6 @@ public java.util.List getValuesList() return values_; } /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
@@ -2267,13 +2026,11 @@ public java.util.List getValuesList() * repeated .google.spanner.executor.v1.ValueList values = 3; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
@@ -2285,8 +2042,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
@@ -2298,8 +2053,6 @@ public com.google.spanner.executor.v1.ValueList getValues(int index) { return values_.get(index); } /** - * - * *
      * The values to be updated. Identical to InsertArgs.values.
      * 
@@ -2307,12 +2060,12 @@ public com.google.spanner.executor.v1.ValueList getValues(int index) { * repeated .google.spanner.executor.v1.ValueList values = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int index) { + public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder( + int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2324,7 +2077,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < column_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_.getRaw(i)); } @@ -2352,10 +2106,12 @@ public int getSerializedSize() { size += 1 * getColumnList().size(); } for (int i = 0; i < type_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, type_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, type_.get(i)); } for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, values_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, values_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2365,17 +2121,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.MutationAction.UpdateArgs)) { return super.equals(obj); } - com.google.spanner.executor.v1.MutationAction.UpdateArgs other = - (com.google.spanner.executor.v1.MutationAction.UpdateArgs) obj; + com.google.spanner.executor.v1.MutationAction.UpdateArgs other = (com.google.spanner.executor.v1.MutationAction.UpdateArgs) obj; - if (!getColumnList().equals(other.getColumnList())) return false; - if (!getTypeList().equals(other.getTypeList())) return false; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getColumnList() + .equals(other.getColumnList())) return false; + if (!getTypeList() + .equals(other.getTypeList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2405,94 +2163,89 @@ public int hashCode() { } public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction.UpdateArgs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.MutationAction.UpdateArgs prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.MutationAction.UpdateArgs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2502,46 +2255,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Arguments to Update.
      * 
* * Protobuf type {@code google.spanner.executor.v1.MutationAction.UpdateArgs} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.MutationAction.UpdateArgs) com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.MutationAction.UpdateArgs.class, - com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder.class); + com.google.spanner.executor.v1.MutationAction.UpdateArgs.class, com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder.class); } // Construct using com.google.spanner.executor.v1.MutationAction.UpdateArgs.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (typeBuilder_ == null) { type_ = java.util.Collections.emptyList(); } else { @@ -2560,9 +2312,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; } @java.lang.Override @@ -2581,18 +2333,14 @@ public com.google.spanner.executor.v1.MutationAction.UpdateArgs build() { @java.lang.Override public com.google.spanner.executor.v1.MutationAction.UpdateArgs buildPartial() { - com.google.spanner.executor.v1.MutationAction.UpdateArgs result = - new com.google.spanner.executor.v1.MutationAction.UpdateArgs(this); + com.google.spanner.executor.v1.MutationAction.UpdateArgs result = new com.google.spanner.executor.v1.MutationAction.UpdateArgs(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.MutationAction.UpdateArgs result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.MutationAction.UpdateArgs result) { if (typeBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { type_ = java.util.Collections.unmodifiableList(type_); @@ -2625,41 +2373,38 @@ private void buildPartial0(com.google.spanner.executor.v1.MutationAction.UpdateA public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.MutationAction.UpdateArgs) { - return mergeFrom((com.google.spanner.executor.v1.MutationAction.UpdateArgs) other); + return mergeFrom((com.google.spanner.executor.v1.MutationAction.UpdateArgs)other); } else { super.mergeFrom(other); return this; @@ -2667,8 +2412,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction.UpdateArgs other) { - if (other == com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance()) return this; if (!other.column_.isEmpty()) { if (column_.isEmpty()) { column_ = other.column_; @@ -2697,10 +2441,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction.UpdateArg typeBuilder_ = null; type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000002); - typeBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTypeFieldBuilder() - : null; + typeBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTypeFieldBuilder() : null; } else { typeBuilder_.addAllMessages(other.type_); } @@ -2724,10 +2467,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction.UpdateArg valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000004); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValuesFieldBuilder() - : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -2759,45 +2501,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureColumnIsMutable(); - column_.add(s); - break; - } // case 10 - case 18: - { - com.google.spanner.v1.Type m = - input.readMessage(com.google.spanner.v1.Type.parser(), extensionRegistry); - if (typeBuilder_ == null) { - ensureTypeIsMutable(); - type_.add(m); - } else { - typeBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.spanner.executor.v1.ValueList m = - input.readMessage( - com.google.spanner.executor.v1.ValueList.parser(), extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureColumnIsMutable(); + column_.add(s); + break; + } // case 10 + case 18: { + com.google.spanner.v1.Type m = + input.readMessage( + com.google.spanner.v1.Type.parser(), + extensionRegistry); + if (typeBuilder_ == null) { + ensureTypeIsMutable(); + type_.add(m); + } else { + typeBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.spanner.executor.v1.ValueList m = + input.readMessage( + com.google.spanner.executor.v1.ValueList.parser(), + extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + 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) { @@ -2807,12 +2548,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList column_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureColumnIsMutable() { if (!column_.isModifiable()) { column_ = new com.google.protobuf.LazyStringArrayList(column_); @@ -2820,43 +2559,35 @@ private void ensureColumnIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @return A list containing the column. */ - public com.google.protobuf.ProtocolStringList getColumnList() { + public com.google.protobuf.ProtocolStringList + getColumnList() { column_.makeImmutable(); return column_; } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @return The count of column. */ public int getColumnCount() { return column_.size(); } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @param index The index of the element to return. * @return The column at the given index. */ @@ -2864,37 +2595,31 @@ public java.lang.String getColumn(int index) { return column_.get(index); } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - public com.google.protobuf.ByteString getColumnBytes(int index) { + public com.google.protobuf.ByteString + getColumnBytes(int index) { return column_.getByteString(index); } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @param index The index to set the value at. * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumn( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.set(index, value); bitField0_ |= 0x00000001; @@ -2902,21 +2627,17 @@ public Builder setColumn(int index, java.lang.String value) { return this; } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @param value The column to add. * @return This builder for chaining. */ - public Builder addColumn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.add(value); bitField0_ |= 0x00000001; @@ -2924,58 +2645,50 @@ public Builder addColumn(java.lang.String value) { return this; } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @param values The column to add. * @return This builder for chaining. */ - public Builder addAllColumn(java.lang.Iterable values) { + public Builder addAllColumn( + java.lang.Iterable values) { ensureColumnIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, column_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, column_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @return This builder for chaining. */ public Builder clearColumn() { - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The columns to be updated. Identical to InsertArgs.column.
        * 
* * repeated string column = 1; - * * @param value The bytes of the column to add. * @return This builder for chaining. - */ - public Builder addColumnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + */ + public Builder addColumnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnIsMutable(); column_.add(value); @@ -2984,24 +2697,19 @@ public Builder addColumnBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List type_ = java.util.Collections.emptyList(); - + private java.util.List type_ = + java.util.Collections.emptyList(); private void ensureTypeIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { type_ = new java.util.ArrayList(type_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - typeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> typeBuilder_; /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
@@ -3016,8 +2724,6 @@ public java.util.List getTypeList() { } } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
@@ -3032,8 +2738,6 @@ public int getTypeCount() { } } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
@@ -3048,15 +2752,14 @@ public com.google.spanner.v1.Type getType(int index) { } } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder setType(int index, com.google.spanner.v1.Type value) { + public Builder setType( + int index, com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3070,15 +2773,14 @@ public Builder setType(int index, com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder setType(int index, com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setType( + int index, com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.set(index, builderForValue.build()); @@ -3089,8 +2791,6 @@ public Builder setType(int index, com.google.spanner.v1.Type.Builder builderForV return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
@@ -3111,15 +2811,14 @@ public Builder addType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addType(int index, com.google.spanner.v1.Type value) { + public Builder addType( + int index, com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3133,15 +2832,14 @@ public Builder addType(int index, com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addType(com.google.spanner.v1.Type.Builder builderForValue) { + public Builder addType( + com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.add(builderForValue.build()); @@ -3152,15 +2850,14 @@ public Builder addType(com.google.spanner.v1.Type.Builder builderForValue) { return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addType(int index, com.google.spanner.v1.Type.Builder builderForValue) { + public Builder addType( + int index, com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.add(index, builderForValue.build()); @@ -3171,18 +2868,18 @@ public Builder addType(int index, com.google.spanner.v1.Type.Builder builderForV return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public Builder addAllType(java.lang.Iterable values) { + public Builder addAllType( + java.lang.Iterable values) { if (typeBuilder_ == null) { ensureTypeIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, type_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, type_); onChanged(); } else { typeBuilder_.addAllMessages(values); @@ -3190,8 +2887,6 @@ public Builder addAllType(java.lang.Iterable * Type information for "values". Identical to InsertArgs.type. *
@@ -3209,8 +2904,6 @@ public Builder clearType() { return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
@@ -3228,43 +2921,39 @@ public Builder removeType(int index) { return this; } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public com.google.spanner.v1.Type.Builder getTypeBuilder(int index) { + public com.google.spanner.v1.Type.Builder getTypeBuilder( + int index) { return getTypeFieldBuilder().getBuilder(index); } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(int index) { + public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder( + int index) { if (typeBuilder_ == null) { - return type_.get(index); - } else { + return type_.get(index); } else { return typeBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public java.util.List getTypeOrBuilderList() { + public java.util.List + getTypeOrBuilderList() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilderList(); } else { @@ -3272,8 +2961,6 @@ public java.util.List getTypeOrBu } } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
@@ -3281,70 +2968,60 @@ public java.util.List getTypeOrBu * repeated .google.spanner.v1.Type type = 2; */ public com.google.spanner.v1.Type.Builder addTypeBuilder() { - return getTypeFieldBuilder().addBuilder(com.google.spanner.v1.Type.getDefaultInstance()); + return getTypeFieldBuilder().addBuilder( + com.google.spanner.v1.Type.getDefaultInstance()); } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public com.google.spanner.v1.Type.Builder addTypeBuilder(int index) { - return getTypeFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Type.getDefaultInstance()); + public com.google.spanner.v1.Type.Builder addTypeBuilder( + int index) { + return getTypeFieldBuilder().addBuilder( + index, com.google.spanner.v1.Type.getDefaultInstance()); } /** - * - * *
        * Type information for "values". Identical to InsertArgs.type.
        * 
* * repeated .google.spanner.v1.Type type = 2; */ - public java.util.List getTypeBuilderList() { + public java.util.List + getTypeBuilderList() { return getTypeFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder>( - type_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( + type_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; } private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> - valuesBuilder_; + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> valuesBuilder_; /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3359,8 +3036,6 @@ public java.util.List getValuesList() } } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3375,8 +3050,6 @@ public int getValuesCount() { } } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3391,15 +3064,14 @@ public com.google.spanner.executor.v1.ValueList getValues(int index) { } } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public Builder setValues(int index, com.google.spanner.executor.v1.ValueList value) { + public Builder setValues( + int index, com.google.spanner.executor.v1.ValueList value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3413,8 +3085,6 @@ public Builder setValues(int index, com.google.spanner.executor.v1.ValueList val return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3433,8 +3103,6 @@ public Builder setValues( return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3455,15 +3123,14 @@ public Builder addValues(com.google.spanner.executor.v1.ValueList value) { return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public Builder addValues(int index, com.google.spanner.executor.v1.ValueList value) { + public Builder addValues( + int index, com.google.spanner.executor.v1.ValueList value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3477,15 +3144,14 @@ public Builder addValues(int index, com.google.spanner.executor.v1.ValueList val return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public Builder addValues(com.google.spanner.executor.v1.ValueList.Builder builderForValue) { + public Builder addValues( + com.google.spanner.executor.v1.ValueList.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -3496,8 +3162,6 @@ public Builder addValues(com.google.spanner.executor.v1.ValueList.Builder builde return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3516,8 +3180,6 @@ public Builder addValues( return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3528,7 +3190,8 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -3536,8 +3199,6 @@ public Builder addAllValues( return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3555,8 +3216,6 @@ public Builder clearValues() { return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3574,44 +3233,39 @@ public Builder removeValues(int index) { return this; } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public com.google.spanner.executor.v1.ValueList.Builder getValuesBuilder(int index) { + public com.google.spanner.executor.v1.ValueList.Builder getValuesBuilder( + int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int index) { + public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder( + int index) { if (valuesBuilder_ == null) { - return values_.get(index); - } else { + return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -3619,8 +3273,6 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int } } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
@@ -3628,53 +3280,46 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getValuesOrBuilder(int * repeated .google.spanner.executor.v1.ValueList values = 3; */ public com.google.spanner.executor.v1.ValueList.Builder addValuesBuilder() { - return getValuesFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.ValueList.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder( + com.google.spanner.executor.v1.ValueList.getDefaultInstance()); } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public com.google.spanner.executor.v1.ValueList.Builder addValuesBuilder(int index) { - return getValuesFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.ValueList.getDefaultInstance()); + public com.google.spanner.executor.v1.ValueList.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.ValueList.getDefaultInstance()); } /** - * - * *
        * The values to be updated. Identical to InsertArgs.values.
        * 
* * repeated .google.spanner.executor.v1.ValueList values = 3; */ - public java.util.List - getValuesBuilderList() { + public java.util.List + getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder>( - values_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>( + values_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); values_ = null; } return valuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3687,12 +3332,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.MutationAction.UpdateArgs) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.MutationAction.UpdateArgs) private static final com.google.spanner.executor.v1.MutationAction.UpdateArgs DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.MutationAction.UpdateArgs(); } @@ -3701,28 +3346,27 @@ public static com.google.spanner.executor.v1.MutationAction.UpdateArgs getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateArgs 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateArgs 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; @@ -3737,67 +3381,54 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.MutationAction.UpdateArgs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ModOrBuilder - extends + public interface ModOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.MutationAction.Mod) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The table to write.
      * 
* * string table = 1; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * The table to write.
      * 
* * string table = 1; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
      * Exactly one of the remaining elements may be present.
      * Insert new rows into "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2; - * * @return Whether the insert field is set. */ boolean hasInsert(); /** - * - * *
      * Exactly one of the remaining elements may be present.
      * Insert new rows into "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2; - * * @return The insert. */ com.google.spanner.executor.v1.MutationAction.InsertArgs getInsert(); /** - * - * *
      * Exactly one of the remaining elements may be present.
      * Insert new rows into "table".
@@ -3808,32 +3439,24 @@ public interface ModOrBuilder
     com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getInsertOrBuilder();
 
     /**
-     *
-     *
      * 
      * Update columns stored in existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
      * Update columns stored in existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; - * * @return The update. */ com.google.spanner.executor.v1.MutationAction.UpdateArgs getUpdate(); /** - * - * *
      * Update columns stored in existing rows of "table".
      * 
@@ -3843,32 +3466,24 @@ public interface ModOrBuilder com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder getUpdateOrBuilder(); /** - * - * *
      * Insert or update existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; - * * @return Whether the insertOrUpdate field is set. */ boolean hasInsertOrUpdate(); /** - * - * *
      * Insert or update existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; - * * @return The insertOrUpdate. */ com.google.spanner.executor.v1.MutationAction.InsertArgs getInsertOrUpdate(); /** - * - * *
      * Insert or update existing rows of "table".
      * 
@@ -3878,32 +3493,24 @@ public interface ModOrBuilder com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getInsertOrUpdateOrBuilder(); /** - * - * *
      * Replace existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; - * * @return Whether the replace field is set. */ boolean hasReplace(); /** - * - * *
      * Replace existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; - * * @return The replace. */ com.google.spanner.executor.v1.MutationAction.InsertArgs getReplace(); /** - * - * *
      * Replace existing rows of "table".
      * 
@@ -3913,32 +3520,24 @@ public interface ModOrBuilder com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getReplaceOrBuilder(); /** - * - * *
      * Delete rows from "table".
      * 
* * .google.spanner.executor.v1.KeySet delete_keys = 6; - * * @return Whether the deleteKeys field is set. */ boolean hasDeleteKeys(); /** - * - * *
      * Delete rows from "table".
      * 
* * .google.spanner.executor.v1.KeySet delete_keys = 6; - * * @return The deleteKeys. */ com.google.spanner.executor.v1.KeySet getDeleteKeys(); /** - * - * *
      * Delete rows from "table".
      * 
@@ -3948,8 +3547,6 @@ public interface ModOrBuilder com.google.spanner.executor.v1.KeySetOrBuilder getDeleteKeysOrBuilder(); } /** - * - * *
    * Mod represents the write action that will be perform to a table. Each mod
    * will specify exactly one action, from insert, update, insert_or_update,
@@ -3958,55 +3555,49 @@ public interface ModOrBuilder
    *
    * Protobuf type {@code google.spanner.executor.v1.MutationAction.Mod}
    */
-  public static final class Mod extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Mod extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.MutationAction.Mod)
       ModOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Mod.newBuilder() to construct.
     private Mod(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Mod() {
       table_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Mod();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.MutationAction.Mod.class,
-              com.google.spanner.executor.v1.MutationAction.Mod.Builder.class);
+              com.google.spanner.executor.v1.MutationAction.Mod.class, com.google.spanner.executor.v1.MutationAction.Mod.Builder.class);
     }
 
     private int bitField0_;
     public static final int TABLE_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * The table to write.
      * 
* * string table = 1; - * * @return The table. */ @java.lang.Override @@ -4015,29 +3606,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
      * The table to write.
      * 
* * string table = 1; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -4048,15 +3639,12 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int INSERT_FIELD_NUMBER = 2; private com.google.spanner.executor.v1.MutationAction.InsertArgs insert_; /** - * - * *
      * Exactly one of the remaining elements may be present.
      * Insert new rows into "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2; - * * @return Whether the insert field is set. */ @java.lang.Override @@ -4064,26 +3652,19 @@ public boolean hasInsert() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Exactly one of the remaining elements may be present.
      * Insert new rows into "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2; - * * @return The insert. */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction.InsertArgs getInsert() { - return insert_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : insert_; + return insert_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insert_; } /** - * - * *
      * Exactly one of the remaining elements may be present.
      * Insert new rows into "table".
@@ -4093,22 +3674,17 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs getInsert() {
      */
     @java.lang.Override
     public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getInsertOrBuilder() {
-      return insert_ == null
-          ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance()
-          : insert_;
+      return insert_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insert_;
     }
 
     public static final int UPDATE_FIELD_NUMBER = 3;
     private com.google.spanner.executor.v1.MutationAction.UpdateArgs update_;
     /**
-     *
-     *
      * 
      * Update columns stored in existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; - * * @return Whether the update field is set. */ @java.lang.Override @@ -4116,25 +3692,18 @@ public boolean hasUpdate() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Update columns stored in existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; - * * @return The update. */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction.UpdateArgs getUpdate() { - return update_ == null - ? com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() : update_; } /** - * - * *
      * Update columns stored in existing rows of "table".
      * 
@@ -4143,22 +3712,17 @@ public com.google.spanner.executor.v1.MutationAction.UpdateArgs getUpdate() { */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder getUpdateOrBuilder() { - return update_ == null - ? com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() : update_; } public static final int INSERT_OR_UPDATE_FIELD_NUMBER = 4; private com.google.spanner.executor.v1.MutationAction.InsertArgs insertOrUpdate_; /** - * - * *
      * Insert or update existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; - * * @return Whether the insertOrUpdate field is set. */ @java.lang.Override @@ -4166,25 +3730,18 @@ public boolean hasInsertOrUpdate() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Insert or update existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; - * * @return The insertOrUpdate. */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction.InsertArgs getInsertOrUpdate() { - return insertOrUpdate_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : insertOrUpdate_; + return insertOrUpdate_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insertOrUpdate_; } /** - * - * *
      * Insert or update existing rows of "table".
      * 
@@ -4192,24 +3749,18 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs getInsertOrUpdat * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; */ @java.lang.Override - public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder - getInsertOrUpdateOrBuilder() { - return insertOrUpdate_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : insertOrUpdate_; + public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getInsertOrUpdateOrBuilder() { + return insertOrUpdate_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insertOrUpdate_; } public static final int REPLACE_FIELD_NUMBER = 5; private com.google.spanner.executor.v1.MutationAction.InsertArgs replace_; /** - * - * *
      * Replace existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; - * * @return Whether the replace field is set. */ @java.lang.Override @@ -4217,25 +3768,18 @@ public boolean hasReplace() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Replace existing rows of "table".
      * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; - * * @return The replace. */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction.InsertArgs getReplace() { - return replace_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : replace_; + return replace_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : replace_; } /** - * - * *
      * Replace existing rows of "table".
      * 
@@ -4244,22 +3788,17 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs getReplace() { */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getReplaceOrBuilder() { - return replace_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : replace_; + return replace_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : replace_; } public static final int DELETE_KEYS_FIELD_NUMBER = 6; private com.google.spanner.executor.v1.KeySet deleteKeys_; /** - * - * *
      * Delete rows from "table".
      * 
* * .google.spanner.executor.v1.KeySet delete_keys = 6; - * * @return Whether the deleteKeys field is set. */ @java.lang.Override @@ -4267,25 +3806,18 @@ public boolean hasDeleteKeys() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Delete rows from "table".
      * 
* * .google.spanner.executor.v1.KeySet delete_keys = 6; - * * @return The deleteKeys. */ @java.lang.Override public com.google.spanner.executor.v1.KeySet getDeleteKeys() { - return deleteKeys_ == null - ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() - : deleteKeys_; + return deleteKeys_ == null ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() : deleteKeys_; } /** - * - * *
      * Delete rows from "table".
      * 
@@ -4294,13 +3826,10 @@ public com.google.spanner.executor.v1.KeySet getDeleteKeys() { */ @java.lang.Override public com.google.spanner.executor.v1.KeySetOrBuilder getDeleteKeysOrBuilder() { - return deleteKeys_ == null - ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() - : deleteKeys_; + return deleteKeys_ == null ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() : deleteKeys_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4312,7 +3841,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } @@ -4344,19 +3874,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInsert()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInsert()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdate()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInsertOrUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInsertOrUpdate()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReplace()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReplace()); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeleteKeys()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDeleteKeys()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4366,34 +3901,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.MutationAction.Mod)) { return super.equals(obj); } - com.google.spanner.executor.v1.MutationAction.Mod other = - (com.google.spanner.executor.v1.MutationAction.Mod) obj; + com.google.spanner.executor.v1.MutationAction.Mod other = (com.google.spanner.executor.v1.MutationAction.Mod) obj; - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; if (hasInsert() != other.hasInsert()) return false; if (hasInsert()) { - if (!getInsert().equals(other.getInsert())) return false; + if (!getInsert() + .equals(other.getInsert())) return false; } if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; } if (hasInsertOrUpdate() != other.hasInsertOrUpdate()) return false; if (hasInsertOrUpdate()) { - if (!getInsertOrUpdate().equals(other.getInsertOrUpdate())) return false; + if (!getInsertOrUpdate() + .equals(other.getInsertOrUpdate())) return false; } if (hasReplace() != other.hasReplace()) return false; if (hasReplace()) { - if (!getReplace().equals(other.getReplace())) return false; + if (!getReplace() + .equals(other.getReplace())) return false; } if (hasDeleteKeys() != other.hasDeleteKeys()) return false; if (hasDeleteKeys()) { - if (!getDeleteKeys().equals(other.getDeleteKeys())) return false; + if (!getDeleteKeys() + .equals(other.getDeleteKeys())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4434,93 +3974,89 @@ public int hashCode() { } public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.MutationAction.Mod parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.MutationAction.Mod parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction.Mod parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.MutationAction.Mod prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4530,8 +4066,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Mod represents the write action that will be perform to a table. Each mod
      * will specify exactly one action, from insert, update, insert_or_update,
@@ -4540,24 +4074,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.executor.v1.MutationAction.Mod}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.MutationAction.Mod)
         com.google.spanner.executor.v1.MutationAction.ModOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.executor.v1.CloudExecutorProto
-            .internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.executor.v1.CloudExecutorProto
-            .internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable
+        return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.executor.v1.MutationAction.Mod.class,
-                com.google.spanner.executor.v1.MutationAction.Mod.Builder.class);
+                com.google.spanner.executor.v1.MutationAction.Mod.class, com.google.spanner.executor.v1.MutationAction.Mod.Builder.class);
       }
 
       // Construct using com.google.spanner.executor.v1.MutationAction.Mod.newBuilder()
@@ -4565,13 +4096,14 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getInsertFieldBuilder();
           getUpdateFieldBuilder();
           getInsertOrUpdateFieldBuilder();
@@ -4579,7 +4111,6 @@ private void maybeForceBuilderInitialization() {
           getDeleteKeysFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4614,9 +4145,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.executor.v1.CloudExecutorProto
-            .internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor;
       }
 
       @java.lang.Override
@@ -4635,11 +4166,8 @@ public com.google.spanner.executor.v1.MutationAction.Mod build() {
 
       @java.lang.Override
       public com.google.spanner.executor.v1.MutationAction.Mod buildPartial() {
-        com.google.spanner.executor.v1.MutationAction.Mod result =
-            new com.google.spanner.executor.v1.MutationAction.Mod(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.executor.v1.MutationAction.Mod result = new com.google.spanner.executor.v1.MutationAction.Mod(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -4651,25 +4179,33 @@ private void buildPartial0(com.google.spanner.executor.v1.MutationAction.Mod res
         }
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.insert_ = insertBuilder_ == null ? insert_ : insertBuilder_.build();
+          result.insert_ = insertBuilder_ == null
+              ? insert_
+              : insertBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.update_ = updateBuilder_ == null ? update_ : updateBuilder_.build();
+          result.update_ = updateBuilder_ == null
+              ? update_
+              : updateBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.insertOrUpdate_ =
-              insertOrUpdateBuilder_ == null ? insertOrUpdate_ : insertOrUpdateBuilder_.build();
+          result.insertOrUpdate_ = insertOrUpdateBuilder_ == null
+              ? insertOrUpdate_
+              : insertOrUpdateBuilder_.build();
           to_bitField0_ |= 0x00000004;
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
-          result.replace_ = replaceBuilder_ == null ? replace_ : replaceBuilder_.build();
+          result.replace_ = replaceBuilder_ == null
+              ? replace_
+              : replaceBuilder_.build();
           to_bitField0_ |= 0x00000008;
         }
         if (((from_bitField0_ & 0x00000020) != 0)) {
-          result.deleteKeys_ =
-              deleteKeysBuilder_ == null ? deleteKeys_ : deleteKeysBuilder_.build();
+          result.deleteKeys_ = deleteKeysBuilder_ == null
+              ? deleteKeys_
+              : deleteKeysBuilder_.build();
           to_bitField0_ |= 0x00000010;
         }
         result.bitField0_ |= to_bitField0_;
@@ -4679,41 +4215,38 @@ private void buildPartial0(com.google.spanner.executor.v1.MutationAction.Mod res
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.executor.v1.MutationAction.Mod) {
-          return mergeFrom((com.google.spanner.executor.v1.MutationAction.Mod) other);
+          return mergeFrom((com.google.spanner.executor.v1.MutationAction.Mod)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4721,8 +4254,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction.Mod other) {
-        if (other == com.google.spanner.executor.v1.MutationAction.Mod.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.executor.v1.MutationAction.Mod.getDefaultInstance()) return this;
         if (!other.getTable().isEmpty()) {
           table_ = other.table_;
           bitField0_ |= 0x00000001;
@@ -4769,50 +4301,52 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  table_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getInsertFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(
-                      getInsertOrUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              case 42:
-                {
-                  input.readMessage(getReplaceFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 42
-              case 50:
-                {
-                  input.readMessage(getDeleteKeysFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000020;
-                  break;
-                } // case 50
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                table_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getInsertFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getUpdateFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getInsertOrUpdateFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              case 42: {
+                input.readMessage(
+                    getReplaceFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+              case 50: {
+                input.readMessage(
+                    getDeleteKeysFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+              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) {
@@ -4822,25 +4356,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object table_ = "";
       /**
-       *
-       *
        * 
        * The table to write.
        * 
* * string table = 1; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -4849,21 +4380,20 @@ public java.lang.String getTable() { } } /** - * - * *
        * The table to write.
        * 
* * string table = 1; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -4871,35 +4401,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * The table to write.
        * 
* * string table = 1; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The table to write.
        * 
* * string table = 1; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -4909,21 +4432,17 @@ public Builder clearTable() { return this; } /** - * - * *
        * The table to write.
        * 
* * string table = 1; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -4933,49 +4452,36 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private com.google.spanner.executor.v1.MutationAction.InsertArgs insert_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.InsertArgs, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, - com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> - insertBuilder_; + com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> insertBuilder_; /** - * - * *
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2; - * * @return Whether the insert field is set. */ public boolean hasInsert() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2; - * * @return The insert. */ public com.google.spanner.executor.v1.MutationAction.InsertArgs getInsert() { if (insertBuilder_ == null) { - return insert_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : insert_; + return insert_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insert_; } else { return insertBuilder_.getMessage(); } } /** - * - * *
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
@@ -4997,8 +4503,6 @@ public Builder setInsert(com.google.spanner.executor.v1.MutationAction.InsertArg
         return this;
       }
       /**
-       *
-       *
        * 
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
@@ -5018,8 +4522,6 @@ public Builder setInsert(
         return this;
       }
       /**
-       *
-       *
        * 
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
@@ -5029,11 +4531,9 @@ public Builder setInsert(
        */
       public Builder mergeInsert(com.google.spanner.executor.v1.MutationAction.InsertArgs value) {
         if (insertBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && insert_ != null
-              && insert_
-                  != com.google.spanner.executor.v1.MutationAction.InsertArgs
-                      .getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            insert_ != null &&
+            insert_ != com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance()) {
             getInsertBuilder().mergeFrom(value);
           } else {
             insert_ = value;
@@ -5048,8 +4548,6 @@ public Builder mergeInsert(com.google.spanner.executor.v1.MutationAction.InsertA
         return this;
       }
       /**
-       *
-       *
        * 
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
@@ -5068,8 +4566,6 @@ public Builder clearInsert() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
@@ -5083,8 +4579,6 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getInser
         return getInsertFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
@@ -5092,19 +4586,15 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getInser
        *
        * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2;
        */
-      public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder
-          getInsertOrBuilder() {
+      public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getInsertOrBuilder() {
         if (insertBuilder_ != null) {
           return insertBuilder_.getMessageOrBuilder();
         } else {
-          return insert_ == null
-              ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance()
-              : insert_;
+          return insert_ == null ?
+              com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insert_;
         }
       }
       /**
-       *
-       *
        * 
        * Exactly one of the remaining elements may be present.
        * Insert new rows into "table".
@@ -5113,17 +4603,14 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getInser
        * .google.spanner.executor.v1.MutationAction.InsertArgs insert = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.spanner.executor.v1.MutationAction.InsertArgs,
-              com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder,
-              com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder>
+          com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> 
           getInsertFieldBuilder() {
         if (insertBuilder_ == null) {
-          insertBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.spanner.executor.v1.MutationAction.InsertArgs,
-                  com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder,
-                  com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder>(
-                  getInsert(), getParentForChildren(), isClean());
+          insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder>(
+                  getInsert(),
+                  getParentForChildren(),
+                  isClean());
           insert_ = null;
         }
         return insertBuilder_;
@@ -5131,47 +4618,34 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getInser
 
       private com.google.spanner.executor.v1.MutationAction.UpdateArgs update_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.spanner.executor.v1.MutationAction.UpdateArgs,
-              com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder,
-              com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder>
-          updateBuilder_;
+          com.google.spanner.executor.v1.MutationAction.UpdateArgs, com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder, com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder> updateBuilder_;
       /**
-       *
-       *
        * 
        * Update columns stored in existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; - * * @return Whether the update field is set. */ public boolean hasUpdate() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; - * * @return The update. */ public com.google.spanner.executor.v1.MutationAction.UpdateArgs getUpdate() { if (updateBuilder_ == null) { - return update_ == null - ? com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() : update_; } else { return updateBuilder_.getMessage(); } } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
@@ -5192,8 +4666,6 @@ public Builder setUpdate(com.google.spanner.executor.v1.MutationAction.UpdateArg return this; } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
@@ -5212,8 +4684,6 @@ public Builder setUpdate( return this; } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
@@ -5222,11 +4692,9 @@ public Builder setUpdate( */ public Builder mergeUpdate(com.google.spanner.executor.v1.MutationAction.UpdateArgs value) { if (updateBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && update_ != null - && update_ - != com.google.spanner.executor.v1.MutationAction.UpdateArgs - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + update_ != null && + update_ != com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance()) { getUpdateBuilder().mergeFrom(value); } else { update_ = value; @@ -5241,8 +4709,6 @@ public Builder mergeUpdate(com.google.spanner.executor.v1.MutationAction.UpdateA return this; } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
@@ -5260,8 +4726,6 @@ public Builder clearUpdate() { return this; } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
@@ -5274,27 +4738,21 @@ public com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder getUpdat return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; */ - public com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder - getUpdateOrBuilder() { + public com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null - ? com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() - : update_; + return update_ == null ? + com.google.spanner.executor.v1.MutationAction.UpdateArgs.getDefaultInstance() : update_; } } /** - * - * *
        * Update columns stored in existing rows of "table".
        * 
@@ -5302,17 +4760,14 @@ public com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder getUpdat * .google.spanner.executor.v1.MutationAction.UpdateArgs update = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.UpdateArgs, - com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder, - com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder> + com.google.spanner.executor.v1.MutationAction.UpdateArgs, com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder, com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.UpdateArgs, - com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder, - com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder>( - getUpdate(), getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.MutationAction.UpdateArgs, com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder, com.google.spanner.executor.v1.MutationAction.UpdateArgsOrBuilder>( + getUpdate(), + getParentForChildren(), + isClean()); update_ = null; } return updateBuilder_; @@ -5320,55 +4775,41 @@ public com.google.spanner.executor.v1.MutationAction.UpdateArgs.Builder getUpdat private com.google.spanner.executor.v1.MutationAction.InsertArgs insertOrUpdate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.InsertArgs, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, - com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> - insertOrUpdateBuilder_; + com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> insertOrUpdateBuilder_; /** - * - * *
        * Insert or update existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; - * * @return Whether the insertOrUpdate field is set. */ public boolean hasInsertOrUpdate() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Insert or update existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; - * * @return The insertOrUpdate. */ public com.google.spanner.executor.v1.MutationAction.InsertArgs getInsertOrUpdate() { if (insertOrUpdateBuilder_ == null) { - return insertOrUpdate_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : insertOrUpdate_; + return insertOrUpdate_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insertOrUpdate_; } else { return insertOrUpdateBuilder_.getMessage(); } } /** - * - * *
        * Insert or update existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; */ - public Builder setInsertOrUpdate( - com.google.spanner.executor.v1.MutationAction.InsertArgs value) { + public Builder setInsertOrUpdate(com.google.spanner.executor.v1.MutationAction.InsertArgs value) { if (insertOrUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5382,8 +4823,6 @@ public Builder setInsertOrUpdate( return this; } /** - * - * *
        * Insert or update existing rows of "table".
        * 
@@ -5402,22 +4841,17 @@ public Builder setInsertOrUpdate( return this; } /** - * - * *
        * Insert or update existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; */ - public Builder mergeInsertOrUpdate( - com.google.spanner.executor.v1.MutationAction.InsertArgs value) { + public Builder mergeInsertOrUpdate(com.google.spanner.executor.v1.MutationAction.InsertArgs value) { if (insertOrUpdateBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && insertOrUpdate_ != null - && insertOrUpdate_ - != com.google.spanner.executor.v1.MutationAction.InsertArgs - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + insertOrUpdate_ != null && + insertOrUpdate_ != com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance()) { getInsertOrUpdateBuilder().mergeFrom(value); } else { insertOrUpdate_ = value; @@ -5432,8 +4866,6 @@ public Builder mergeInsertOrUpdate( return this; } /** - * - * *
        * Insert or update existing rows of "table".
        * 
@@ -5451,42 +4883,33 @@ public Builder clearInsertOrUpdate() { return this; } /** - * - * *
        * Insert or update existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; */ - public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder - getInsertOrUpdateBuilder() { + public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getInsertOrUpdateBuilder() { bitField0_ |= 0x00000008; onChanged(); return getInsertOrUpdateFieldBuilder().getBuilder(); } /** - * - * *
        * Insert or update existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; */ - public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder - getInsertOrUpdateOrBuilder() { + public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getInsertOrUpdateOrBuilder() { if (insertOrUpdateBuilder_ != null) { return insertOrUpdateBuilder_.getMessageOrBuilder(); } else { - return insertOrUpdate_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : insertOrUpdate_; + return insertOrUpdate_ == null ? + com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : insertOrUpdate_; } } /** - * - * *
        * Insert or update existing rows of "table".
        * 
@@ -5494,17 +4917,14 @@ public Builder clearInsertOrUpdate() { * .google.spanner.executor.v1.MutationAction.InsertArgs insert_or_update = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.InsertArgs, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, - com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> + com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> getInsertOrUpdateFieldBuilder() { if (insertOrUpdateBuilder_ == null) { - insertOrUpdateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.InsertArgs, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, - com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder>( - getInsertOrUpdate(), getParentForChildren(), isClean()); + insertOrUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder>( + getInsertOrUpdate(), + getParentForChildren(), + isClean()); insertOrUpdate_ = null; } return insertOrUpdateBuilder_; @@ -5512,47 +4932,34 @@ public Builder clearInsertOrUpdate() { private com.google.spanner.executor.v1.MutationAction.InsertArgs replace_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.InsertArgs, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, - com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> - replaceBuilder_; + com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> replaceBuilder_; /** - * - * *
        * Replace existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; - * * @return Whether the replace field is set. */ public boolean hasReplace() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Replace existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; - * * @return The replace. */ public com.google.spanner.executor.v1.MutationAction.InsertArgs getReplace() { if (replaceBuilder_ == null) { - return replace_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : replace_; + return replace_ == null ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : replace_; } else { return replaceBuilder_.getMessage(); } } /** - * - * *
        * Replace existing rows of "table".
        * 
@@ -5573,8 +4980,6 @@ public Builder setReplace(com.google.spanner.executor.v1.MutationAction.InsertAr return this; } /** - * - * *
        * Replace existing rows of "table".
        * 
@@ -5593,8 +4998,6 @@ public Builder setReplace( return this; } /** - * - * *
        * Replace existing rows of "table".
        * 
@@ -5603,11 +5006,9 @@ public Builder setReplace( */ public Builder mergeReplace(com.google.spanner.executor.v1.MutationAction.InsertArgs value) { if (replaceBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && replace_ != null - && replace_ - != com.google.spanner.executor.v1.MutationAction.InsertArgs - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + replace_ != null && + replace_ != com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance()) { getReplaceBuilder().mergeFrom(value); } else { replace_ = value; @@ -5622,8 +5023,6 @@ public Builder mergeReplace(com.google.spanner.executor.v1.MutationAction.Insert return this; } /** - * - * *
        * Replace existing rows of "table".
        * 
@@ -5641,8 +5040,6 @@ public Builder clearReplace() { return this; } /** - * - * *
        * Replace existing rows of "table".
        * 
@@ -5655,27 +5052,21 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getRepla return getReplaceFieldBuilder().getBuilder(); } /** - * - * *
        * Replace existing rows of "table".
        * 
* * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; */ - public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder - getReplaceOrBuilder() { + public com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder getReplaceOrBuilder() { if (replaceBuilder_ != null) { return replaceBuilder_.getMessageOrBuilder(); } else { - return replace_ == null - ? com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() - : replace_; + return replace_ == null ? + com.google.spanner.executor.v1.MutationAction.InsertArgs.getDefaultInstance() : replace_; } } /** - * - * *
        * Replace existing rows of "table".
        * 
@@ -5683,17 +5074,14 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getRepla * .google.spanner.executor.v1.MutationAction.InsertArgs replace = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.InsertArgs, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, - com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> + com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder> getReplaceFieldBuilder() { if (replaceBuilder_ == null) { - replaceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.InsertArgs, - com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, - com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder>( - getReplace(), getParentForChildren(), isClean()); + replaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.MutationAction.InsertArgs, com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder, com.google.spanner.executor.v1.MutationAction.InsertArgsOrBuilder>( + getReplace(), + getParentForChildren(), + isClean()); replace_ = null; } return replaceBuilder_; @@ -5701,47 +5089,34 @@ public com.google.spanner.executor.v1.MutationAction.InsertArgs.Builder getRepla private com.google.spanner.executor.v1.KeySet deleteKeys_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.KeySet, - com.google.spanner.executor.v1.KeySet.Builder, - com.google.spanner.executor.v1.KeySetOrBuilder> - deleteKeysBuilder_; + com.google.spanner.executor.v1.KeySet, com.google.spanner.executor.v1.KeySet.Builder, com.google.spanner.executor.v1.KeySetOrBuilder> deleteKeysBuilder_; /** - * - * *
        * Delete rows from "table".
        * 
* * .google.spanner.executor.v1.KeySet delete_keys = 6; - * * @return Whether the deleteKeys field is set. */ public boolean hasDeleteKeys() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
        * Delete rows from "table".
        * 
* * .google.spanner.executor.v1.KeySet delete_keys = 6; - * * @return The deleteKeys. */ public com.google.spanner.executor.v1.KeySet getDeleteKeys() { if (deleteKeysBuilder_ == null) { - return deleteKeys_ == null - ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() - : deleteKeys_; + return deleteKeys_ == null ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() : deleteKeys_; } else { return deleteKeysBuilder_.getMessage(); } } /** - * - * *
        * Delete rows from "table".
        * 
@@ -5762,15 +5137,14 @@ public Builder setDeleteKeys(com.google.spanner.executor.v1.KeySet value) { return this; } /** - * - * *
        * Delete rows from "table".
        * 
* * .google.spanner.executor.v1.KeySet delete_keys = 6; */ - public Builder setDeleteKeys(com.google.spanner.executor.v1.KeySet.Builder builderForValue) { + public Builder setDeleteKeys( + com.google.spanner.executor.v1.KeySet.Builder builderForValue) { if (deleteKeysBuilder_ == null) { deleteKeys_ = builderForValue.build(); } else { @@ -5781,8 +5155,6 @@ public Builder setDeleteKeys(com.google.spanner.executor.v1.KeySet.Builder build return this; } /** - * - * *
        * Delete rows from "table".
        * 
@@ -5791,9 +5163,9 @@ public Builder setDeleteKeys(com.google.spanner.executor.v1.KeySet.Builder build */ public Builder mergeDeleteKeys(com.google.spanner.executor.v1.KeySet value) { if (deleteKeysBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && deleteKeys_ != null - && deleteKeys_ != com.google.spanner.executor.v1.KeySet.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + deleteKeys_ != null && + deleteKeys_ != com.google.spanner.executor.v1.KeySet.getDefaultInstance()) { getDeleteKeysBuilder().mergeFrom(value); } else { deleteKeys_ = value; @@ -5808,8 +5180,6 @@ public Builder mergeDeleteKeys(com.google.spanner.executor.v1.KeySet value) { return this; } /** - * - * *
        * Delete rows from "table".
        * 
@@ -5827,8 +5197,6 @@ public Builder clearDeleteKeys() { return this; } /** - * - * *
        * Delete rows from "table".
        * 
@@ -5841,8 +5209,6 @@ public com.google.spanner.executor.v1.KeySet.Builder getDeleteKeysBuilder() { return getDeleteKeysFieldBuilder().getBuilder(); } /** - * - * *
        * Delete rows from "table".
        * 
@@ -5853,14 +5219,11 @@ public com.google.spanner.executor.v1.KeySetOrBuilder getDeleteKeysOrBuilder() { if (deleteKeysBuilder_ != null) { return deleteKeysBuilder_.getMessageOrBuilder(); } else { - return deleteKeys_ == null - ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() - : deleteKeys_; + return deleteKeys_ == null ? + com.google.spanner.executor.v1.KeySet.getDefaultInstance() : deleteKeys_; } } /** - * - * *
        * Delete rows from "table".
        * 
@@ -5868,22 +5231,18 @@ public com.google.spanner.executor.v1.KeySetOrBuilder getDeleteKeysOrBuilder() { * .google.spanner.executor.v1.KeySet delete_keys = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.KeySet, - com.google.spanner.executor.v1.KeySet.Builder, - com.google.spanner.executor.v1.KeySetOrBuilder> + com.google.spanner.executor.v1.KeySet, com.google.spanner.executor.v1.KeySet.Builder, com.google.spanner.executor.v1.KeySetOrBuilder> getDeleteKeysFieldBuilder() { if (deleteKeysBuilder_ == null) { - deleteKeysBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.KeySet, - com.google.spanner.executor.v1.KeySet.Builder, - com.google.spanner.executor.v1.KeySetOrBuilder>( - getDeleteKeys(), getParentForChildren(), isClean()); + deleteKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.KeySet, com.google.spanner.executor.v1.KeySet.Builder, com.google.spanner.executor.v1.KeySetOrBuilder>( + getDeleteKeys(), + getParentForChildren(), + isClean()); deleteKeys_ = null; } return deleteKeysBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5896,12 +5255,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.MutationAction.Mod) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.MutationAction.Mod) private static final com.google.spanner.executor.v1.MutationAction.Mod DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.MutationAction.Mod(); } @@ -5910,28 +5269,27 @@ public static com.google.spanner.executor.v1.MutationAction.Mod getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Mod 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Mod 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; @@ -5946,15 +5304,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.MutationAction.Mod getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int MOD_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List mod_; /** - * - * *
    * Mods that contained in this mutation.
    * 
@@ -5966,8 +5322,6 @@ public java.util.List getModL return mod_; } /** - * - * *
    * Mods that contained in this mutation.
    * 
@@ -5975,13 +5329,11 @@ public java.util.List getModL * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ @java.lang.Override - public java.util.List + public java.util.List getModOrBuilderList() { return mod_; } /** - * - * *
    * Mods that contained in this mutation.
    * 
@@ -5993,8 +5345,6 @@ public int getModCount() { return mod_.size(); } /** - * - * *
    * Mods that contained in this mutation.
    * 
@@ -6006,8 +5356,6 @@ public com.google.spanner.executor.v1.MutationAction.Mod getMod(int index) { return mod_.get(index); } /** - * - * *
    * Mods that contained in this mutation.
    * 
@@ -6015,12 +5363,12 @@ public com.google.spanner.executor.v1.MutationAction.Mod getMod(int index) { * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ @java.lang.Override - public com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilder(int index) { + public com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilder( + int index) { return mod_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6032,7 +5380,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < mod_.size(); i++) { output.writeMessage(1, mod_.get(i)); } @@ -6046,7 +5395,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < mod_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, mod_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, mod_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6056,15 +5406,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.MutationAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.MutationAction other = - (com.google.spanner.executor.v1.MutationAction) obj; + com.google.spanner.executor.v1.MutationAction other = (com.google.spanner.executor.v1.MutationAction) obj; - if (!getModList().equals(other.getModList())) return false; + if (!getModList() + .equals(other.getModList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6085,136 +5435,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.MutationAction parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.MutationAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.MutationAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.MutationAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.MutationAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.MutationAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.MutationAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.MutationAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single mutation request.
    * 
* * Protobuf type {@code google.spanner.executor.v1.MutationAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.MutationAction) com.google.spanner.executor.v1.MutationActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.MutationAction.class, - com.google.spanner.executor.v1.MutationAction.Builder.class); + com.google.spanner.executor.v1.MutationAction.class, com.google.spanner.executor.v1.MutationAction.Builder.class); } // Construct using com.google.spanner.executor.v1.MutationAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6230,9 +5576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_MutationAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_MutationAction_descriptor; } @java.lang.Override @@ -6251,12 +5597,9 @@ public com.google.spanner.executor.v1.MutationAction build() { @java.lang.Override public com.google.spanner.executor.v1.MutationAction buildPartial() { - com.google.spanner.executor.v1.MutationAction result = - new com.google.spanner.executor.v1.MutationAction(this); + com.google.spanner.executor.v1.MutationAction result = new com.google.spanner.executor.v1.MutationAction(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -6281,39 +5624,38 @@ private void buildPartial0(com.google.spanner.executor.v1.MutationAction result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.MutationAction) { - return mergeFrom((com.google.spanner.executor.v1.MutationAction) other); + return mergeFrom((com.google.spanner.executor.v1.MutationAction)other); } else { super.mergeFrom(other); return this; @@ -6340,10 +5682,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.MutationAction other) { modBuilder_ = null; mod_ = other.mod_; bitField0_ = (bitField0_ & ~0x00000001); - modBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getModFieldBuilder() - : null; + modBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getModFieldBuilder() : null; } else { modBuilder_.addAllMessages(other.mod_); } @@ -6375,27 +5716,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.executor.v1.MutationAction.Mod m = - input.readMessage( - com.google.spanner.executor.v1.MutationAction.Mod.parser(), - extensionRegistry); - if (modBuilder_ == null) { - ensureModIsMutable(); - mod_.add(m); - } else { - modBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.executor.v1.MutationAction.Mod m = + input.readMessage( + com.google.spanner.executor.v1.MutationAction.Mod.parser(), + extensionRegistry); + if (modBuilder_ == null) { + ensureModIsMutable(); + mod_.add(m); + } else { + modBuilder_.addMessage(m); + } + 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) { @@ -6405,28 +5744,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List mod_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureModIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { mod_ = new java.util.ArrayList(mod_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.Mod, - com.google.spanner.executor.v1.MutationAction.Mod.Builder, - com.google.spanner.executor.v1.MutationAction.ModOrBuilder> - modBuilder_; + com.google.spanner.executor.v1.MutationAction.Mod, com.google.spanner.executor.v1.MutationAction.Mod.Builder, com.google.spanner.executor.v1.MutationAction.ModOrBuilder> modBuilder_; /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6441,8 +5773,6 @@ public java.util.List getModL } } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6457,8 +5787,6 @@ public int getModCount() { } } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6473,15 +5801,14 @@ public com.google.spanner.executor.v1.MutationAction.Mod getMod(int index) { } } /** - * - * *
      * Mods that contained in this mutation.
      * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - public Builder setMod(int index, com.google.spanner.executor.v1.MutationAction.Mod value) { + public Builder setMod( + int index, com.google.spanner.executor.v1.MutationAction.Mod value) { if (modBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6495,8 +5822,6 @@ public Builder setMod(int index, com.google.spanner.executor.v1.MutationAction.M return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6515,8 +5840,6 @@ public Builder setMod( return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6537,15 +5860,14 @@ public Builder addMod(com.google.spanner.executor.v1.MutationAction.Mod value) { return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - public Builder addMod(int index, com.google.spanner.executor.v1.MutationAction.Mod value) { + public Builder addMod( + int index, com.google.spanner.executor.v1.MutationAction.Mod value) { if (modBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6559,8 +5881,6 @@ public Builder addMod(int index, com.google.spanner.executor.v1.MutationAction.M return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6579,8 +5899,6 @@ public Builder addMod( return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6599,8 +5917,6 @@ public Builder addMod( return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6611,7 +5927,8 @@ public Builder addAllMod( java.lang.Iterable values) { if (modBuilder_ == null) { ensureModIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mod_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mod_); onChanged(); } else { modBuilder_.addAllMessages(values); @@ -6619,8 +5936,6 @@ public Builder addAllMod( return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6638,8 +5953,6 @@ public Builder clearMod() { return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6657,44 +5970,39 @@ public Builder removeMod(int index) { return this; } /** - * - * *
      * Mods that contained in this mutation.
      * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - public com.google.spanner.executor.v1.MutationAction.Mod.Builder getModBuilder(int index) { + public com.google.spanner.executor.v1.MutationAction.Mod.Builder getModBuilder( + int index) { return getModFieldBuilder().getBuilder(index); } /** - * - * *
      * Mods that contained in this mutation.
      * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - public com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilder(int index) { + public com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilder( + int index) { if (modBuilder_ == null) { - return mod_.get(index); - } else { + return mod_.get(index); } else { return modBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Mods that contained in this mutation.
      * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - public java.util.List - getModOrBuilderList() { + public java.util.List + getModOrBuilderList() { if (modBuilder_ != null) { return modBuilder_.getMessageOrBuilderList(); } else { @@ -6702,8 +6010,6 @@ public com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilde } } /** - * - * *
      * Mods that contained in this mutation.
      * 
@@ -6711,56 +6017,49 @@ public com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilde * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ public com.google.spanner.executor.v1.MutationAction.Mod.Builder addModBuilder() { - return getModFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.MutationAction.Mod.getDefaultInstance()); + return getModFieldBuilder().addBuilder( + com.google.spanner.executor.v1.MutationAction.Mod.getDefaultInstance()); } /** - * - * *
      * Mods that contained in this mutation.
      * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - public com.google.spanner.executor.v1.MutationAction.Mod.Builder addModBuilder(int index) { - return getModFieldBuilder() - .addBuilder( - index, com.google.spanner.executor.v1.MutationAction.Mod.getDefaultInstance()); + public com.google.spanner.executor.v1.MutationAction.Mod.Builder addModBuilder( + int index) { + return getModFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.MutationAction.Mod.getDefaultInstance()); } /** - * - * *
      * Mods that contained in this mutation.
      * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - public java.util.List - getModBuilderList() { + public java.util.List + getModBuilderList() { return getModFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.Mod, - com.google.spanner.executor.v1.MutationAction.Mod.Builder, - com.google.spanner.executor.v1.MutationAction.ModOrBuilder> + com.google.spanner.executor.v1.MutationAction.Mod, com.google.spanner.executor.v1.MutationAction.Mod.Builder, com.google.spanner.executor.v1.MutationAction.ModOrBuilder> getModFieldBuilder() { if (modBuilder_ == null) { - modBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction.Mod, - com.google.spanner.executor.v1.MutationAction.Mod.Builder, - com.google.spanner.executor.v1.MutationAction.ModOrBuilder>( - mod_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + modBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.MutationAction.Mod, com.google.spanner.executor.v1.MutationAction.Mod.Builder, com.google.spanner.executor.v1.MutationAction.ModOrBuilder>( + mod_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); mod_ = null; } return modBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6770,12 +6069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.MutationAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.MutationAction) private static final com.google.spanner.executor.v1.MutationAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.MutationAction(); } @@ -6784,27 +6083,27 @@ public static com.google.spanner.executor.v1.MutationAction getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutationAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutationAction 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; @@ -6819,4 +6118,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.MutationAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationActionOrBuilder.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationActionOrBuilder.java index 99fc6b22400..d17fb17dcd3 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/MutationActionOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface MutationActionOrBuilder - extends +public interface MutationActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.MutationAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Mods that contained in this mutation.
    * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - java.util.List getModList(); + java.util.List + getModList(); /** - * - * *
    * Mods that contained in this mutation.
    * 
@@ -45,8 +26,6 @@ public interface MutationActionOrBuilder */ com.google.spanner.executor.v1.MutationAction.Mod getMod(int index); /** - * - * *
    * Mods that contained in this mutation.
    * 
@@ -55,24 +34,21 @@ public interface MutationActionOrBuilder */ int getModCount(); /** - * - * *
    * Mods that contained in this mutation.
    * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - java.util.List + java.util.List getModOrBuilderList(); /** - * - * *
    * Mods that contained in this mutation.
    * 
* * repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1; */ - com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilder(int index); + com.google.spanner.executor.v1.MutationAction.ModOrBuilder getModOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponse.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponse.java index 81d6fddfdac..aabe6bb3c7a 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * OperationResponse contains results returned by operation related actions.
  * 
* * Protobuf type {@code google.spanner.executor.v1.OperationResponse} */ -public final class OperationResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.OperationResponse) OperationResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationResponse.newBuilder() to construct. private OperationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationResponse() { listedOperations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,33 +27,29 @@ private OperationResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_OperationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_OperationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.OperationResponse.class, - com.google.spanner.executor.v1.OperationResponse.Builder.class); + com.google.spanner.executor.v1.OperationResponse.class, com.google.spanner.executor.v1.OperationResponse.Builder.class); } private int bitField0_; public static final int LISTED_OPERATIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List listedOperations_; /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
@@ -83,8 +61,6 @@ public java.util.List getListedOperationsList( return listedOperations_; } /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
@@ -92,13 +68,11 @@ public java.util.List getListedOperationsList( * repeated .google.longrunning.Operation listed_operations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getListedOperationsOrBuilderList() { return listedOperations_; } /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
@@ -110,8 +84,6 @@ public int getListedOperationsCount() { return listedOperations_.size(); } /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
@@ -123,8 +95,6 @@ public com.google.longrunning.Operation getListedOperations(int index) { return listedOperations_.get(index); } /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
@@ -132,24 +102,21 @@ public com.google.longrunning.Operation getListedOperations(int index) { * repeated .google.longrunning.Operation listed_operations = 1; */ @java.lang.Override - public com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder(int index) { + public com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder( + int index) { return listedOperations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,14 +159,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int OPERATION_FIELD_NUMBER = 3; private com.google.longrunning.Operation operation_; /** - * - * *
    * Operation returned by GetOperationAction.
    * 
* * .google.longrunning.Operation operation = 3; - * * @return Whether the operation field is set. */ @java.lang.Override @@ -207,14 +171,11 @@ public boolean hasOperation() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Operation returned by GetOperationAction.
    * 
* * .google.longrunning.Operation operation = 3; - * * @return The operation. */ @java.lang.Override @@ -222,8 +183,6 @@ public com.google.longrunning.Operation getOperation() { return operation_ == null ? com.google.longrunning.Operation.getDefaultInstance() : operation_; } /** - * - * *
    * Operation returned by GetOperationAction.
    * 
@@ -236,7 +195,6 @@ public com.google.longrunning.OperationOrBuilder getOperationOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < listedOperations_.size(); i++) { output.writeMessage(1, listedOperations_.get(i)); } @@ -268,13 +227,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < listedOperations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, listedOperations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, listedOperations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOperation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOperation()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -284,19 +245,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.OperationResponse)) { return super.equals(obj); } - com.google.spanner.executor.v1.OperationResponse other = - (com.google.spanner.executor.v1.OperationResponse) obj; + com.google.spanner.executor.v1.OperationResponse other = (com.google.spanner.executor.v1.OperationResponse) obj; - if (!getListedOperationsList().equals(other.getListedOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getListedOperationsList() + .equals(other.getListedOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { - if (!getOperation().equals(other.getOperation())) return false; + if (!getOperation() + .equals(other.getOperation())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -324,127 +287,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.OperationResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.OperationResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.OperationResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.OperationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.OperationResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.OperationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.OperationResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.OperationResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.OperationResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * OperationResponse contains results returned by operation related actions.
    * 
* * Protobuf type {@code google.spanner.executor.v1.OperationResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.OperationResponse) com.google.spanner.executor.v1.OperationResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_OperationResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_OperationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.OperationResponse.class, - com.google.spanner.executor.v1.OperationResponse.Builder.class); + com.google.spanner.executor.v1.OperationResponse.class, com.google.spanner.executor.v1.OperationResponse.Builder.class); } // Construct using com.google.spanner.executor.v1.OperationResponse.newBuilder() @@ -452,18 +408,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getListedOperationsFieldBuilder(); getOperationFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_OperationResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_OperationResponse_descriptor; } @java.lang.Override @@ -506,18 +462,14 @@ public com.google.spanner.executor.v1.OperationResponse build() { @java.lang.Override public com.google.spanner.executor.v1.OperationResponse buildPartial() { - com.google.spanner.executor.v1.OperationResponse result = - new com.google.spanner.executor.v1.OperationResponse(this); + com.google.spanner.executor.v1.OperationResponse result = new com.google.spanner.executor.v1.OperationResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.OperationResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.OperationResponse result) { if (listedOperationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { listedOperations_ = java.util.Collections.unmodifiableList(listedOperations_); @@ -536,7 +488,9 @@ private void buildPartial0(com.google.spanner.executor.v1.OperationResponse resu } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.operation_ = operationBuilder_ == null ? operation_ : operationBuilder_.build(); + result.operation_ = operationBuilder_ == null + ? operation_ + : operationBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -546,39 +500,38 @@ private void buildPartial0(com.google.spanner.executor.v1.OperationResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.OperationResponse) { - return mergeFrom((com.google.spanner.executor.v1.OperationResponse) other); + return mergeFrom((com.google.spanner.executor.v1.OperationResponse)other); } else { super.mergeFrom(other); return this; @@ -586,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.OperationResponse other) { - if (other == com.google.spanner.executor.v1.OperationResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.OperationResponse.getDefaultInstance()) return this; if (listedOperationsBuilder_ == null) { if (!other.listedOperations_.isEmpty()) { if (listedOperations_.isEmpty()) { @@ -606,10 +558,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.OperationResponse other) listedOperationsBuilder_ = null; listedOperations_ = other.listedOperations_; bitField0_ = (bitField0_ & ~0x00000001); - listedOperationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getListedOperationsFieldBuilder() - : null; + listedOperationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getListedOperationsFieldBuilder() : null; } else { listedOperationsBuilder_.addAllMessages(other.listedOperations_); } @@ -649,37 +600,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.longrunning.Operation m = - input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry); - if (listedOperationsBuilder_ == null) { - ensureListedOperationsIsMutable(); - listedOperations_.add(m); - } else { - listedOperationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getOperationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.longrunning.Operation m = + input.readMessage( + com.google.longrunning.Operation.parser(), + extensionRegistry); + if (listedOperationsBuilder_ == null) { + ensureListedOperationsIsMutable(); + listedOperations_.add(m); + } else { + listedOperationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getOperationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -689,29 +640,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List listedOperations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureListedOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - listedOperations_ = - new java.util.ArrayList(listedOperations_); + listedOperations_ = new java.util.ArrayList(listedOperations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> - listedOperationsBuilder_; + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> listedOperationsBuilder_; /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -726,8 +669,6 @@ public java.util.List getListedOperationsList( } } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -742,8 +683,6 @@ public int getListedOperationsCount() { } } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -758,15 +697,14 @@ public com.google.longrunning.Operation getListedOperations(int index) { } } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public Builder setListedOperations(int index, com.google.longrunning.Operation value) { + public Builder setListedOperations( + int index, com.google.longrunning.Operation value) { if (listedOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -780,8 +718,6 @@ public Builder setListedOperations(int index, com.google.longrunning.Operation v return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -800,8 +736,6 @@ public Builder setListedOperations( return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -822,15 +756,14 @@ public Builder addListedOperations(com.google.longrunning.Operation value) { return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public Builder addListedOperations(int index, com.google.longrunning.Operation value) { + public Builder addListedOperations( + int index, com.google.longrunning.Operation value) { if (listedOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -844,15 +777,14 @@ public Builder addListedOperations(int index, com.google.longrunning.Operation v return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public Builder addListedOperations(com.google.longrunning.Operation.Builder builderForValue) { + public Builder addListedOperations( + com.google.longrunning.Operation.Builder builderForValue) { if (listedOperationsBuilder_ == null) { ensureListedOperationsIsMutable(); listedOperations_.add(builderForValue.build()); @@ -863,8 +795,6 @@ public Builder addListedOperations(com.google.longrunning.Operation.Builder buil return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -883,8 +813,6 @@ public Builder addListedOperations( return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -895,7 +823,8 @@ public Builder addAllListedOperations( java.lang.Iterable values) { if (listedOperationsBuilder_ == null) { ensureListedOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, listedOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, listedOperations_); onChanged(); } else { listedOperationsBuilder_.addAllMessages(values); @@ -903,8 +832,6 @@ public Builder addAllListedOperations( return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -922,8 +849,6 @@ public Builder clearListedOperations() { return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -941,44 +866,39 @@ public Builder removeListedOperations(int index) { return this; } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public com.google.longrunning.Operation.Builder getListedOperationsBuilder(int index) { + public com.google.longrunning.Operation.Builder getListedOperationsBuilder( + int index) { return getListedOperationsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder(int index) { + public com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder( + int index) { if (listedOperationsBuilder_ == null) { - return listedOperations_.get(index); - } else { + return listedOperations_.get(index); } else { return listedOperationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public java.util.List - getListedOperationsOrBuilderList() { + public java.util.List + getListedOperationsOrBuilderList() { if (listedOperationsBuilder_ != null) { return listedOperationsBuilder_.getMessageOrBuilderList(); } else { @@ -986,8 +906,6 @@ public com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder(in } } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
@@ -995,47 +913,38 @@ public com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder(in * repeated .google.longrunning.Operation listed_operations = 1; */ public com.google.longrunning.Operation.Builder addListedOperationsBuilder() { - return getListedOperationsFieldBuilder() - .addBuilder(com.google.longrunning.Operation.getDefaultInstance()); + return getListedOperationsFieldBuilder().addBuilder( + com.google.longrunning.Operation.getDefaultInstance()); } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public com.google.longrunning.Operation.Builder addListedOperationsBuilder(int index) { - return getListedOperationsFieldBuilder() - .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance()); + public com.google.longrunning.Operation.Builder addListedOperationsBuilder( + int index) { + return getListedOperationsFieldBuilder().addBuilder( + index, com.google.longrunning.Operation.getDefaultInstance()); } /** - * - * *
      * List of operations returned by ListOperationsAction.
      * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - public java.util.List - getListedOperationsBuilderList() { + public java.util.List + getListedOperationsBuilderList() { return getListedOperationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> getListedOperationsFieldBuilder() { if (listedOperationsBuilder_ == null) { - listedOperationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder>( + listedOperationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>( listedOperations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1047,21 +956,19 @@ public com.google.longrunning.Operation.Builder addListedOperationsBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1070,22 +977,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1093,37 +999,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1133,22 +1032,18 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * "next_page_token" can be sent in a subsequent list action
      * to fetch more of the matching data.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,47 +1053,34 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.longrunning.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> - operationBuilder_; + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationBuilder_; /** - * - * *
      * Operation returned by GetOperationAction.
      * 
* * .google.longrunning.Operation operation = 3; - * * @return Whether the operation field is set. */ public boolean hasOperation() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
* * .google.longrunning.Operation operation = 3; - * * @return The operation. */ public com.google.longrunning.Operation getOperation() { if (operationBuilder_ == null) { - return operation_ == null - ? com.google.longrunning.Operation.getDefaultInstance() - : operation_; + return operation_ == null ? com.google.longrunning.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
@@ -1219,15 +1101,14 @@ public Builder setOperation(com.google.longrunning.Operation value) { return this; } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
* * .google.longrunning.Operation operation = 3; */ - public Builder setOperation(com.google.longrunning.Operation.Builder builderForValue) { + public Builder setOperation( + com.google.longrunning.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); } else { @@ -1238,8 +1119,6 @@ public Builder setOperation(com.google.longrunning.Operation.Builder builderForV return this; } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
@@ -1248,9 +1127,9 @@ public Builder setOperation(com.google.longrunning.Operation.Builder builderForV */ public Builder mergeOperation(com.google.longrunning.Operation value) { if (operationBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && operation_ != null - && operation_ != com.google.longrunning.Operation.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + operation_ != null && + operation_ != com.google.longrunning.Operation.getDefaultInstance()) { getOperationBuilder().mergeFrom(value); } else { operation_ = value; @@ -1265,8 +1144,6 @@ public Builder mergeOperation(com.google.longrunning.Operation value) { return this; } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
@@ -1284,8 +1161,6 @@ public Builder clearOperation() { return this; } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
@@ -1298,8 +1173,6 @@ public com.google.longrunning.Operation.Builder getOperationBuilder() { return getOperationFieldBuilder().getBuilder(); } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
@@ -1310,14 +1183,11 @@ public com.google.longrunning.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { - return operation_ == null - ? com.google.longrunning.Operation.getDefaultInstance() - : operation_; + return operation_ == null ? + com.google.longrunning.Operation.getDefaultInstance() : operation_; } } /** - * - * *
      * Operation returned by GetOperationAction.
      * 
@@ -1325,24 +1195,21 @@ public com.google.longrunning.OperationOrBuilder getOperationOrBuilder() { * .google.longrunning.Operation operation = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder> + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { - operationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.longrunning.Operation, - com.google.longrunning.Operation.Builder, - com.google.longrunning.OperationOrBuilder>( - getOperation(), getParentForChildren(), isClean()); + operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>( + getOperation(), + getParentForChildren(), + isClean()); operation_ = null; } return operationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1352,12 +1219,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.OperationResponse) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.OperationResponse) private static final com.google.spanner.executor.v1.OperationResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.OperationResponse(); } @@ -1366,27 +1233,27 @@ public static com.google.spanner.executor.v1.OperationResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationResponse 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; @@ -1401,4 +1268,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.OperationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponseOrBuilder.java index 83af12a4afc..9d07f6fb944 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/OperationResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface OperationResponseOrBuilder - extends +public interface OperationResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.OperationResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - java.util.List getListedOperationsList(); + java.util.List + getListedOperationsList(); /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
@@ -45,8 +26,6 @@ public interface OperationResponseOrBuilder */ com.google.longrunning.Operation getListedOperations(int index); /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
@@ -55,81 +34,65 @@ public interface OperationResponseOrBuilder */ int getListedOperationsCount(); /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - java.util.List + java.util.List getListedOperationsOrBuilderList(); /** - * - * *
    * List of operations returned by ListOperationsAction.
    * 
* * repeated .google.longrunning.Operation listed_operations = 1; */ - com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder(int index); + com.google.longrunning.OperationOrBuilder getListedOperationsOrBuilder( + int index); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * "next_page_token" can be sent in a subsequent list action
    * to fetch more of the matching data.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Operation returned by GetOperationAction.
    * 
* * .google.longrunning.Operation operation = 3; - * * @return Whether the operation field is set. */ boolean hasOperation(); /** - * - * *
    * Operation returned by GetOperationAction.
    * 
* * .google.longrunning.Operation operation = 3; - * * @return The operation. */ com.google.longrunning.Operation getOperation(); /** - * - * *
    * Operation returned by GetOperationAction.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateAction.java similarity index 61% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateAction.java index b64c131b28e..b11ab07b0e5 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * PartitionedUpdateAction defines an action to execute a partitioned DML
  * which runs different partitions in parallel.
@@ -29,134 +12,111 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.PartitionedUpdateAction}
  */
-public final class PartitionedUpdateAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionedUpdateAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.PartitionedUpdateAction)
     PartitionedUpdateActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionedUpdateAction.newBuilder() to construct.
   private PartitionedUpdateAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PartitionedUpdateAction() {}
+  private PartitionedUpdateAction() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionedUpdateAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.PartitionedUpdateAction.class,
-            com.google.spanner.executor.v1.PartitionedUpdateAction.Builder.class);
+            com.google.spanner.executor.v1.PartitionedUpdateAction.class, com.google.spanner.executor.v1.PartitionedUpdateAction.Builder.class);
   }
 
-  public interface ExecutePartitionedUpdateOptionsOrBuilder
-      extends
+  public interface ExecutePartitionedUpdateOptionsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * RPC Priority
      * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return Whether the rpcPriority field is set. */ boolean hasRpcPriority(); /** - * - * *
      * RPC Priority
      * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return The enum numeric value on the wire for rpcPriority. */ int getRpcPriorityValue(); /** - * - * *
      * RPC Priority
      * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return The rpcPriority. */ com.google.spanner.v1.RequestOptions.Priority getRpcPriority(); /** - * - * *
      * Transaction tag
      * 
* * optional string tag = 2; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
      * Transaction tag
      * 
* * optional string tag = 2; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
      * Transaction tag
      * 
* * optional string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } /** - * Protobuf type {@code - * google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions} + * Protobuf type {@code google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions} */ - public static final class ExecutePartitionedUpdateOptions - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ExecutePartitionedUpdateOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions) ExecutePartitionedUpdateOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutePartitionedUpdateOptions.newBuilder() to construct. - private ExecutePartitionedUpdateOptions( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExecutePartitionedUpdateOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecutePartitionedUpdateOptions() { rpcPriority_ = 0; tag_ = ""; @@ -164,91 +124,71 @@ private ExecutePartitionedUpdateOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutePartitionedUpdateOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .class, - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .Builder.class); + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.class, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder.class); } private int bitField0_; public static final int RPC_PRIORITY_FIELD_NUMBER = 1; private int rpcPriority_ = 0; /** - * - * *
      * RPC Priority
      * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return Whether the rpcPriority field is set. */ - @java.lang.Override - public boolean hasRpcPriority() { + @java.lang.Override public boolean hasRpcPriority() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * RPC Priority
      * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return The enum numeric value on the wire for rpcPriority. */ - @java.lang.Override - public int getRpcPriorityValue() { + @java.lang.Override public int getRpcPriorityValue() { return rpcPriority_; } /** - * - * *
      * RPC Priority
      * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return The rpcPriority. */ - @java.lang.Override - public com.google.spanner.v1.RequestOptions.Priority getRpcPriority() { - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.forNumber(rpcPriority_); + @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getRpcPriority() { + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(rpcPriority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } public static final int TAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tag_ = ""; /** - * - * *
      * Transaction tag
      * 
* * optional string tag = 2; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -256,14 +196,11 @@ public boolean hasTag() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Transaction tag
      * 
* * optional string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -272,29 +209,29 @@ public java.lang.String getTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } } /** - * - * *
      * Transaction tag
      * 
* * optional string tag = 2; - * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tag_ = b; return b; } else { @@ -303,7 +240,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +251,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, rpcPriority_); } @@ -332,7 +269,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, rpcPriority_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, rpcPriority_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -345,16 +283,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions)) { + if (!(obj instanceof com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions)) { return super.equals(obj); } - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions other = - (com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions) - obj; + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions other = (com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions) obj; if (hasRpcPriority() != other.hasRpcPriority()) return false; if (hasRpcPriority()) { @@ -362,7 +296,8 @@ public boolean equals(final java.lang.Object obj) { } if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -388,114 +323,90 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - 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 com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions 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 com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - 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 com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions 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 com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions 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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -505,40 +416,35 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code - * google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions} + * Protobuf type {@code google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions) - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions.class, - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions.Builder.class); + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.class, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder.class); } - // Construct using - // com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.newBuilder() - private Builder() {} + // Construct using com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -549,23 +455,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - getDefaultInstanceForType() { - return com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions.getDefaultInstance(); + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions getDefaultInstanceForType() { + return com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.getDefaultInstance(); } @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - build() { - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - result = buildPartial(); + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions build() { + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -573,22 +475,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - buildPartial() { - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - result = - new com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions buildPartial() { + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions result = new com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - result) { + private void buildPartial0(com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -606,59 +500,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions) { - return mergeFrom( - (com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions) - other); + if (other instanceof com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions) { + return mergeFrom((com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - other) { - if (other - == com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions other) { + if (other == com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.getDefaultInstance()) return this; if (other.hasRpcPriority()) { setRpcPriority(other.getRpcPriority()); } @@ -693,25 +574,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rpcPriority_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - tag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rpcPriority_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + tag_ = 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) { @@ -721,49 +599,37 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int rpcPriority_ = 0; /** - * - * *
        * RPC Priority
        * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return Whether the rpcPriority field is set. */ - @java.lang.Override - public boolean hasRpcPriority() { + @java.lang.Override public boolean hasRpcPriority() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * RPC Priority
        * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return The enum numeric value on the wire for rpcPriority. */ - @java.lang.Override - public int getRpcPriorityValue() { + @java.lang.Override public int getRpcPriorityValue() { return rpcPriority_; } /** - * - * *
        * RPC Priority
        * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @param value The enum numeric value on the wire for rpcPriority to set. * @return This builder for chaining. */ @@ -774,31 +640,24 @@ public Builder setRpcPriorityValue(int value) { return this; } /** - * - * *
        * RPC Priority
        * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return The rpcPriority. */ @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getRpcPriority() { - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.forNumber(rpcPriority_); + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(rpcPriority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } /** - * - * *
        * RPC Priority
        * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @param value The rpcPriority to set. * @return This builder for chaining. */ @@ -812,14 +671,11 @@ public Builder setRpcPriority(com.google.spanner.v1.RequestOptions.Priority valu return this; } /** - * - * *
        * RPC Priority
        * 
* * optional .google.spanner.v1.RequestOptions.Priority rpc_priority = 1; - * * @return This builder for chaining. */ public Builder clearRpcPriority() { @@ -831,34 +687,29 @@ public Builder clearRpcPriority() { private java.lang.Object tag_ = ""; /** - * - * *
        * Transaction tag
        * 
* * optional string tag = 2; - * * @return Whether the tag field is set. */ public boolean hasTag() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Transaction tag
        * 
* * optional string tag = 2; - * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; @@ -867,21 +718,20 @@ public java.lang.String getTag() { } } /** - * - * *
        * Transaction tag
        * 
* * optional string tag = 2; - * * @return The bytes for tag. */ - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tag_ = b; return b; } else { @@ -889,35 +739,28 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
        * Transaction tag
        * 
* * optional string tag = 2; - * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Transaction tag
        * 
* * optional string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { @@ -927,28 +770,23 @@ public Builder clearTag() { return this; } /** - * - * *
        * Transaction tag
        * 
* * optional string tag = 2; - * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -961,48 +799,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions) - private static final com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions(); + DEFAULT_INSTANCE = new com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions(); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions - getDefaultInstance() { + public static com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutePartitionedUpdateOptions 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutePartitionedUpdateOptions 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; @@ -1014,27 +845,21 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int OPTIONS_FIELD_NUMBER = 1; - private com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - options_; + private com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options_; /** - * - * *
    * Options for partitioned update.
    * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; * @return Whether the options field is set. */ @java.lang.Override @@ -1042,58 +867,37 @@ public boolean hasOptions() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Options for partitioned update.
    * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; * @return The options. */ @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - getOptions() { - return options_ == null - ? com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .getDefaultInstance() - : options_; + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions getOptions() { + return options_ == null ? com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.getDefaultInstance() : options_; } /** - * - * *
    * Options for partitioned update.
    * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptionsOrBuilder - getOptionsOrBuilder() { - return options_ == null - ? com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .getDefaultInstance() - : options_; + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder getOptionsOrBuilder() { + return options_ == null ? com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.getDefaultInstance() : options_; } public static final int UPDATE_FIELD_NUMBER = 2; private com.google.spanner.executor.v1.QueryAction update_; /** - * - * *
    * Partitioned dml query.
    * 
* * .google.spanner.executor.v1.QueryAction update = 2; - * * @return Whether the update field is set. */ @java.lang.Override @@ -1101,25 +905,18 @@ public boolean hasUpdate() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Partitioned dml query.
    * 
* * .google.spanner.executor.v1.QueryAction update = 2; - * * @return The update. */ @java.lang.Override public com.google.spanner.executor.v1.QueryAction getUpdate() { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } /** - * - * *
    * Partitioned dml query.
    * 
@@ -1128,13 +925,10 @@ public com.google.spanner.executor.v1.QueryAction getUpdate() { */ @java.lang.Override public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdateOrBuilder() { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1146,7 +940,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOptions()); } @@ -1163,10 +958,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOptions()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdate()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1176,21 +973,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.PartitionedUpdateAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.PartitionedUpdateAction other = - (com.google.spanner.executor.v1.PartitionedUpdateAction) obj; + com.google.spanner.executor.v1.PartitionedUpdateAction other = (com.google.spanner.executor.v1.PartitionedUpdateAction) obj; if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions().equals(other.getOptions())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; } if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1217,104 +1015,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.PartitionedUpdateAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.PartitionedUpdateAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.PartitionedUpdateAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.PartitionedUpdateAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.PartitionedUpdateAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * PartitionedUpdateAction defines an action to execute a partitioned DML
    * which runs different partitions in parallel.
@@ -1322,23 +1114,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.PartitionedUpdateAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.PartitionedUpdateAction)
       com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.PartitionedUpdateAction.class,
-              com.google.spanner.executor.v1.PartitionedUpdateAction.Builder.class);
+              com.google.spanner.executor.v1.PartitionedUpdateAction.class, com.google.spanner.executor.v1.PartitionedUpdateAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.PartitionedUpdateAction.newBuilder()
@@ -1346,18 +1136,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOptionsFieldBuilder();
         getUpdateFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1376,9 +1166,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor;
     }
 
     @java.lang.Override
@@ -1397,11 +1187,8 @@ public com.google.spanner.executor.v1.PartitionedUpdateAction build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.PartitionedUpdateAction buildPartial() {
-      com.google.spanner.executor.v1.PartitionedUpdateAction result =
-          new com.google.spanner.executor.v1.PartitionedUpdateAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.PartitionedUpdateAction result = new com.google.spanner.executor.v1.PartitionedUpdateAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1410,11 +1197,15 @@ private void buildPartial0(com.google.spanner.executor.v1.PartitionedUpdateActio
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build();
+        result.options_ = optionsBuilder_ == null
+            ? options_
+            : optionsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.update_ = updateBuilder_ == null ? update_ : updateBuilder_.build();
+        result.update_ = updateBuilder_ == null
+            ? update_
+            : updateBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -1424,39 +1215,38 @@ private void buildPartial0(com.google.spanner.executor.v1.PartitionedUpdateActio
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.PartitionedUpdateAction) {
-        return mergeFrom((com.google.spanner.executor.v1.PartitionedUpdateAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.PartitionedUpdateAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1464,8 +1254,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.PartitionedUpdateAction other) {
-      if (other == com.google.spanner.executor.v1.PartitionedUpdateAction.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.PartitionedUpdateAction.getDefaultInstance()) return this;
       if (other.hasOptions()) {
         mergeOptions(other.getOptions());
       }
@@ -1498,25 +1287,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -1526,72 +1316,45 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions
-        options_;
+    private com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions,
-            com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions
-                .Builder,
-            com.google.spanner.executor.v1.PartitionedUpdateAction
-                .ExecutePartitionedUpdateOptionsOrBuilder>
-        optionsBuilder_;
+        com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder> optionsBuilder_;
     /**
-     *
-     *
      * 
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; * @return Whether the options field is set. */ public boolean hasOptions() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; * @return The options. */ - public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - getOptions() { + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .getDefaultInstance() - : options_; + return options_ == null ? com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ - public Builder setOptions( - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - value) { + public Builder setOptions(com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1605,20 +1368,14 @@ public Builder setOptions( return this; } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ public Builder setOptions( - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .Builder - builderForValue) { + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); } else { @@ -1629,25 +1386,17 @@ public Builder setOptions( return this; } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ - public Builder mergeOptions( - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - value) { + public Builder mergeOptions(com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions value) { if (optionsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && options_ != null - && options_ - != com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + options_ != null && + options_ != com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.getDefaultInstance()) { getOptionsBuilder().mergeFrom(value); } else { options_ = value; @@ -1662,15 +1411,11 @@ public Builder mergeOptions( return this; } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ public Builder clearOptions() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1683,74 +1428,48 @@ public Builder clearOptions() { return this; } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ - public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .Builder - getOptionsBuilder() { + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ - public com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptionsOrBuilder - getOptionsOrBuilder() { + public com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null - ? com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .getDefaultInstance() - : options_; + return options_ == null ? + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.getDefaultInstance() : options_; } } /** - * - * *
      * Options for partitioned update.
      * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions, - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - .Builder, - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptionsOrBuilder> + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions, - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptions.Builder, - com.google.spanner.executor.v1.PartitionedUpdateAction - .ExecutePartitionedUpdateOptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions.Builder, com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); options_ = null; } return optionsBuilder_; @@ -1758,47 +1477,34 @@ public Builder clearOptions() { private com.google.spanner.executor.v1.QueryAction update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> - updateBuilder_; + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> updateBuilder_; /** - * - * *
      * Partitioned dml query.
      * 
* * .google.spanner.executor.v1.QueryAction update = 2; - * * @return Whether the update field is set. */ public boolean hasUpdate() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Partitioned dml query.
      * 
* * .google.spanner.executor.v1.QueryAction update = 2; - * * @return The update. */ public com.google.spanner.executor.v1.QueryAction getUpdate() { if (updateBuilder_ == null) { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } else { return updateBuilder_.getMessage(); } } /** - * - * *
      * Partitioned dml query.
      * 
@@ -1819,15 +1525,14 @@ public Builder setUpdate(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * Partitioned dml query.
      * 
* * .google.spanner.executor.v1.QueryAction update = 2; */ - public Builder setUpdate(com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { + public Builder setUpdate( + com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); } else { @@ -1838,8 +1543,6 @@ public Builder setUpdate(com.google.spanner.executor.v1.QueryAction.Builder buil return this; } /** - * - * *
      * Partitioned dml query.
      * 
@@ -1848,9 +1551,9 @@ public Builder setUpdate(com.google.spanner.executor.v1.QueryAction.Builder buil */ public Builder mergeUpdate(com.google.spanner.executor.v1.QueryAction value) { if (updateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && update_ != null - && update_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + update_ != null && + update_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { getUpdateBuilder().mergeFrom(value); } else { update_ = value; @@ -1865,8 +1568,6 @@ public Builder mergeUpdate(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * Partitioned dml query.
      * 
@@ -1884,8 +1585,6 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * Partitioned dml query.
      * 
@@ -1898,8 +1597,6 @@ public com.google.spanner.executor.v1.QueryAction.Builder getUpdateBuilder() { return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * Partitioned dml query.
      * 
@@ -1910,14 +1607,11 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdateOrBuilder() if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null - ? com.google.spanner.executor.v1.QueryAction.getDefaultInstance() - : update_; + return update_ == null ? + com.google.spanner.executor.v1.QueryAction.getDefaultInstance() : update_; } } /** - * - * *
      * Partitioned dml query.
      * 
@@ -1925,24 +1619,21 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getUpdateOrBuilder() * .google.spanner.executor.v1.QueryAction update = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder>( - getUpdate(), getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder>( + getUpdate(), + getParentForChildren(), + isClean()); update_ = null; } return updateBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1952,12 +1643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.PartitionedUpdateAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.PartitionedUpdateAction) private static final com.google.spanner.executor.v1.PartitionedUpdateAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.PartitionedUpdateAction(); } @@ -1966,27 +1657,27 @@ public static com.google.spanner.executor.v1.PartitionedUpdateAction getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionedUpdateAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionedUpdateAction 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; @@ -2001,4 +1692,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.PartitionedUpdateAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateActionOrBuilder.java similarity index 53% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateActionOrBuilder.java index 31e7a7342bc..5b1b4363d5a 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/PartitionedUpdateActionOrBuilder.java @@ -1,99 +1,59 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface PartitionedUpdateActionOrBuilder - extends +public interface PartitionedUpdateActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.PartitionedUpdateAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Options for partitioned update.
    * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; * @return Whether the options field is set. */ boolean hasOptions(); /** - * - * *
    * Options for partitioned update.
    * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; * @return The options. */ - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions - getOptions(); + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions getOptions(); /** - * - * *
    * Options for partitioned update.
    * 
* - * - * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; - * + * optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1; */ - com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder - getOptionsOrBuilder(); + com.google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder getOptionsOrBuilder(); /** - * - * *
    * Partitioned dml query.
    * 
* * .google.spanner.executor.v1.QueryAction update = 2; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * Partitioned dml query.
    * 
* * .google.spanner.executor.v1.QueryAction update = 2; - * * @return The update. */ com.google.spanner.executor.v1.QueryAction getUpdate(); /** - * - * *
    * Partitioned dml query.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryAction.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryAction.java index 8afe79d472d..e6b67164141 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * A SQL query request.
  * 
* * Protobuf type {@code google.spanner.executor.v1.QueryAction} */ -public final class QueryAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.QueryAction) QueryActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryAction.newBuilder() to construct. private QueryAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryAction() { sql_ = ""; params_ = java.util.Collections.emptyList(); @@ -45,82 +27,67 @@ private QueryAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.QueryAction.class, - com.google.spanner.executor.v1.QueryAction.Builder.class); + com.google.spanner.executor.v1.QueryAction.class, com.google.spanner.executor.v1.QueryAction.Builder.class); } - public interface ParameterOrBuilder - extends + public interface ParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.QueryAction.Parameter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Name of the parameter (with no leading @).
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Name of the parameter (with no leading @).
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Type of the parameter.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
      * Type of the parameter.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ com.google.spanner.v1.Type getType(); /** - * - * *
      * Type of the parameter.
      * 
@@ -130,32 +97,24 @@ public interface ParameterOrBuilder com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(); /** - * - * *
      * Value of the parameter.
      * 
* * .google.spanner.executor.v1.Value value = 3; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
      * Value of the parameter.
      * 
* * .google.spanner.executor.v1.Value value = 3; - * * @return The value. */ com.google.spanner.executor.v1.Value getValue(); /** - * - * *
      * Value of the parameter.
      * 
@@ -165,63 +124,55 @@ public interface ParameterOrBuilder com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder(); } /** - * - * *
    * Parameter that bind to placeholders in the SQL string
    * 
* * Protobuf type {@code google.spanner.executor.v1.QueryAction.Parameter} */ - public static final class Parameter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Parameter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.QueryAction.Parameter) ParameterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Parameter.newBuilder() to construct. private Parameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Parameter() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Parameter(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.QueryAction.Parameter.class, - com.google.spanner.executor.v1.QueryAction.Parameter.Builder.class); + com.google.spanner.executor.v1.QueryAction.Parameter.class, com.google.spanner.executor.v1.QueryAction.Parameter.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Name of the parameter (with no leading @).
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -230,29 +181,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Name of the parameter (with no leading @).
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -263,14 +214,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type type_; /** - * - * *
      * Type of the parameter.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ @java.lang.Override @@ -278,14 +226,11 @@ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Type of the parameter.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ @java.lang.Override @@ -293,8 +238,6 @@ public com.google.spanner.v1.Type getType() { return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } /** - * - * *
      * Type of the parameter.
      * 
@@ -309,14 +252,11 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { public static final int VALUE_FIELD_NUMBER = 3; private com.google.spanner.executor.v1.Value value_; /** - * - * *
      * Value of the parameter.
      * 
* * .google.spanner.executor.v1.Value value = 3; - * * @return Whether the value field is set. */ @java.lang.Override @@ -324,14 +264,11 @@ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Value of the parameter.
      * 
* * .google.spanner.executor.v1.Value value = 3; - * * @return The value. */ @java.lang.Override @@ -339,8 +276,6 @@ public com.google.spanner.executor.v1.Value getValue() { return value_ == null ? com.google.spanner.executor.v1.Value.getDefaultInstance() : value_; } /** - * - * *
      * Value of the parameter.
      * 
@@ -353,7 +288,6 @@ public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -388,10 +323,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getType()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -401,22 +338,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.QueryAction.Parameter)) { return super.equals(obj); } - com.google.spanner.executor.v1.QueryAction.Parameter other = - (com.google.spanner.executor.v1.QueryAction.Parameter) obj; + com.google.spanner.executor.v1.QueryAction.Parameter other = (com.google.spanner.executor.v1.QueryAction.Parameter) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType().equals(other.getType())) return false; + if (!getType() + .equals(other.getType())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -445,94 +384,89 @@ public int hashCode() { } public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.QueryAction.Parameter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.QueryAction.Parameter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.QueryAction.Parameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.QueryAction.Parameter prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.QueryAction.Parameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -542,32 +476,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Parameter that bind to placeholders in the SQL string
      * 
* * Protobuf type {@code google.spanner.executor.v1.QueryAction.Parameter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.QueryAction.Parameter) com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.QueryAction.Parameter.class, - com.google.spanner.executor.v1.QueryAction.Parameter.Builder.class); + com.google.spanner.executor.v1.QueryAction.Parameter.class, com.google.spanner.executor.v1.QueryAction.Parameter.Builder.class); } // Construct using com.google.spanner.executor.v1.QueryAction.Parameter.newBuilder() @@ -575,18 +504,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTypeFieldBuilder(); getValueFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -606,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; } @java.lang.Override @@ -627,11 +556,8 @@ public com.google.spanner.executor.v1.QueryAction.Parameter build() { @java.lang.Override public com.google.spanner.executor.v1.QueryAction.Parameter buildPartial() { - com.google.spanner.executor.v1.QueryAction.Parameter result = - new com.google.spanner.executor.v1.QueryAction.Parameter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.QueryAction.Parameter result = new com.google.spanner.executor.v1.QueryAction.Parameter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -643,11 +569,15 @@ private void buildPartial0(com.google.spanner.executor.v1.QueryAction.Parameter } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); + result.type_ = typeBuilder_ == null + ? type_ + : typeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -657,41 +587,38 @@ private void buildPartial0(com.google.spanner.executor.v1.QueryAction.Parameter public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.QueryAction.Parameter) { - return mergeFrom((com.google.spanner.executor.v1.QueryAction.Parameter) other); + return mergeFrom((com.google.spanner.executor.v1.QueryAction.Parameter)other); } else { super.mergeFrom(other); return this; @@ -699,8 +626,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.QueryAction.Parameter other) { - if (other == com.google.spanner.executor.v1.QueryAction.Parameter.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.QueryAction.Parameter.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -738,31 +664,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -772,25 +698,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Name of the parameter (with no leading @).
        * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -799,21 +722,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Name of the parameter (with no leading @).
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -821,35 +743,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Name of the parameter (with no leading @).
        * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Name of the parameter (with no leading @).
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -859,21 +774,17 @@ public Builder clearName() { return this; } /** - * - * *
        * Name of the parameter (with no leading @).
        * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -883,33 +794,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Type type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - typeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> typeBuilder_; /** - * - * *
        * Type of the parameter.
        * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Type of the parameter.
        * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ public com.google.spanner.v1.Type getType() { @@ -920,8 +822,6 @@ public com.google.spanner.v1.Type getType() { } } /** - * - * *
        * Type of the parameter.
        * 
@@ -942,15 +842,14 @@ public Builder setType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type of the parameter.
        * 
* * .google.spanner.v1.Type type = 2; */ - public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setType( + com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -961,8 +860,6 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { return this; } /** - * - * *
        * Type of the parameter.
        * 
@@ -971,9 +868,9 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { */ public Builder mergeType(com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && type_ != null - && type_ != com.google.spanner.v1.Type.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + type_ != null && + type_ != com.google.spanner.v1.Type.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -988,8 +885,6 @@ public Builder mergeType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * Type of the parameter.
        * 
@@ -1007,8 +902,6 @@ public Builder clearType() { return this; } /** - * - * *
        * Type of the parameter.
        * 
@@ -1021,8 +914,6 @@ public com.google.spanner.v1.Type.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** - * - * *
        * Type of the parameter.
        * 
@@ -1033,12 +924,11 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; + return type_ == null ? + com.google.spanner.v1.Type.getDefaultInstance() : type_; } } /** - * - * *
        * Type of the parameter.
        * 
@@ -1046,17 +936,14 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { * .google.spanner.v1.Type type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder>( - getType(), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( + getType(), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; @@ -1064,47 +951,34 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { private com.google.spanner.executor.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.Value, - com.google.spanner.executor.v1.Value.Builder, - com.google.spanner.executor.v1.ValueOrBuilder> - valueBuilder_; + com.google.spanner.executor.v1.Value, com.google.spanner.executor.v1.Value.Builder, com.google.spanner.executor.v1.ValueOrBuilder> valueBuilder_; /** - * - * *
        * Value of the parameter.
        * 
* * .google.spanner.executor.v1.Value value = 3; - * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Value of the parameter.
        * 
* * .google.spanner.executor.v1.Value value = 3; - * * @return The value. */ public com.google.spanner.executor.v1.Value getValue() { if (valueBuilder_ == null) { - return value_ == null - ? com.google.spanner.executor.v1.Value.getDefaultInstance() - : value_; + return value_ == null ? com.google.spanner.executor.v1.Value.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** - * - * *
        * Value of the parameter.
        * 
@@ -1125,15 +999,14 @@ public Builder setValue(com.google.spanner.executor.v1.Value value) { return this; } /** - * - * *
        * Value of the parameter.
        * 
* * .google.spanner.executor.v1.Value value = 3; */ - public Builder setValue(com.google.spanner.executor.v1.Value.Builder builderForValue) { + public Builder setValue( + com.google.spanner.executor.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -1144,8 +1017,6 @@ public Builder setValue(com.google.spanner.executor.v1.Value.Builder builderForV return this; } /** - * - * *
        * Value of the parameter.
        * 
@@ -1154,9 +1025,9 @@ public Builder setValue(com.google.spanner.executor.v1.Value.Builder builderForV */ public Builder mergeValue(com.google.spanner.executor.v1.Value value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && value_ != null - && value_ != com.google.spanner.executor.v1.Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + value_ != null && + value_ != com.google.spanner.executor.v1.Value.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -1171,8 +1042,6 @@ public Builder mergeValue(com.google.spanner.executor.v1.Value value) { return this; } /** - * - * *
        * Value of the parameter.
        * 
@@ -1190,8 +1059,6 @@ public Builder clearValue() { return this; } /** - * - * *
        * Value of the parameter.
        * 
@@ -1204,8 +1071,6 @@ public com.google.spanner.executor.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** - * - * *
        * Value of the parameter.
        * 
@@ -1216,14 +1081,11 @@ public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null - ? com.google.spanner.executor.v1.Value.getDefaultInstance() - : value_; + return value_ == null ? + com.google.spanner.executor.v1.Value.getDefaultInstance() : value_; } } /** - * - * *
        * Value of the parameter.
        * 
@@ -1231,22 +1093,18 @@ public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder() { * .google.spanner.executor.v1.Value value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.Value, - com.google.spanner.executor.v1.Value.Builder, - com.google.spanner.executor.v1.ValueOrBuilder> + com.google.spanner.executor.v1.Value, com.google.spanner.executor.v1.Value.Builder, com.google.spanner.executor.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.Value, - com.google.spanner.executor.v1.Value.Builder, - com.google.spanner.executor.v1.ValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.Value, com.google.spanner.executor.v1.Value.Builder, com.google.spanner.executor.v1.ValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1259,12 +1117,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.QueryAction.Parameter) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.QueryAction.Parameter) private static final com.google.spanner.executor.v1.QueryAction.Parameter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.QueryAction.Parameter(); } @@ -1273,28 +1131,27 @@ public static com.google.spanner.executor.v1.QueryAction.Parameter getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Parameter 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Parameter 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; @@ -1309,21 +1166,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.QueryAction.Parameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SQL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object sql_ = ""; /** - * - * *
    * The SQL string.
    * 
* * string sql = 1; - * * @return The sql. */ @java.lang.Override @@ -1332,29 +1186,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
    * The SQL string.
    * 
* * string sql = 1; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1363,12 +1217,9 @@ public com.google.protobuf.ByteString getSqlBytes() { } public static final int PARAMS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List params_; /** - * - * *
    * Parameters for the SQL string.
    * 
@@ -1380,8 +1231,6 @@ public java.util.List getP return params_; } /** - * - * *
    * Parameters for the SQL string.
    * 
@@ -1389,13 +1238,11 @@ public java.util.List getP * repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2; */ @java.lang.Override - public java.util.List + public java.util.List getParamsOrBuilderList() { return params_; } /** - * - * *
    * Parameters for the SQL string.
    * 
@@ -1407,8 +1254,6 @@ public int getParamsCount() { return params_.size(); } /** - * - * *
    * Parameters for the SQL string.
    * 
@@ -1420,8 +1265,6 @@ public com.google.spanner.executor.v1.QueryAction.Parameter getParams(int index) return params_.get(index); } /** - * - * *
    * Parameters for the SQL string.
    * 
@@ -1435,7 +1278,6 @@ public com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder getParamsOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1447,7 +1289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sql_); } @@ -1467,7 +1310,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sql_); } for (int i = 0; i < params_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, params_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, params_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1477,16 +1321,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.QueryAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.QueryAction other = - (com.google.spanner.executor.v1.QueryAction) obj; + com.google.spanner.executor.v1.QueryAction other = (com.google.spanner.executor.v1.QueryAction) obj; - if (!getSql().equals(other.getSql())) return false; - if (!getParamsList().equals(other.getParamsList())) return false; + if (!getSql() + .equals(other.getSql())) return false; + if (!getParamsList() + .equals(other.getParamsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1509,136 +1354,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.QueryAction parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.QueryAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.QueryAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.QueryAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.QueryAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.QueryAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.QueryAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A SQL query request.
    * 
* * Protobuf type {@code google.spanner.executor.v1.QueryAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.QueryAction) com.google.spanner.executor.v1.QueryActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.QueryAction.class, - com.google.spanner.executor.v1.QueryAction.Builder.class); + com.google.spanner.executor.v1.QueryAction.class, com.google.spanner.executor.v1.QueryAction.Builder.class); } // Construct using com.google.spanner.executor.v1.QueryAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1655,9 +1496,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryAction_descriptor; } @java.lang.Override @@ -1676,12 +1517,9 @@ public com.google.spanner.executor.v1.QueryAction build() { @java.lang.Override public com.google.spanner.executor.v1.QueryAction buildPartial() { - com.google.spanner.executor.v1.QueryAction result = - new com.google.spanner.executor.v1.QueryAction(this); + com.google.spanner.executor.v1.QueryAction result = new com.google.spanner.executor.v1.QueryAction(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1709,39 +1547,38 @@ private void buildPartial0(com.google.spanner.executor.v1.QueryAction result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.QueryAction) { - return mergeFrom((com.google.spanner.executor.v1.QueryAction) other); + return mergeFrom((com.google.spanner.executor.v1.QueryAction)other); } else { super.mergeFrom(other); return this; @@ -1773,10 +1610,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.QueryAction other) { paramsBuilder_ = null; params_ = other.params_; bitField0_ = (bitField0_ & ~0x00000002); - paramsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getParamsFieldBuilder() - : null; + paramsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParamsFieldBuilder() : null; } else { paramsBuilder_.addAllMessages(other.params_); } @@ -1808,33 +1644,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.spanner.executor.v1.QueryAction.Parameter m = - input.readMessage( - com.google.spanner.executor.v1.QueryAction.Parameter.parser(), - extensionRegistry); - if (paramsBuilder_ == null) { - ensureParamsIsMutable(); - params_.add(m); - } else { - paramsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.spanner.executor.v1.QueryAction.Parameter m = + input.readMessage( + com.google.spanner.executor.v1.QueryAction.Parameter.parser(), + extensionRegistry); + if (paramsBuilder_ == null) { + ensureParamsIsMutable(); + params_.add(m); + } else { + paramsBuilder_.addMessage(m); + } + 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) { @@ -1844,25 +1677,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object sql_ = ""; /** - * - * *
      * The SQL string.
      * 
* * string sql = 1; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -1871,21 +1701,20 @@ public java.lang.String getSql() { } } /** - * - * *
      * The SQL string.
      * 
* * string sql = 1; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1893,35 +1722,28 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
      * The SQL string.
      * 
* * string sql = 1; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The SQL string.
      * 
* * string sql = 1; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -1931,21 +1753,17 @@ public Builder clearSql() { return this; } /** - * - * *
      * The SQL string.
      * 
* * string sql = 1; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000001; @@ -1954,25 +1772,18 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) { } private java.util.List params_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureParamsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - params_ = - new java.util.ArrayList(params_); + params_ = new java.util.ArrayList(params_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction.Parameter, - com.google.spanner.executor.v1.QueryAction.Parameter.Builder, - com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder> - paramsBuilder_; + com.google.spanner.executor.v1.QueryAction.Parameter, com.google.spanner.executor.v1.QueryAction.Parameter.Builder, com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder> paramsBuilder_; /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -1987,8 +1798,6 @@ public java.util.List getP } } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2003,8 +1812,6 @@ public int getParamsCount() { } } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2019,8 +1826,6 @@ public com.google.spanner.executor.v1.QueryAction.Parameter getParams(int index) } } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2042,8 +1847,6 @@ public Builder setParams( return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2062,8 +1865,6 @@ public Builder setParams( return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2084,8 +1885,6 @@ public Builder addParams(com.google.spanner.executor.v1.QueryAction.Parameter va return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2107,8 +1906,6 @@ public Builder addParams( return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2127,8 +1924,6 @@ public Builder addParams( return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2147,8 +1942,6 @@ public Builder addParams( return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2159,7 +1952,8 @@ public Builder addAllParams( java.lang.Iterable values) { if (paramsBuilder_ == null) { ensureParamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, params_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, params_); onChanged(); } else { paramsBuilder_.addAllMessages(values); @@ -2167,8 +1961,6 @@ public Builder addAllParams( return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2186,8 +1978,6 @@ public Builder clearParams() { return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2205,8 +1995,6 @@ public Builder removeParams(int index) { return this; } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2218,8 +2006,6 @@ public com.google.spanner.executor.v1.QueryAction.Parameter.Builder getParamsBui return getParamsFieldBuilder().getBuilder(index); } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2229,22 +2015,19 @@ public com.google.spanner.executor.v1.QueryAction.Parameter.Builder getParamsBui public com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder getParamsOrBuilder( int index) { if (paramsBuilder_ == null) { - return params_.get(index); - } else { + return params_.get(index); } else { return paramsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Parameters for the SQL string.
      * 
* * repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2; */ - public java.util.List - getParamsOrBuilderList() { + public java.util.List + getParamsOrBuilderList() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilderList(); } else { @@ -2252,8 +2035,6 @@ public com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder getParamsOr } } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2261,12 +2042,10 @@ public com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder getParamsOr * repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2; */ public com.google.spanner.executor.v1.QueryAction.Parameter.Builder addParamsBuilder() { - return getParamsFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.QueryAction.Parameter.getDefaultInstance()); + return getParamsFieldBuilder().addBuilder( + com.google.spanner.executor.v1.QueryAction.Parameter.getDefaultInstance()); } /** - * - * *
      * Parameters for the SQL string.
      * 
@@ -2275,43 +2054,37 @@ public com.google.spanner.executor.v1.QueryAction.Parameter.Builder addParamsBui */ public com.google.spanner.executor.v1.QueryAction.Parameter.Builder addParamsBuilder( int index) { - return getParamsFieldBuilder() - .addBuilder( - index, com.google.spanner.executor.v1.QueryAction.Parameter.getDefaultInstance()); + return getParamsFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.QueryAction.Parameter.getDefaultInstance()); } /** - * - * *
      * Parameters for the SQL string.
      * 
* * repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2; */ - public java.util.List - getParamsBuilderList() { + public java.util.List + getParamsBuilderList() { return getParamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction.Parameter, - com.google.spanner.executor.v1.QueryAction.Parameter.Builder, - com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder> + com.google.spanner.executor.v1.QueryAction.Parameter, com.google.spanner.executor.v1.QueryAction.Parameter.Builder, com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { - paramsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction.Parameter, - com.google.spanner.executor.v1.QueryAction.Parameter.Builder, - com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder>( - params_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + paramsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.QueryAction.Parameter, com.google.spanner.executor.v1.QueryAction.Parameter.Builder, com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder>( + params_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); params_ = null; } return paramsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2321,12 +2094,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.QueryAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.QueryAction) private static final com.google.spanner.executor.v1.QueryAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.QueryAction(); } @@ -2335,27 +2108,27 @@ public static com.google.spanner.executor.v1.QueryAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryAction 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; @@ -2370,4 +2143,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.QueryAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryActionOrBuilder.java similarity index 67% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryActionOrBuilder.java index 240b2a14601..cd63757de8c 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryActionOrBuilder.java @@ -1,67 +1,43 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface QueryActionOrBuilder - extends +public interface QueryActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.QueryAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The SQL string.
    * 
* * string sql = 1; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
    * The SQL string.
    * 
* * string sql = 1; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); /** - * - * *
    * Parameters for the SQL string.
    * 
* * repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2; */ - java.util.List getParamsList(); + java.util.List + getParamsList(); /** - * - * *
    * Parameters for the SQL string.
    * 
@@ -70,8 +46,6 @@ public interface QueryActionOrBuilder */ com.google.spanner.executor.v1.QueryAction.Parameter getParams(int index); /** - * - * *
    * Parameters for the SQL string.
    * 
@@ -80,24 +54,21 @@ public interface QueryActionOrBuilder */ int getParamsCount(); /** - * - * *
    * Parameters for the SQL string.
    * 
* * repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2; */ - java.util.List + java.util.List getParamsOrBuilderList(); /** - * - * *
    * Parameters for the SQL string.
    * 
* * repeated .google.spanner.executor.v1.QueryAction.Parameter params = 2; */ - com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder getParamsOrBuilder(int index); + com.google.spanner.executor.v1.QueryAction.ParameterOrBuilder getParamsOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResult.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResult.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResult.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResult.java index cf8a4232cd4..7df5a5452f2 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResult.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,57 +5,50 @@ package com.google.spanner.executor.v1; /** - * - * *
  * QueryResult contains result of a Query.
  * 
* * Protobuf type {@code google.spanner.executor.v1.QueryResult} */ -public final class QueryResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.QueryResult) QueryResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryResult.newBuilder() to construct. private QueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryResult() { row_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.QueryResult.class, - com.google.spanner.executor.v1.QueryResult.Builder.class); + com.google.spanner.executor.v1.QueryResult.class, com.google.spanner.executor.v1.QueryResult.Builder.class); } private int bitField0_; public static final int ROW_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List row_; /** - * - * *
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -83,8 +61,6 @@ public java.util.List getRowList() {
     return row_;
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -93,13 +69,11 @@ public java.util.List getRowList() {
    * repeated .google.spanner.executor.v1.ValueList row = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRowOrBuilderList() {
     return row_;
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -112,8 +86,6 @@ public int getRowCount() {
     return row_.size();
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -126,8 +98,6 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
     return row_.get(index);
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -136,21 +106,19 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
    * repeated .google.spanner.executor.v1.ValueList row = 1;
    */
   @java.lang.Override
-  public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int index) {
+  public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(
+      int index) {
     return row_.get(index);
   }
 
   public static final int ROW_TYPE_FIELD_NUMBER = 2;
   private com.google.spanner.v1.StructType rowType_;
   /**
-   *
-   *
    * 
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 2; - * * @return Whether the rowType field is set. */ @java.lang.Override @@ -158,14 +126,11 @@ public boolean hasRowType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 2; - * * @return The rowType. */ @java.lang.Override @@ -173,8 +138,6 @@ public com.google.spanner.v1.StructType getRowType() { return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; } /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
@@ -187,7 +150,6 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < row_.size(); i++) { output.writeMessage(1, row_.get(i)); } @@ -216,10 +179,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < row_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, row_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, row_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRowType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRowType()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,18 +194,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.QueryResult)) { return super.equals(obj); } - com.google.spanner.executor.v1.QueryResult other = - (com.google.spanner.executor.v1.QueryResult) obj; + com.google.spanner.executor.v1.QueryResult other = (com.google.spanner.executor.v1.QueryResult) obj; - if (!getRowList().equals(other.getRowList())) return false; + if (!getRowList() + .equals(other.getRowList())) return false; if (hasRowType() != other.hasRowType()) return false; if (hasRowType()) { - if (!getRowType().equals(other.getRowType())) return false; + if (!getRowType() + .equals(other.getRowType())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,127 +232,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.QueryResult parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.QueryResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.QueryResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.QueryResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.QueryResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.QueryResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.QueryResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.QueryResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.QueryResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * QueryResult contains result of a Query.
    * 
* * Protobuf type {@code google.spanner.executor.v1.QueryResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.QueryResult) com.google.spanner.executor.v1.QueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.QueryResult.class, - com.google.spanner.executor.v1.QueryResult.Builder.class); + com.google.spanner.executor.v1.QueryResult.class, com.google.spanner.executor.v1.QueryResult.Builder.class); } // Construct using com.google.spanner.executor.v1.QueryResult.newBuilder() @@ -394,18 +353,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRowFieldBuilder(); getRowTypeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_QueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_QueryResult_descriptor; } @java.lang.Override @@ -447,12 +406,9 @@ public com.google.spanner.executor.v1.QueryResult build() { @java.lang.Override public com.google.spanner.executor.v1.QueryResult buildPartial() { - com.google.spanner.executor.v1.QueryResult result = - new com.google.spanner.executor.v1.QueryResult(this); + com.google.spanner.executor.v1.QueryResult result = new com.google.spanner.executor.v1.QueryResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -473,7 +429,9 @@ private void buildPartial0(com.google.spanner.executor.v1.QueryResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.rowType_ = rowTypeBuilder_ == null ? rowType_ : rowTypeBuilder_.build(); + result.rowType_ = rowTypeBuilder_ == null + ? rowType_ + : rowTypeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -483,39 +441,38 @@ private void buildPartial0(com.google.spanner.executor.v1.QueryResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.QueryResult) { - return mergeFrom((com.google.spanner.executor.v1.QueryResult) other); + return mergeFrom((com.google.spanner.executor.v1.QueryResult)other); } else { super.mergeFrom(other); return this; @@ -542,10 +499,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.QueryResult other) { rowBuilder_ = null; row_ = other.row_; bitField0_ = (bitField0_ & ~0x00000001); - rowBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowFieldBuilder() - : null; + rowBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowFieldBuilder() : null; } else { rowBuilder_.addAllMessages(other.row_); } @@ -580,32 +536,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.executor.v1.ValueList m = - input.readMessage( - com.google.spanner.executor.v1.ValueList.parser(), extensionRegistry); - if (rowBuilder_ == null) { - ensureRowIsMutable(); - row_.add(m); - } else { - rowBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getRowTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.executor.v1.ValueList m = + input.readMessage( + com.google.spanner.executor.v1.ValueList.parser(), + extensionRegistry); + if (rowBuilder_ == null) { + ensureRowIsMutable(); + row_.add(m); + } else { + rowBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getRowTypeFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -615,28 +571,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List row_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRowIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { row_ = new java.util.ArrayList(row_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> - rowBuilder_; + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> rowBuilder_; /** - * - * *
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -652,8 +601,6 @@ public java.util.List getRowList() {
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -669,8 +616,6 @@ public int getRowCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -686,8 +631,6 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -695,7 +638,8 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public Builder setRow(int index, com.google.spanner.executor.v1.ValueList value) {
+    public Builder setRow(
+        int index, com.google.spanner.executor.v1.ValueList value) {
       if (rowBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -709,8 +653,6 @@ public Builder setRow(int index, com.google.spanner.executor.v1.ValueList value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -730,8 +672,6 @@ public Builder setRow(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -753,8 +693,6 @@ public Builder addRow(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -762,7 +700,8 @@ public Builder addRow(com.google.spanner.executor.v1.ValueList value) {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public Builder addRow(int index, com.google.spanner.executor.v1.ValueList value) {
+    public Builder addRow(
+        int index, com.google.spanner.executor.v1.ValueList value) {
       if (rowBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -776,8 +715,6 @@ public Builder addRow(int index, com.google.spanner.executor.v1.ValueList value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -785,7 +722,8 @@ public Builder addRow(int index, com.google.spanner.executor.v1.ValueList value)
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public Builder addRow(com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
+    public Builder addRow(
+        com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
       if (rowBuilder_ == null) {
         ensureRowIsMutable();
         row_.add(builderForValue.build());
@@ -796,8 +734,6 @@ public Builder addRow(com.google.spanner.executor.v1.ValueList.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -817,8 +753,6 @@ public Builder addRow(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -830,7 +764,8 @@ public Builder addAllRow(
         java.lang.Iterable values) {
       if (rowBuilder_ == null) {
         ensureRowIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, row_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, row_);
         onChanged();
       } else {
         rowBuilder_.addAllMessages(values);
@@ -838,8 +773,6 @@ public Builder addAllRow(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -858,8 +791,6 @@ public Builder clearRow() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -878,8 +809,6 @@ public Builder removeRow(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -887,12 +816,11 @@ public Builder removeRow(int index) {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public com.google.spanner.executor.v1.ValueList.Builder getRowBuilder(int index) {
+    public com.google.spanner.executor.v1.ValueList.Builder getRowBuilder(
+        int index) {
       return getRowFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -900,16 +828,14 @@ public com.google.spanner.executor.v1.ValueList.Builder getRowBuilder(int index)
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int index) {
+    public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(
+        int index) {
       if (rowBuilder_ == null) {
-        return row_.get(index);
-      } else {
+        return row_.get(index);  } else {
         return rowBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -917,8 +843,8 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int ind
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public java.util.List
-        getRowOrBuilderList() {
+    public java.util.List 
+         getRowOrBuilderList() {
       if (rowBuilder_ != null) {
         return rowBuilder_.getMessageOrBuilderList();
       } else {
@@ -926,8 +852,6 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -936,12 +860,10 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int ind
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
     public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder() {
-      return getRowFieldBuilder()
-          .addBuilder(com.google.spanner.executor.v1.ValueList.getDefaultInstance());
+      return getRowFieldBuilder().addBuilder(
+          com.google.spanner.executor.v1.ValueList.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -949,13 +871,12 @@ public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder() {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder(int index) {
-      return getRowFieldBuilder()
-          .addBuilder(index, com.google.spanner.executor.v1.ValueList.getDefaultInstance());
+    public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder(
+        int index) {
+      return getRowFieldBuilder().addBuilder(
+          index, com.google.spanner.executor.v1.ValueList.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -963,22 +884,20 @@ public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder(int index)
      *
      * repeated .google.spanner.executor.v1.ValueList row = 1;
      */
-    public java.util.List getRowBuilderList() {
+    public java.util.List 
+         getRowBuilderList() {
       return getRowFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> 
         getRowFieldBuilder() {
       if (rowBuilder_ == null) {
-        rowBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.executor.v1.ValueList,
-                com.google.spanner.executor.v1.ValueList.Builder,
-                com.google.spanner.executor.v1.ValueListOrBuilder>(
-                row_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        rowBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>(
+                row_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         row_ = null;
       }
       return rowBuilder_;
@@ -986,33 +905,24 @@ public java.util.List getRowBu
 
     private com.google.spanner.v1.StructType rowType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
-        rowTypeBuilder_;
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> rowTypeBuilder_;
     /**
-     *
-     *
      * 
      * The type of rows read. It must be set if at least one row was read.
      * 
* * optional .google.spanner.v1.StructType row_type = 2; - * * @return Whether the rowType field is set. */ public boolean hasRowType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
* * optional .google.spanner.v1.StructType row_type = 2; - * * @return The rowType. */ public com.google.spanner.v1.StructType getRowType() { @@ -1023,8 +933,6 @@ public com.google.spanner.v1.StructType getRowType() { } } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1045,15 +953,14 @@ public Builder setRowType(com.google.spanner.v1.StructType value) { return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
* * optional .google.spanner.v1.StructType row_type = 2; */ - public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForValue) { + public Builder setRowType( + com.google.spanner.v1.StructType.Builder builderForValue) { if (rowTypeBuilder_ == null) { rowType_ = builderForValue.build(); } else { @@ -1064,8 +971,6 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1074,9 +979,9 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal */ public Builder mergeRowType(com.google.spanner.v1.StructType value) { if (rowTypeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && rowType_ != null - && rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + rowType_ != null && + rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) { getRowTypeBuilder().mergeFrom(value); } else { rowType_ = value; @@ -1091,8 +996,6 @@ public Builder mergeRowType(com.google.spanner.v1.StructType value) { return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1110,8 +1013,6 @@ public Builder clearRowType() { return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1124,8 +1025,6 @@ public com.google.spanner.v1.StructType.Builder getRowTypeBuilder() { return getRowTypeFieldBuilder().getBuilder(); } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1136,12 +1035,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() { if (rowTypeBuilder_ != null) { return rowTypeBuilder_.getMessageOrBuilder(); } else { - return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; + return rowType_ == null ? + com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; } } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1149,24 +1047,21 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() { * optional .google.spanner.v1.StructType row_type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.StructType, - com.google.spanner.v1.StructType.Builder, - com.google.spanner.v1.StructTypeOrBuilder> + com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> getRowTypeFieldBuilder() { if (rowTypeBuilder_ == null) { - rowTypeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.StructType, - com.google.spanner.v1.StructType.Builder, - com.google.spanner.v1.StructTypeOrBuilder>( - getRowType(), getParentForChildren(), isClean()); + rowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>( + getRowType(), + getParentForChildren(), + isClean()); rowType_ = null; } return rowTypeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1176,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.QueryResult) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.QueryResult) private static final com.google.spanner.executor.v1.QueryResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.QueryResult(); } @@ -1190,27 +1085,27 @@ public static com.google.spanner.executor.v1.QueryResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryResult 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryResult 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; @@ -1225,4 +1120,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.QueryResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResultOrBuilder.java similarity index 74% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResultOrBuilder.java index e88929247d8..6d408a83435 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/QueryResultOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface QueryResultOrBuilder - extends +public interface QueryResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.QueryResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -34,10 +16,9 @@ public interface QueryResultOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList row = 1;
    */
-  java.util.List getRowList();
+  java.util.List 
+      getRowList();
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -47,8 +28,6 @@ public interface QueryResultOrBuilder
    */
   com.google.spanner.executor.v1.ValueList getRow(int index);
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -58,8 +37,6 @@ public interface QueryResultOrBuilder
    */
   int getRowCount();
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -67,10 +44,9 @@ public interface QueryResultOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList row = 1;
    */
-  java.util.List getRowOrBuilderList();
+  java.util.List 
+      getRowOrBuilderList();
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -78,35 +54,28 @@ public interface QueryResultOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList row = 1;
    */
-  com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int index);
+  com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 2; - * * @return Whether the rowType field is set. */ boolean hasRowType(); /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 2; - * * @return The rowType. */ com.google.spanner.v1.StructType getRowType(); /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadAction.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadAction.java index b8dc9e0c1bb..f6264ea85ad 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,65 +5,58 @@ package com.google.spanner.executor.v1; /** - * - * *
  * A single read request.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ReadAction} */ -public final class ReadAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ReadAction) ReadActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadAction.newBuilder() to construct. private ReadAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadAction() { table_ = ""; index_ = ""; - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ReadAction.class, - com.google.spanner.executor.v1.ReadAction.Builder.class); + com.google.spanner.executor.v1.ReadAction.class, com.google.spanner.executor.v1.ReadAction.Builder.class); } private int bitField0_; public static final int TABLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
    * The table to read at.
    * 
* * string table = 1; - * * @return The table. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * The table to read at.
    * 
* * string table = 1; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -118,18 +96,14 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int INDEX_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** - * - * *
    * The index to read at if it's an index read.
    * 
* * optional string index = 2; - * * @return Whether the index field is set. */ @java.lang.Override @@ -137,14 +111,11 @@ public boolean hasIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The index to read at if it's an index read.
    * 
* * optional string index = 2; - * * @return The index. */ @java.lang.Override @@ -153,29 +124,29 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * The index to read at if it's an index read.
    * 
* * optional string index = 2; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -184,47 +155,38 @@ public com.google.protobuf.ByteString getIndexBytes() { } public static final int COLUMN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList column_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @return A list containing the column. */ - public com.google.protobuf.ProtocolStringList getColumnList() { + public com.google.protobuf.ProtocolStringList + getColumnList() { return column_; } /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @return The count of column. */ public int getColumnCount() { return column_.size(); } /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @param index The index of the element to return. * @return The column at the given index. */ @@ -232,32 +194,27 @@ public java.lang.String getColumn(int index) { return column_.get(index); } /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - public com.google.protobuf.ByteString getColumnBytes(int index) { + public com.google.protobuf.ByteString + getColumnBytes(int index) { return column_.getByteString(index); } public static final int KEYS_FIELD_NUMBER = 4; private com.google.spanner.executor.v1.KeySet keys_; /** - * - * *
    * Keys for performing this read.
    * 
* * .google.spanner.executor.v1.KeySet keys = 4; - * * @return Whether the keys field is set. */ @java.lang.Override @@ -265,14 +222,11 @@ public boolean hasKeys() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Keys for performing this read.
    * 
* * .google.spanner.executor.v1.KeySet keys = 4; - * * @return The keys. */ @java.lang.Override @@ -280,8 +234,6 @@ public com.google.spanner.executor.v1.KeySet getKeys() { return keys_ == null ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() : keys_; } /** - * - * *
    * Keys for performing this read.
    * 
@@ -296,14 +248,11 @@ public com.google.spanner.executor.v1.KeySetOrBuilder getKeysOrBuilder() { public static final int LIMIT_FIELD_NUMBER = 5; private int limit_ = 0; /** - * - * *
    * Limit on number of rows to read. If set, must be positive.
    * 
* * int32 limit = 5; - * * @return The limit. */ @java.lang.Override @@ -312,7 +261,6 @@ public int getLimit() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } @@ -364,10 +313,12 @@ public int getSerializedSize() { size += 1 * getColumnList().size(); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getKeys()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getKeys()); } if (limit_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, limit_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, limit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -377,25 +328,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ReadAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ReadAction other = - (com.google.spanner.executor.v1.ReadAction) obj; + com.google.spanner.executor.v1.ReadAction other = (com.google.spanner.executor.v1.ReadAction) obj; - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { - if (!getIndex().equals(other.getIndex())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; } - if (!getColumnList().equals(other.getColumnList())) return false; + if (!getColumnList() + .equals(other.getColumnList())) return false; if (hasKeys() != other.hasKeys()) return false; if (hasKeys()) { - if (!getKeys().equals(other.getKeys())) return false; + if (!getKeys() + .equals(other.getKeys())) return false; } - if (getLimit() != other.getLimit()) return false; + if (getLimit() + != other.getLimit()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -428,127 +383,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.ReadAction parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.ReadAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReadAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReadAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReadAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ReadAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ReadAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ReadAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ReadAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.ReadAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A single read request.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ReadAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ReadAction) com.google.spanner.executor.v1.ReadActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ReadAction.class, - com.google.spanner.executor.v1.ReadAction.Builder.class); + com.google.spanner.executor.v1.ReadAction.class, com.google.spanner.executor.v1.ReadAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ReadAction.newBuilder() @@ -556,24 +504,25 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getKeysFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; table_ = ""; index_ = ""; - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); keys_ = null; if (keysBuilder_ != null) { keysBuilder_.dispose(); @@ -584,9 +533,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadAction_descriptor; } @java.lang.Override @@ -605,11 +554,8 @@ public com.google.spanner.executor.v1.ReadAction build() { @java.lang.Override public com.google.spanner.executor.v1.ReadAction buildPartial() { - com.google.spanner.executor.v1.ReadAction result = - new com.google.spanner.executor.v1.ReadAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ReadAction result = new com.google.spanner.executor.v1.ReadAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -629,7 +575,9 @@ private void buildPartial0(com.google.spanner.executor.v1.ReadAction result) { result.column_ = column_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.keys_ = keysBuilder_ == null ? keys_ : keysBuilder_.build(); + result.keys_ = keysBuilder_ == null + ? keys_ + : keysBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -642,39 +590,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ReadAction result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ReadAction) { - return mergeFrom((com.google.spanner.executor.v1.ReadAction) other); + return mergeFrom((com.google.spanner.executor.v1.ReadAction)other); } else { super.mergeFrom(other); return this; @@ -735,44 +682,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - index_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureColumnIsMutable(); - column_.add(s); - break; - } // case 26 - case 34: - { - input.readMessage(getKeysFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - limit_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + index_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureColumnIsMutable(); + column_.add(s); + break; + } // case 26 + case 34: { + input.readMessage( + getKeysFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + limit_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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) { @@ -782,25 +725,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object table_ = ""; /** - * - * *
      * The table to read at.
      * 
* * string table = 1; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -809,21 +749,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * The table to read at.
      * 
* * string table = 1; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -831,35 +770,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * The table to read at.
      * 
* * string table = 1; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The table to read at.
      * 
* * string table = 1; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -869,21 +801,17 @@ public Builder clearTable() { return this; } /** - * - * *
      * The table to read at.
      * 
* * string table = 1; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -893,34 +821,29 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object index_ = ""; /** - * - * *
      * The index to read at if it's an index read.
      * 
* * optional string index = 2; - * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The index to read at if it's an index read.
      * 
* * optional string index = 2; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -929,21 +852,20 @@ public java.lang.String getIndex() { } } /** - * - * *
      * The index to read at if it's an index read.
      * 
* * optional string index = 2; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -951,35 +873,28 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * The index to read at if it's an index read.
      * 
* * optional string index = 2; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The index to read at if it's an index read.
      * 
* * optional string index = 2; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -989,21 +904,17 @@ public Builder clearIndex() { return this; } /** - * - * *
      * The index to read at if it's an index read.
      * 
* * optional string index = 2; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000002; @@ -1013,7 +924,6 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList column_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureColumnIsMutable() { if (!column_.isModifiable()) { column_ = new com.google.protobuf.LazyStringArrayList(column_); @@ -1021,43 +931,35 @@ private void ensureColumnIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @return A list containing the column. */ - public com.google.protobuf.ProtocolStringList getColumnList() { + public com.google.protobuf.ProtocolStringList + getColumnList() { column_.makeImmutable(); return column_; } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @return The count of column. */ public int getColumnCount() { return column_.size(); } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @param index The index of the element to return. * @return The column at the given index. */ @@ -1065,37 +967,31 @@ public java.lang.String getColumn(int index) { return column_.get(index); } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - public com.google.protobuf.ByteString getColumnBytes(int index) { + public com.google.protobuf.ByteString + getColumnBytes(int index) { return column_.getByteString(index); } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @param index The index to set the value at. * @param value The column to set. * @return This builder for chaining. */ - public Builder setColumn(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumn( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.set(index, value); bitField0_ |= 0x00000004; @@ -1103,21 +999,17 @@ public Builder setColumn(int index, java.lang.String value) { return this; } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @param value The column to add. * @return This builder for chaining. */ - public Builder addColumn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnIsMutable(); column_.add(value); bitField0_ |= 0x00000004; @@ -1125,58 +1017,50 @@ public Builder addColumn(java.lang.String value) { return this; } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @param values The column to add. * @return This builder for chaining. */ - public Builder addAllColumn(java.lang.Iterable values) { + public Builder addAllColumn( + java.lang.Iterable values) { ensureColumnIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, column_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, column_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @return This builder for chaining. */ public Builder clearColumn() { - column_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + column_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * List of columns must begin with the key columns used for the read.
      * 
* * repeated string column = 3; - * * @param value The bytes of the column to add. * @return This builder for chaining. */ - public Builder addColumnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnIsMutable(); column_.add(value); @@ -1187,33 +1071,24 @@ public Builder addColumnBytes(com.google.protobuf.ByteString value) { private com.google.spanner.executor.v1.KeySet keys_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.KeySet, - com.google.spanner.executor.v1.KeySet.Builder, - com.google.spanner.executor.v1.KeySetOrBuilder> - keysBuilder_; + com.google.spanner.executor.v1.KeySet, com.google.spanner.executor.v1.KeySet.Builder, com.google.spanner.executor.v1.KeySetOrBuilder> keysBuilder_; /** - * - * *
      * Keys for performing this read.
      * 
* * .google.spanner.executor.v1.KeySet keys = 4; - * * @return Whether the keys field is set. */ public boolean hasKeys() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Keys for performing this read.
      * 
* * .google.spanner.executor.v1.KeySet keys = 4; - * * @return The keys. */ public com.google.spanner.executor.v1.KeySet getKeys() { @@ -1224,8 +1099,6 @@ public com.google.spanner.executor.v1.KeySet getKeys() { } } /** - * - * *
      * Keys for performing this read.
      * 
@@ -1246,15 +1119,14 @@ public Builder setKeys(com.google.spanner.executor.v1.KeySet value) { return this; } /** - * - * *
      * Keys for performing this read.
      * 
* * .google.spanner.executor.v1.KeySet keys = 4; */ - public Builder setKeys(com.google.spanner.executor.v1.KeySet.Builder builderForValue) { + public Builder setKeys( + com.google.spanner.executor.v1.KeySet.Builder builderForValue) { if (keysBuilder_ == null) { keys_ = builderForValue.build(); } else { @@ -1265,8 +1137,6 @@ public Builder setKeys(com.google.spanner.executor.v1.KeySet.Builder builderForV return this; } /** - * - * *
      * Keys for performing this read.
      * 
@@ -1275,9 +1145,9 @@ public Builder setKeys(com.google.spanner.executor.v1.KeySet.Builder builderForV */ public Builder mergeKeys(com.google.spanner.executor.v1.KeySet value) { if (keysBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && keys_ != null - && keys_ != com.google.spanner.executor.v1.KeySet.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + keys_ != null && + keys_ != com.google.spanner.executor.v1.KeySet.getDefaultInstance()) { getKeysBuilder().mergeFrom(value); } else { keys_ = value; @@ -1292,8 +1162,6 @@ public Builder mergeKeys(com.google.spanner.executor.v1.KeySet value) { return this; } /** - * - * *
      * Keys for performing this read.
      * 
@@ -1311,8 +1179,6 @@ public Builder clearKeys() { return this; } /** - * - * *
      * Keys for performing this read.
      * 
@@ -1325,8 +1191,6 @@ public com.google.spanner.executor.v1.KeySet.Builder getKeysBuilder() { return getKeysFieldBuilder().getBuilder(); } /** - * - * *
      * Keys for performing this read.
      * 
@@ -1337,12 +1201,11 @@ public com.google.spanner.executor.v1.KeySetOrBuilder getKeysOrBuilder() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilder(); } else { - return keys_ == null ? com.google.spanner.executor.v1.KeySet.getDefaultInstance() : keys_; + return keys_ == null ? + com.google.spanner.executor.v1.KeySet.getDefaultInstance() : keys_; } } /** - * - * *
      * Keys for performing this read.
      * 
@@ -1350,32 +1213,26 @@ public com.google.spanner.executor.v1.KeySetOrBuilder getKeysOrBuilder() { * .google.spanner.executor.v1.KeySet keys = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.KeySet, - com.google.spanner.executor.v1.KeySet.Builder, - com.google.spanner.executor.v1.KeySetOrBuilder> + com.google.spanner.executor.v1.KeySet, com.google.spanner.executor.v1.KeySet.Builder, com.google.spanner.executor.v1.KeySetOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { - keysBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.KeySet, - com.google.spanner.executor.v1.KeySet.Builder, - com.google.spanner.executor.v1.KeySetOrBuilder>( - getKeys(), getParentForChildren(), isClean()); + keysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.KeySet, com.google.spanner.executor.v1.KeySet.Builder, com.google.spanner.executor.v1.KeySetOrBuilder>( + getKeys(), + getParentForChildren(), + isClean()); keys_ = null; } return keysBuilder_; } - private int limit_; + private int limit_ ; /** - * - * *
      * Limit on number of rows to read. If set, must be positive.
      * 
* * int32 limit = 5; - * * @return The limit. */ @java.lang.Override @@ -1383,14 +1240,11 @@ public int getLimit() { return limit_; } /** - * - * *
      * Limit on number of rows to read. If set, must be positive.
      * 
* * int32 limit = 5; - * * @param value The limit to set. * @return This builder for chaining. */ @@ -1402,14 +1256,11 @@ public Builder setLimit(int value) { return this; } /** - * - * *
      * Limit on number of rows to read. If set, must be positive.
      * 
* * int32 limit = 5; - * * @return This builder for chaining. */ public Builder clearLimit() { @@ -1418,9 +1269,9 @@ public Builder clearLimit() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1430,12 +1281,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ReadAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ReadAction) private static final com.google.spanner.executor.v1.ReadAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ReadAction(); } @@ -1444,27 +1295,27 @@ public static com.google.spanner.executor.v1.ReadAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadAction 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; @@ -1479,4 +1330,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ReadAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadActionOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadActionOrBuilder.java index 1fc66899f56..8772ba0b30e 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadActionOrBuilder.java @@ -1,169 +1,122 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ReadActionOrBuilder - extends +public interface ReadActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ReadAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The table to read at.
    * 
* * string table = 1; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * The table to read at.
    * 
* * string table = 1; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * The index to read at if it's an index read.
    * 
* * optional string index = 2; - * * @return Whether the index field is set. */ boolean hasIndex(); /** - * - * *
    * The index to read at if it's an index read.
    * 
* * optional string index = 2; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * The index to read at if it's an index read.
    * 
* * optional string index = 2; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @return A list containing the column. */ - java.util.List getColumnList(); + java.util.List + getColumnList(); /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @return The count of column. */ int getColumnCount(); /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @param index The index of the element to return. * @return The column at the given index. */ java.lang.String getColumn(int index); /** - * - * *
    * List of columns must begin with the key columns used for the read.
    * 
* * repeated string column = 3; - * * @param index The index of the value to return. * @return The bytes of the column at the given index. */ - com.google.protobuf.ByteString getColumnBytes(int index); + com.google.protobuf.ByteString + getColumnBytes(int index); /** - * - * *
    * Keys for performing this read.
    * 
* * .google.spanner.executor.v1.KeySet keys = 4; - * * @return Whether the keys field is set. */ boolean hasKeys(); /** - * - * *
    * Keys for performing this read.
    * 
* * .google.spanner.executor.v1.KeySet keys = 4; - * * @return The keys. */ com.google.spanner.executor.v1.KeySet getKeys(); /** - * - * *
    * Keys for performing this read.
    * 
@@ -173,14 +126,11 @@ public interface ReadActionOrBuilder com.google.spanner.executor.v1.KeySetOrBuilder getKeysOrBuilder(); /** - * - * *
    * Limit on number of rows to read. If set, must be positive.
    * 
* * int32 limit = 5; - * * @return The limit. */ int getLimit(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResult.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResult.java similarity index 74% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResult.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResult.java index 9330008a18e..93beb9c2763 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResult.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * ReadResult contains rows read.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ReadResult} */ -public final class ReadResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ReadResult) ReadResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadResult.newBuilder() to construct. private ReadResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadResult() { table_ = ""; index_ = ""; @@ -46,39 +28,34 @@ private ReadResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ReadResult.class, - com.google.spanner.executor.v1.ReadResult.Builder.class); + com.google.spanner.executor.v1.ReadResult.class, com.google.spanner.executor.v1.ReadResult.Builder.class); } private int bitField0_; public static final int TABLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The table. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -118,18 +95,14 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int INDEX_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** - * - * *
    * Index name, if read from an index.
    * 
* * optional string index = 2; - * * @return Whether the index field is set. */ @java.lang.Override @@ -137,14 +110,11 @@ public boolean hasIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Index name, if read from an index.
    * 
* * optional string index = 2; - * * @return The index. */ @java.lang.Override @@ -153,29 +123,29 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * Index name, if read from an index.
    * 
* * optional string index = 2; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -186,14 +156,11 @@ public com.google.protobuf.ByteString getIndexBytes() { public static final int REQUEST_INDEX_FIELD_NUMBER = 3; private int requestIndex_ = 0; /** - * - * *
    * Request index (multiread only).
    * 
* * optional int32 request_index = 3; - * * @return Whether the requestIndex field is set. */ @java.lang.Override @@ -201,14 +168,11 @@ public boolean hasRequestIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Request index (multiread only).
    * 
* * optional int32 request_index = 3; - * * @return The requestIndex. */ @java.lang.Override @@ -217,12 +181,9 @@ public int getRequestIndex() { } public static final int ROW_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List row_; /** - * - * *
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -235,8 +196,6 @@ public java.util.List getRowList() {
     return row_;
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -245,13 +204,11 @@ public java.util.List getRowList() {
    * repeated .google.spanner.executor.v1.ValueList row = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRowOrBuilderList() {
     return row_;
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -264,8 +221,6 @@ public int getRowCount() {
     return row_.size();
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -278,8 +233,6 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
     return row_.get(index);
   }
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -288,21 +241,19 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
    * repeated .google.spanner.executor.v1.ValueList row = 4;
    */
   @java.lang.Override
-  public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int index) {
+  public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(
+      int index) {
     return row_.get(index);
   }
 
   public static final int ROW_TYPE_FIELD_NUMBER = 5;
   private com.google.spanner.v1.StructType rowType_;
   /**
-   *
-   *
    * 
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 5; - * * @return Whether the rowType field is set. */ @java.lang.Override @@ -310,14 +261,11 @@ public boolean hasRowType() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 5; - * * @return The rowType. */ @java.lang.Override @@ -325,8 +273,6 @@ public com.google.spanner.v1.StructType getRowType() { return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; } /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
@@ -339,7 +285,6 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +296,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_); } @@ -383,13 +329,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, index_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, requestIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, requestIndex_); } for (int i = 0; i < row_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, row_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, row_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRowType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRowType()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -399,27 +348,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ReadResult)) { return super.equals(obj); } - com.google.spanner.executor.v1.ReadResult other = - (com.google.spanner.executor.v1.ReadResult) obj; + com.google.spanner.executor.v1.ReadResult other = (com.google.spanner.executor.v1.ReadResult) obj; - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { - if (!getIndex().equals(other.getIndex())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; } if (hasRequestIndex() != other.hasRequestIndex()) return false; if (hasRequestIndex()) { - if (getRequestIndex() != other.getRequestIndex()) return false; + if (getRequestIndex() + != other.getRequestIndex()) return false; } - if (!getRowList().equals(other.getRowList())) return false; + if (!getRowList() + .equals(other.getRowList())) return false; if (hasRowType() != other.hasRowType()) return false; if (hasRowType()) { - if (!getRowType().equals(other.getRowType())) return false; + if (!getRowType() + .equals(other.getRowType())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -455,127 +408,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.ReadResult parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.ReadResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReadResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReadResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReadResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ReadResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ReadResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ReadResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ReadResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ReadResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.ReadResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ReadResult contains rows read.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ReadResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ReadResult) com.google.spanner.executor.v1.ReadResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ReadResult.class, - com.google.spanner.executor.v1.ReadResult.Builder.class); + com.google.spanner.executor.v1.ReadResult.class, com.google.spanner.executor.v1.ReadResult.Builder.class); } // Construct using com.google.spanner.executor.v1.ReadResult.newBuilder() @@ -583,18 +529,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRowFieldBuilder(); getRowTypeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -618,9 +564,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReadResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReadResult_descriptor; } @java.lang.Override @@ -639,12 +585,9 @@ public com.google.spanner.executor.v1.ReadResult build() { @java.lang.Override public com.google.spanner.executor.v1.ReadResult buildPartial() { - com.google.spanner.executor.v1.ReadResult result = - new com.google.spanner.executor.v1.ReadResult(this); + com.google.spanner.executor.v1.ReadResult result = new com.google.spanner.executor.v1.ReadResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -676,7 +619,9 @@ private void buildPartial0(com.google.spanner.executor.v1.ReadResult result) { to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.rowType_ = rowTypeBuilder_ == null ? rowType_ : rowTypeBuilder_.build(); + result.rowType_ = rowTypeBuilder_ == null + ? rowType_ + : rowTypeBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -686,39 +631,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ReadResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ReadResult) { - return mergeFrom((com.google.spanner.executor.v1.ReadResult) other); + return mergeFrom((com.google.spanner.executor.v1.ReadResult)other); } else { super.mergeFrom(other); return this; @@ -758,10 +702,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.ReadResult other) { rowBuilder_ = null; row_ = other.row_; bitField0_ = (bitField0_ & ~0x00000008); - rowBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowFieldBuilder() - : null; + rowBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowFieldBuilder() : null; } else { rowBuilder_.addAllMessages(other.row_); } @@ -796,50 +739,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - index_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - requestIndex_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - com.google.spanner.executor.v1.ValueList m = - input.readMessage( - com.google.spanner.executor.v1.ValueList.parser(), extensionRegistry); - if (rowBuilder_ == null) { - ensureRowIsMutable(); - row_.add(m); - } else { - rowBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - input.readMessage(getRowTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + index_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + requestIndex_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + com.google.spanner.executor.v1.ValueList m = + input.readMessage( + com.google.spanner.executor.v1.ValueList.parser(), + extensionRegistry); + if (rowBuilder_ == null) { + ensureRowIsMutable(); + row_.add(m); + } else { + rowBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + input.readMessage( + getRowTypeFieldBuilder().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) { @@ -849,25 +789,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object table_ = ""; /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -876,21 +813,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -898,35 +834,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -936,21 +865,17 @@ public Builder clearTable() { return this; } /** - * - * *
      * Table name.
      * 
* * string table = 1; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -960,34 +885,29 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object index_ = ""; /** - * - * *
      * Index name, if read from an index.
      * 
* * optional string index = 2; - * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Index name, if read from an index.
      * 
* * optional string index = 2; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -996,21 +916,20 @@ public java.lang.String getIndex() { } } /** - * - * *
      * Index name, if read from an index.
      * 
* * optional string index = 2; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -1018,35 +937,28 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * Index name, if read from an index.
      * 
* * optional string index = 2; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Index name, if read from an index.
      * 
* * optional string index = 2; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1056,21 +968,17 @@ public Builder clearIndex() { return this; } /** - * - * *
      * Index name, if read from an index.
      * 
* * optional string index = 2; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000002; @@ -1078,16 +986,13 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { return this; } - private int requestIndex_; + private int requestIndex_ ; /** - * - * *
      * Request index (multiread only).
      * 
* * optional int32 request_index = 3; - * * @return Whether the requestIndex field is set. */ @java.lang.Override @@ -1095,14 +1000,11 @@ public boolean hasRequestIndex() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Request index (multiread only).
      * 
* * optional int32 request_index = 3; - * * @return The requestIndex. */ @java.lang.Override @@ -1110,14 +1012,11 @@ public int getRequestIndex() { return requestIndex_; } /** - * - * *
      * Request index (multiread only).
      * 
* * optional int32 request_index = 3; - * * @param value The requestIndex to set. * @return This builder for chaining. */ @@ -1129,14 +1028,11 @@ public Builder setRequestIndex(int value) { return this; } /** - * - * *
      * Request index (multiread only).
      * 
* * optional int32 request_index = 3; - * * @return This builder for chaining. */ public Builder clearRequestIndex() { @@ -1147,24 +1043,18 @@ public Builder clearRequestIndex() { } private java.util.List row_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRowIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { row_ = new java.util.ArrayList(row_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> - rowBuilder_; + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> rowBuilder_; /** - * - * *
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1180,8 +1070,6 @@ public java.util.List getRowList() {
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1197,8 +1085,6 @@ public int getRowCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1214,8 +1100,6 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1223,7 +1107,8 @@ public com.google.spanner.executor.v1.ValueList getRow(int index) {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public Builder setRow(int index, com.google.spanner.executor.v1.ValueList value) {
+    public Builder setRow(
+        int index, com.google.spanner.executor.v1.ValueList value) {
       if (rowBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1237,8 +1122,6 @@ public Builder setRow(int index, com.google.spanner.executor.v1.ValueList value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1258,8 +1141,6 @@ public Builder setRow(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1281,8 +1162,6 @@ public Builder addRow(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1290,7 +1169,8 @@ public Builder addRow(com.google.spanner.executor.v1.ValueList value) {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public Builder addRow(int index, com.google.spanner.executor.v1.ValueList value) {
+    public Builder addRow(
+        int index, com.google.spanner.executor.v1.ValueList value) {
       if (rowBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1304,8 +1184,6 @@ public Builder addRow(int index, com.google.spanner.executor.v1.ValueList value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1313,7 +1191,8 @@ public Builder addRow(int index, com.google.spanner.executor.v1.ValueList value)
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public Builder addRow(com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
+    public Builder addRow(
+        com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
       if (rowBuilder_ == null) {
         ensureRowIsMutable();
         row_.add(builderForValue.build());
@@ -1324,8 +1203,6 @@ public Builder addRow(com.google.spanner.executor.v1.ValueList.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1345,8 +1222,6 @@ public Builder addRow(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1358,7 +1233,8 @@ public Builder addAllRow(
         java.lang.Iterable values) {
       if (rowBuilder_ == null) {
         ensureRowIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, row_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, row_);
         onChanged();
       } else {
         rowBuilder_.addAllMessages(values);
@@ -1366,8 +1242,6 @@ public Builder addAllRow(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1386,8 +1260,6 @@ public Builder clearRow() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1406,8 +1278,6 @@ public Builder removeRow(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1415,12 +1285,11 @@ public Builder removeRow(int index) {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public com.google.spanner.executor.v1.ValueList.Builder getRowBuilder(int index) {
+    public com.google.spanner.executor.v1.ValueList.Builder getRowBuilder(
+        int index) {
       return getRowFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1428,16 +1297,14 @@ public com.google.spanner.executor.v1.ValueList.Builder getRowBuilder(int index)
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int index) {
+    public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(
+        int index) {
       if (rowBuilder_ == null) {
-        return row_.get(index);
-      } else {
+        return row_.get(index);  } else {
         return rowBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1445,8 +1312,8 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int ind
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public java.util.List
-        getRowOrBuilderList() {
+    public java.util.List 
+         getRowOrBuilderList() {
       if (rowBuilder_ != null) {
         return rowBuilder_.getMessageOrBuilderList();
       } else {
@@ -1454,8 +1321,6 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1464,12 +1329,10 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int ind
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
     public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder() {
-      return getRowFieldBuilder()
-          .addBuilder(com.google.spanner.executor.v1.ValueList.getDefaultInstance());
+      return getRowFieldBuilder().addBuilder(
+          com.google.spanner.executor.v1.ValueList.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1477,13 +1340,12 @@ public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder() {
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder(int index) {
-      return getRowFieldBuilder()
-          .addBuilder(index, com.google.spanner.executor.v1.ValueList.getDefaultInstance());
+    public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder(
+        int index) {
+      return getRowFieldBuilder().addBuilder(
+          index, com.google.spanner.executor.v1.ValueList.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Rows read. Each row is a struct with multiple fields, one for each column
      * in read result. All rows have the same type.
@@ -1491,22 +1353,20 @@ public com.google.spanner.executor.v1.ValueList.Builder addRowBuilder(int index)
      *
      * repeated .google.spanner.executor.v1.ValueList row = 4;
      */
-    public java.util.List getRowBuilderList() {
+    public java.util.List 
+         getRowBuilderList() {
       return getRowFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> 
         getRowFieldBuilder() {
       if (rowBuilder_ == null) {
-        rowBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.executor.v1.ValueList,
-                com.google.spanner.executor.v1.ValueList.Builder,
-                com.google.spanner.executor.v1.ValueListOrBuilder>(
-                row_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        rowBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>(
+                row_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         row_ = null;
       }
       return rowBuilder_;
@@ -1514,33 +1374,24 @@ public java.util.List getRowBu
 
     private com.google.spanner.v1.StructType rowType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
-        rowTypeBuilder_;
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> rowTypeBuilder_;
     /**
-     *
-     *
      * 
      * The type of rows read. It must be set if at least one row was read.
      * 
* * optional .google.spanner.v1.StructType row_type = 5; - * * @return Whether the rowType field is set. */ public boolean hasRowType() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
* * optional .google.spanner.v1.StructType row_type = 5; - * * @return The rowType. */ public com.google.spanner.v1.StructType getRowType() { @@ -1551,8 +1402,6 @@ public com.google.spanner.v1.StructType getRowType() { } } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1573,15 +1422,14 @@ public Builder setRowType(com.google.spanner.v1.StructType value) { return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
* * optional .google.spanner.v1.StructType row_type = 5; */ - public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForValue) { + public Builder setRowType( + com.google.spanner.v1.StructType.Builder builderForValue) { if (rowTypeBuilder_ == null) { rowType_ = builderForValue.build(); } else { @@ -1592,8 +1440,6 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1602,9 +1448,9 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal */ public Builder mergeRowType(com.google.spanner.v1.StructType value) { if (rowTypeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && rowType_ != null - && rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + rowType_ != null && + rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) { getRowTypeBuilder().mergeFrom(value); } else { rowType_ = value; @@ -1619,8 +1465,6 @@ public Builder mergeRowType(com.google.spanner.v1.StructType value) { return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1638,8 +1482,6 @@ public Builder clearRowType() { return this; } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1652,8 +1494,6 @@ public com.google.spanner.v1.StructType.Builder getRowTypeBuilder() { return getRowTypeFieldBuilder().getBuilder(); } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1664,12 +1504,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() { if (rowTypeBuilder_ != null) { return rowTypeBuilder_.getMessageOrBuilder(); } else { - return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; + return rowType_ == null ? + com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; } } /** - * - * *
      * The type of rows read. It must be set if at least one row was read.
      * 
@@ -1677,24 +1516,21 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() { * optional .google.spanner.v1.StructType row_type = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.StructType, - com.google.spanner.v1.StructType.Builder, - com.google.spanner.v1.StructTypeOrBuilder> + com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> getRowTypeFieldBuilder() { if (rowTypeBuilder_ == null) { - rowTypeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.StructType, - com.google.spanner.v1.StructType.Builder, - com.google.spanner.v1.StructTypeOrBuilder>( - getRowType(), getParentForChildren(), isClean()); + rowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>( + getRowType(), + getParentForChildren(), + isClean()); rowType_ = null; } return rowTypeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1704,12 +1540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ReadResult) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ReadResult) private static final com.google.spanner.executor.v1.ReadResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ReadResult(); } @@ -1718,27 +1554,27 @@ public static com.google.spanner.executor.v1.ReadResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadResult 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadResult 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; @@ -1753,4 +1589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ReadResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResultOrBuilder.java similarity index 77% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResultOrBuilder.java index 3372ffad8ce..2bc4ec461fb 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReadResultOrBuilder.java @@ -1,119 +1,82 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ReadResultOrBuilder - extends +public interface ReadResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ReadResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Table name.
    * 
* * string table = 1; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * Index name, if read from an index.
    * 
* * optional string index = 2; - * * @return Whether the index field is set. */ boolean hasIndex(); /** - * - * *
    * Index name, if read from an index.
    * 
* * optional string index = 2; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * Index name, if read from an index.
    * 
* * optional string index = 2; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * Request index (multiread only).
    * 
* * optional int32 request_index = 3; - * * @return Whether the requestIndex field is set. */ boolean hasRequestIndex(); /** - * - * *
    * Request index (multiread only).
    * 
* * optional int32 request_index = 3; - * * @return The requestIndex. */ int getRequestIndex(); /** - * - * *
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -121,10 +84,9 @@ public interface ReadResultOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList row = 4;
    */
-  java.util.List getRowList();
+  java.util.List 
+      getRowList();
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -134,8 +96,6 @@ public interface ReadResultOrBuilder
    */
   com.google.spanner.executor.v1.ValueList getRow(int index);
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -145,8 +105,6 @@ public interface ReadResultOrBuilder
    */
   int getRowCount();
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -154,10 +112,9 @@ public interface ReadResultOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList row = 4;
    */
-  java.util.List getRowOrBuilderList();
+  java.util.List 
+      getRowOrBuilderList();
   /**
-   *
-   *
    * 
    * Rows read. Each row is a struct with multiple fields, one for each column
    * in read result. All rows have the same type.
@@ -165,35 +122,28 @@ public interface ReadResultOrBuilder
    *
    * repeated .google.spanner.executor.v1.ValueList row = 4;
    */
-  com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(int index);
+  com.google.spanner.executor.v1.ValueListOrBuilder getRowOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 5; - * * @return Whether the rowType field is set. */ boolean hasRowType(); /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
* * optional .google.spanner.v1.StructType row_type = 5; - * * @return The rowType. */ com.google.spanner.v1.StructType getRowType(); /** - * - * *
    * The type of rows read. It must be set if at least one row was read.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseAction.java index 74a5837699d..f0e966032f5 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,65 +5,57 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that reconfigures a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ReconfigureCloudDatabaseAction} */ -public final class ReconfigureCloudDatabaseAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReconfigureCloudDatabaseAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ReconfigureCloudDatabaseAction) ReconfigureCloudDatabaseActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReconfigureCloudDatabaseAction.newBuilder() to construct. - private ReconfigureCloudDatabaseAction( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ReconfigureCloudDatabaseAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReconfigureCloudDatabaseAction() { databaseUri_ = ""; - servingLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + servingLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReconfigureCloudDatabaseAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.class, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.class, com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder.class); } private int bitField0_; public static final int DATABASE_URI_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object databaseUri_ = ""; /** - * - * *
    * The fully qualified uri of the database to be reconfigured.
    * 
* * optional string database_uri = 1; - * * @return Whether the databaseUri field is set. */ @java.lang.Override @@ -86,14 +63,11 @@ public boolean hasDatabaseUri() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The fully qualified uri of the database to be reconfigured.
    * 
* * optional string database_uri = 1; - * * @return The databaseUri. */ @java.lang.Override @@ -102,29 +76,29 @@ public java.lang.String getDatabaseUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseUri_ = s; return s; } } /** - * - * *
    * The fully qualified uri of the database to be reconfigured.
    * 
* * optional string database_uri = 1; - * * @return The bytes for databaseUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseUriBytes() { + public com.google.protobuf.ByteString + getDatabaseUriBytes() { java.lang.Object ref = databaseUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseUri_ = b; return b; } else { @@ -133,47 +107,38 @@ public com.google.protobuf.ByteString getDatabaseUriBytes() { } public static final int SERVING_LOCATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList servingLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @return A list containing the servingLocations. */ - public com.google.protobuf.ProtocolStringList getServingLocationsList() { + public com.google.protobuf.ProtocolStringList + getServingLocationsList() { return servingLocations_; } /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @return The count of servingLocations. */ public int getServingLocationsCount() { return servingLocations_.size(); } /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @param index The index of the element to return. * @return The servingLocations at the given index. */ @@ -181,23 +146,20 @@ public java.lang.String getServingLocations(int index) { return servingLocations_.get(index); } /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the servingLocations at the given index. */ - public com.google.protobuf.ByteString getServingLocationsBytes(int index) { + public com.google.protobuf.ByteString + getServingLocationsBytes(int index) { return servingLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, databaseUri_); } @@ -244,19 +207,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction other = - (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) obj; + com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction other = (com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) obj; if (hasDatabaseUri() != other.hasDatabaseUri()) return false; if (hasDatabaseUri()) { - if (!getDatabaseUri().equals(other.getDatabaseUri())) return false; + if (!getDatabaseUri() + .equals(other.getDatabaseUri())) return false; } - if (!getServingLocationsList().equals(other.getServingLocationsList())) return false; + if (!getServingLocationsList() + .equals(other.getServingLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,154 +246,149 @@ public int hashCode() { } public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that reconfigures a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ReconfigureCloudDatabaseAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ReconfigureCloudDatabaseAction) com.google.spanner.executor.v1.ReconfigureCloudDatabaseActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.class, - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.class, com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.Builder.class); } // Construct using com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; databaseUri_ = ""; - servingLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + servingLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction getDefaultInstanceForType() { return com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance(); } @@ -444,17 +403,13 @@ public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction build() { @java.lang.Override public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction buildPartial() { - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction result = - new com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction result = new com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction result) { + private void buildPartial0(com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -472,39 +427,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) { - return mergeFrom((com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction) other); + return mergeFrom((com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction)other); } else { super.mergeFrom(other); return this; @@ -512,9 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction other) { - if (other - == com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction.getDefaultInstance()) return this; if (other.hasDatabaseUri()) { databaseUri_ = other.databaseUri_; bitField0_ |= 0x00000001; @@ -556,26 +508,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - databaseUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureServingLocationsIsMutable(); - servingLocations_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + databaseUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureServingLocationsIsMutable(); + servingLocations_.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) { @@ -585,39 +534,33 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object databaseUri_ = ""; /** - * - * *
      * The fully qualified uri of the database to be reconfigured.
      * 
* * optional string database_uri = 1; - * * @return Whether the databaseUri field is set. */ public boolean hasDatabaseUri() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The fully qualified uri of the database to be reconfigured.
      * 
* * optional string database_uri = 1; - * * @return The databaseUri. */ public java.lang.String getDatabaseUri() { java.lang.Object ref = databaseUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseUri_ = s; return s; @@ -626,21 +569,20 @@ public java.lang.String getDatabaseUri() { } } /** - * - * *
      * The fully qualified uri of the database to be reconfigured.
      * 
* * optional string database_uri = 1; - * * @return The bytes for databaseUri. */ - public com.google.protobuf.ByteString getDatabaseUriBytes() { + public com.google.protobuf.ByteString + getDatabaseUriBytes() { java.lang.Object ref = databaseUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseUri_ = b; return b; } else { @@ -648,35 +590,28 @@ public com.google.protobuf.ByteString getDatabaseUriBytes() { } } /** - * - * *
      * The fully qualified uri of the database to be reconfigured.
      * 
* * optional string database_uri = 1; - * * @param value The databaseUri to set. * @return This builder for chaining. */ - public Builder setDatabaseUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The fully qualified uri of the database to be reconfigured.
      * 
* * optional string database_uri = 1; - * * @return This builder for chaining. */ public Builder clearDatabaseUri() { @@ -686,21 +621,17 @@ public Builder clearDatabaseUri() { return this; } /** - * - * *
      * The fully qualified uri of the database to be reconfigured.
      * 
* * optional string database_uri = 1; - * * @param value The bytes for databaseUri to set. * @return This builder for chaining. */ - public Builder setDatabaseUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseUri_ = value; bitField0_ |= 0x00000001; @@ -710,7 +641,6 @@ public Builder setDatabaseUriBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList servingLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureServingLocationsIsMutable() { if (!servingLocations_.isModifiable()) { servingLocations_ = new com.google.protobuf.LazyStringArrayList(servingLocations_); @@ -718,43 +648,35 @@ private void ensureServingLocationsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @return A list containing the servingLocations. */ - public com.google.protobuf.ProtocolStringList getServingLocationsList() { + public com.google.protobuf.ProtocolStringList + getServingLocationsList() { servingLocations_.makeImmutable(); return servingLocations_; } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @return The count of servingLocations. */ public int getServingLocationsCount() { return servingLocations_.size(); } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @param index The index of the element to return. * @return The servingLocations at the given index. */ @@ -762,37 +684,31 @@ public java.lang.String getServingLocations(int index) { return servingLocations_.get(index); } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the servingLocations at the given index. */ - public com.google.protobuf.ByteString getServingLocationsBytes(int index) { + public com.google.protobuf.ByteString + getServingLocationsBytes(int index) { return servingLocations_.getByteString(index); } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @param index The index to set the value at. * @param value The servingLocations to set. * @return This builder for chaining. */ - public Builder setServingLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServingLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureServingLocationsIsMutable(); servingLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -800,21 +716,17 @@ public Builder setServingLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @param value The servingLocations to add. * @return This builder for chaining. */ - public Builder addServingLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addServingLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureServingLocationsIsMutable(); servingLocations_.add(value); bitField0_ |= 0x00000002; @@ -822,58 +734,50 @@ public Builder addServingLocations(java.lang.String value) { return this; } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @param values The servingLocations to add. * @return This builder for chaining. */ - public Builder addAllServingLocations(java.lang.Iterable values) { + public Builder addAllServingLocations( + java.lang.Iterable values) { ensureServingLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, servingLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, servingLocations_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @return This builder for chaining. */ public Builder clearServingLocations() { - servingLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + servingLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * The locations of the serving regions, e.g. "asia-south1".
      * 
* * repeated string serving_locations = 2; - * * @param value The bytes of the servingLocations to add. * @return This builder for chaining. */ - public Builder addServingLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addServingLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureServingLocationsIsMutable(); servingLocations_.add(value); @@ -881,9 +785,9 @@ public Builder addServingLocationsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,13 +797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ReconfigureCloudDatabaseAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ReconfigureCloudDatabaseAction) - private static final com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction(); } @@ -908,27 +811,27 @@ public static com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReconfigureCloudDatabaseAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReconfigureCloudDatabaseAction 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; @@ -943,4 +846,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.spanner.executor.v1.ReconfigureCloudDatabaseAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseActionOrBuilder.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseActionOrBuilder.java index 97a1ff2c5ef..b8253c14708 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ReconfigureCloudDatabaseActionOrBuilder.java @@ -1,114 +1,80 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ReconfigureCloudDatabaseActionOrBuilder - extends +public interface ReconfigureCloudDatabaseActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ReconfigureCloudDatabaseAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The fully qualified uri of the database to be reconfigured.
    * 
* * optional string database_uri = 1; - * * @return Whether the databaseUri field is set. */ boolean hasDatabaseUri(); /** - * - * *
    * The fully qualified uri of the database to be reconfigured.
    * 
* * optional string database_uri = 1; - * * @return The databaseUri. */ java.lang.String getDatabaseUri(); /** - * - * *
    * The fully qualified uri of the database to be reconfigured.
    * 
* * optional string database_uri = 1; - * * @return The bytes for databaseUri. */ - com.google.protobuf.ByteString getDatabaseUriBytes(); + com.google.protobuf.ByteString + getDatabaseUriBytes(); /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @return A list containing the servingLocations. */ - java.util.List getServingLocationsList(); + java.util.List + getServingLocationsList(); /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @return The count of servingLocations. */ int getServingLocationsCount(); /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @param index The index of the element to return. * @return The servingLocations at the given index. */ java.lang.String getServingLocations(int index); /** - * - * *
    * The locations of the serving regions, e.g. "asia-south1".
    * 
* * repeated string serving_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the servingLocations at the given index. */ - com.google.protobuf.ByteString getServingLocationsBytes(int index); + com.google.protobuf.ByteString + getServingLocationsBytes(int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseAction.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseAction.java index f511d86774e..8777288b638 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that restores a Cloud Spanner database from a backup.
  * 
* * Protobuf type {@code google.spanner.executor.v1.RestoreCloudDatabaseAction} */ -public final class RestoreCloudDatabaseAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestoreCloudDatabaseAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.RestoreCloudDatabaseAction) RestoreCloudDatabaseActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreCloudDatabaseAction.newBuilder() to construct. private RestoreCloudDatabaseAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreCloudDatabaseAction() { projectId_ = ""; backupInstanceId_ = ""; @@ -48,38 +30,33 @@ private RestoreCloudDatabaseAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreCloudDatabaseAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.class, - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.RestoreCloudDatabaseAction.class, com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -88,29 +65,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -119,18 +96,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int BACKUP_INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupInstanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
    * 
* * string backup_instance_id = 2; - * * @return The backupInstanceId. */ @java.lang.Override @@ -139,29 +112,29 @@ public java.lang.String getBackupInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupInstanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
    * 
* * string backup_instance_id = 2; - * * @return The bytes for backupInstanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupInstanceIdBytes() { + public com.google.protobuf.ByteString + getBackupInstanceIdBytes() { java.lang.Object ref = backupInstanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupInstanceId_ = b; return b; } else { @@ -170,18 +143,14 @@ public com.google.protobuf.ByteString getBackupInstanceIdBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * The id of the backup from which to restore, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ @java.lang.Override @@ -190,29 +159,29 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * The id of the backup from which to restore, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -221,19 +190,15 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } public static final int DATABASE_INSTANCE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object databaseInstanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path) containing the database, e.g.
    * "database-instance".
    * 
* * string database_instance_id = 4; - * * @return The databaseInstanceId. */ @java.lang.Override @@ -242,30 +207,30 @@ public java.lang.String getDatabaseInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseInstanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path) containing the database, e.g.
    * "database-instance".
    * 
* * string database_instance_id = 4; - * * @return The bytes for databaseInstanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseInstanceIdBytes() { + public com.google.protobuf.ByteString + getDatabaseInstanceIdBytes() { java.lang.Object ref = databaseInstanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseInstanceId_ = b; return b; } else { @@ -274,19 +239,15 @@ public com.google.protobuf.ByteString getDatabaseInstanceIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The id of the database to create and restore to, e.g. "db0". Note that this
    * database must not already exist.
    * 
* * string database_id = 5; - * * @return The databaseId. */ @java.lang.Override @@ -295,30 +256,30 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The id of the database to create and restore to, e.g. "db0". Note that this
    * database must not already exist.
    * 
* * string database_id = 5; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -327,7 +288,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,7 +299,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -387,19 +348,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.RestoreCloudDatabaseAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.RestoreCloudDatabaseAction other = - (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getBackupInstanceId().equals(other.getBackupInstanceId())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; - if (!getDatabaseInstanceId().equals(other.getDatabaseInstanceId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + com.google.spanner.executor.v1.RestoreCloudDatabaseAction other = (com.google.spanner.executor.v1.RestoreCloudDatabaseAction) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getBackupInstanceId() + .equals(other.getBackupInstanceId())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; + if (!getDatabaseInstanceId() + .equals(other.getDatabaseInstanceId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -427,136 +392,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.RestoreCloudDatabaseAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.RestoreCloudDatabaseAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that restores a Cloud Spanner database from a backup.
    * 
* * Protobuf type {@code google.spanner.executor.v1.RestoreCloudDatabaseAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.RestoreCloudDatabaseAction) com.google.spanner.executor.v1.RestoreCloudDatabaseActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.class, - com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.RestoreCloudDatabaseAction.class, com.google.spanner.executor.v1.RestoreCloudDatabaseAction.Builder.class); } // Construct using com.google.spanner.executor.v1.RestoreCloudDatabaseAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +530,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; } @java.lang.Override @@ -591,11 +551,8 @@ public com.google.spanner.executor.v1.RestoreCloudDatabaseAction build() { @java.lang.Override public com.google.spanner.executor.v1.RestoreCloudDatabaseAction buildPartial() { - com.google.spanner.executor.v1.RestoreCloudDatabaseAction result = - new com.google.spanner.executor.v1.RestoreCloudDatabaseAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.RestoreCloudDatabaseAction result = new com.google.spanner.executor.v1.RestoreCloudDatabaseAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -623,39 +580,38 @@ private void buildPartial0(com.google.spanner.executor.v1.RestoreCloudDatabaseAc public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.RestoreCloudDatabaseAction) { - return mergeFrom((com.google.spanner.executor.v1.RestoreCloudDatabaseAction) other); + return mergeFrom((com.google.spanner.executor.v1.RestoreCloudDatabaseAction)other); } else { super.mergeFrom(other); return this; @@ -663,8 +619,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.RestoreCloudDatabaseAction other) { - if (other == com.google.spanner.executor.v1.RestoreCloudDatabaseAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.RestoreCloudDatabaseAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -716,43 +671,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupInstanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - databaseInstanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupInstanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + databaseInstanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + databaseId_ = input.readStringRequireUtf8(); + 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) { @@ -762,25 +711,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -789,21 +735,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -811,35 +756,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -849,21 +787,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -873,20 +807,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupInstanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
      * 
* * string backup_instance_id = 2; - * * @return The backupInstanceId. */ public java.lang.String getBackupInstanceId() { java.lang.Object ref = backupInstanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupInstanceId_ = s; return s; @@ -895,21 +827,20 @@ public java.lang.String getBackupInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
      * 
* * string backup_instance_id = 2; - * * @return The bytes for backupInstanceId. */ - public com.google.protobuf.ByteString getBackupInstanceIdBytes() { + public com.google.protobuf.ByteString + getBackupInstanceIdBytes() { java.lang.Object ref = backupInstanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupInstanceId_ = b; return b; } else { @@ -917,35 +848,28 @@ public com.google.protobuf.ByteString getBackupInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
      * 
* * string backup_instance_id = 2; - * * @param value The backupInstanceId to set. * @return This builder for chaining. */ - public Builder setBackupInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupInstanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
      * 
* * string backup_instance_id = 2; - * * @return This builder for chaining. */ public Builder clearBackupInstanceId() { @@ -955,21 +879,17 @@ public Builder clearBackupInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
      * 
* * string backup_instance_id = 2; - * * @param value The bytes for backupInstanceId to set. * @return This builder for chaining. */ - public Builder setBackupInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupInstanceId_ = value; bitField0_ |= 0x00000002; @@ -979,20 +899,18 @@ public Builder setBackupInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * The id of the backup from which to restore, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -1001,21 +919,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * The id of the backup from which to restore, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -1023,35 +940,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * The id of the backup from which to restore, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the backup from which to restore, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -1061,21 +971,17 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * The id of the backup from which to restore, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000004; @@ -1085,21 +991,19 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseInstanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path) containing the database, e.g.
      * "database-instance".
      * 
* * string database_instance_id = 4; - * * @return The databaseInstanceId. */ public java.lang.String getDatabaseInstanceId() { java.lang.Object ref = databaseInstanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseInstanceId_ = s; return s; @@ -1108,22 +1012,21 @@ public java.lang.String getDatabaseInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path) containing the database, e.g.
      * "database-instance".
      * 
* * string database_instance_id = 4; - * * @return The bytes for databaseInstanceId. */ - public com.google.protobuf.ByteString getDatabaseInstanceIdBytes() { + public com.google.protobuf.ByteString + getDatabaseInstanceIdBytes() { java.lang.Object ref = databaseInstanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseInstanceId_ = b; return b; } else { @@ -1131,37 +1034,30 @@ public com.google.protobuf.ByteString getDatabaseInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path) containing the database, e.g.
      * "database-instance".
      * 
* * string database_instance_id = 4; - * * @param value The databaseInstanceId to set. * @return This builder for chaining. */ - public Builder setDatabaseInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseInstanceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path) containing the database, e.g.
      * "database-instance".
      * 
* * string database_instance_id = 4; - * * @return This builder for chaining. */ public Builder clearDatabaseInstanceId() { @@ -1171,22 +1067,18 @@ public Builder clearDatabaseInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path) containing the database, e.g.
      * "database-instance".
      * 
* * string database_instance_id = 4; - * * @param value The bytes for databaseInstanceId to set. * @return This builder for chaining. */ - public Builder setDatabaseInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseInstanceId_ = value; bitField0_ |= 0x00000008; @@ -1196,21 +1088,19 @@ public Builder setDatabaseInstanceIdBytes(com.google.protobuf.ByteString value) private java.lang.Object databaseId_ = ""; /** - * - * *
      * The id of the database to create and restore to, e.g. "db0". Note that this
      * database must not already exist.
      * 
* * string database_id = 5; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1219,22 +1109,21 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The id of the database to create and restore to, e.g. "db0". Note that this
      * database must not already exist.
      * 
* * string database_id = 5; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1242,37 +1131,30 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The id of the database to create and restore to, e.g. "db0". Note that this
      * database must not already exist.
      * 
* * string database_id = 5; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The id of the database to create and restore to, e.g. "db0". Note that this
      * database must not already exist.
      * 
* * string database_id = 5; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1282,31 +1164,27 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The id of the database to create and restore to, e.g. "db0". Note that this
      * database must not already exist.
      * 
* * string database_id = 5; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1316,12 +1194,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.RestoreCloudDatabaseAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.RestoreCloudDatabaseAction) private static final com.google.spanner.executor.v1.RestoreCloudDatabaseAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.RestoreCloudDatabaseAction(); } @@ -1330,27 +1208,27 @@ public static com.google.spanner.executor.v1.RestoreCloudDatabaseAction getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreCloudDatabaseAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreCloudDatabaseAction 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; @@ -1365,4 +1243,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.executor.v1.RestoreCloudDatabaseAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseActionOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseActionOrBuilder.java index 478a9aa81f3..6586b90e81e 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/RestoreCloudDatabaseActionOrBuilder.java @@ -1,155 +1,114 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface RestoreCloudDatabaseActionOrBuilder - extends +public interface RestoreCloudDatabaseActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.RestoreCloudDatabaseAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
    * 
* * string backup_instance_id = 2; - * * @return The backupInstanceId. */ java.lang.String getBackupInstanceId(); /** - * - * *
    * Cloud instance ID (not path) containing the backup, e.g. "backup-instance".
    * 
* * string backup_instance_id = 2; - * * @return The bytes for backupInstanceId. */ - com.google.protobuf.ByteString getBackupInstanceIdBytes(); + com.google.protobuf.ByteString + getBackupInstanceIdBytes(); /** - * - * *
    * The id of the backup from which to restore, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * The id of the backup from which to restore, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Cloud instance ID (not path) containing the database, e.g.
    * "database-instance".
    * 
* * string database_instance_id = 4; - * * @return The databaseInstanceId. */ java.lang.String getDatabaseInstanceId(); /** - * - * *
    * Cloud instance ID (not path) containing the database, e.g.
    * "database-instance".
    * 
* * string database_instance_id = 4; - * * @return The bytes for databaseInstanceId. */ - com.google.protobuf.ByteString getDatabaseInstanceIdBytes(); + com.google.protobuf.ByteString + getDatabaseInstanceIdBytes(); /** - * - * *
    * The id of the database to create and restore to, e.g. "db0". Note that this
    * database must not already exist.
    * 
* * string database_id = 5; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The id of the database to create and restore to, e.g. "db0". Note that this
    * database must not already exist.
    * 
* * string database_id = 5; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAction.java similarity index 71% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAction.java index f98b6eb2f35..e161a1df70d 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * SpannerAction defines a primitive action that can be performed against
  * Spanner, such as begin or commit a transaction, or perform a read or
@@ -30,49 +13,44 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.SpannerAction}
  */
-public final class SpannerAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SpannerAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.SpannerAction)
     SpannerActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SpannerAction.newBuilder() to construct.
   private SpannerAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SpannerAction() {
     databasePath_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SpannerAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_SpannerAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.SpannerAction.class,
-            com.google.spanner.executor.v1.SpannerAction.Builder.class);
+            com.google.spanner.executor.v1.SpannerAction.class, com.google.spanner.executor.v1.SpannerAction.Builder.class);
   }
 
   private int actionCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object action_;
-
   public enum ActionCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START(10),
     FINISH(11),
@@ -92,7 +70,6 @@ public enum ActionCase
     EXECUTE_CHANGE_STREAM_QUERY(50),
     ACTION_NOT_SET(0);
     private final int value;
-
     private ActionCase(int value) {
       this.value = value;
     }
@@ -108,61 +85,41 @@ public static ActionCase valueOf(int value) {
 
     public static ActionCase forNumber(int value) {
       switch (value) {
-        case 10:
-          return START;
-        case 11:
-          return FINISH;
-        case 20:
-          return READ;
-        case 21:
-          return QUERY;
-        case 22:
-          return MUTATION;
-        case 23:
-          return DML;
-        case 24:
-          return BATCH_DML;
-        case 25:
-          return WRITE;
-        case 27:
-          return PARTITIONED_UPDATE;
-        case 30:
-          return ADMIN;
-        case 40:
-          return START_BATCH_TXN;
-        case 41:
-          return CLOSE_BATCH_TXN;
-        case 42:
-          return GENERATE_DB_PARTITIONS_READ;
-        case 43:
-          return GENERATE_DB_PARTITIONS_QUERY;
-        case 44:
-          return EXECUTE_PARTITION;
-        case 50:
-          return EXECUTE_CHANGE_STREAM_QUERY;
-        case 0:
-          return ACTION_NOT_SET;
-        default:
-          return null;
+        case 10: return START;
+        case 11: return FINISH;
+        case 20: return READ;
+        case 21: return QUERY;
+        case 22: return MUTATION;
+        case 23: return DML;
+        case 24: return BATCH_DML;
+        case 25: return WRITE;
+        case 27: return PARTITIONED_UPDATE;
+        case 30: return ADMIN;
+        case 40: return START_BATCH_TXN;
+        case 41: return CLOSE_BATCH_TXN;
+        case 42: return GENERATE_DB_PARTITIONS_READ;
+        case 43: return GENERATE_DB_PARTITIONS_QUERY;
+        case 44: return EXECUTE_PARTITION;
+        case 50: return EXECUTE_CHANGE_STREAM_QUERY;
+        case 0: return ACTION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ActionCase getActionCase() {
-    return ActionCase.forNumber(actionCase_);
+  public ActionCase
+  getActionCase() {
+    return ActionCase.forNumber(
+        actionCase_);
   }
 
   public static final int DATABASE_PATH_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object databasePath_ = "";
   /**
-   *
-   *
    * 
    * Database against which to perform action.
    * In a context where a series of actions take place, an action may omit
@@ -170,7 +127,6 @@ public ActionCase getActionCase() {
    * 
* * string database_path = 1; - * * @return The databasePath. */ @java.lang.Override @@ -179,15 +135,14 @@ public java.lang.String getDatabasePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databasePath_ = s; return s; } } /** - * - * *
    * Database against which to perform action.
    * In a context where a series of actions take place, an action may omit
@@ -195,15 +150,16 @@ public java.lang.String getDatabasePath() {
    * 
* * string database_path = 1; - * * @return The bytes for databasePath. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabasePathBytes() { + public com.google.protobuf.ByteString + getDatabasePathBytes() { java.lang.Object ref = databasePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databasePath_ = b; return b; } else { @@ -213,14 +169,11 @@ public com.google.protobuf.ByteString getDatabasePathBytes() { public static final int START_FIELD_NUMBER = 10; /** - * - * *
    * Action to start a transaction.
    * 
* * .google.spanner.executor.v1.StartTransactionAction start = 10; - * * @return Whether the start field is set. */ @java.lang.Override @@ -228,26 +181,21 @@ public boolean hasStart() { return actionCase_ == 10; } /** - * - * *
    * Action to start a transaction.
    * 
* * .google.spanner.executor.v1.StartTransactionAction start = 10; - * * @return The start. */ @java.lang.Override public com.google.spanner.executor.v1.StartTransactionAction getStart() { if (actionCase_ == 10) { - return (com.google.spanner.executor.v1.StartTransactionAction) action_; + return (com.google.spanner.executor.v1.StartTransactionAction) action_; } return com.google.spanner.executor.v1.StartTransactionAction.getDefaultInstance(); } /** - * - * *
    * Action to start a transaction.
    * 
@@ -257,21 +205,18 @@ public com.google.spanner.executor.v1.StartTransactionAction getStart() { @java.lang.Override public com.google.spanner.executor.v1.StartTransactionActionOrBuilder getStartOrBuilder() { if (actionCase_ == 10) { - return (com.google.spanner.executor.v1.StartTransactionAction) action_; + return (com.google.spanner.executor.v1.StartTransactionAction) action_; } return com.google.spanner.executor.v1.StartTransactionAction.getDefaultInstance(); } public static final int FINISH_FIELD_NUMBER = 11; /** - * - * *
    * Action to finish a transaction.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction finish = 11; - * * @return Whether the finish field is set. */ @java.lang.Override @@ -279,26 +224,21 @@ public boolean hasFinish() { return actionCase_ == 11; } /** - * - * *
    * Action to finish a transaction.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction finish = 11; - * * @return The finish. */ @java.lang.Override public com.google.spanner.executor.v1.FinishTransactionAction getFinish() { if (actionCase_ == 11) { - return (com.google.spanner.executor.v1.FinishTransactionAction) action_; + return (com.google.spanner.executor.v1.FinishTransactionAction) action_; } return com.google.spanner.executor.v1.FinishTransactionAction.getDefaultInstance(); } /** - * - * *
    * Action to finish a transaction.
    * 
@@ -308,21 +248,18 @@ public com.google.spanner.executor.v1.FinishTransactionAction getFinish() { @java.lang.Override public com.google.spanner.executor.v1.FinishTransactionActionOrBuilder getFinishOrBuilder() { if (actionCase_ == 11) { - return (com.google.spanner.executor.v1.FinishTransactionAction) action_; + return (com.google.spanner.executor.v1.FinishTransactionAction) action_; } return com.google.spanner.executor.v1.FinishTransactionAction.getDefaultInstance(); } public static final int READ_FIELD_NUMBER = 20; /** - * - * *
    * Action to do a normal read.
    * 
* * .google.spanner.executor.v1.ReadAction read = 20; - * * @return Whether the read field is set. */ @java.lang.Override @@ -330,26 +267,21 @@ public boolean hasRead() { return actionCase_ == 20; } /** - * - * *
    * Action to do a normal read.
    * 
* * .google.spanner.executor.v1.ReadAction read = 20; - * * @return The read. */ @java.lang.Override public com.google.spanner.executor.v1.ReadAction getRead() { if (actionCase_ == 20) { - return (com.google.spanner.executor.v1.ReadAction) action_; + return (com.google.spanner.executor.v1.ReadAction) action_; } return com.google.spanner.executor.v1.ReadAction.getDefaultInstance(); } /** - * - * *
    * Action to do a normal read.
    * 
@@ -359,21 +291,18 @@ public com.google.spanner.executor.v1.ReadAction getRead() { @java.lang.Override public com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder() { if (actionCase_ == 20) { - return (com.google.spanner.executor.v1.ReadAction) action_; + return (com.google.spanner.executor.v1.ReadAction) action_; } return com.google.spanner.executor.v1.ReadAction.getDefaultInstance(); } public static final int QUERY_FIELD_NUMBER = 21; /** - * - * *
    * Action to do a query.
    * 
* * .google.spanner.executor.v1.QueryAction query = 21; - * * @return Whether the query field is set. */ @java.lang.Override @@ -381,26 +310,21 @@ public boolean hasQuery() { return actionCase_ == 21; } /** - * - * *
    * Action to do a query.
    * 
* * .google.spanner.executor.v1.QueryAction query = 21; - * * @return The query. */ @java.lang.Override public com.google.spanner.executor.v1.QueryAction getQuery() { if (actionCase_ == 21) { - return (com.google.spanner.executor.v1.QueryAction) action_; + return (com.google.spanner.executor.v1.QueryAction) action_; } return com.google.spanner.executor.v1.QueryAction.getDefaultInstance(); } /** - * - * *
    * Action to do a query.
    * 
@@ -410,21 +334,18 @@ public com.google.spanner.executor.v1.QueryAction getQuery() { @java.lang.Override public com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder() { if (actionCase_ == 21) { - return (com.google.spanner.executor.v1.QueryAction) action_; + return (com.google.spanner.executor.v1.QueryAction) action_; } return com.google.spanner.executor.v1.QueryAction.getDefaultInstance(); } public static final int MUTATION_FIELD_NUMBER = 22; /** - * - * *
    * Action to buffer a mutation.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 22; - * * @return Whether the mutation field is set. */ @java.lang.Override @@ -432,26 +353,21 @@ public boolean hasMutation() { return actionCase_ == 22; } /** - * - * *
    * Action to buffer a mutation.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 22; - * * @return The mutation. */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction getMutation() { if (actionCase_ == 22) { - return (com.google.spanner.executor.v1.MutationAction) action_; + return (com.google.spanner.executor.v1.MutationAction) action_; } return com.google.spanner.executor.v1.MutationAction.getDefaultInstance(); } /** - * - * *
    * Action to buffer a mutation.
    * 
@@ -461,21 +377,18 @@ public com.google.spanner.executor.v1.MutationAction getMutation() { @java.lang.Override public com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuilder() { if (actionCase_ == 22) { - return (com.google.spanner.executor.v1.MutationAction) action_; + return (com.google.spanner.executor.v1.MutationAction) action_; } return com.google.spanner.executor.v1.MutationAction.getDefaultInstance(); } public static final int DML_FIELD_NUMBER = 23; /** - * - * *
    * Action to a DML.
    * 
* * .google.spanner.executor.v1.DmlAction dml = 23; - * * @return Whether the dml field is set. */ @java.lang.Override @@ -483,26 +396,21 @@ public boolean hasDml() { return actionCase_ == 23; } /** - * - * *
    * Action to a DML.
    * 
* * .google.spanner.executor.v1.DmlAction dml = 23; - * * @return The dml. */ @java.lang.Override public com.google.spanner.executor.v1.DmlAction getDml() { if (actionCase_ == 23) { - return (com.google.spanner.executor.v1.DmlAction) action_; + return (com.google.spanner.executor.v1.DmlAction) action_; } return com.google.spanner.executor.v1.DmlAction.getDefaultInstance(); } /** - * - * *
    * Action to a DML.
    * 
@@ -512,21 +420,18 @@ public com.google.spanner.executor.v1.DmlAction getDml() { @java.lang.Override public com.google.spanner.executor.v1.DmlActionOrBuilder getDmlOrBuilder() { if (actionCase_ == 23) { - return (com.google.spanner.executor.v1.DmlAction) action_; + return (com.google.spanner.executor.v1.DmlAction) action_; } return com.google.spanner.executor.v1.DmlAction.getDefaultInstance(); } public static final int BATCH_DML_FIELD_NUMBER = 24; /** - * - * *
    * Action to a batch DML.
    * 
* * .google.spanner.executor.v1.BatchDmlAction batch_dml = 24; - * * @return Whether the batchDml field is set. */ @java.lang.Override @@ -534,26 +439,21 @@ public boolean hasBatchDml() { return actionCase_ == 24; } /** - * - * *
    * Action to a batch DML.
    * 
* * .google.spanner.executor.v1.BatchDmlAction batch_dml = 24; - * * @return The batchDml. */ @java.lang.Override public com.google.spanner.executor.v1.BatchDmlAction getBatchDml() { if (actionCase_ == 24) { - return (com.google.spanner.executor.v1.BatchDmlAction) action_; + return (com.google.spanner.executor.v1.BatchDmlAction) action_; } return com.google.spanner.executor.v1.BatchDmlAction.getDefaultInstance(); } /** - * - * *
    * Action to a batch DML.
    * 
@@ -563,21 +463,18 @@ public com.google.spanner.executor.v1.BatchDmlAction getBatchDml() { @java.lang.Override public com.google.spanner.executor.v1.BatchDmlActionOrBuilder getBatchDmlOrBuilder() { if (actionCase_ == 24) { - return (com.google.spanner.executor.v1.BatchDmlAction) action_; + return (com.google.spanner.executor.v1.BatchDmlAction) action_; } return com.google.spanner.executor.v1.BatchDmlAction.getDefaultInstance(); } public static final int WRITE_FIELD_NUMBER = 25; /** - * - * *
    * Action to write a mutation.
    * 
* * .google.spanner.executor.v1.WriteMutationsAction write = 25; - * * @return Whether the write field is set. */ @java.lang.Override @@ -585,26 +482,21 @@ public boolean hasWrite() { return actionCase_ == 25; } /** - * - * *
    * Action to write a mutation.
    * 
* * .google.spanner.executor.v1.WriteMutationsAction write = 25; - * * @return The write. */ @java.lang.Override public com.google.spanner.executor.v1.WriteMutationsAction getWrite() { if (actionCase_ == 25) { - return (com.google.spanner.executor.v1.WriteMutationsAction) action_; + return (com.google.spanner.executor.v1.WriteMutationsAction) action_; } return com.google.spanner.executor.v1.WriteMutationsAction.getDefaultInstance(); } /** - * - * *
    * Action to write a mutation.
    * 
@@ -614,21 +506,18 @@ public com.google.spanner.executor.v1.WriteMutationsAction getWrite() { @java.lang.Override public com.google.spanner.executor.v1.WriteMutationsActionOrBuilder getWriteOrBuilder() { if (actionCase_ == 25) { - return (com.google.spanner.executor.v1.WriteMutationsAction) action_; + return (com.google.spanner.executor.v1.WriteMutationsAction) action_; } return com.google.spanner.executor.v1.WriteMutationsAction.getDefaultInstance(); } public static final int PARTITIONED_UPDATE_FIELD_NUMBER = 27; /** - * - * *
    * Action to a partitioned update.
    * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; - * * @return Whether the partitionedUpdate field is set. */ @java.lang.Override @@ -636,26 +525,21 @@ public boolean hasPartitionedUpdate() { return actionCase_ == 27; } /** - * - * *
    * Action to a partitioned update.
    * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; - * * @return The partitionedUpdate. */ @java.lang.Override public com.google.spanner.executor.v1.PartitionedUpdateAction getPartitionedUpdate() { if (actionCase_ == 27) { - return (com.google.spanner.executor.v1.PartitionedUpdateAction) action_; + return (com.google.spanner.executor.v1.PartitionedUpdateAction) action_; } return com.google.spanner.executor.v1.PartitionedUpdateAction.getDefaultInstance(); } /** - * - * *
    * Action to a partitioned update.
    * 
@@ -663,25 +547,21 @@ public com.google.spanner.executor.v1.PartitionedUpdateAction getPartitionedUpda * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; */ @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder - getPartitionedUpdateOrBuilder() { + public com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder getPartitionedUpdateOrBuilder() { if (actionCase_ == 27) { - return (com.google.spanner.executor.v1.PartitionedUpdateAction) action_; + return (com.google.spanner.executor.v1.PartitionedUpdateAction) action_; } return com.google.spanner.executor.v1.PartitionedUpdateAction.getDefaultInstance(); } public static final int ADMIN_FIELD_NUMBER = 30; /** - * - * *
    * Action that contains any administrative operation, like database,
    * instance manipulation.
    * 
* * .google.spanner.executor.v1.AdminAction admin = 30; - * * @return Whether the admin field is set. */ @java.lang.Override @@ -689,27 +569,22 @@ public boolean hasAdmin() { return actionCase_ == 30; } /** - * - * *
    * Action that contains any administrative operation, like database,
    * instance manipulation.
    * 
* * .google.spanner.executor.v1.AdminAction admin = 30; - * * @return The admin. */ @java.lang.Override public com.google.spanner.executor.v1.AdminAction getAdmin() { if (actionCase_ == 30) { - return (com.google.spanner.executor.v1.AdminAction) action_; + return (com.google.spanner.executor.v1.AdminAction) action_; } return com.google.spanner.executor.v1.AdminAction.getDefaultInstance(); } /** - * - * *
    * Action that contains any administrative operation, like database,
    * instance manipulation.
@@ -720,21 +595,18 @@ public com.google.spanner.executor.v1.AdminAction getAdmin() {
   @java.lang.Override
   public com.google.spanner.executor.v1.AdminActionOrBuilder getAdminOrBuilder() {
     if (actionCase_ == 30) {
-      return (com.google.spanner.executor.v1.AdminAction) action_;
+       return (com.google.spanner.executor.v1.AdminAction) action_;
     }
     return com.google.spanner.executor.v1.AdminAction.getDefaultInstance();
   }
 
   public static final int START_BATCH_TXN_FIELD_NUMBER = 40;
   /**
-   *
-   *
    * 
    * Action to start a batch transaction.
    * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; - * * @return Whether the startBatchTxn field is set. */ @java.lang.Override @@ -742,26 +614,21 @@ public boolean hasStartBatchTxn() { return actionCase_ == 40; } /** - * - * *
    * Action to start a batch transaction.
    * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; - * * @return The startBatchTxn. */ @java.lang.Override public com.google.spanner.executor.v1.StartBatchTransactionAction getStartBatchTxn() { if (actionCase_ == 40) { - return (com.google.spanner.executor.v1.StartBatchTransactionAction) action_; + return (com.google.spanner.executor.v1.StartBatchTransactionAction) action_; } return com.google.spanner.executor.v1.StartBatchTransactionAction.getDefaultInstance(); } /** - * - * *
    * Action to start a batch transaction.
    * 
@@ -769,24 +636,20 @@ public com.google.spanner.executor.v1.StartBatchTransactionAction getStartBatchT * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; */ @java.lang.Override - public com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder - getStartBatchTxnOrBuilder() { + public com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder getStartBatchTxnOrBuilder() { if (actionCase_ == 40) { - return (com.google.spanner.executor.v1.StartBatchTransactionAction) action_; + return (com.google.spanner.executor.v1.StartBatchTransactionAction) action_; } return com.google.spanner.executor.v1.StartBatchTransactionAction.getDefaultInstance(); } public static final int CLOSE_BATCH_TXN_FIELD_NUMBER = 41; /** - * - * *
    * Action to close a batch transaction.
    * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; - * * @return Whether the closeBatchTxn field is set. */ @java.lang.Override @@ -794,26 +657,21 @@ public boolean hasCloseBatchTxn() { return actionCase_ == 41; } /** - * - * *
    * Action to close a batch transaction.
    * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; - * * @return The closeBatchTxn. */ @java.lang.Override public com.google.spanner.executor.v1.CloseBatchTransactionAction getCloseBatchTxn() { if (actionCase_ == 41) { - return (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_; + return (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_; } return com.google.spanner.executor.v1.CloseBatchTransactionAction.getDefaultInstance(); } /** - * - * *
    * Action to close a batch transaction.
    * 
@@ -821,26 +679,20 @@ public com.google.spanner.executor.v1.CloseBatchTransactionAction getCloseBatchT * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; */ @java.lang.Override - public com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder - getCloseBatchTxnOrBuilder() { + public com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder getCloseBatchTxnOrBuilder() { if (actionCase_ == 41) { - return (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_; + return (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_; } return com.google.spanner.executor.v1.CloseBatchTransactionAction.getDefaultInstance(); } public static final int GENERATE_DB_PARTITIONS_READ_FIELD_NUMBER = 42; /** - * - * *
    * Action to generate database partitions for batch read.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; * @return Whether the generateDbPartitionsRead field is set. */ @java.lang.Override @@ -848,58 +700,42 @@ public boolean hasGenerateDbPartitionsRead() { return actionCase_ == 42; } /** - * - * *
    * Action to generate database partitions for batch read.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; * @return The generateDbPartitionsRead. */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - getGenerateDbPartitionsRead() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction getGenerateDbPartitionsRead() { if (actionCase_ == 42) { - return (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_; + return (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_; } return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance(); } /** - * - * *
    * Action to generate database partitions for batch read.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder - getGenerateDbPartitionsReadOrBuilder() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder getGenerateDbPartitionsReadOrBuilder() { if (actionCase_ == 42) { - return (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_; + return (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_; } return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance(); } public static final int GENERATE_DB_PARTITIONS_QUERY_FIELD_NUMBER = 43; /** - * - * *
    * Action to generate database partitions for batch query.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; * @return Whether the generateDbPartitionsQuery field is set. */ @java.lang.Override @@ -907,56 +743,42 @@ public boolean hasGenerateDbPartitionsQuery() { return actionCase_ == 43; } /** - * - * *
    * Action to generate database partitions for batch query.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; * @return The generateDbPartitionsQuery. */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - getGenerateDbPartitionsQuery() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction getGenerateDbPartitionsQuery() { if (actionCase_ == 43) { - return (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_; + return (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_; } return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance(); } /** - * - * *
    * Action to generate database partitions for batch query.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder - getGenerateDbPartitionsQueryOrBuilder() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder getGenerateDbPartitionsQueryOrBuilder() { if (actionCase_ == 43) { - return (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_; + return (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_; } return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance(); } public static final int EXECUTE_PARTITION_FIELD_NUMBER = 44; /** - * - * *
    * Action to execute batch actions on generated partitions.
    * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; - * * @return Whether the executePartition field is set. */ @java.lang.Override @@ -964,26 +786,21 @@ public boolean hasExecutePartition() { return actionCase_ == 44; } /** - * - * *
    * Action to execute batch actions on generated partitions.
    * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; - * * @return The executePartition. */ @java.lang.Override public com.google.spanner.executor.v1.ExecutePartitionAction getExecutePartition() { if (actionCase_ == 44) { - return (com.google.spanner.executor.v1.ExecutePartitionAction) action_; + return (com.google.spanner.executor.v1.ExecutePartitionAction) action_; } return com.google.spanner.executor.v1.ExecutePartitionAction.getDefaultInstance(); } /** - * - * *
    * Action to execute batch actions on generated partitions.
    * 
@@ -991,25 +808,20 @@ public com.google.spanner.executor.v1.ExecutePartitionAction getExecutePartition * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; */ @java.lang.Override - public com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder - getExecutePartitionOrBuilder() { + public com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder getExecutePartitionOrBuilder() { if (actionCase_ == 44) { - return (com.google.spanner.executor.v1.ExecutePartitionAction) action_; + return (com.google.spanner.executor.v1.ExecutePartitionAction) action_; } return com.google.spanner.executor.v1.ExecutePartitionAction.getDefaultInstance(); } public static final int EXECUTE_CHANGE_STREAM_QUERY_FIELD_NUMBER = 50; /** - * - * *
    * Action to execute change stream query.
    * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; * @return Whether the executeChangeStreamQuery field is set. */ @java.lang.Override @@ -1017,45 +829,36 @@ public boolean hasExecuteChangeStreamQuery() { return actionCase_ == 50; } /** - * - * *
    * Action to execute change stream query.
    * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; * @return The executeChangeStreamQuery. */ @java.lang.Override public com.google.spanner.executor.v1.ExecuteChangeStreamQuery getExecuteChangeStreamQuery() { if (actionCase_ == 50) { - return (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_; + return (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_; } return com.google.spanner.executor.v1.ExecuteChangeStreamQuery.getDefaultInstance(); } /** - * - * *
    * Action to execute change stream query.
    * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ @java.lang.Override - public com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder - getExecuteChangeStreamQueryOrBuilder() { + public com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder getExecuteChangeStreamQueryOrBuilder() { if (actionCase_ == 50) { - return (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_; + return (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_; } return com.google.spanner.executor.v1.ExecuteChangeStreamQuery.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1067,7 +870,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databasePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, databasePath_); } @@ -1108,12 +912,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(41, (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_); } if (actionCase_ == 42) { - output.writeMessage( - 42, (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_); + output.writeMessage(42, (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_); } if (actionCase_ == 43) { - output.writeMessage( - 43, (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_); + output.writeMessage(43, (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_); } if (actionCase_ == 44) { output.writeMessage(44, (com.google.spanner.executor.v1.ExecutePartitionAction) action_); @@ -1134,84 +936,68 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, databasePath_); } if (actionCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.spanner.executor.v1.StartTransactionAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.spanner.executor.v1.StartTransactionAction) action_); } if (actionCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.spanner.executor.v1.FinishTransactionAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.spanner.executor.v1.FinishTransactionAction) action_); } if (actionCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, (com.google.spanner.executor.v1.ReadAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.google.spanner.executor.v1.ReadAction) action_); } if (actionCase_ == 21) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, (com.google.spanner.executor.v1.QueryAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, (com.google.spanner.executor.v1.QueryAction) action_); } if (actionCase_ == 22) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, (com.google.spanner.executor.v1.MutationAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, (com.google.spanner.executor.v1.MutationAction) action_); } if (actionCase_ == 23) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 23, (com.google.spanner.executor.v1.DmlAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, (com.google.spanner.executor.v1.DmlAction) action_); } if (actionCase_ == 24) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 24, (com.google.spanner.executor.v1.BatchDmlAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, (com.google.spanner.executor.v1.BatchDmlAction) action_); } if (actionCase_ == 25) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 25, (com.google.spanner.executor.v1.WriteMutationsAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, (com.google.spanner.executor.v1.WriteMutationsAction) action_); } if (actionCase_ == 27) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 27, (com.google.spanner.executor.v1.PartitionedUpdateAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, (com.google.spanner.executor.v1.PartitionedUpdateAction) action_); } if (actionCase_ == 30) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 30, (com.google.spanner.executor.v1.AdminAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, (com.google.spanner.executor.v1.AdminAction) action_); } if (actionCase_ == 40) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 40, (com.google.spanner.executor.v1.StartBatchTransactionAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(40, (com.google.spanner.executor.v1.StartBatchTransactionAction) action_); } if (actionCase_ == 41) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 41, (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_); } if (actionCase_ == 42) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 42, (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(42, (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_); } if (actionCase_ == 43) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 43, (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(43, (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_); } if (actionCase_ == 44) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 44, (com.google.spanner.executor.v1.ExecutePartitionAction) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(44, (com.google.spanner.executor.v1.ExecutePartitionAction) action_); } if (actionCase_ == 50) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 50, (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(50, (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1221,67 +1007,80 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.SpannerAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.SpannerAction other = - (com.google.spanner.executor.v1.SpannerAction) obj; + com.google.spanner.executor.v1.SpannerAction other = (com.google.spanner.executor.v1.SpannerAction) obj; - if (!getDatabasePath().equals(other.getDatabasePath())) return false; + if (!getDatabasePath() + .equals(other.getDatabasePath())) return false; if (!getActionCase().equals(other.getActionCase())) return false; switch (actionCase_) { case 10: - if (!getStart().equals(other.getStart())) return false; + if (!getStart() + .equals(other.getStart())) return false; break; case 11: - if (!getFinish().equals(other.getFinish())) return false; + if (!getFinish() + .equals(other.getFinish())) return false; break; case 20: - if (!getRead().equals(other.getRead())) return false; + if (!getRead() + .equals(other.getRead())) return false; break; case 21: - if (!getQuery().equals(other.getQuery())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; break; case 22: - if (!getMutation().equals(other.getMutation())) return false; + if (!getMutation() + .equals(other.getMutation())) return false; break; case 23: - if (!getDml().equals(other.getDml())) return false; + if (!getDml() + .equals(other.getDml())) return false; break; case 24: - if (!getBatchDml().equals(other.getBatchDml())) return false; + if (!getBatchDml() + .equals(other.getBatchDml())) return false; break; case 25: - if (!getWrite().equals(other.getWrite())) return false; + if (!getWrite() + .equals(other.getWrite())) return false; break; case 27: - if (!getPartitionedUpdate().equals(other.getPartitionedUpdate())) return false; + if (!getPartitionedUpdate() + .equals(other.getPartitionedUpdate())) return false; break; case 30: - if (!getAdmin().equals(other.getAdmin())) return false; + if (!getAdmin() + .equals(other.getAdmin())) return false; break; case 40: - if (!getStartBatchTxn().equals(other.getStartBatchTxn())) return false; + if (!getStartBatchTxn() + .equals(other.getStartBatchTxn())) return false; break; case 41: - if (!getCloseBatchTxn().equals(other.getCloseBatchTxn())) return false; + if (!getCloseBatchTxn() + .equals(other.getCloseBatchTxn())) return false; break; case 42: - if (!getGenerateDbPartitionsRead().equals(other.getGenerateDbPartitionsRead())) - return false; + if (!getGenerateDbPartitionsRead() + .equals(other.getGenerateDbPartitionsRead())) return false; break; case 43: - if (!getGenerateDbPartitionsQuery().equals(other.getGenerateDbPartitionsQuery())) - return false; + if (!getGenerateDbPartitionsQuery() + .equals(other.getGenerateDbPartitionsQuery())) return false; break; case 44: - if (!getExecutePartition().equals(other.getExecutePartition())) return false; + if (!getExecutePartition() + .equals(other.getExecutePartition())) return false; break; case 50: - if (!getExecuteChangeStreamQuery().equals(other.getExecuteChangeStreamQuery())) - return false; + if (!getExecuteChangeStreamQuery() + .equals(other.getExecuteChangeStreamQuery())) return false; break; case 0: default: @@ -1372,104 +1171,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.SpannerAction parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.SpannerAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.SpannerAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.SpannerAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.SpannerAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.SpannerAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SpannerAction defines a primitive action that can be performed against
    * Spanner, such as begin or commit a transaction, or perform a read or
@@ -1478,32 +1272,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.SpannerAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.SpannerAction)
       com.google.spanner.executor.v1.SpannerActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_SpannerAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.SpannerAction.class,
-              com.google.spanner.executor.v1.SpannerAction.Builder.class);
+              com.google.spanner.executor.v1.SpannerAction.class, com.google.spanner.executor.v1.SpannerAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.SpannerAction.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1563,9 +1358,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_SpannerAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAction_descriptor;
     }
 
     @java.lang.Override
@@ -1584,11 +1379,8 @@ public com.google.spanner.executor.v1.SpannerAction build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.SpannerAction buildPartial() {
-      com.google.spanner.executor.v1.SpannerAction result =
-          new com.google.spanner.executor.v1.SpannerAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.SpannerAction result = new com.google.spanner.executor.v1.SpannerAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1604,52 +1396,68 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerAction result)
     private void buildPartialOneofs(com.google.spanner.executor.v1.SpannerAction result) {
       result.actionCase_ = actionCase_;
       result.action_ = this.action_;
-      if (actionCase_ == 10 && startBuilder_ != null) {
+      if (actionCase_ == 10 &&
+          startBuilder_ != null) {
         result.action_ = startBuilder_.build();
       }
-      if (actionCase_ == 11 && finishBuilder_ != null) {
+      if (actionCase_ == 11 &&
+          finishBuilder_ != null) {
         result.action_ = finishBuilder_.build();
       }
-      if (actionCase_ == 20 && readBuilder_ != null) {
+      if (actionCase_ == 20 &&
+          readBuilder_ != null) {
         result.action_ = readBuilder_.build();
       }
-      if (actionCase_ == 21 && queryBuilder_ != null) {
+      if (actionCase_ == 21 &&
+          queryBuilder_ != null) {
         result.action_ = queryBuilder_.build();
       }
-      if (actionCase_ == 22 && mutationBuilder_ != null) {
+      if (actionCase_ == 22 &&
+          mutationBuilder_ != null) {
         result.action_ = mutationBuilder_.build();
       }
-      if (actionCase_ == 23 && dmlBuilder_ != null) {
+      if (actionCase_ == 23 &&
+          dmlBuilder_ != null) {
         result.action_ = dmlBuilder_.build();
       }
-      if (actionCase_ == 24 && batchDmlBuilder_ != null) {
+      if (actionCase_ == 24 &&
+          batchDmlBuilder_ != null) {
         result.action_ = batchDmlBuilder_.build();
       }
-      if (actionCase_ == 25 && writeBuilder_ != null) {
+      if (actionCase_ == 25 &&
+          writeBuilder_ != null) {
         result.action_ = writeBuilder_.build();
       }
-      if (actionCase_ == 27 && partitionedUpdateBuilder_ != null) {
+      if (actionCase_ == 27 &&
+          partitionedUpdateBuilder_ != null) {
         result.action_ = partitionedUpdateBuilder_.build();
       }
-      if (actionCase_ == 30 && adminBuilder_ != null) {
+      if (actionCase_ == 30 &&
+          adminBuilder_ != null) {
         result.action_ = adminBuilder_.build();
       }
-      if (actionCase_ == 40 && startBatchTxnBuilder_ != null) {
+      if (actionCase_ == 40 &&
+          startBatchTxnBuilder_ != null) {
         result.action_ = startBatchTxnBuilder_.build();
       }
-      if (actionCase_ == 41 && closeBatchTxnBuilder_ != null) {
+      if (actionCase_ == 41 &&
+          closeBatchTxnBuilder_ != null) {
         result.action_ = closeBatchTxnBuilder_.build();
       }
-      if (actionCase_ == 42 && generateDbPartitionsReadBuilder_ != null) {
+      if (actionCase_ == 42 &&
+          generateDbPartitionsReadBuilder_ != null) {
         result.action_ = generateDbPartitionsReadBuilder_.build();
       }
-      if (actionCase_ == 43 && generateDbPartitionsQueryBuilder_ != null) {
+      if (actionCase_ == 43 &&
+          generateDbPartitionsQueryBuilder_ != null) {
         result.action_ = generateDbPartitionsQueryBuilder_.build();
       }
-      if (actionCase_ == 44 && executePartitionBuilder_ != null) {
+      if (actionCase_ == 44 &&
+          executePartitionBuilder_ != null) {
         result.action_ = executePartitionBuilder_.build();
       }
-      if (actionCase_ == 50 && executeChangeStreamQueryBuilder_ != null) {
+      if (actionCase_ == 50 &&
+          executeChangeStreamQueryBuilder_ != null) {
         result.action_ = executeChangeStreamQueryBuilder_.build();
       }
     }
@@ -1658,39 +1466,38 @@ private void buildPartialOneofs(com.google.spanner.executor.v1.SpannerAction res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.SpannerAction) {
-        return mergeFrom((com.google.spanner.executor.v1.SpannerAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.SpannerAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1705,90 +1512,73 @@ public Builder mergeFrom(com.google.spanner.executor.v1.SpannerAction other) {
         onChanged();
       }
       switch (other.getActionCase()) {
-        case START:
-          {
-            mergeStart(other.getStart());
-            break;
-          }
-        case FINISH:
-          {
-            mergeFinish(other.getFinish());
-            break;
-          }
-        case READ:
-          {
-            mergeRead(other.getRead());
-            break;
-          }
-        case QUERY:
-          {
-            mergeQuery(other.getQuery());
-            break;
-          }
-        case MUTATION:
-          {
-            mergeMutation(other.getMutation());
-            break;
-          }
-        case DML:
-          {
-            mergeDml(other.getDml());
-            break;
-          }
-        case BATCH_DML:
-          {
-            mergeBatchDml(other.getBatchDml());
-            break;
-          }
-        case WRITE:
-          {
-            mergeWrite(other.getWrite());
-            break;
-          }
-        case PARTITIONED_UPDATE:
-          {
-            mergePartitionedUpdate(other.getPartitionedUpdate());
-            break;
-          }
-        case ADMIN:
-          {
-            mergeAdmin(other.getAdmin());
-            break;
-          }
-        case START_BATCH_TXN:
-          {
-            mergeStartBatchTxn(other.getStartBatchTxn());
-            break;
-          }
-        case CLOSE_BATCH_TXN:
-          {
-            mergeCloseBatchTxn(other.getCloseBatchTxn());
-            break;
-          }
-        case GENERATE_DB_PARTITIONS_READ:
-          {
-            mergeGenerateDbPartitionsRead(other.getGenerateDbPartitionsRead());
-            break;
-          }
-        case GENERATE_DB_PARTITIONS_QUERY:
-          {
-            mergeGenerateDbPartitionsQuery(other.getGenerateDbPartitionsQuery());
-            break;
-          }
-        case EXECUTE_PARTITION:
-          {
-            mergeExecutePartition(other.getExecutePartition());
-            break;
-          }
-        case EXECUTE_CHANGE_STREAM_QUERY:
-          {
-            mergeExecuteChangeStreamQuery(other.getExecuteChangeStreamQuery());
-            break;
-          }
-        case ACTION_NOT_SET:
-          {
-            break;
-          }
+        case START: {
+          mergeStart(other.getStart());
+          break;
+        }
+        case FINISH: {
+          mergeFinish(other.getFinish());
+          break;
+        }
+        case READ: {
+          mergeRead(other.getRead());
+          break;
+        }
+        case QUERY: {
+          mergeQuery(other.getQuery());
+          break;
+        }
+        case MUTATION: {
+          mergeMutation(other.getMutation());
+          break;
+        }
+        case DML: {
+          mergeDml(other.getDml());
+          break;
+        }
+        case BATCH_DML: {
+          mergeBatchDml(other.getBatchDml());
+          break;
+        }
+        case WRITE: {
+          mergeWrite(other.getWrite());
+          break;
+        }
+        case PARTITIONED_UPDATE: {
+          mergePartitionedUpdate(other.getPartitionedUpdate());
+          break;
+        }
+        case ADMIN: {
+          mergeAdmin(other.getAdmin());
+          break;
+        }
+        case START_BATCH_TXN: {
+          mergeStartBatchTxn(other.getStartBatchTxn());
+          break;
+        }
+        case CLOSE_BATCH_TXN: {
+          mergeCloseBatchTxn(other.getCloseBatchTxn());
+          break;
+        }
+        case GENERATE_DB_PARTITIONS_READ: {
+          mergeGenerateDbPartitionsRead(other.getGenerateDbPartitionsRead());
+          break;
+        }
+        case GENERATE_DB_PARTITIONS_QUERY: {
+          mergeGenerateDbPartitionsQuery(other.getGenerateDbPartitionsQuery());
+          break;
+        }
+        case EXECUTE_PARTITION: {
+          mergeExecutePartition(other.getExecutePartition());
+          break;
+        }
+        case EXECUTE_CHANGE_STREAM_QUERY: {
+          mergeExecuteChangeStreamQuery(other.getExecuteChangeStreamQuery());
+          break;
+        }
+        case ACTION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1816,120 +1606,129 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                databasePath_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 82:
-              {
-                input.readMessage(getStartFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 10;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getFinishFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 11;
-                break;
-              } // case 90
-            case 162:
-              {
-                input.readMessage(getReadFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 20;
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 21;
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(getMutationFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 22;
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getDmlFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 23;
-                break;
-              } // case 186
-            case 194:
-              {
-                input.readMessage(getBatchDmlFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 24;
-                break;
-              } // case 194
-            case 202:
-              {
-                input.readMessage(getWriteFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 25;
-                break;
-              } // case 202
-            case 218:
-              {
-                input.readMessage(
-                    getPartitionedUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 27;
-                break;
-              } // case 218
-            case 242:
-              {
-                input.readMessage(getAdminFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 30;
-                break;
-              } // case 242
-            case 322:
-              {
-                input.readMessage(getStartBatchTxnFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 40;
-                break;
-              } // case 322
-            case 330:
-              {
-                input.readMessage(getCloseBatchTxnFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 41;
-                break;
-              } // case 330
-            case 338:
-              {
-                input.readMessage(
-                    getGenerateDbPartitionsReadFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 42;
-                break;
-              } // case 338
-            case 346:
-              {
-                input.readMessage(
-                    getGenerateDbPartitionsQueryFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 43;
-                break;
-              } // case 346
-            case 354:
-              {
-                input.readMessage(
-                    getExecutePartitionFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 44;
-                break;
-              } // case 354
-            case 402:
-              {
-                input.readMessage(
-                    getExecuteChangeStreamQueryFieldBuilder().getBuilder(), extensionRegistry);
-                actionCase_ = 50;
-                break;
-              } // case 402
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              databasePath_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 82: {
+              input.readMessage(
+                  getStartFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 10;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getFinishFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 11;
+              break;
+            } // case 90
+            case 162: {
+              input.readMessage(
+                  getReadFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 20;
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 21;
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getMutationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 22;
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getDmlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 23;
+              break;
+            } // case 186
+            case 194: {
+              input.readMessage(
+                  getBatchDmlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 24;
+              break;
+            } // case 194
+            case 202: {
+              input.readMessage(
+                  getWriteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 25;
+              break;
+            } // case 202
+            case 218: {
+              input.readMessage(
+                  getPartitionedUpdateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 27;
+              break;
+            } // case 218
+            case 242: {
+              input.readMessage(
+                  getAdminFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 30;
+              break;
+            } // case 242
+            case 322: {
+              input.readMessage(
+                  getStartBatchTxnFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 40;
+              break;
+            } // case 322
+            case 330: {
+              input.readMessage(
+                  getCloseBatchTxnFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 41;
+              break;
+            } // case 330
+            case 338: {
+              input.readMessage(
+                  getGenerateDbPartitionsReadFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 42;
+              break;
+            } // case 338
+            case 346: {
+              input.readMessage(
+                  getGenerateDbPartitionsQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 43;
+              break;
+            } // case 346
+            case 354: {
+              input.readMessage(
+                  getExecutePartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 44;
+              break;
+            } // case 354
+            case 402: {
+              input.readMessage(
+                  getExecuteChangeStreamQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              actionCase_ = 50;
+              break;
+            } // case 402
+            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) {
@@ -1939,12 +1738,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int actionCase_ = 0;
     private java.lang.Object action_;
-
-    public ActionCase getActionCase() {
-      return ActionCase.forNumber(actionCase_);
+    public ActionCase
+        getActionCase() {
+      return ActionCase.forNumber(
+          actionCase_);
     }
 
     public Builder clearAction() {
@@ -1958,8 +1757,6 @@ public Builder clearAction() {
 
     private java.lang.Object databasePath_ = "";
     /**
-     *
-     *
      * 
      * Database against which to perform action.
      * In a context where a series of actions take place, an action may omit
@@ -1967,13 +1764,13 @@ public Builder clearAction() {
      * 
* * string database_path = 1; - * * @return The databasePath. */ public java.lang.String getDatabasePath() { java.lang.Object ref = databasePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databasePath_ = s; return s; @@ -1982,8 +1779,6 @@ public java.lang.String getDatabasePath() { } } /** - * - * *
      * Database against which to perform action.
      * In a context where a series of actions take place, an action may omit
@@ -1991,14 +1786,15 @@ public java.lang.String getDatabasePath() {
      * 
* * string database_path = 1; - * * @return The bytes for databasePath. */ - public com.google.protobuf.ByteString getDatabasePathBytes() { + public com.google.protobuf.ByteString + getDatabasePathBytes() { java.lang.Object ref = databasePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databasePath_ = b; return b; } else { @@ -2006,8 +1802,6 @@ public com.google.protobuf.ByteString getDatabasePathBytes() { } } /** - * - * *
      * Database against which to perform action.
      * In a context where a series of actions take place, an action may omit
@@ -2015,22 +1809,18 @@ public com.google.protobuf.ByteString getDatabasePathBytes() {
      * 
* * string database_path = 1; - * * @param value The databasePath to set. * @return This builder for chaining. */ - public Builder setDatabasePath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabasePath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databasePath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Database against which to perform action.
      * In a context where a series of actions take place, an action may omit
@@ -2038,7 +1828,6 @@ public Builder setDatabasePath(java.lang.String value) {
      * 
* * string database_path = 1; - * * @return This builder for chaining. */ public Builder clearDatabasePath() { @@ -2048,8 +1837,6 @@ public Builder clearDatabasePath() { return this; } /** - * - * *
      * Database against which to perform action.
      * In a context where a series of actions take place, an action may omit
@@ -2057,14 +1844,12 @@ public Builder clearDatabasePath() {
      * 
* * string database_path = 1; - * * @param value The bytes for databasePath to set. * @return This builder for chaining. */ - public Builder setDatabasePathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabasePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databasePath_ = value; bitField0_ |= 0x00000001; @@ -2073,19 +1858,13 @@ public Builder setDatabasePathBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.StartTransactionAction, - com.google.spanner.executor.v1.StartTransactionAction.Builder, - com.google.spanner.executor.v1.StartTransactionActionOrBuilder> - startBuilder_; + com.google.spanner.executor.v1.StartTransactionAction, com.google.spanner.executor.v1.StartTransactionAction.Builder, com.google.spanner.executor.v1.StartTransactionActionOrBuilder> startBuilder_; /** - * - * *
      * Action to start a transaction.
      * 
* * .google.spanner.executor.v1.StartTransactionAction start = 10; - * * @return Whether the start field is set. */ @java.lang.Override @@ -2093,14 +1872,11 @@ public boolean hasStart() { return actionCase_ == 10; } /** - * - * *
      * Action to start a transaction.
      * 
* * .google.spanner.executor.v1.StartTransactionAction start = 10; - * * @return The start. */ @java.lang.Override @@ -2118,8 +1894,6 @@ public com.google.spanner.executor.v1.StartTransactionAction getStart() { } } /** - * - * *
      * Action to start a transaction.
      * 
@@ -2140,8 +1914,6 @@ public Builder setStart(com.google.spanner.executor.v1.StartTransactionAction va return this; } /** - * - * *
      * Action to start a transaction.
      * 
@@ -2160,8 +1932,6 @@ public Builder setStart( return this; } /** - * - * *
      * Action to start a transaction.
      * 
@@ -2170,14 +1940,10 @@ public Builder setStart( */ public Builder mergeStart(com.google.spanner.executor.v1.StartTransactionAction value) { if (startBuilder_ == null) { - if (actionCase_ == 10 - && action_ - != com.google.spanner.executor.v1.StartTransactionAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.StartTransactionAction.newBuilder( - (com.google.spanner.executor.v1.StartTransactionAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 10 && + action_ != com.google.spanner.executor.v1.StartTransactionAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.StartTransactionAction.newBuilder((com.google.spanner.executor.v1.StartTransactionAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -2193,8 +1959,6 @@ public Builder mergeStart(com.google.spanner.executor.v1.StartTransactionAction return this; } /** - * - * *
      * Action to start a transaction.
      * 
@@ -2218,8 +1982,6 @@ public Builder clearStart() { return this; } /** - * - * *
      * Action to start a transaction.
      * 
@@ -2230,8 +1992,6 @@ public com.google.spanner.executor.v1.StartTransactionAction.Builder getStartBui return getStartFieldBuilder().getBuilder(); } /** - * - * *
      * Action to start a transaction.
      * 
@@ -2250,8 +2010,6 @@ public com.google.spanner.executor.v1.StartTransactionActionOrBuilder getStartOr } } /** - * - * *
      * Action to start a transaction.
      * 
@@ -2259,19 +2017,14 @@ public com.google.spanner.executor.v1.StartTransactionActionOrBuilder getStartOr * .google.spanner.executor.v1.StartTransactionAction start = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.StartTransactionAction, - com.google.spanner.executor.v1.StartTransactionAction.Builder, - com.google.spanner.executor.v1.StartTransactionActionOrBuilder> + com.google.spanner.executor.v1.StartTransactionAction, com.google.spanner.executor.v1.StartTransactionAction.Builder, com.google.spanner.executor.v1.StartTransactionActionOrBuilder> getStartFieldBuilder() { if (startBuilder_ == null) { if (!(actionCase_ == 10)) { action_ = com.google.spanner.executor.v1.StartTransactionAction.getDefaultInstance(); } - startBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.StartTransactionAction, - com.google.spanner.executor.v1.StartTransactionAction.Builder, - com.google.spanner.executor.v1.StartTransactionActionOrBuilder>( + startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.StartTransactionAction, com.google.spanner.executor.v1.StartTransactionAction.Builder, com.google.spanner.executor.v1.StartTransactionActionOrBuilder>( (com.google.spanner.executor.v1.StartTransactionAction) action_, getParentForChildren(), isClean()); @@ -2283,19 +2036,13 @@ public com.google.spanner.executor.v1.StartTransactionActionOrBuilder getStartOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.FinishTransactionAction, - com.google.spanner.executor.v1.FinishTransactionAction.Builder, - com.google.spanner.executor.v1.FinishTransactionActionOrBuilder> - finishBuilder_; + com.google.spanner.executor.v1.FinishTransactionAction, com.google.spanner.executor.v1.FinishTransactionAction.Builder, com.google.spanner.executor.v1.FinishTransactionActionOrBuilder> finishBuilder_; /** - * - * *
      * Action to finish a transaction.
      * 
* * .google.spanner.executor.v1.FinishTransactionAction finish = 11; - * * @return Whether the finish field is set. */ @java.lang.Override @@ -2303,14 +2050,11 @@ public boolean hasFinish() { return actionCase_ == 11; } /** - * - * *
      * Action to finish a transaction.
      * 
* * .google.spanner.executor.v1.FinishTransactionAction finish = 11; - * * @return The finish. */ @java.lang.Override @@ -2328,8 +2072,6 @@ public com.google.spanner.executor.v1.FinishTransactionAction getFinish() { } } /** - * - * *
      * Action to finish a transaction.
      * 
@@ -2350,8 +2092,6 @@ public Builder setFinish(com.google.spanner.executor.v1.FinishTransactionAction return this; } /** - * - * *
      * Action to finish a transaction.
      * 
@@ -2370,8 +2110,6 @@ public Builder setFinish( return this; } /** - * - * *
      * Action to finish a transaction.
      * 
@@ -2380,14 +2118,10 @@ public Builder setFinish( */ public Builder mergeFinish(com.google.spanner.executor.v1.FinishTransactionAction value) { if (finishBuilder_ == null) { - if (actionCase_ == 11 - && action_ - != com.google.spanner.executor.v1.FinishTransactionAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.FinishTransactionAction.newBuilder( - (com.google.spanner.executor.v1.FinishTransactionAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 11 && + action_ != com.google.spanner.executor.v1.FinishTransactionAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.FinishTransactionAction.newBuilder((com.google.spanner.executor.v1.FinishTransactionAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -2403,8 +2137,6 @@ public Builder mergeFinish(com.google.spanner.executor.v1.FinishTransactionActio return this; } /** - * - * *
      * Action to finish a transaction.
      * 
@@ -2428,8 +2160,6 @@ public Builder clearFinish() { return this; } /** - * - * *
      * Action to finish a transaction.
      * 
@@ -2440,8 +2170,6 @@ public com.google.spanner.executor.v1.FinishTransactionAction.Builder getFinishB return getFinishFieldBuilder().getBuilder(); } /** - * - * *
      * Action to finish a transaction.
      * 
@@ -2460,8 +2188,6 @@ public com.google.spanner.executor.v1.FinishTransactionActionOrBuilder getFinish } } /** - * - * *
      * Action to finish a transaction.
      * 
@@ -2469,19 +2195,14 @@ public com.google.spanner.executor.v1.FinishTransactionActionOrBuilder getFinish * .google.spanner.executor.v1.FinishTransactionAction finish = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.FinishTransactionAction, - com.google.spanner.executor.v1.FinishTransactionAction.Builder, - com.google.spanner.executor.v1.FinishTransactionActionOrBuilder> + com.google.spanner.executor.v1.FinishTransactionAction, com.google.spanner.executor.v1.FinishTransactionAction.Builder, com.google.spanner.executor.v1.FinishTransactionActionOrBuilder> getFinishFieldBuilder() { if (finishBuilder_ == null) { if (!(actionCase_ == 11)) { action_ = com.google.spanner.executor.v1.FinishTransactionAction.getDefaultInstance(); } - finishBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.FinishTransactionAction, - com.google.spanner.executor.v1.FinishTransactionAction.Builder, - com.google.spanner.executor.v1.FinishTransactionActionOrBuilder>( + finishBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.FinishTransactionAction, com.google.spanner.executor.v1.FinishTransactionAction.Builder, com.google.spanner.executor.v1.FinishTransactionActionOrBuilder>( (com.google.spanner.executor.v1.FinishTransactionAction) action_, getParentForChildren(), isClean()); @@ -2493,19 +2214,13 @@ public com.google.spanner.executor.v1.FinishTransactionActionOrBuilder getFinish } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReadAction, - com.google.spanner.executor.v1.ReadAction.Builder, - com.google.spanner.executor.v1.ReadActionOrBuilder> - readBuilder_; + com.google.spanner.executor.v1.ReadAction, com.google.spanner.executor.v1.ReadAction.Builder, com.google.spanner.executor.v1.ReadActionOrBuilder> readBuilder_; /** - * - * *
      * Action to do a normal read.
      * 
* * .google.spanner.executor.v1.ReadAction read = 20; - * * @return Whether the read field is set. */ @java.lang.Override @@ -2513,14 +2228,11 @@ public boolean hasRead() { return actionCase_ == 20; } /** - * - * *
      * Action to do a normal read.
      * 
* * .google.spanner.executor.v1.ReadAction read = 20; - * * @return The read. */ @java.lang.Override @@ -2538,8 +2250,6 @@ public com.google.spanner.executor.v1.ReadAction getRead() { } } /** - * - * *
      * Action to do a normal read.
      * 
@@ -2560,15 +2270,14 @@ public Builder setRead(com.google.spanner.executor.v1.ReadAction value) { return this; } /** - * - * *
      * Action to do a normal read.
      * 
* * .google.spanner.executor.v1.ReadAction read = 20; */ - public Builder setRead(com.google.spanner.executor.v1.ReadAction.Builder builderForValue) { + public Builder setRead( + com.google.spanner.executor.v1.ReadAction.Builder builderForValue) { if (readBuilder_ == null) { action_ = builderForValue.build(); onChanged(); @@ -2579,8 +2288,6 @@ public Builder setRead(com.google.spanner.executor.v1.ReadAction.Builder builder return this; } /** - * - * *
      * Action to do a normal read.
      * 
@@ -2589,13 +2296,10 @@ public Builder setRead(com.google.spanner.executor.v1.ReadAction.Builder builder */ public Builder mergeRead(com.google.spanner.executor.v1.ReadAction value) { if (readBuilder_ == null) { - if (actionCase_ == 20 - && action_ != com.google.spanner.executor.v1.ReadAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ReadAction.newBuilder( - (com.google.spanner.executor.v1.ReadAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 20 && + action_ != com.google.spanner.executor.v1.ReadAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ReadAction.newBuilder((com.google.spanner.executor.v1.ReadAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -2611,8 +2315,6 @@ public Builder mergeRead(com.google.spanner.executor.v1.ReadAction value) { return this; } /** - * - * *
      * Action to do a normal read.
      * 
@@ -2636,8 +2338,6 @@ public Builder clearRead() { return this; } /** - * - * *
      * Action to do a normal read.
      * 
@@ -2648,8 +2348,6 @@ public com.google.spanner.executor.v1.ReadAction.Builder getReadBuilder() { return getReadFieldBuilder().getBuilder(); } /** - * - * *
      * Action to do a normal read.
      * 
@@ -2668,8 +2366,6 @@ public com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder() { } } /** - * - * *
      * Action to do a normal read.
      * 
@@ -2677,19 +2373,14 @@ public com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder() { * .google.spanner.executor.v1.ReadAction read = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReadAction, - com.google.spanner.executor.v1.ReadAction.Builder, - com.google.spanner.executor.v1.ReadActionOrBuilder> + com.google.spanner.executor.v1.ReadAction, com.google.spanner.executor.v1.ReadAction.Builder, com.google.spanner.executor.v1.ReadActionOrBuilder> getReadFieldBuilder() { if (readBuilder_ == null) { if (!(actionCase_ == 20)) { action_ = com.google.spanner.executor.v1.ReadAction.getDefaultInstance(); } - readBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReadAction, - com.google.spanner.executor.v1.ReadAction.Builder, - com.google.spanner.executor.v1.ReadActionOrBuilder>( + readBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ReadAction, com.google.spanner.executor.v1.ReadAction.Builder, com.google.spanner.executor.v1.ReadActionOrBuilder>( (com.google.spanner.executor.v1.ReadAction) action_, getParentForChildren(), isClean()); @@ -2701,19 +2392,13 @@ public com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> - queryBuilder_; + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> queryBuilder_; /** - * - * *
      * Action to do a query.
      * 
* * .google.spanner.executor.v1.QueryAction query = 21; - * * @return Whether the query field is set. */ @java.lang.Override @@ -2721,14 +2406,11 @@ public boolean hasQuery() { return actionCase_ == 21; } /** - * - * *
      * Action to do a query.
      * 
* * .google.spanner.executor.v1.QueryAction query = 21; - * * @return The query. */ @java.lang.Override @@ -2746,8 +2428,6 @@ public com.google.spanner.executor.v1.QueryAction getQuery() { } } /** - * - * *
      * Action to do a query.
      * 
@@ -2768,15 +2448,14 @@ public Builder setQuery(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * Action to do a query.
      * 
* * .google.spanner.executor.v1.QueryAction query = 21; */ - public Builder setQuery(com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { + public Builder setQuery( + com.google.spanner.executor.v1.QueryAction.Builder builderForValue) { if (queryBuilder_ == null) { action_ = builderForValue.build(); onChanged(); @@ -2787,8 +2466,6 @@ public Builder setQuery(com.google.spanner.executor.v1.QueryAction.Builder build return this; } /** - * - * *
      * Action to do a query.
      * 
@@ -2797,13 +2474,10 @@ public Builder setQuery(com.google.spanner.executor.v1.QueryAction.Builder build */ public Builder mergeQuery(com.google.spanner.executor.v1.QueryAction value) { if (queryBuilder_ == null) { - if (actionCase_ == 21 - && action_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.QueryAction.newBuilder( - (com.google.spanner.executor.v1.QueryAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 21 && + action_ != com.google.spanner.executor.v1.QueryAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.QueryAction.newBuilder((com.google.spanner.executor.v1.QueryAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -2819,8 +2493,6 @@ public Builder mergeQuery(com.google.spanner.executor.v1.QueryAction value) { return this; } /** - * - * *
      * Action to do a query.
      * 
@@ -2844,8 +2516,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * Action to do a query.
      * 
@@ -2856,8 +2526,6 @@ public com.google.spanner.executor.v1.QueryAction.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Action to do a query.
      * 
@@ -2876,8 +2544,6 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder() { } } /** - * - * *
      * Action to do a query.
      * 
@@ -2885,19 +2551,14 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder() { * .google.spanner.executor.v1.QueryAction query = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder> + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(actionCase_ == 21)) { action_ = com.google.spanner.executor.v1.QueryAction.getDefaultInstance(); } - queryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.QueryAction, - com.google.spanner.executor.v1.QueryAction.Builder, - com.google.spanner.executor.v1.QueryActionOrBuilder>( + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.QueryAction, com.google.spanner.executor.v1.QueryAction.Builder, com.google.spanner.executor.v1.QueryActionOrBuilder>( (com.google.spanner.executor.v1.QueryAction) action_, getParentForChildren(), isClean()); @@ -2909,19 +2570,13 @@ public com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction, - com.google.spanner.executor.v1.MutationAction.Builder, - com.google.spanner.executor.v1.MutationActionOrBuilder> - mutationBuilder_; + com.google.spanner.executor.v1.MutationAction, com.google.spanner.executor.v1.MutationAction.Builder, com.google.spanner.executor.v1.MutationActionOrBuilder> mutationBuilder_; /** - * - * *
      * Action to buffer a mutation.
      * 
* * .google.spanner.executor.v1.MutationAction mutation = 22; - * * @return Whether the mutation field is set. */ @java.lang.Override @@ -2929,14 +2584,11 @@ public boolean hasMutation() { return actionCase_ == 22; } /** - * - * *
      * Action to buffer a mutation.
      * 
* * .google.spanner.executor.v1.MutationAction mutation = 22; - * * @return The mutation. */ @java.lang.Override @@ -2953,9 +2605,7 @@ public com.google.spanner.executor.v1.MutationAction getMutation() { return com.google.spanner.executor.v1.MutationAction.getDefaultInstance(); } } - /** - * - * + /** *
      * Action to buffer a mutation.
      * 
@@ -2976,8 +2626,6 @@ public Builder setMutation(com.google.spanner.executor.v1.MutationAction value) return this; } /** - * - * *
      * Action to buffer a mutation.
      * 
@@ -2996,8 +2644,6 @@ public Builder setMutation( return this; } /** - * - * *
      * Action to buffer a mutation.
      * 
@@ -3006,13 +2652,10 @@ public Builder setMutation( */ public Builder mergeMutation(com.google.spanner.executor.v1.MutationAction value) { if (mutationBuilder_ == null) { - if (actionCase_ == 22 - && action_ != com.google.spanner.executor.v1.MutationAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.MutationAction.newBuilder( - (com.google.spanner.executor.v1.MutationAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 22 && + action_ != com.google.spanner.executor.v1.MutationAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.MutationAction.newBuilder((com.google.spanner.executor.v1.MutationAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3028,8 +2671,6 @@ public Builder mergeMutation(com.google.spanner.executor.v1.MutationAction value return this; } /** - * - * *
      * Action to buffer a mutation.
      * 
@@ -3053,8 +2694,6 @@ public Builder clearMutation() { return this; } /** - * - * *
      * Action to buffer a mutation.
      * 
@@ -3065,8 +2704,6 @@ public com.google.spanner.executor.v1.MutationAction.Builder getMutationBuilder( return getMutationFieldBuilder().getBuilder(); } /** - * - * *
      * Action to buffer a mutation.
      * 
@@ -3085,8 +2722,6 @@ public com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuild } } /** - * - * *
      * Action to buffer a mutation.
      * 
@@ -3094,19 +2729,14 @@ public com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuild * .google.spanner.executor.v1.MutationAction mutation = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction, - com.google.spanner.executor.v1.MutationAction.Builder, - com.google.spanner.executor.v1.MutationActionOrBuilder> + com.google.spanner.executor.v1.MutationAction, com.google.spanner.executor.v1.MutationAction.Builder, com.google.spanner.executor.v1.MutationActionOrBuilder> getMutationFieldBuilder() { if (mutationBuilder_ == null) { if (!(actionCase_ == 22)) { action_ = com.google.spanner.executor.v1.MutationAction.getDefaultInstance(); } - mutationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction, - com.google.spanner.executor.v1.MutationAction.Builder, - com.google.spanner.executor.v1.MutationActionOrBuilder>( + mutationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.MutationAction, com.google.spanner.executor.v1.MutationAction.Builder, com.google.spanner.executor.v1.MutationActionOrBuilder>( (com.google.spanner.executor.v1.MutationAction) action_, getParentForChildren(), isClean()); @@ -3118,19 +2748,13 @@ public com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DmlAction, - com.google.spanner.executor.v1.DmlAction.Builder, - com.google.spanner.executor.v1.DmlActionOrBuilder> - dmlBuilder_; + com.google.spanner.executor.v1.DmlAction, com.google.spanner.executor.v1.DmlAction.Builder, com.google.spanner.executor.v1.DmlActionOrBuilder> dmlBuilder_; /** - * - * *
      * Action to a DML.
      * 
* * .google.spanner.executor.v1.DmlAction dml = 23; - * * @return Whether the dml field is set. */ @java.lang.Override @@ -3138,14 +2762,11 @@ public boolean hasDml() { return actionCase_ == 23; } /** - * - * *
      * Action to a DML.
      * 
* * .google.spanner.executor.v1.DmlAction dml = 23; - * * @return The dml. */ @java.lang.Override @@ -3163,8 +2784,6 @@ public com.google.spanner.executor.v1.DmlAction getDml() { } } /** - * - * *
      * Action to a DML.
      * 
@@ -3185,15 +2804,14 @@ public Builder setDml(com.google.spanner.executor.v1.DmlAction value) { return this; } /** - * - * *
      * Action to a DML.
      * 
* * .google.spanner.executor.v1.DmlAction dml = 23; */ - public Builder setDml(com.google.spanner.executor.v1.DmlAction.Builder builderForValue) { + public Builder setDml( + com.google.spanner.executor.v1.DmlAction.Builder builderForValue) { if (dmlBuilder_ == null) { action_ = builderForValue.build(); onChanged(); @@ -3204,8 +2822,6 @@ public Builder setDml(com.google.spanner.executor.v1.DmlAction.Builder builderFo return this; } /** - * - * *
      * Action to a DML.
      * 
@@ -3214,13 +2830,10 @@ public Builder setDml(com.google.spanner.executor.v1.DmlAction.Builder builderFo */ public Builder mergeDml(com.google.spanner.executor.v1.DmlAction value) { if (dmlBuilder_ == null) { - if (actionCase_ == 23 - && action_ != com.google.spanner.executor.v1.DmlAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.DmlAction.newBuilder( - (com.google.spanner.executor.v1.DmlAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 23 && + action_ != com.google.spanner.executor.v1.DmlAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.DmlAction.newBuilder((com.google.spanner.executor.v1.DmlAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3236,8 +2849,6 @@ public Builder mergeDml(com.google.spanner.executor.v1.DmlAction value) { return this; } /** - * - * *
      * Action to a DML.
      * 
@@ -3261,8 +2872,6 @@ public Builder clearDml() { return this; } /** - * - * *
      * Action to a DML.
      * 
@@ -3273,8 +2882,6 @@ public com.google.spanner.executor.v1.DmlAction.Builder getDmlBuilder() { return getDmlFieldBuilder().getBuilder(); } /** - * - * *
      * Action to a DML.
      * 
@@ -3293,8 +2900,6 @@ public com.google.spanner.executor.v1.DmlActionOrBuilder getDmlOrBuilder() { } } /** - * - * *
      * Action to a DML.
      * 
@@ -3302,19 +2907,14 @@ public com.google.spanner.executor.v1.DmlActionOrBuilder getDmlOrBuilder() { * .google.spanner.executor.v1.DmlAction dml = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DmlAction, - com.google.spanner.executor.v1.DmlAction.Builder, - com.google.spanner.executor.v1.DmlActionOrBuilder> + com.google.spanner.executor.v1.DmlAction, com.google.spanner.executor.v1.DmlAction.Builder, com.google.spanner.executor.v1.DmlActionOrBuilder> getDmlFieldBuilder() { if (dmlBuilder_ == null) { if (!(actionCase_ == 23)) { action_ = com.google.spanner.executor.v1.DmlAction.getDefaultInstance(); } - dmlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.DmlAction, - com.google.spanner.executor.v1.DmlAction.Builder, - com.google.spanner.executor.v1.DmlActionOrBuilder>( + dmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.DmlAction, com.google.spanner.executor.v1.DmlAction.Builder, com.google.spanner.executor.v1.DmlActionOrBuilder>( (com.google.spanner.executor.v1.DmlAction) action_, getParentForChildren(), isClean()); @@ -3326,19 +2926,13 @@ public com.google.spanner.executor.v1.DmlActionOrBuilder getDmlOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.BatchDmlAction, - com.google.spanner.executor.v1.BatchDmlAction.Builder, - com.google.spanner.executor.v1.BatchDmlActionOrBuilder> - batchDmlBuilder_; + com.google.spanner.executor.v1.BatchDmlAction, com.google.spanner.executor.v1.BatchDmlAction.Builder, com.google.spanner.executor.v1.BatchDmlActionOrBuilder> batchDmlBuilder_; /** - * - * *
      * Action to a batch DML.
      * 
* * .google.spanner.executor.v1.BatchDmlAction batch_dml = 24; - * * @return Whether the batchDml field is set. */ @java.lang.Override @@ -3346,14 +2940,11 @@ public boolean hasBatchDml() { return actionCase_ == 24; } /** - * - * *
      * Action to a batch DML.
      * 
* * .google.spanner.executor.v1.BatchDmlAction batch_dml = 24; - * * @return The batchDml. */ @java.lang.Override @@ -3371,8 +2962,6 @@ public com.google.spanner.executor.v1.BatchDmlAction getBatchDml() { } } /** - * - * *
      * Action to a batch DML.
      * 
@@ -3393,8 +2982,6 @@ public Builder setBatchDml(com.google.spanner.executor.v1.BatchDmlAction value) return this; } /** - * - * *
      * Action to a batch DML.
      * 
@@ -3413,8 +3000,6 @@ public Builder setBatchDml( return this; } /** - * - * *
      * Action to a batch DML.
      * 
@@ -3423,13 +3008,10 @@ public Builder setBatchDml( */ public Builder mergeBatchDml(com.google.spanner.executor.v1.BatchDmlAction value) { if (batchDmlBuilder_ == null) { - if (actionCase_ == 24 - && action_ != com.google.spanner.executor.v1.BatchDmlAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.BatchDmlAction.newBuilder( - (com.google.spanner.executor.v1.BatchDmlAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 24 && + action_ != com.google.spanner.executor.v1.BatchDmlAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.BatchDmlAction.newBuilder((com.google.spanner.executor.v1.BatchDmlAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3445,8 +3027,6 @@ public Builder mergeBatchDml(com.google.spanner.executor.v1.BatchDmlAction value return this; } /** - * - * *
      * Action to a batch DML.
      * 
@@ -3470,8 +3050,6 @@ public Builder clearBatchDml() { return this; } /** - * - * *
      * Action to a batch DML.
      * 
@@ -3482,8 +3060,6 @@ public com.google.spanner.executor.v1.BatchDmlAction.Builder getBatchDmlBuilder( return getBatchDmlFieldBuilder().getBuilder(); } /** - * - * *
      * Action to a batch DML.
      * 
@@ -3502,8 +3078,6 @@ public com.google.spanner.executor.v1.BatchDmlActionOrBuilder getBatchDmlOrBuild } } /** - * - * *
      * Action to a batch DML.
      * 
@@ -3511,19 +3085,14 @@ public com.google.spanner.executor.v1.BatchDmlActionOrBuilder getBatchDmlOrBuild * .google.spanner.executor.v1.BatchDmlAction batch_dml = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.BatchDmlAction, - com.google.spanner.executor.v1.BatchDmlAction.Builder, - com.google.spanner.executor.v1.BatchDmlActionOrBuilder> + com.google.spanner.executor.v1.BatchDmlAction, com.google.spanner.executor.v1.BatchDmlAction.Builder, com.google.spanner.executor.v1.BatchDmlActionOrBuilder> getBatchDmlFieldBuilder() { if (batchDmlBuilder_ == null) { if (!(actionCase_ == 24)) { action_ = com.google.spanner.executor.v1.BatchDmlAction.getDefaultInstance(); } - batchDmlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.BatchDmlAction, - com.google.spanner.executor.v1.BatchDmlAction.Builder, - com.google.spanner.executor.v1.BatchDmlActionOrBuilder>( + batchDmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.BatchDmlAction, com.google.spanner.executor.v1.BatchDmlAction.Builder, com.google.spanner.executor.v1.BatchDmlActionOrBuilder>( (com.google.spanner.executor.v1.BatchDmlAction) action_, getParentForChildren(), isClean()); @@ -3535,19 +3104,13 @@ public com.google.spanner.executor.v1.BatchDmlActionOrBuilder getBatchDmlOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.WriteMutationsAction, - com.google.spanner.executor.v1.WriteMutationsAction.Builder, - com.google.spanner.executor.v1.WriteMutationsActionOrBuilder> - writeBuilder_; + com.google.spanner.executor.v1.WriteMutationsAction, com.google.spanner.executor.v1.WriteMutationsAction.Builder, com.google.spanner.executor.v1.WriteMutationsActionOrBuilder> writeBuilder_; /** - * - * *
      * Action to write a mutation.
      * 
* * .google.spanner.executor.v1.WriteMutationsAction write = 25; - * * @return Whether the write field is set. */ @java.lang.Override @@ -3555,14 +3118,11 @@ public boolean hasWrite() { return actionCase_ == 25; } /** - * - * *
      * Action to write a mutation.
      * 
* * .google.spanner.executor.v1.WriteMutationsAction write = 25; - * * @return The write. */ @java.lang.Override @@ -3580,8 +3140,6 @@ public com.google.spanner.executor.v1.WriteMutationsAction getWrite() { } } /** - * - * *
      * Action to write a mutation.
      * 
@@ -3602,8 +3160,6 @@ public Builder setWrite(com.google.spanner.executor.v1.WriteMutationsAction valu return this; } /** - * - * *
      * Action to write a mutation.
      * 
@@ -3622,8 +3178,6 @@ public Builder setWrite( return this; } /** - * - * *
      * Action to write a mutation.
      * 
@@ -3632,14 +3186,10 @@ public Builder setWrite( */ public Builder mergeWrite(com.google.spanner.executor.v1.WriteMutationsAction value) { if (writeBuilder_ == null) { - if (actionCase_ == 25 - && action_ - != com.google.spanner.executor.v1.WriteMutationsAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.WriteMutationsAction.newBuilder( - (com.google.spanner.executor.v1.WriteMutationsAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 25 && + action_ != com.google.spanner.executor.v1.WriteMutationsAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.WriteMutationsAction.newBuilder((com.google.spanner.executor.v1.WriteMutationsAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3655,8 +3205,6 @@ public Builder mergeWrite(com.google.spanner.executor.v1.WriteMutationsAction va return this; } /** - * - * *
      * Action to write a mutation.
      * 
@@ -3680,8 +3228,6 @@ public Builder clearWrite() { return this; } /** - * - * *
      * Action to write a mutation.
      * 
@@ -3692,8 +3238,6 @@ public com.google.spanner.executor.v1.WriteMutationsAction.Builder getWriteBuild return getWriteFieldBuilder().getBuilder(); } /** - * - * *
      * Action to write a mutation.
      * 
@@ -3712,8 +3256,6 @@ public com.google.spanner.executor.v1.WriteMutationsActionOrBuilder getWriteOrBu } } /** - * - * *
      * Action to write a mutation.
      * 
@@ -3721,19 +3263,14 @@ public com.google.spanner.executor.v1.WriteMutationsActionOrBuilder getWriteOrBu * .google.spanner.executor.v1.WriteMutationsAction write = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.WriteMutationsAction, - com.google.spanner.executor.v1.WriteMutationsAction.Builder, - com.google.spanner.executor.v1.WriteMutationsActionOrBuilder> + com.google.spanner.executor.v1.WriteMutationsAction, com.google.spanner.executor.v1.WriteMutationsAction.Builder, com.google.spanner.executor.v1.WriteMutationsActionOrBuilder> getWriteFieldBuilder() { if (writeBuilder_ == null) { if (!(actionCase_ == 25)) { action_ = com.google.spanner.executor.v1.WriteMutationsAction.getDefaultInstance(); } - writeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.WriteMutationsAction, - com.google.spanner.executor.v1.WriteMutationsAction.Builder, - com.google.spanner.executor.v1.WriteMutationsActionOrBuilder>( + writeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.WriteMutationsAction, com.google.spanner.executor.v1.WriteMutationsAction.Builder, com.google.spanner.executor.v1.WriteMutationsActionOrBuilder>( (com.google.spanner.executor.v1.WriteMutationsAction) action_, getParentForChildren(), isClean()); @@ -3745,19 +3282,13 @@ public com.google.spanner.executor.v1.WriteMutationsActionOrBuilder getWriteOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.PartitionedUpdateAction, - com.google.spanner.executor.v1.PartitionedUpdateAction.Builder, - com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder> - partitionedUpdateBuilder_; + com.google.spanner.executor.v1.PartitionedUpdateAction, com.google.spanner.executor.v1.PartitionedUpdateAction.Builder, com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder> partitionedUpdateBuilder_; /** - * - * *
      * Action to a partitioned update.
      * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; - * * @return Whether the partitionedUpdate field is set. */ @java.lang.Override @@ -3765,14 +3296,11 @@ public boolean hasPartitionedUpdate() { return actionCase_ == 27; } /** - * - * *
      * Action to a partitioned update.
      * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; - * * @return The partitionedUpdate. */ @java.lang.Override @@ -3790,16 +3318,13 @@ public com.google.spanner.executor.v1.PartitionedUpdateAction getPartitionedUpda } } /** - * - * *
      * Action to a partitioned update.
      * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; */ - public Builder setPartitionedUpdate( - com.google.spanner.executor.v1.PartitionedUpdateAction value) { + public Builder setPartitionedUpdate(com.google.spanner.executor.v1.PartitionedUpdateAction value) { if (partitionedUpdateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3813,8 +3338,6 @@ public Builder setPartitionedUpdate( return this; } /** - * - * *
      * Action to a partitioned update.
      * 
@@ -3833,25 +3356,18 @@ public Builder setPartitionedUpdate( return this; } /** - * - * *
      * Action to a partitioned update.
      * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; */ - public Builder mergePartitionedUpdate( - com.google.spanner.executor.v1.PartitionedUpdateAction value) { + public Builder mergePartitionedUpdate(com.google.spanner.executor.v1.PartitionedUpdateAction value) { if (partitionedUpdateBuilder_ == null) { - if (actionCase_ == 27 - && action_ - != com.google.spanner.executor.v1.PartitionedUpdateAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.PartitionedUpdateAction.newBuilder( - (com.google.spanner.executor.v1.PartitionedUpdateAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 27 && + action_ != com.google.spanner.executor.v1.PartitionedUpdateAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.PartitionedUpdateAction.newBuilder((com.google.spanner.executor.v1.PartitionedUpdateAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3867,8 +3383,6 @@ public Builder mergePartitionedUpdate( return this; } /** - * - * *
      * Action to a partitioned update.
      * 
@@ -3892,21 +3406,16 @@ public Builder clearPartitionedUpdate() { return this; } /** - * - * *
      * Action to a partitioned update.
      * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; */ - public com.google.spanner.executor.v1.PartitionedUpdateAction.Builder - getPartitionedUpdateBuilder() { + public com.google.spanner.executor.v1.PartitionedUpdateAction.Builder getPartitionedUpdateBuilder() { return getPartitionedUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * Action to a partitioned update.
      * 
@@ -3914,8 +3423,7 @@ public Builder clearPartitionedUpdate() { * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; */ @java.lang.Override - public com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder - getPartitionedUpdateOrBuilder() { + public com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder getPartitionedUpdateOrBuilder() { if ((actionCase_ == 27) && (partitionedUpdateBuilder_ != null)) { return partitionedUpdateBuilder_.getMessageOrBuilder(); } else { @@ -3926,8 +3434,6 @@ public Builder clearPartitionedUpdate() { } } /** - * - * *
      * Action to a partitioned update.
      * 
@@ -3935,19 +3441,14 @@ public Builder clearPartitionedUpdate() { * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.PartitionedUpdateAction, - com.google.spanner.executor.v1.PartitionedUpdateAction.Builder, - com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder> + com.google.spanner.executor.v1.PartitionedUpdateAction, com.google.spanner.executor.v1.PartitionedUpdateAction.Builder, com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder> getPartitionedUpdateFieldBuilder() { if (partitionedUpdateBuilder_ == null) { if (!(actionCase_ == 27)) { action_ = com.google.spanner.executor.v1.PartitionedUpdateAction.getDefaultInstance(); } - partitionedUpdateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.PartitionedUpdateAction, - com.google.spanner.executor.v1.PartitionedUpdateAction.Builder, - com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder>( + partitionedUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.PartitionedUpdateAction, com.google.spanner.executor.v1.PartitionedUpdateAction.Builder, com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder>( (com.google.spanner.executor.v1.PartitionedUpdateAction) action_, getParentForChildren(), isClean()); @@ -3959,20 +3460,14 @@ public Builder clearPartitionedUpdate() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.AdminAction, - com.google.spanner.executor.v1.AdminAction.Builder, - com.google.spanner.executor.v1.AdminActionOrBuilder> - adminBuilder_; + com.google.spanner.executor.v1.AdminAction, com.google.spanner.executor.v1.AdminAction.Builder, com.google.spanner.executor.v1.AdminActionOrBuilder> adminBuilder_; /** - * - * *
      * Action that contains any administrative operation, like database,
      * instance manipulation.
      * 
* * .google.spanner.executor.v1.AdminAction admin = 30; - * * @return Whether the admin field is set. */ @java.lang.Override @@ -3980,15 +3475,12 @@ public boolean hasAdmin() { return actionCase_ == 30; } /** - * - * *
      * Action that contains any administrative operation, like database,
      * instance manipulation.
      * 
* * .google.spanner.executor.v1.AdminAction admin = 30; - * * @return The admin. */ @java.lang.Override @@ -4006,8 +3498,6 @@ public com.google.spanner.executor.v1.AdminAction getAdmin() { } } /** - * - * *
      * Action that contains any administrative operation, like database,
      * instance manipulation.
@@ -4029,8 +3519,6 @@ public Builder setAdmin(com.google.spanner.executor.v1.AdminAction value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Action that contains any administrative operation, like database,
      * instance manipulation.
@@ -4038,7 +3526,8 @@ public Builder setAdmin(com.google.spanner.executor.v1.AdminAction value) {
      *
      * .google.spanner.executor.v1.AdminAction admin = 30;
      */
-    public Builder setAdmin(com.google.spanner.executor.v1.AdminAction.Builder builderForValue) {
+    public Builder setAdmin(
+        com.google.spanner.executor.v1.AdminAction.Builder builderForValue) {
       if (adminBuilder_ == null) {
         action_ = builderForValue.build();
         onChanged();
@@ -4049,8 +3538,6 @@ public Builder setAdmin(com.google.spanner.executor.v1.AdminAction.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Action that contains any administrative operation, like database,
      * instance manipulation.
@@ -4060,13 +3547,10 @@ public Builder setAdmin(com.google.spanner.executor.v1.AdminAction.Builder build
      */
     public Builder mergeAdmin(com.google.spanner.executor.v1.AdminAction value) {
       if (adminBuilder_ == null) {
-        if (actionCase_ == 30
-            && action_ != com.google.spanner.executor.v1.AdminAction.getDefaultInstance()) {
-          action_ =
-              com.google.spanner.executor.v1.AdminAction.newBuilder(
-                      (com.google.spanner.executor.v1.AdminAction) action_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (actionCase_ == 30 &&
+            action_ != com.google.spanner.executor.v1.AdminAction.getDefaultInstance()) {
+          action_ = com.google.spanner.executor.v1.AdminAction.newBuilder((com.google.spanner.executor.v1.AdminAction) action_)
+              .mergeFrom(value).buildPartial();
         } else {
           action_ = value;
         }
@@ -4082,8 +3566,6 @@ public Builder mergeAdmin(com.google.spanner.executor.v1.AdminAction value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Action that contains any administrative operation, like database,
      * instance manipulation.
@@ -4108,8 +3590,6 @@ public Builder clearAdmin() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Action that contains any administrative operation, like database,
      * instance manipulation.
@@ -4121,8 +3601,6 @@ public com.google.spanner.executor.v1.AdminAction.Builder getAdminBuilder() {
       return getAdminFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Action that contains any administrative operation, like database,
      * instance manipulation.
@@ -4142,8 +3620,6 @@ public com.google.spanner.executor.v1.AdminActionOrBuilder getAdminOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Action that contains any administrative operation, like database,
      * instance manipulation.
@@ -4152,19 +3628,14 @@ public com.google.spanner.executor.v1.AdminActionOrBuilder getAdminOrBuilder() {
      * .google.spanner.executor.v1.AdminAction admin = 30;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.AdminAction,
-            com.google.spanner.executor.v1.AdminAction.Builder,
-            com.google.spanner.executor.v1.AdminActionOrBuilder>
+        com.google.spanner.executor.v1.AdminAction, com.google.spanner.executor.v1.AdminAction.Builder, com.google.spanner.executor.v1.AdminActionOrBuilder> 
         getAdminFieldBuilder() {
       if (adminBuilder_ == null) {
         if (!(actionCase_ == 30)) {
           action_ = com.google.spanner.executor.v1.AdminAction.getDefaultInstance();
         }
-        adminBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.AdminAction,
-                com.google.spanner.executor.v1.AdminAction.Builder,
-                com.google.spanner.executor.v1.AdminActionOrBuilder>(
+        adminBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.AdminAction, com.google.spanner.executor.v1.AdminAction.Builder, com.google.spanner.executor.v1.AdminActionOrBuilder>(
                 (com.google.spanner.executor.v1.AdminAction) action_,
                 getParentForChildren(),
                 isClean());
@@ -4176,19 +3647,13 @@ public com.google.spanner.executor.v1.AdminActionOrBuilder getAdminOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.StartBatchTransactionAction,
-            com.google.spanner.executor.v1.StartBatchTransactionAction.Builder,
-            com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder>
-        startBatchTxnBuilder_;
+        com.google.spanner.executor.v1.StartBatchTransactionAction, com.google.spanner.executor.v1.StartBatchTransactionAction.Builder, com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder> startBatchTxnBuilder_;
     /**
-     *
-     *
      * 
      * Action to start a batch transaction.
      * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; - * * @return Whether the startBatchTxn field is set. */ @java.lang.Override @@ -4196,14 +3661,11 @@ public boolean hasStartBatchTxn() { return actionCase_ == 40; } /** - * - * *
      * Action to start a batch transaction.
      * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; - * * @return The startBatchTxn. */ @java.lang.Override @@ -4221,16 +3683,13 @@ public com.google.spanner.executor.v1.StartBatchTransactionAction getStartBatchT } } /** - * - * *
      * Action to start a batch transaction.
      * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; */ - public Builder setStartBatchTxn( - com.google.spanner.executor.v1.StartBatchTransactionAction value) { + public Builder setStartBatchTxn(com.google.spanner.executor.v1.StartBatchTransactionAction value) { if (startBatchTxnBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4244,8 +3703,6 @@ public Builder setStartBatchTxn( return this; } /** - * - * *
      * Action to start a batch transaction.
      * 
@@ -4264,26 +3721,18 @@ public Builder setStartBatchTxn( return this; } /** - * - * *
      * Action to start a batch transaction.
      * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; */ - public Builder mergeStartBatchTxn( - com.google.spanner.executor.v1.StartBatchTransactionAction value) { + public Builder mergeStartBatchTxn(com.google.spanner.executor.v1.StartBatchTransactionAction value) { if (startBatchTxnBuilder_ == null) { - if (actionCase_ == 40 - && action_ - != com.google.spanner.executor.v1.StartBatchTransactionAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.StartBatchTransactionAction.newBuilder( - (com.google.spanner.executor.v1.StartBatchTransactionAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 40 && + action_ != com.google.spanner.executor.v1.StartBatchTransactionAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.StartBatchTransactionAction.newBuilder((com.google.spanner.executor.v1.StartBatchTransactionAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4299,8 +3748,6 @@ public Builder mergeStartBatchTxn( return this; } /** - * - * *
      * Action to start a batch transaction.
      * 
@@ -4324,21 +3771,16 @@ public Builder clearStartBatchTxn() { return this; } /** - * - * *
      * Action to start a batch transaction.
      * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; */ - public com.google.spanner.executor.v1.StartBatchTransactionAction.Builder - getStartBatchTxnBuilder() { + public com.google.spanner.executor.v1.StartBatchTransactionAction.Builder getStartBatchTxnBuilder() { return getStartBatchTxnFieldBuilder().getBuilder(); } /** - * - * *
      * Action to start a batch transaction.
      * 
@@ -4346,8 +3788,7 @@ public Builder clearStartBatchTxn() { * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; */ @java.lang.Override - public com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder - getStartBatchTxnOrBuilder() { + public com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder getStartBatchTxnOrBuilder() { if ((actionCase_ == 40) && (startBatchTxnBuilder_ != null)) { return startBatchTxnBuilder_.getMessageOrBuilder(); } else { @@ -4358,8 +3799,6 @@ public Builder clearStartBatchTxn() { } } /** - * - * *
      * Action to start a batch transaction.
      * 
@@ -4367,19 +3806,14 @@ public Builder clearStartBatchTxn() { * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.StartBatchTransactionAction, - com.google.spanner.executor.v1.StartBatchTransactionAction.Builder, - com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder> + com.google.spanner.executor.v1.StartBatchTransactionAction, com.google.spanner.executor.v1.StartBatchTransactionAction.Builder, com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder> getStartBatchTxnFieldBuilder() { if (startBatchTxnBuilder_ == null) { if (!(actionCase_ == 40)) { action_ = com.google.spanner.executor.v1.StartBatchTransactionAction.getDefaultInstance(); } - startBatchTxnBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.StartBatchTransactionAction, - com.google.spanner.executor.v1.StartBatchTransactionAction.Builder, - com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder>( + startBatchTxnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.StartBatchTransactionAction, com.google.spanner.executor.v1.StartBatchTransactionAction.Builder, com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder>( (com.google.spanner.executor.v1.StartBatchTransactionAction) action_, getParentForChildren(), isClean()); @@ -4391,19 +3825,13 @@ public Builder clearStartBatchTxn() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloseBatchTransactionAction, - com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder, - com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder> - closeBatchTxnBuilder_; + com.google.spanner.executor.v1.CloseBatchTransactionAction, com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder, com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder> closeBatchTxnBuilder_; /** - * - * *
      * Action to close a batch transaction.
      * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; - * * @return Whether the closeBatchTxn field is set. */ @java.lang.Override @@ -4411,14 +3839,11 @@ public boolean hasCloseBatchTxn() { return actionCase_ == 41; } /** - * - * *
      * Action to close a batch transaction.
      * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; - * * @return The closeBatchTxn. */ @java.lang.Override @@ -4436,16 +3861,13 @@ public com.google.spanner.executor.v1.CloseBatchTransactionAction getCloseBatchT } } /** - * - * *
      * Action to close a batch transaction.
      * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; */ - public Builder setCloseBatchTxn( - com.google.spanner.executor.v1.CloseBatchTransactionAction value) { + public Builder setCloseBatchTxn(com.google.spanner.executor.v1.CloseBatchTransactionAction value) { if (closeBatchTxnBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4459,8 +3881,6 @@ public Builder setCloseBatchTxn( return this; } /** - * - * *
      * Action to close a batch transaction.
      * 
@@ -4479,26 +3899,18 @@ public Builder setCloseBatchTxn( return this; } /** - * - * *
      * Action to close a batch transaction.
      * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; */ - public Builder mergeCloseBatchTxn( - com.google.spanner.executor.v1.CloseBatchTransactionAction value) { + public Builder mergeCloseBatchTxn(com.google.spanner.executor.v1.CloseBatchTransactionAction value) { if (closeBatchTxnBuilder_ == null) { - if (actionCase_ == 41 - && action_ - != com.google.spanner.executor.v1.CloseBatchTransactionAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.CloseBatchTransactionAction.newBuilder( - (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 41 && + action_ != com.google.spanner.executor.v1.CloseBatchTransactionAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.CloseBatchTransactionAction.newBuilder((com.google.spanner.executor.v1.CloseBatchTransactionAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4514,8 +3926,6 @@ public Builder mergeCloseBatchTxn( return this; } /** - * - * *
      * Action to close a batch transaction.
      * 
@@ -4539,21 +3949,16 @@ public Builder clearCloseBatchTxn() { return this; } /** - * - * *
      * Action to close a batch transaction.
      * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; */ - public com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder - getCloseBatchTxnBuilder() { + public com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder getCloseBatchTxnBuilder() { return getCloseBatchTxnFieldBuilder().getBuilder(); } /** - * - * *
      * Action to close a batch transaction.
      * 
@@ -4561,8 +3966,7 @@ public Builder clearCloseBatchTxn() { * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; */ @java.lang.Override - public com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder - getCloseBatchTxnOrBuilder() { + public com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder getCloseBatchTxnOrBuilder() { if ((actionCase_ == 41) && (closeBatchTxnBuilder_ != null)) { return closeBatchTxnBuilder_.getMessageOrBuilder(); } else { @@ -4573,8 +3977,6 @@ public Builder clearCloseBatchTxn() { } } /** - * - * *
      * Action to close a batch transaction.
      * 
@@ -4582,19 +3984,14 @@ public Builder clearCloseBatchTxn() { * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloseBatchTransactionAction, - com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder, - com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder> + com.google.spanner.executor.v1.CloseBatchTransactionAction, com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder, com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder> getCloseBatchTxnFieldBuilder() { if (closeBatchTxnBuilder_ == null) { if (!(actionCase_ == 41)) { action_ = com.google.spanner.executor.v1.CloseBatchTransactionAction.getDefaultInstance(); } - closeBatchTxnBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.CloseBatchTransactionAction, - com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder, - com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder>( + closeBatchTxnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.CloseBatchTransactionAction, com.google.spanner.executor.v1.CloseBatchTransactionAction.Builder, com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder>( (com.google.spanner.executor.v1.CloseBatchTransactionAction) action_, getParentForChildren(), isClean()); @@ -4606,21 +4003,13 @@ public Builder clearCloseBatchTxn() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction, - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder, - com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder> - generateDbPartitionsReadBuilder_; + com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction, com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder, com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder> generateDbPartitionsReadBuilder_; /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; * @return Whether the generateDbPartitionsRead field is set. */ @java.lang.Override @@ -4628,48 +4017,35 @@ public boolean hasGenerateDbPartitionsRead() { return actionCase_ == 42; } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; * @return The generateDbPartitionsRead. */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - getGenerateDbPartitionsRead() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction getGenerateDbPartitionsRead() { if (generateDbPartitionsReadBuilder_ == null) { if (actionCase_ == 42) { return (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_; } - return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance(); } else { if (actionCase_ == 42) { return generateDbPartitionsReadBuilder_.getMessage(); } - return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance(); } } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ - public Builder setGenerateDbPartitionsRead( - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction value) { + public Builder setGenerateDbPartitionsRead(com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction value) { if (generateDbPartitionsReadBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4683,15 +4059,11 @@ public Builder setGenerateDbPartitionsRead( return this; } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ public Builder setGenerateDbPartitionsRead( com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder builderForValue) { @@ -4705,28 +4077,18 @@ public Builder setGenerateDbPartitionsRead( return this; } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ - public Builder mergeGenerateDbPartitionsRead( - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction value) { + public Builder mergeGenerateDbPartitionsRead(com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction value) { if (generateDbPartitionsReadBuilder_ == null) { - if (actionCase_ == 42 - && action_ - != com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.newBuilder( - (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 42 && + action_ != com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.newBuilder((com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4742,15 +4104,11 @@ public Builder mergeGenerateDbPartitionsRead( return this; } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ public Builder clearGenerateDbPartitionsRead() { if (generateDbPartitionsReadBuilder_ == null) { @@ -4769,70 +4127,49 @@ public Builder clearGenerateDbPartitionsRead() { return this; } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ - public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder - getGenerateDbPartitionsReadBuilder() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder getGenerateDbPartitionsReadBuilder() { return getGenerateDbPartitionsReadFieldBuilder().getBuilder(); } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder - getGenerateDbPartitionsReadOrBuilder() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder getGenerateDbPartitionsReadOrBuilder() { if ((actionCase_ == 42) && (generateDbPartitionsReadBuilder_ != null)) { return generateDbPartitionsReadBuilder_.getMessageOrBuilder(); } else { if (actionCase_ == 42) { return (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_; } - return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance(); } } /** - * - * *
      * Action to generate database partitions for batch read.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction, - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder, - com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder> + com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction, com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder, com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder> getGenerateDbPartitionsReadFieldBuilder() { if (generateDbPartitionsReadBuilder_ == null) { if (!(actionCase_ == 42)) { - action_ = - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance(); - } - generateDbPartitionsReadBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction, - com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder, - com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder>( + action_ = com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.getDefaultInstance(); + } + generateDbPartitionsReadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction, com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction.Builder, com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder>( (com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction) action_, getParentForChildren(), isClean()); @@ -4844,21 +4181,13 @@ public Builder clearGenerateDbPartitionsRead() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction, - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder, - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder> - generateDbPartitionsQueryBuilder_; + com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder> generateDbPartitionsQueryBuilder_; /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; * @return Whether the generateDbPartitionsQuery field is set. */ @java.lang.Override @@ -4866,48 +4195,35 @@ public boolean hasGenerateDbPartitionsQuery() { return actionCase_ == 43; } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; * @return The generateDbPartitionsQuery. */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - getGenerateDbPartitionsQuery() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction getGenerateDbPartitionsQuery() { if (generateDbPartitionsQueryBuilder_ == null) { if (actionCase_ == 43) { return (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_; } - return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance(); } else { if (actionCase_ == 43) { return generateDbPartitionsQueryBuilder_.getMessage(); } - return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance(); } } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ - public Builder setGenerateDbPartitionsQuery( - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction value) { + public Builder setGenerateDbPartitionsQuery(com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction value) { if (generateDbPartitionsQueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4921,15 +4237,11 @@ public Builder setGenerateDbPartitionsQuery( return this; } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ public Builder setGenerateDbPartitionsQuery( com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder builderForValue) { @@ -4943,28 +4255,18 @@ public Builder setGenerateDbPartitionsQuery( return this; } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ - public Builder mergeGenerateDbPartitionsQuery( - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction value) { + public Builder mergeGenerateDbPartitionsQuery(com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction value) { if (generateDbPartitionsQueryBuilder_ == null) { - if (actionCase_ == 43 - && action_ - != com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - .getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.newBuilder( - (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 43 && + action_ != com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.newBuilder((com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -4980,15 +4282,11 @@ public Builder mergeGenerateDbPartitionsQuery( return this; } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ public Builder clearGenerateDbPartitionsQuery() { if (generateDbPartitionsQueryBuilder_ == null) { @@ -5007,71 +4305,49 @@ public Builder clearGenerateDbPartitionsQuery() { return this; } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ - public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder - getGenerateDbPartitionsQueryBuilder() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder getGenerateDbPartitionsQueryBuilder() { return getGenerateDbPartitionsQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ @java.lang.Override - public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder - getGenerateDbPartitionsQueryOrBuilder() { + public com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder getGenerateDbPartitionsQueryOrBuilder() { if ((actionCase_ == 43) && (generateDbPartitionsQueryBuilder_ != null)) { return generateDbPartitionsQueryBuilder_.getMessageOrBuilder(); } else { if (actionCase_ == 43) { return (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_; } - return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - .getDefaultInstance(); + return com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance(); } } /** - * - * *
      * Action to generate database partitions for batch query.
      * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction, - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder, - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder> + com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder> getGenerateDbPartitionsQueryFieldBuilder() { if (generateDbPartitionsQueryBuilder_ == null) { if (!(actionCase_ == 43)) { - action_ = - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction - .getDefaultInstance(); - } - generateDbPartitionsQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction, - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder, - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder>( + action_ = com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.getDefaultInstance(); + } + generateDbPartitionsQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction.Builder, com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder>( (com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction) action_, getParentForChildren(), isClean()); @@ -5083,19 +4359,13 @@ public Builder clearGenerateDbPartitionsQuery() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ExecutePartitionAction, - com.google.spanner.executor.v1.ExecutePartitionAction.Builder, - com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder> - executePartitionBuilder_; + com.google.spanner.executor.v1.ExecutePartitionAction, com.google.spanner.executor.v1.ExecutePartitionAction.Builder, com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder> executePartitionBuilder_; /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; - * * @return Whether the executePartition field is set. */ @java.lang.Override @@ -5103,14 +4373,11 @@ public boolean hasExecutePartition() { return actionCase_ == 44; } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; - * * @return The executePartition. */ @java.lang.Override @@ -5128,16 +4395,13 @@ public com.google.spanner.executor.v1.ExecutePartitionAction getExecutePartition } } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; */ - public Builder setExecutePartition( - com.google.spanner.executor.v1.ExecutePartitionAction value) { + public Builder setExecutePartition(com.google.spanner.executor.v1.ExecutePartitionAction value) { if (executePartitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5151,8 +4415,6 @@ public Builder setExecutePartition( return this; } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
@@ -5171,25 +4433,18 @@ public Builder setExecutePartition( return this; } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; */ - public Builder mergeExecutePartition( - com.google.spanner.executor.v1.ExecutePartitionAction value) { + public Builder mergeExecutePartition(com.google.spanner.executor.v1.ExecutePartitionAction value) { if (executePartitionBuilder_ == null) { - if (actionCase_ == 44 - && action_ - != com.google.spanner.executor.v1.ExecutePartitionAction.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ExecutePartitionAction.newBuilder( - (com.google.spanner.executor.v1.ExecutePartitionAction) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 44 && + action_ != com.google.spanner.executor.v1.ExecutePartitionAction.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ExecutePartitionAction.newBuilder((com.google.spanner.executor.v1.ExecutePartitionAction) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5205,8 +4460,6 @@ public Builder mergeExecutePartition( return this; } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
@@ -5230,21 +4483,16 @@ public Builder clearExecutePartition() { return this; } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; */ - public com.google.spanner.executor.v1.ExecutePartitionAction.Builder - getExecutePartitionBuilder() { + public com.google.spanner.executor.v1.ExecutePartitionAction.Builder getExecutePartitionBuilder() { return getExecutePartitionFieldBuilder().getBuilder(); } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
@@ -5252,8 +4500,7 @@ public Builder clearExecutePartition() { * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; */ @java.lang.Override - public com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder - getExecutePartitionOrBuilder() { + public com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder getExecutePartitionOrBuilder() { if ((actionCase_ == 44) && (executePartitionBuilder_ != null)) { return executePartitionBuilder_.getMessageOrBuilder(); } else { @@ -5264,8 +4511,6 @@ public Builder clearExecutePartition() { } } /** - * - * *
      * Action to execute batch actions on generated partitions.
      * 
@@ -5273,19 +4518,14 @@ public Builder clearExecutePartition() { * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ExecutePartitionAction, - com.google.spanner.executor.v1.ExecutePartitionAction.Builder, - com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder> + com.google.spanner.executor.v1.ExecutePartitionAction, com.google.spanner.executor.v1.ExecutePartitionAction.Builder, com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder> getExecutePartitionFieldBuilder() { if (executePartitionBuilder_ == null) { if (!(actionCase_ == 44)) { action_ = com.google.spanner.executor.v1.ExecutePartitionAction.getDefaultInstance(); } - executePartitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ExecutePartitionAction, - com.google.spanner.executor.v1.ExecutePartitionAction.Builder, - com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder>( + executePartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ExecutePartitionAction, com.google.spanner.executor.v1.ExecutePartitionAction.Builder, com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder>( (com.google.spanner.executor.v1.ExecutePartitionAction) action_, getParentForChildren(), isClean()); @@ -5297,20 +4537,13 @@ public Builder clearExecutePartition() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ExecuteChangeStreamQuery, - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder, - com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder> - executeChangeStreamQueryBuilder_; + com.google.spanner.executor.v1.ExecuteChangeStreamQuery, com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder, com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder> executeChangeStreamQueryBuilder_; /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; * @return Whether the executeChangeStreamQuery field is set. */ @java.lang.Override @@ -5318,15 +4551,11 @@ public boolean hasExecuteChangeStreamQuery() { return actionCase_ == 50; } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; * @return The executeChangeStreamQuery. */ @java.lang.Override @@ -5344,17 +4573,13 @@ public com.google.spanner.executor.v1.ExecuteChangeStreamQuery getExecuteChangeS } } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ - public Builder setExecuteChangeStreamQuery( - com.google.spanner.executor.v1.ExecuteChangeStreamQuery value) { + public Builder setExecuteChangeStreamQuery(com.google.spanner.executor.v1.ExecuteChangeStreamQuery value) { if (executeChangeStreamQueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5368,14 +4593,11 @@ public Builder setExecuteChangeStreamQuery( return this; } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ public Builder setExecuteChangeStreamQuery( com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder builderForValue) { @@ -5389,26 +4611,18 @@ public Builder setExecuteChangeStreamQuery( return this; } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ - public Builder mergeExecuteChangeStreamQuery( - com.google.spanner.executor.v1.ExecuteChangeStreamQuery value) { + public Builder mergeExecuteChangeStreamQuery(com.google.spanner.executor.v1.ExecuteChangeStreamQuery value) { if (executeChangeStreamQueryBuilder_ == null) { - if (actionCase_ == 50 - && action_ - != com.google.spanner.executor.v1.ExecuteChangeStreamQuery.getDefaultInstance()) { - action_ = - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.newBuilder( - (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 50 && + action_ != com.google.spanner.executor.v1.ExecuteChangeStreamQuery.getDefaultInstance()) { + action_ = com.google.spanner.executor.v1.ExecuteChangeStreamQuery.newBuilder((com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -5424,14 +4638,11 @@ public Builder mergeExecuteChangeStreamQuery( return this; } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ public Builder clearExecuteChangeStreamQuery() { if (executeChangeStreamQueryBuilder_ == null) { @@ -5450,32 +4661,24 @@ public Builder clearExecuteChangeStreamQuery() { return this; } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ - public com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder - getExecuteChangeStreamQueryBuilder() { + public com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder getExecuteChangeStreamQueryBuilder() { return getExecuteChangeStreamQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ @java.lang.Override - public com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder - getExecuteChangeStreamQueryOrBuilder() { + public com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder getExecuteChangeStreamQueryOrBuilder() { if ((actionCase_ == 50) && (executeChangeStreamQueryBuilder_ != null)) { return executeChangeStreamQueryBuilder_.getMessageOrBuilder(); } else { @@ -5486,29 +4689,21 @@ public Builder clearExecuteChangeStreamQuery() { } } /** - * - * *
      * Action to execute change stream query.
      * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ExecuteChangeStreamQuery, - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder, - com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder> + com.google.spanner.executor.v1.ExecuteChangeStreamQuery, com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder, com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder> getExecuteChangeStreamQueryFieldBuilder() { if (executeChangeStreamQueryBuilder_ == null) { if (!(actionCase_ == 50)) { action_ = com.google.spanner.executor.v1.ExecuteChangeStreamQuery.getDefaultInstance(); } - executeChangeStreamQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ExecuteChangeStreamQuery, - com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder, - com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder>( + executeChangeStreamQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.ExecuteChangeStreamQuery, com.google.spanner.executor.v1.ExecuteChangeStreamQuery.Builder, com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder>( (com.google.spanner.executor.v1.ExecuteChangeStreamQuery) action_, getParentForChildren(), isClean()); @@ -5518,9 +4713,9 @@ public Builder clearExecuteChangeStreamQuery() { onChanged(); return executeChangeStreamQueryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5530,12 +4725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.SpannerAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.SpannerAction) private static final com.google.spanner.executor.v1.SpannerAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.SpannerAction(); } @@ -5544,27 +4739,27 @@ public static com.google.spanner.executor.v1.SpannerAction getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpannerAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpannerAction 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; @@ -5579,4 +4774,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.SpannerAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOrBuilder.java index 32aaf468a27..732224e7ba6 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface SpannerActionOrBuilder - extends +public interface SpannerActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.SpannerAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Database against which to perform action.
    * In a context where a series of actions take place, an action may omit
@@ -34,13 +16,10 @@ public interface SpannerActionOrBuilder
    * 
* * string database_path = 1; - * * @return The databasePath. */ java.lang.String getDatabasePath(); /** - * - * *
    * Database against which to perform action.
    * In a context where a series of actions take place, an action may omit
@@ -48,38 +27,30 @@ public interface SpannerActionOrBuilder
    * 
* * string database_path = 1; - * * @return The bytes for databasePath. */ - com.google.protobuf.ByteString getDatabasePathBytes(); + com.google.protobuf.ByteString + getDatabasePathBytes(); /** - * - * *
    * Action to start a transaction.
    * 
* * .google.spanner.executor.v1.StartTransactionAction start = 10; - * * @return Whether the start field is set. */ boolean hasStart(); /** - * - * *
    * Action to start a transaction.
    * 
* * .google.spanner.executor.v1.StartTransactionAction start = 10; - * * @return The start. */ com.google.spanner.executor.v1.StartTransactionAction getStart(); /** - * - * *
    * Action to start a transaction.
    * 
@@ -89,32 +60,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.StartTransactionActionOrBuilder getStartOrBuilder(); /** - * - * *
    * Action to finish a transaction.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction finish = 11; - * * @return Whether the finish field is set. */ boolean hasFinish(); /** - * - * *
    * Action to finish a transaction.
    * 
* * .google.spanner.executor.v1.FinishTransactionAction finish = 11; - * * @return The finish. */ com.google.spanner.executor.v1.FinishTransactionAction getFinish(); /** - * - * *
    * Action to finish a transaction.
    * 
@@ -124,32 +87,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.FinishTransactionActionOrBuilder getFinishOrBuilder(); /** - * - * *
    * Action to do a normal read.
    * 
* * .google.spanner.executor.v1.ReadAction read = 20; - * * @return Whether the read field is set. */ boolean hasRead(); /** - * - * *
    * Action to do a normal read.
    * 
* * .google.spanner.executor.v1.ReadAction read = 20; - * * @return The read. */ com.google.spanner.executor.v1.ReadAction getRead(); /** - * - * *
    * Action to do a normal read.
    * 
@@ -159,32 +114,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.ReadActionOrBuilder getReadOrBuilder(); /** - * - * *
    * Action to do a query.
    * 
* * .google.spanner.executor.v1.QueryAction query = 21; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * Action to do a query.
    * 
* * .google.spanner.executor.v1.QueryAction query = 21; - * * @return The query. */ com.google.spanner.executor.v1.QueryAction getQuery(); /** - * - * *
    * Action to do a query.
    * 
@@ -194,32 +141,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.QueryActionOrBuilder getQueryOrBuilder(); /** - * - * *
    * Action to buffer a mutation.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 22; - * * @return Whether the mutation field is set. */ boolean hasMutation(); /** - * - * *
    * Action to buffer a mutation.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 22; - * * @return The mutation. */ com.google.spanner.executor.v1.MutationAction getMutation(); /** - * - * *
    * Action to buffer a mutation.
    * 
@@ -229,32 +168,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuilder(); /** - * - * *
    * Action to a DML.
    * 
* * .google.spanner.executor.v1.DmlAction dml = 23; - * * @return Whether the dml field is set. */ boolean hasDml(); /** - * - * *
    * Action to a DML.
    * 
* * .google.spanner.executor.v1.DmlAction dml = 23; - * * @return The dml. */ com.google.spanner.executor.v1.DmlAction getDml(); /** - * - * *
    * Action to a DML.
    * 
@@ -264,32 +195,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.DmlActionOrBuilder getDmlOrBuilder(); /** - * - * *
    * Action to a batch DML.
    * 
* * .google.spanner.executor.v1.BatchDmlAction batch_dml = 24; - * * @return Whether the batchDml field is set. */ boolean hasBatchDml(); /** - * - * *
    * Action to a batch DML.
    * 
* * .google.spanner.executor.v1.BatchDmlAction batch_dml = 24; - * * @return The batchDml. */ com.google.spanner.executor.v1.BatchDmlAction getBatchDml(); /** - * - * *
    * Action to a batch DML.
    * 
@@ -299,32 +222,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.BatchDmlActionOrBuilder getBatchDmlOrBuilder(); /** - * - * *
    * Action to write a mutation.
    * 
* * .google.spanner.executor.v1.WriteMutationsAction write = 25; - * * @return Whether the write field is set. */ boolean hasWrite(); /** - * - * *
    * Action to write a mutation.
    * 
* * .google.spanner.executor.v1.WriteMutationsAction write = 25; - * * @return The write. */ com.google.spanner.executor.v1.WriteMutationsAction getWrite(); /** - * - * *
    * Action to write a mutation.
    * 
@@ -334,32 +249,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.WriteMutationsActionOrBuilder getWriteOrBuilder(); /** - * - * *
    * Action to a partitioned update.
    * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; - * * @return Whether the partitionedUpdate field is set. */ boolean hasPartitionedUpdate(); /** - * - * *
    * Action to a partitioned update.
    * 
* * .google.spanner.executor.v1.PartitionedUpdateAction partitioned_update = 27; - * * @return The partitionedUpdate. */ com.google.spanner.executor.v1.PartitionedUpdateAction getPartitionedUpdate(); /** - * - * *
    * Action to a partitioned update.
    * 
@@ -369,34 +276,26 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.PartitionedUpdateActionOrBuilder getPartitionedUpdateOrBuilder(); /** - * - * *
    * Action that contains any administrative operation, like database,
    * instance manipulation.
    * 
* * .google.spanner.executor.v1.AdminAction admin = 30; - * * @return Whether the admin field is set. */ boolean hasAdmin(); /** - * - * *
    * Action that contains any administrative operation, like database,
    * instance manipulation.
    * 
* * .google.spanner.executor.v1.AdminAction admin = 30; - * * @return The admin. */ com.google.spanner.executor.v1.AdminAction getAdmin(); /** - * - * *
    * Action that contains any administrative operation, like database,
    * instance manipulation.
@@ -407,32 +306,24 @@ public interface SpannerActionOrBuilder
   com.google.spanner.executor.v1.AdminActionOrBuilder getAdminOrBuilder();
 
   /**
-   *
-   *
    * 
    * Action to start a batch transaction.
    * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; - * * @return Whether the startBatchTxn field is set. */ boolean hasStartBatchTxn(); /** - * - * *
    * Action to start a batch transaction.
    * 
* * .google.spanner.executor.v1.StartBatchTransactionAction start_batch_txn = 40; - * * @return The startBatchTxn. */ com.google.spanner.executor.v1.StartBatchTransactionAction getStartBatchTxn(); /** - * - * *
    * Action to start a batch transaction.
    * 
@@ -442,32 +333,24 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder getStartBatchTxnOrBuilder(); /** - * - * *
    * Action to close a batch transaction.
    * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; - * * @return Whether the closeBatchTxn field is set. */ boolean hasCloseBatchTxn(); /** - * - * *
    * Action to close a batch transaction.
    * 
* * .google.spanner.executor.v1.CloseBatchTransactionAction close_batch_txn = 41; - * * @return The closeBatchTxn. */ com.google.spanner.executor.v1.CloseBatchTransactionAction getCloseBatchTxn(); /** - * - * *
    * Action to close a batch transaction.
    * 
@@ -477,116 +360,78 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.CloseBatchTransactionActionOrBuilder getCloseBatchTxnOrBuilder(); /** - * - * *
    * Action to generate database partitions for batch read.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; * @return Whether the generateDbPartitionsRead field is set. */ boolean hasGenerateDbPartitionsRead(); /** - * - * *
    * Action to generate database partitions for batch read.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; * @return The generateDbPartitionsRead. */ com.google.spanner.executor.v1.GenerateDbPartitionsForReadAction getGenerateDbPartitionsRead(); /** - * - * *
    * Action to generate database partitions for batch read.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForReadAction generate_db_partitions_read = 42; */ - com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder - getGenerateDbPartitionsReadOrBuilder(); + com.google.spanner.executor.v1.GenerateDbPartitionsForReadActionOrBuilder getGenerateDbPartitionsReadOrBuilder(); /** - * - * *
    * Action to generate database partitions for batch query.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; * @return Whether the generateDbPartitionsQuery field is set. */ boolean hasGenerateDbPartitionsQuery(); /** - * - * *
    * Action to generate database partitions for batch query.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; * @return The generateDbPartitionsQuery. */ com.google.spanner.executor.v1.GenerateDbPartitionsForQueryAction getGenerateDbPartitionsQuery(); /** - * - * *
    * Action to generate database partitions for batch query.
    * 
* - * - * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; - * + * .google.spanner.executor.v1.GenerateDbPartitionsForQueryAction generate_db_partitions_query = 43; */ - com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder - getGenerateDbPartitionsQueryOrBuilder(); + com.google.spanner.executor.v1.GenerateDbPartitionsForQueryActionOrBuilder getGenerateDbPartitionsQueryOrBuilder(); /** - * - * *
    * Action to execute batch actions on generated partitions.
    * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; - * * @return Whether the executePartition field is set. */ boolean hasExecutePartition(); /** - * - * *
    * Action to execute batch actions on generated partitions.
    * 
* * .google.spanner.executor.v1.ExecutePartitionAction execute_partition = 44; - * * @return The executePartition. */ com.google.spanner.executor.v1.ExecutePartitionAction getExecutePartition(); /** - * - * *
    * Action to execute batch actions on generated partitions.
    * 
@@ -596,43 +441,31 @@ public interface SpannerActionOrBuilder com.google.spanner.executor.v1.ExecutePartitionActionOrBuilder getExecutePartitionOrBuilder(); /** - * - * *
    * Action to execute change stream query.
    * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; * @return Whether the executeChangeStreamQuery field is set. */ boolean hasExecuteChangeStreamQuery(); /** - * - * *
    * Action to execute change stream query.
    * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; * @return The executeChangeStreamQuery. */ com.google.spanner.executor.v1.ExecuteChangeStreamQuery getExecuteChangeStreamQuery(); /** - * - * *
    * Action to execute change stream query.
    * 
* - * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; - * + * .google.spanner.executor.v1.ExecuteChangeStreamQuery execute_change_stream_query = 50; */ - com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder - getExecuteChangeStreamQueryOrBuilder(); + com.google.spanner.executor.v1.ExecuteChangeStreamQueryOrBuilder getExecuteChangeStreamQueryOrBuilder(); com.google.spanner.executor.v1.SpannerAction.ActionCase getActionCase(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcome.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcome.java similarity index 76% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcome.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcome.java index 6ac48df1a7c..bcc4bb35462 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcome.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcome.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * SpannerActionOutcome defines a result of execution of a single SpannerAction.
  * 
* * Protobuf type {@code google.spanner.executor.v1.SpannerActionOutcome} */ -public final class SpannerActionOutcome extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpannerActionOutcome extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.SpannerActionOutcome) SpannerActionOutcomeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpannerActionOutcome.newBuilder() to construct. private SpannerActionOutcome(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpannerActionOutcome() { batchTxnId_ = com.google.protobuf.ByteString.EMPTY; dbPartition_ = java.util.Collections.emptyList(); @@ -47,38 +29,34 @@ private SpannerActionOutcome() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpannerActionOutcome(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.SpannerActionOutcome.class, - com.google.spanner.executor.v1.SpannerActionOutcome.Builder.class); + com.google.spanner.executor.v1.SpannerActionOutcome.class, com.google.spanner.executor.v1.SpannerActionOutcome.Builder.class); } private int bitField0_; public static final int STATUS_FIELD_NUMBER = 1; private com.google.rpc.Status status_; /** - * - * *
    * If an outcome is split into multiple parts, status will be set only in the
    * last part.
    * 
* * optional .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ @java.lang.Override @@ -86,15 +64,12 @@ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If an outcome is split into multiple parts, status will be set only in the
    * last part.
    * 
* * optional .google.rpc.Status status = 1; - * * @return The status. */ @java.lang.Override @@ -102,8 +77,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * If an outcome is split into multiple parts, status will be set only in the
    * last part.
@@ -119,14 +92,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   public static final int COMMIT_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp commitTime_;
   /**
-   *
-   *
    * 
    * Transaction timestamp. It must be set for successful committed actions.
    * 
* * optional .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -134,14 +104,11 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Transaction timestamp. It must be set for successful committed actions.
    * 
* * optional .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ @java.lang.Override @@ -149,8 +116,6 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** - * - * *
    * Transaction timestamp. It must be set for successful committed actions.
    * 
@@ -165,15 +130,12 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { public static final int READ_RESULT_FIELD_NUMBER = 3; private com.google.spanner.executor.v1.ReadResult readResult_; /** - * - * *
    * Result of a ReadAction. This field must be set for ReadActions even if
    * no rows were read.
    * 
* * optional .google.spanner.executor.v1.ReadResult read_result = 3; - * * @return Whether the readResult field is set. */ @java.lang.Override @@ -181,26 +143,19 @@ public boolean hasReadResult() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Result of a ReadAction. This field must be set for ReadActions even if
    * no rows were read.
    * 
* * optional .google.spanner.executor.v1.ReadResult read_result = 3; - * * @return The readResult. */ @java.lang.Override public com.google.spanner.executor.v1.ReadResult getReadResult() { - return readResult_ == null - ? com.google.spanner.executor.v1.ReadResult.getDefaultInstance() - : readResult_; + return readResult_ == null ? com.google.spanner.executor.v1.ReadResult.getDefaultInstance() : readResult_; } /** - * - * *
    * Result of a ReadAction. This field must be set for ReadActions even if
    * no rows were read.
@@ -210,23 +165,18 @@ public com.google.spanner.executor.v1.ReadResult getReadResult() {
    */
   @java.lang.Override
   public com.google.spanner.executor.v1.ReadResultOrBuilder getReadResultOrBuilder() {
-    return readResult_ == null
-        ? com.google.spanner.executor.v1.ReadResult.getDefaultInstance()
-        : readResult_;
+    return readResult_ == null ? com.google.spanner.executor.v1.ReadResult.getDefaultInstance() : readResult_;
   }
 
   public static final int QUERY_RESULT_FIELD_NUMBER = 4;
   private com.google.spanner.executor.v1.QueryResult queryResult_;
   /**
-   *
-   *
    * 
    * Result of a Query. This field must be set for Queries even if no rows were
    * read.
    * 
* * optional .google.spanner.executor.v1.QueryResult query_result = 4; - * * @return Whether the queryResult field is set. */ @java.lang.Override @@ -234,26 +184,19 @@ public boolean hasQueryResult() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Result of a Query. This field must be set for Queries even if no rows were
    * read.
    * 
* * optional .google.spanner.executor.v1.QueryResult query_result = 4; - * * @return The queryResult. */ @java.lang.Override public com.google.spanner.executor.v1.QueryResult getQueryResult() { - return queryResult_ == null - ? com.google.spanner.executor.v1.QueryResult.getDefaultInstance() - : queryResult_; + return queryResult_ == null ? com.google.spanner.executor.v1.QueryResult.getDefaultInstance() : queryResult_; } /** - * - * *
    * Result of a Query. This field must be set for Queries even if no rows were
    * read.
@@ -263,16 +206,12 @@ public com.google.spanner.executor.v1.QueryResult getQueryResult() {
    */
   @java.lang.Override
   public com.google.spanner.executor.v1.QueryResultOrBuilder getQueryResultOrBuilder() {
-    return queryResult_ == null
-        ? com.google.spanner.executor.v1.QueryResult.getDefaultInstance()
-        : queryResult_;
+    return queryResult_ == null ? com.google.spanner.executor.v1.QueryResult.getDefaultInstance() : queryResult_;
   }
 
   public static final int TRANSACTION_RESTARTED_FIELD_NUMBER = 5;
   private boolean transactionRestarted_ = false;
   /**
-   *
-   *
    * 
    * This bit indicates that Spanner has restarted the current transaction. It
    * means that the client should replay all the reads and writes.
@@ -281,7 +220,6 @@ public com.google.spanner.executor.v1.QueryResultOrBuilder getQueryResultOrBuild
    * 
* * optional bool transaction_restarted = 5; - * * @return Whether the transactionRestarted field is set. */ @java.lang.Override @@ -289,8 +227,6 @@ public boolean hasTransactionRestarted() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * This bit indicates that Spanner has restarted the current transaction. It
    * means that the client should replay all the reads and writes.
@@ -299,7 +235,6 @@ public boolean hasTransactionRestarted() {
    * 
* * optional bool transaction_restarted = 5; - * * @return The transactionRestarted. */ @java.lang.Override @@ -310,15 +245,12 @@ public boolean getTransactionRestarted() { public static final int BATCH_TXN_ID_FIELD_NUMBER = 6; private com.google.protobuf.ByteString batchTxnId_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * In successful StartBatchTransactionAction outcomes, this contains the ID of
    * the transaction.
    * 
* * optional bytes batch_txn_id = 6; - * * @return Whether the batchTxnId field is set. */ @java.lang.Override @@ -326,15 +258,12 @@ public boolean hasBatchTxnId() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
    * In successful StartBatchTransactionAction outcomes, this contains the ID of
    * the transaction.
    * 
* * optional bytes batch_txn_id = 6; - * * @return The batchTxnId. */ @java.lang.Override @@ -343,12 +272,9 @@ public com.google.protobuf.ByteString getBatchTxnId() { } public static final int DB_PARTITION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private java.util.List dbPartition_; /** - * - * *
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -361,8 +287,6 @@ public java.util.List getDbPartit
     return dbPartition_;
   }
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -371,13 +295,11 @@ public java.util.List getDbPartit
    * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDbPartitionOrBuilderList() {
     return dbPartition_;
   }
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -390,8 +312,6 @@ public int getDbPartitionCount() {
     return dbPartition_.size();
   }
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -404,8 +324,6 @@ public com.google.spanner.executor.v1.BatchPartition getDbPartition(int index) {
     return dbPartition_.get(index);
   }
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -414,21 +332,19 @@ public com.google.spanner.executor.v1.BatchPartition getDbPartition(int index) {
    * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    */
   @java.lang.Override
-  public com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBuilder(int index) {
+  public com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBuilder(
+      int index) {
     return dbPartition_.get(index);
   }
 
   public static final int ADMIN_RESULT_FIELD_NUMBER = 8;
   private com.google.spanner.executor.v1.AdminResult adminResult_;
   /**
-   *
-   *
    * 
    * Result of admin related actions.
    * 
* * optional .google.spanner.executor.v1.AdminResult admin_result = 8; - * * @return Whether the adminResult field is set. */ @java.lang.Override @@ -436,25 +352,18 @@ public boolean hasAdminResult() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
    * Result of admin related actions.
    * 
* * optional .google.spanner.executor.v1.AdminResult admin_result = 8; - * * @return The adminResult. */ @java.lang.Override public com.google.spanner.executor.v1.AdminResult getAdminResult() { - return adminResult_ == null - ? com.google.spanner.executor.v1.AdminResult.getDefaultInstance() - : adminResult_; + return adminResult_ == null ? com.google.spanner.executor.v1.AdminResult.getDefaultInstance() : adminResult_; } /** - * - * *
    * Result of admin related actions.
    * 
@@ -463,136 +372,108 @@ public com.google.spanner.executor.v1.AdminResult getAdminResult() { */ @java.lang.Override public com.google.spanner.executor.v1.AdminResultOrBuilder getAdminResultOrBuilder() { - return adminResult_ == null - ? com.google.spanner.executor.v1.AdminResult.getDefaultInstance() - : adminResult_; + return adminResult_ == null ? com.google.spanner.executor.v1.AdminResult.getDefaultInstance() : adminResult_; } public static final int DML_ROWS_MODIFIED_FIELD_NUMBER = 9; - @SuppressWarnings("serial") - private com.google.protobuf.Internal.LongList dmlRowsModified_ = emptyLongList(); + private com.google.protobuf.Internal.LongList dmlRowsModified_ = + emptyLongList(); /** - * - * *
    * Stores rows modified by query in single DML or batch DML action.
    * In case of batch DML action, stores 0 as row count of errored DML query.
    * 
* * repeated int64 dml_rows_modified = 9; - * * @return A list containing the dmlRowsModified. */ @java.lang.Override - public java.util.List getDmlRowsModifiedList() { + public java.util.List + getDmlRowsModifiedList() { return dmlRowsModified_; } /** - * - * *
    * Stores rows modified by query in single DML or batch DML action.
    * In case of batch DML action, stores 0 as row count of errored DML query.
    * 
* * repeated int64 dml_rows_modified = 9; - * * @return The count of dmlRowsModified. */ public int getDmlRowsModifiedCount() { return dmlRowsModified_.size(); } /** - * - * *
    * Stores rows modified by query in single DML or batch DML action.
    * In case of batch DML action, stores 0 as row count of errored DML query.
    * 
* * repeated int64 dml_rows_modified = 9; - * * @param index The index of the element to return. * @return The dmlRowsModified at the given index. */ public long getDmlRowsModified(int index) { return dmlRowsModified_.getLong(index); } - private int dmlRowsModifiedMemoizedSerializedSize = -1; public static final int CHANGE_STREAM_RECORDS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private java.util.List changeStreamRecords_; /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ @java.lang.Override - public java.util.List - getChangeStreamRecordsList() { + public java.util.List getChangeStreamRecordsList() { return changeStreamRecords_; } /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ @java.lang.Override - public java.util.List + public java.util.List getChangeStreamRecordsOrBuilderList() { return changeStreamRecords_; } /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ @java.lang.Override public int getChangeStreamRecordsCount() { return changeStreamRecords_.size(); } /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ @java.lang.Override public com.google.spanner.executor.v1.ChangeStreamRecord getChangeStreamRecords(int index) { return changeStreamRecords_.get(index); } /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ @java.lang.Override public com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder getChangeStreamRecordsOrBuilder( @@ -601,7 +482,6 @@ public com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder getChangeStrea } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -613,7 +493,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStatus()); @@ -659,46 +540,54 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStatus()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCommitTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCommitTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getReadResult()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getQueryResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getQueryResult()); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, transactionRestarted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, transactionRestarted_); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, batchTxnId_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, batchTxnId_); } for (int i = 0; i < dbPartition_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, dbPartition_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, dbPartition_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAdminResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getAdminResult()); } { int dataSize = 0; for (int i = 0; i < dmlRowsModified_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag( - dmlRowsModified_.getLong(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt64SizeNoTag(dmlRowsModified_.getLong(i)); } size += dataSize; if (!getDmlRowsModifiedList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } dmlRowsModifiedMemoizedSerializedSize = dataSize; } for (int i = 0; i < changeStreamRecords_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(10, changeStreamRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, changeStreamRecords_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -708,45 +597,54 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.SpannerActionOutcome)) { return super.equals(obj); } - com.google.spanner.executor.v1.SpannerActionOutcome other = - (com.google.spanner.executor.v1.SpannerActionOutcome) obj; + com.google.spanner.executor.v1.SpannerActionOutcome other = (com.google.spanner.executor.v1.SpannerActionOutcome) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } if (hasCommitTime() != other.hasCommitTime()) return false; if (hasCommitTime()) { - if (!getCommitTime().equals(other.getCommitTime())) return false; + if (!getCommitTime() + .equals(other.getCommitTime())) return false; } if (hasReadResult() != other.hasReadResult()) return false; if (hasReadResult()) { - if (!getReadResult().equals(other.getReadResult())) return false; + if (!getReadResult() + .equals(other.getReadResult())) return false; } if (hasQueryResult() != other.hasQueryResult()) return false; if (hasQueryResult()) { - if (!getQueryResult().equals(other.getQueryResult())) return false; + if (!getQueryResult() + .equals(other.getQueryResult())) return false; } if (hasTransactionRestarted() != other.hasTransactionRestarted()) return false; if (hasTransactionRestarted()) { - if (getTransactionRestarted() != other.getTransactionRestarted()) return false; + if (getTransactionRestarted() + != other.getTransactionRestarted()) return false; } if (hasBatchTxnId() != other.hasBatchTxnId()) return false; if (hasBatchTxnId()) { - if (!getBatchTxnId().equals(other.getBatchTxnId())) return false; + if (!getBatchTxnId() + .equals(other.getBatchTxnId())) return false; } - if (!getDbPartitionList().equals(other.getDbPartitionList())) return false; + if (!getDbPartitionList() + .equals(other.getDbPartitionList())) return false; if (hasAdminResult() != other.hasAdminResult()) return false; if (hasAdminResult()) { - if (!getAdminResult().equals(other.getAdminResult())) return false; + if (!getAdminResult() + .equals(other.getAdminResult())) return false; } - if (!getDmlRowsModifiedList().equals(other.getDmlRowsModifiedList())) return false; - if (!getChangeStreamRecordsList().equals(other.getChangeStreamRecordsList())) return false; + if (!getDmlRowsModifiedList() + .equals(other.getDmlRowsModifiedList())) return false; + if (!getChangeStreamRecordsList() + .equals(other.getChangeStreamRecordsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -776,7 +674,8 @@ public int hashCode() { } if (hasTransactionRestarted()) { hash = (37 * hash) + TRANSACTION_RESTARTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTransactionRestarted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTransactionRestarted()); } if (hasBatchTxnId()) { hash = (37 * hash) + BATCH_TXN_ID_FIELD_NUMBER; @@ -804,126 +703,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.SpannerActionOutcome parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.SpannerActionOutcome parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.SpannerActionOutcome parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.SpannerActionOutcome prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SpannerActionOutcome defines a result of execution of a single SpannerAction.
    * 
* * Protobuf type {@code google.spanner.executor.v1.SpannerActionOutcome} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.SpannerActionOutcome) com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.SpannerActionOutcome.class, - com.google.spanner.executor.v1.SpannerActionOutcome.Builder.class); + com.google.spanner.executor.v1.SpannerActionOutcome.class, com.google.spanner.executor.v1.SpannerActionOutcome.Builder.class); } // Construct using com.google.spanner.executor.v1.SpannerActionOutcome.newBuilder() @@ -931,13 +823,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStatusFieldBuilder(); getCommitTimeFieldBuilder(); getReadResultFieldBuilder(); @@ -947,7 +840,6 @@ private void maybeForceBuilderInitialization() { getChangeStreamRecordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -998,9 +890,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; } @java.lang.Override @@ -1019,18 +911,14 @@ public com.google.spanner.executor.v1.SpannerActionOutcome build() { @java.lang.Override public com.google.spanner.executor.v1.SpannerActionOutcome buildPartial() { - com.google.spanner.executor.v1.SpannerActionOutcome result = - new com.google.spanner.executor.v1.SpannerActionOutcome(this); + com.google.spanner.executor.v1.SpannerActionOutcome result = new com.google.spanner.executor.v1.SpannerActionOutcome(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.SpannerActionOutcome result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.SpannerActionOutcome result) { if (dbPartitionBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { dbPartition_ = java.util.Collections.unmodifiableList(dbPartition_); @@ -1055,20 +943,27 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerActionOutcome r int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.readResult_ = readResultBuilder_ == null ? readResult_ : readResultBuilder_.build(); + result.readResult_ = readResultBuilder_ == null + ? readResult_ + : readResultBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.queryResult_ = - queryResultBuilder_ == null ? queryResult_ : queryResultBuilder_.build(); + result.queryResult_ = queryResultBuilder_ == null + ? queryResult_ + : queryResultBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -1080,8 +975,9 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerActionOutcome r to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.adminResult_ = - adminResultBuilder_ == null ? adminResult_ : adminResultBuilder_.build(); + result.adminResult_ = adminResultBuilder_ == null + ? adminResult_ + : adminResultBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { @@ -1095,39 +991,38 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerActionOutcome r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.SpannerActionOutcome) { - return mergeFrom((com.google.spanner.executor.v1.SpannerActionOutcome) other); + return mergeFrom((com.google.spanner.executor.v1.SpannerActionOutcome)other); } else { super.mergeFrom(other); return this; @@ -1135,8 +1030,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.SpannerActionOutcome other) { - if (other == com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } @@ -1173,10 +1067,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.SpannerActionOutcome oth dbPartitionBuilder_ = null; dbPartition_ = other.dbPartition_; bitField0_ = (bitField0_ & ~0x00000040); - dbPartitionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDbPartitionFieldBuilder() - : null; + dbPartitionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDbPartitionFieldBuilder() : null; } else { dbPartitionBuilder_.addAllMessages(other.dbPartition_); } @@ -1214,10 +1107,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.SpannerActionOutcome oth changeStreamRecordsBuilder_ = null; changeStreamRecords_ = other.changeStreamRecords_; bitField0_ = (bitField0_ & ~0x00000200); - changeStreamRecordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChangeStreamRecordsFieldBuilder() - : null; + changeStreamRecordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChangeStreamRecordsFieldBuilder() : null; } else { changeStreamRecordsBuilder_.addAllMessages(other.changeStreamRecords_); } @@ -1249,100 +1141,99 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getReadResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getQueryResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - transactionRestarted_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - batchTxnId_ = input.readBytes(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - com.google.spanner.executor.v1.BatchPartition m = - input.readMessage( - com.google.spanner.executor.v1.BatchPartition.parser(), extensionRegistry); - if (dbPartitionBuilder_ == null) { - ensureDbPartitionIsMutable(); - dbPartition_.add(m); - } else { - dbPartitionBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: - { - input.readMessage(getAdminResultFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: - { - long v = input.readInt64(); - ensureDmlRowsModifiedIsMutable(); - dmlRowsModified_.addLong(v); - break; - } // case 72 - case 74: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureDmlRowsModifiedIsMutable(); - while (input.getBytesUntilLimit() > 0) { - dmlRowsModified_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 74 - case 82: - { - com.google.spanner.executor.v1.ChangeStreamRecord m = - input.readMessage( - com.google.spanner.executor.v1.ChangeStreamRecord.parser(), - extensionRegistry); - if (changeStreamRecordsBuilder_ == null) { - ensureChangeStreamRecordsIsMutable(); - changeStreamRecords_.add(m); - } else { - changeStreamRecordsBuilder_.addMessage(m); - } - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getReadResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getQueryResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + transactionRestarted_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + batchTxnId_ = input.readBytes(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + com.google.spanner.executor.v1.BatchPartition m = + input.readMessage( + com.google.spanner.executor.v1.BatchPartition.parser(), + extensionRegistry); + if (dbPartitionBuilder_ == null) { + ensureDbPartitionIsMutable(); + dbPartition_.add(m); + } else { + dbPartitionBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: { + input.readMessage( + getAdminResultFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + long v = input.readInt64(); + ensureDmlRowsModifiedIsMutable(); + dmlRowsModified_.addLong(v); + break; + } // case 72 + case 74: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureDmlRowsModifiedIsMutable(); + while (input.getBytesUntilLimit() > 0) { + dmlRowsModified_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 74 + case 82: { + com.google.spanner.executor.v1.ChangeStreamRecord m = + input.readMessage( + com.google.spanner.executor.v1.ChangeStreamRecord.parser(), + extensionRegistry); + if (changeStreamRecordsBuilder_ == null) { + ensureChangeStreamRecordsIsMutable(); + changeStreamRecords_.add(m); + } else { + changeStreamRecordsBuilder_.addMessage(m); + } + break; + } // case 82 + 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) { @@ -1352,38 +1243,30 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
      * 
* * optional .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
      * 
* * optional .google.rpc.Status status = 1; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1394,8 +1277,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
@@ -1417,8 +1298,6 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
@@ -1426,7 +1305,8 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * optional .google.rpc.Status status = 1;
      */
-    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
       } else {
@@ -1437,8 +1317,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
@@ -1448,9 +1326,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
      */
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && status_ != null
-            && status_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          status_ != null &&
+          status_ != com.google.rpc.Status.getDefaultInstance()) {
           getStatusBuilder().mergeFrom(value);
         } else {
           status_ = value;
@@ -1465,8 +1343,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
@@ -1485,8 +1361,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
@@ -1500,8 +1374,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
       return getStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
@@ -1513,12 +1385,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilder();
       } else {
-        return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+        return status_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : status_;
       }
     }
     /**
-     *
-     *
      * 
      * If an outcome is split into multiple parts, status will be set only in the
      * last part.
@@ -1527,14 +1398,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * optional .google.rpc.Status status = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+        statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getStatus(),
+                getParentForChildren(),
+                isClean());
         status_ = null;
       }
       return statusBuilder_;
@@ -1542,47 +1413,34 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
 
     private com.google.protobuf.Timestamp commitTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        commitTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_;
     /**
-     *
-     *
      * 
      * Transaction timestamp. It must be set for successful committed actions.
      * 
* * optional .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
* * optional .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTime_; + return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
@@ -1603,15 +1461,14 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
* * optional .google.protobuf.Timestamp commit_time = 2; */ - public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimeBuilder_ == null) { commitTime_ = builderForValue.build(); } else { @@ -1622,8 +1479,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
@@ -1632,9 +1487,9 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && commitTime_ != null - && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + commitTime_ != null && + commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -1649,8 +1504,6 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
@@ -1668,8 +1521,6 @@ public Builder clearCommitTime() { return this; } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
@@ -1682,8 +1533,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
@@ -1694,14 +1543,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { if (commitTimeBuilder_ != null) { return commitTimeBuilder_.getMessageOrBuilder(); } else { - return commitTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTime_; + return commitTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } } /** - * - * *
      * Transaction timestamp. It must be set for successful committed actions.
      * 
@@ -1709,17 +1555,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { * optional .google.protobuf.Timestamp commit_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCommitTimeFieldBuilder() { if (commitTimeBuilder_ == null) { - commitTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCommitTime(), getParentForChildren(), isClean()); + commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCommitTime(), + getParentForChildren(), + isClean()); commitTime_ = null; } return commitTimeBuilder_; @@ -1727,49 +1570,36 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { private com.google.spanner.executor.v1.ReadResult readResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ReadResult, - com.google.spanner.executor.v1.ReadResult.Builder, - com.google.spanner.executor.v1.ReadResultOrBuilder> - readResultBuilder_; + com.google.spanner.executor.v1.ReadResult, com.google.spanner.executor.v1.ReadResult.Builder, com.google.spanner.executor.v1.ReadResultOrBuilder> readResultBuilder_; /** - * - * *
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
      * 
* * optional .google.spanner.executor.v1.ReadResult read_result = 3; - * * @return Whether the readResult field is set. */ public boolean hasReadResult() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
      * 
* * optional .google.spanner.executor.v1.ReadResult read_result = 3; - * * @return The readResult. */ public com.google.spanner.executor.v1.ReadResult getReadResult() { if (readResultBuilder_ == null) { - return readResult_ == null - ? com.google.spanner.executor.v1.ReadResult.getDefaultInstance() - : readResult_; + return readResult_ == null ? com.google.spanner.executor.v1.ReadResult.getDefaultInstance() : readResult_; } else { return readResultBuilder_.getMessage(); } } /** - * - * *
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
@@ -1791,8 +1621,6 @@ public Builder setReadResult(com.google.spanner.executor.v1.ReadResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
@@ -1812,8 +1640,6 @@ public Builder setReadResult(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
@@ -1823,9 +1649,9 @@ public Builder setReadResult(
      */
     public Builder mergeReadResult(com.google.spanner.executor.v1.ReadResult value) {
       if (readResultBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && readResult_ != null
-            && readResult_ != com.google.spanner.executor.v1.ReadResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          readResult_ != null &&
+          readResult_ != com.google.spanner.executor.v1.ReadResult.getDefaultInstance()) {
           getReadResultBuilder().mergeFrom(value);
         } else {
           readResult_ = value;
@@ -1840,8 +1666,6 @@ public Builder mergeReadResult(com.google.spanner.executor.v1.ReadResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
@@ -1860,8 +1684,6 @@ public Builder clearReadResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
@@ -1875,8 +1697,6 @@ public com.google.spanner.executor.v1.ReadResult.Builder getReadResultBuilder()
       return getReadResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
@@ -1888,14 +1708,11 @@ public com.google.spanner.executor.v1.ReadResultOrBuilder getReadResultOrBuilder
       if (readResultBuilder_ != null) {
         return readResultBuilder_.getMessageOrBuilder();
       } else {
-        return readResult_ == null
-            ? com.google.spanner.executor.v1.ReadResult.getDefaultInstance()
-            : readResult_;
+        return readResult_ == null ?
+            com.google.spanner.executor.v1.ReadResult.getDefaultInstance() : readResult_;
       }
     }
     /**
-     *
-     *
      * 
      * Result of a ReadAction. This field must be set for ReadActions even if
      * no rows were read.
@@ -1904,17 +1721,14 @@ public com.google.spanner.executor.v1.ReadResultOrBuilder getReadResultOrBuilder
      * optional .google.spanner.executor.v1.ReadResult read_result = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.ReadResult,
-            com.google.spanner.executor.v1.ReadResult.Builder,
-            com.google.spanner.executor.v1.ReadResultOrBuilder>
+        com.google.spanner.executor.v1.ReadResult, com.google.spanner.executor.v1.ReadResult.Builder, com.google.spanner.executor.v1.ReadResultOrBuilder> 
         getReadResultFieldBuilder() {
       if (readResultBuilder_ == null) {
-        readResultBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.ReadResult,
-                com.google.spanner.executor.v1.ReadResult.Builder,
-                com.google.spanner.executor.v1.ReadResultOrBuilder>(
-                getReadResult(), getParentForChildren(), isClean());
+        readResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.ReadResult, com.google.spanner.executor.v1.ReadResult.Builder, com.google.spanner.executor.v1.ReadResultOrBuilder>(
+                getReadResult(),
+                getParentForChildren(),
+                isClean());
         readResult_ = null;
       }
       return readResultBuilder_;
@@ -1922,49 +1736,36 @@ public com.google.spanner.executor.v1.ReadResultOrBuilder getReadResultOrBuilder
 
     private com.google.spanner.executor.v1.QueryResult queryResult_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.QueryResult,
-            com.google.spanner.executor.v1.QueryResult.Builder,
-            com.google.spanner.executor.v1.QueryResultOrBuilder>
-        queryResultBuilder_;
+        com.google.spanner.executor.v1.QueryResult, com.google.spanner.executor.v1.QueryResult.Builder, com.google.spanner.executor.v1.QueryResultOrBuilder> queryResultBuilder_;
     /**
-     *
-     *
      * 
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
      * 
* * optional .google.spanner.executor.v1.QueryResult query_result = 4; - * * @return Whether the queryResult field is set. */ public boolean hasQueryResult() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
      * 
* * optional .google.spanner.executor.v1.QueryResult query_result = 4; - * * @return The queryResult. */ public com.google.spanner.executor.v1.QueryResult getQueryResult() { if (queryResultBuilder_ == null) { - return queryResult_ == null - ? com.google.spanner.executor.v1.QueryResult.getDefaultInstance() - : queryResult_; + return queryResult_ == null ? com.google.spanner.executor.v1.QueryResult.getDefaultInstance() : queryResult_; } else { return queryResultBuilder_.getMessage(); } } /** - * - * *
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
@@ -1986,8 +1787,6 @@ public Builder setQueryResult(com.google.spanner.executor.v1.QueryResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
@@ -2007,8 +1806,6 @@ public Builder setQueryResult(
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
@@ -2018,9 +1815,9 @@ public Builder setQueryResult(
      */
     public Builder mergeQueryResult(com.google.spanner.executor.v1.QueryResult value) {
       if (queryResultBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && queryResult_ != null
-            && queryResult_ != com.google.spanner.executor.v1.QueryResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          queryResult_ != null &&
+          queryResult_ != com.google.spanner.executor.v1.QueryResult.getDefaultInstance()) {
           getQueryResultBuilder().mergeFrom(value);
         } else {
           queryResult_ = value;
@@ -2035,8 +1832,6 @@ public Builder mergeQueryResult(com.google.spanner.executor.v1.QueryResult value
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
@@ -2055,8 +1850,6 @@ public Builder clearQueryResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
@@ -2070,8 +1863,6 @@ public com.google.spanner.executor.v1.QueryResult.Builder getQueryResultBuilder(
       return getQueryResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
@@ -2083,14 +1874,11 @@ public com.google.spanner.executor.v1.QueryResultOrBuilder getQueryResultOrBuild
       if (queryResultBuilder_ != null) {
         return queryResultBuilder_.getMessageOrBuilder();
       } else {
-        return queryResult_ == null
-            ? com.google.spanner.executor.v1.QueryResult.getDefaultInstance()
-            : queryResult_;
+        return queryResult_ == null ?
+            com.google.spanner.executor.v1.QueryResult.getDefaultInstance() : queryResult_;
       }
     }
     /**
-     *
-     *
      * 
      * Result of a Query. This field must be set for Queries even if no rows were
      * read.
@@ -2099,26 +1887,21 @@ public com.google.spanner.executor.v1.QueryResultOrBuilder getQueryResultOrBuild
      * optional .google.spanner.executor.v1.QueryResult query_result = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.QueryResult,
-            com.google.spanner.executor.v1.QueryResult.Builder,
-            com.google.spanner.executor.v1.QueryResultOrBuilder>
+        com.google.spanner.executor.v1.QueryResult, com.google.spanner.executor.v1.QueryResult.Builder, com.google.spanner.executor.v1.QueryResultOrBuilder> 
         getQueryResultFieldBuilder() {
       if (queryResultBuilder_ == null) {
-        queryResultBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.QueryResult,
-                com.google.spanner.executor.v1.QueryResult.Builder,
-                com.google.spanner.executor.v1.QueryResultOrBuilder>(
-                getQueryResult(), getParentForChildren(), isClean());
+        queryResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.QueryResult, com.google.spanner.executor.v1.QueryResult.Builder, com.google.spanner.executor.v1.QueryResultOrBuilder>(
+                getQueryResult(),
+                getParentForChildren(),
+                isClean());
         queryResult_ = null;
       }
       return queryResultBuilder_;
     }
 
-    private boolean transactionRestarted_;
+    private boolean transactionRestarted_ ;
     /**
-     *
-     *
      * 
      * This bit indicates that Spanner has restarted the current transaction. It
      * means that the client should replay all the reads and writes.
@@ -2127,7 +1910,6 @@ public com.google.spanner.executor.v1.QueryResultOrBuilder getQueryResultOrBuild
      * 
* * optional bool transaction_restarted = 5; - * * @return Whether the transactionRestarted field is set. */ @java.lang.Override @@ -2135,8 +1917,6 @@ public boolean hasTransactionRestarted() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * This bit indicates that Spanner has restarted the current transaction. It
      * means that the client should replay all the reads and writes.
@@ -2145,7 +1925,6 @@ public boolean hasTransactionRestarted() {
      * 
* * optional bool transaction_restarted = 5; - * * @return The transactionRestarted. */ @java.lang.Override @@ -2153,8 +1932,6 @@ public boolean getTransactionRestarted() { return transactionRestarted_; } /** - * - * *
      * This bit indicates that Spanner has restarted the current transaction. It
      * means that the client should replay all the reads and writes.
@@ -2163,7 +1940,6 @@ public boolean getTransactionRestarted() {
      * 
* * optional bool transaction_restarted = 5; - * * @param value The transactionRestarted to set. * @return This builder for chaining. */ @@ -2175,8 +1951,6 @@ public Builder setTransactionRestarted(boolean value) { return this; } /** - * - * *
      * This bit indicates that Spanner has restarted the current transaction. It
      * means that the client should replay all the reads and writes.
@@ -2185,7 +1959,6 @@ public Builder setTransactionRestarted(boolean value) {
      * 
* * optional bool transaction_restarted = 5; - * * @return This builder for chaining. */ public Builder clearTransactionRestarted() { @@ -2197,15 +1970,12 @@ public Builder clearTransactionRestarted() { private com.google.protobuf.ByteString batchTxnId_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * In successful StartBatchTransactionAction outcomes, this contains the ID of
      * the transaction.
      * 
* * optional bytes batch_txn_id = 6; - * * @return Whether the batchTxnId field is set. */ @java.lang.Override @@ -2213,15 +1983,12 @@ public boolean hasBatchTxnId() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * In successful StartBatchTransactionAction outcomes, this contains the ID of
      * the transaction.
      * 
* * optional bytes batch_txn_id = 6; - * * @return The batchTxnId. */ @java.lang.Override @@ -2229,37 +1996,29 @@ public com.google.protobuf.ByteString getBatchTxnId() { return batchTxnId_; } /** - * - * *
      * In successful StartBatchTransactionAction outcomes, this contains the ID of
      * the transaction.
      * 
* * optional bytes batch_txn_id = 6; - * * @param value The batchTxnId to set. * @return This builder for chaining. */ public Builder setBatchTxnId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } batchTxnId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * In successful StartBatchTransactionAction outcomes, this contains the ID of
      * the transaction.
      * 
* * optional bytes batch_txn_id = 6; - * * @return This builder for chaining. */ public Builder clearBatchTxnId() { @@ -2270,25 +2029,18 @@ public Builder clearBatchTxnId() { } private java.util.List dbPartition_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDbPartitionIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - dbPartition_ = - new java.util.ArrayList(dbPartition_); + dbPartition_ = new java.util.ArrayList(dbPartition_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.BatchPartition, - com.google.spanner.executor.v1.BatchPartition.Builder, - com.google.spanner.executor.v1.BatchPartitionOrBuilder> - dbPartitionBuilder_; + com.google.spanner.executor.v1.BatchPartition, com.google.spanner.executor.v1.BatchPartition.Builder, com.google.spanner.executor.v1.BatchPartitionOrBuilder> dbPartitionBuilder_; /** - * - * *
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2304,8 +2056,6 @@ public java.util.List getDbPartit
       }
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2321,8 +2071,6 @@ public int getDbPartitionCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2338,8 +2086,6 @@ public com.google.spanner.executor.v1.BatchPartition getDbPartition(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2347,7 +2093,8 @@ public com.google.spanner.executor.v1.BatchPartition getDbPartition(int index) {
      *
      * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      */
-    public Builder setDbPartition(int index, com.google.spanner.executor.v1.BatchPartition value) {
+    public Builder setDbPartition(
+        int index, com.google.spanner.executor.v1.BatchPartition value) {
       if (dbPartitionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2361,8 +2108,6 @@ public Builder setDbPartition(int index, com.google.spanner.executor.v1.BatchPar
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2382,8 +2127,6 @@ public Builder setDbPartition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2405,8 +2148,6 @@ public Builder addDbPartition(com.google.spanner.executor.v1.BatchPartition valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2414,7 +2155,8 @@ public Builder addDbPartition(com.google.spanner.executor.v1.BatchPartition valu
      *
      * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      */
-    public Builder addDbPartition(int index, com.google.spanner.executor.v1.BatchPartition value) {
+    public Builder addDbPartition(
+        int index, com.google.spanner.executor.v1.BatchPartition value) {
       if (dbPartitionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2428,8 +2170,6 @@ public Builder addDbPartition(int index, com.google.spanner.executor.v1.BatchPar
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2449,8 +2189,6 @@ public Builder addDbPartition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2470,8 +2208,6 @@ public Builder addDbPartition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2483,7 +2219,8 @@ public Builder addAllDbPartition(
         java.lang.Iterable values) {
       if (dbPartitionBuilder_ == null) {
         ensureDbPartitionIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dbPartition_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, dbPartition_);
         onChanged();
       } else {
         dbPartitionBuilder_.addAllMessages(values);
@@ -2491,8 +2228,6 @@ public Builder addAllDbPartition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2511,8 +2246,6 @@ public Builder clearDbPartition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2531,8 +2264,6 @@ public Builder removeDbPartition(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2540,12 +2271,11 @@ public Builder removeDbPartition(int index) {
      *
      * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      */
-    public com.google.spanner.executor.v1.BatchPartition.Builder getDbPartitionBuilder(int index) {
+    public com.google.spanner.executor.v1.BatchPartition.Builder getDbPartitionBuilder(
+        int index) {
       return getDbPartitionFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2556,14 +2286,11 @@ public com.google.spanner.executor.v1.BatchPartition.Builder getDbPartitionBuild
     public com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBuilder(
         int index) {
       if (dbPartitionBuilder_ == null) {
-        return dbPartition_.get(index);
-      } else {
+        return dbPartition_.get(index);  } else {
         return dbPartitionBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2571,8 +2298,8 @@ public com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBu
      *
      * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      */
-    public java.util.List
-        getDbPartitionOrBuilderList() {
+    public java.util.List 
+         getDbPartitionOrBuilderList() {
       if (dbPartitionBuilder_ != null) {
         return dbPartitionBuilder_.getMessageOrBuilderList();
       } else {
@@ -2580,8 +2307,6 @@ public com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2590,12 +2315,10 @@ public com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBu
      * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      */
     public com.google.spanner.executor.v1.BatchPartition.Builder addDbPartitionBuilder() {
-      return getDbPartitionFieldBuilder()
-          .addBuilder(com.google.spanner.executor.v1.BatchPartition.getDefaultInstance());
+      return getDbPartitionFieldBuilder().addBuilder(
+          com.google.spanner.executor.v1.BatchPartition.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2603,13 +2326,12 @@ public com.google.spanner.executor.v1.BatchPartition.Builder addDbPartitionBuild
      *
      * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      */
-    public com.google.spanner.executor.v1.BatchPartition.Builder addDbPartitionBuilder(int index) {
-      return getDbPartitionFieldBuilder()
-          .addBuilder(index, com.google.spanner.executor.v1.BatchPartition.getDefaultInstance());
+    public com.google.spanner.executor.v1.BatchPartition.Builder addDbPartitionBuilder(
+        int index) {
+      return getDbPartitionFieldBuilder().addBuilder(
+          index, com.google.spanner.executor.v1.BatchPartition.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Generated database partitions (result of a
      * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -2617,23 +2339,20 @@ public com.google.spanner.executor.v1.BatchPartition.Builder addDbPartitionBuild
      *
      * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
      */
-    public java.util.List
-        getDbPartitionBuilderList() {
+    public java.util.List 
+         getDbPartitionBuilderList() {
       return getDbPartitionFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.BatchPartition,
-            com.google.spanner.executor.v1.BatchPartition.Builder,
-            com.google.spanner.executor.v1.BatchPartitionOrBuilder>
+        com.google.spanner.executor.v1.BatchPartition, com.google.spanner.executor.v1.BatchPartition.Builder, com.google.spanner.executor.v1.BatchPartitionOrBuilder> 
         getDbPartitionFieldBuilder() {
       if (dbPartitionBuilder_ == null) {
-        dbPartitionBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.executor.v1.BatchPartition,
-                com.google.spanner.executor.v1.BatchPartition.Builder,
-                com.google.spanner.executor.v1.BatchPartitionOrBuilder>(
-                dbPartition_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean());
+        dbPartitionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.executor.v1.BatchPartition, com.google.spanner.executor.v1.BatchPartition.Builder, com.google.spanner.executor.v1.BatchPartitionOrBuilder>(
+                dbPartition_,
+                ((bitField0_ & 0x00000040) != 0),
+                getParentForChildren(),
+                isClean());
         dbPartition_ = null;
       }
       return dbPartitionBuilder_;
@@ -2641,47 +2360,34 @@ public com.google.spanner.executor.v1.BatchPartition.Builder addDbPartitionBuild
 
     private com.google.spanner.executor.v1.AdminResult adminResult_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.AdminResult,
-            com.google.spanner.executor.v1.AdminResult.Builder,
-            com.google.spanner.executor.v1.AdminResultOrBuilder>
-        adminResultBuilder_;
+        com.google.spanner.executor.v1.AdminResult, com.google.spanner.executor.v1.AdminResult.Builder, com.google.spanner.executor.v1.AdminResultOrBuilder> adminResultBuilder_;
     /**
-     *
-     *
      * 
      * Result of admin related actions.
      * 
* * optional .google.spanner.executor.v1.AdminResult admin_result = 8; - * * @return Whether the adminResult field is set. */ public boolean hasAdminResult() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Result of admin related actions.
      * 
* * optional .google.spanner.executor.v1.AdminResult admin_result = 8; - * * @return The adminResult. */ public com.google.spanner.executor.v1.AdminResult getAdminResult() { if (adminResultBuilder_ == null) { - return adminResult_ == null - ? com.google.spanner.executor.v1.AdminResult.getDefaultInstance() - : adminResult_; + return adminResult_ == null ? com.google.spanner.executor.v1.AdminResult.getDefaultInstance() : adminResult_; } else { return adminResultBuilder_.getMessage(); } } /** - * - * *
      * Result of admin related actions.
      * 
@@ -2702,8 +2408,6 @@ public Builder setAdminResult(com.google.spanner.executor.v1.AdminResult value) return this; } /** - * - * *
      * Result of admin related actions.
      * 
@@ -2722,8 +2426,6 @@ public Builder setAdminResult( return this; } /** - * - * *
      * Result of admin related actions.
      * 
@@ -2732,9 +2434,9 @@ public Builder setAdminResult( */ public Builder mergeAdminResult(com.google.spanner.executor.v1.AdminResult value) { if (adminResultBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && adminResult_ != null - && adminResult_ != com.google.spanner.executor.v1.AdminResult.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + adminResult_ != null && + adminResult_ != com.google.spanner.executor.v1.AdminResult.getDefaultInstance()) { getAdminResultBuilder().mergeFrom(value); } else { adminResult_ = value; @@ -2749,8 +2451,6 @@ public Builder mergeAdminResult(com.google.spanner.executor.v1.AdminResult value return this; } /** - * - * *
      * Result of admin related actions.
      * 
@@ -2768,8 +2468,6 @@ public Builder clearAdminResult() { return this; } /** - * - * *
      * Result of admin related actions.
      * 
@@ -2782,8 +2480,6 @@ public com.google.spanner.executor.v1.AdminResult.Builder getAdminResultBuilder( return getAdminResultFieldBuilder().getBuilder(); } /** - * - * *
      * Result of admin related actions.
      * 
@@ -2794,14 +2490,11 @@ public com.google.spanner.executor.v1.AdminResultOrBuilder getAdminResultOrBuild if (adminResultBuilder_ != null) { return adminResultBuilder_.getMessageOrBuilder(); } else { - return adminResult_ == null - ? com.google.spanner.executor.v1.AdminResult.getDefaultInstance() - : adminResult_; + return adminResult_ == null ? + com.google.spanner.executor.v1.AdminResult.getDefaultInstance() : adminResult_; } } /** - * - * *
      * Result of admin related actions.
      * 
@@ -2809,24 +2502,20 @@ public com.google.spanner.executor.v1.AdminResultOrBuilder getAdminResultOrBuild * optional .google.spanner.executor.v1.AdminResult admin_result = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.AdminResult, - com.google.spanner.executor.v1.AdminResult.Builder, - com.google.spanner.executor.v1.AdminResultOrBuilder> + com.google.spanner.executor.v1.AdminResult, com.google.spanner.executor.v1.AdminResult.Builder, com.google.spanner.executor.v1.AdminResultOrBuilder> getAdminResultFieldBuilder() { if (adminResultBuilder_ == null) { - adminResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.AdminResult, - com.google.spanner.executor.v1.AdminResult.Builder, - com.google.spanner.executor.v1.AdminResultOrBuilder>( - getAdminResult(), getParentForChildren(), isClean()); + adminResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.AdminResult, com.google.spanner.executor.v1.AdminResult.Builder, com.google.spanner.executor.v1.AdminResultOrBuilder>( + getAdminResult(), + getParentForChildren(), + isClean()); adminResult_ = null; } return adminResultBuilder_; } private com.google.protobuf.Internal.LongList dmlRowsModified_ = emptyLongList(); - private void ensureDmlRowsModifiedIsMutable() { if (!dmlRowsModified_.isModifiable()) { dmlRowsModified_ = makeMutableCopy(dmlRowsModified_); @@ -2834,46 +2523,38 @@ private void ensureDmlRowsModifiedIsMutable() { bitField0_ |= 0x00000100; } /** - * - * *
      * Stores rows modified by query in single DML or batch DML action.
      * In case of batch DML action, stores 0 as row count of errored DML query.
      * 
* * repeated int64 dml_rows_modified = 9; - * * @return A list containing the dmlRowsModified. */ - public java.util.List getDmlRowsModifiedList() { + public java.util.List + getDmlRowsModifiedList() { dmlRowsModified_.makeImmutable(); return dmlRowsModified_; } /** - * - * *
      * Stores rows modified by query in single DML or batch DML action.
      * In case of batch DML action, stores 0 as row count of errored DML query.
      * 
* * repeated int64 dml_rows_modified = 9; - * * @return The count of dmlRowsModified. */ public int getDmlRowsModifiedCount() { return dmlRowsModified_.size(); } /** - * - * *
      * Stores rows modified by query in single DML or batch DML action.
      * In case of batch DML action, stores 0 as row count of errored DML query.
      * 
* * repeated int64 dml_rows_modified = 9; - * * @param index The index of the element to return. * @return The dmlRowsModified at the given index. */ @@ -2881,20 +2562,18 @@ public long getDmlRowsModified(int index) { return dmlRowsModified_.getLong(index); } /** - * - * *
      * Stores rows modified by query in single DML or batch DML action.
      * In case of batch DML action, stores 0 as row count of errored DML query.
      * 
* * repeated int64 dml_rows_modified = 9; - * * @param index The index to set the value at. * @param value The dmlRowsModified to set. * @return This builder for chaining. */ - public Builder setDmlRowsModified(int index, long value) { + public Builder setDmlRowsModified( + int index, long value) { ensureDmlRowsModifiedIsMutable(); dmlRowsModified_.setLong(index, value); @@ -2903,15 +2582,12 @@ public Builder setDmlRowsModified(int index, long value) { return this; } /** - * - * *
      * Stores rows modified by query in single DML or batch DML action.
      * In case of batch DML action, stores 0 as row count of errored DML query.
      * 
* * repeated int64 dml_rows_modified = 9; - * * @param value The dmlRowsModified to add. * @return This builder for chaining. */ @@ -2924,35 +2600,31 @@ public Builder addDmlRowsModified(long value) { return this; } /** - * - * *
      * Stores rows modified by query in single DML or batch DML action.
      * In case of batch DML action, stores 0 as row count of errored DML query.
      * 
* * repeated int64 dml_rows_modified = 9; - * * @param values The dmlRowsModified to add. * @return This builder for chaining. */ - public Builder addAllDmlRowsModified(java.lang.Iterable values) { + public Builder addAllDmlRowsModified( + java.lang.Iterable values) { ensureDmlRowsModifiedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dmlRowsModified_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dmlRowsModified_); bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Stores rows modified by query in single DML or batch DML action.
      * In case of batch DML action, stores 0 as row count of errored DML query.
      * 
* * repeated int64 dml_rows_modified = 9; - * * @return This builder for chaining. */ public Builder clearDmlRowsModified() { @@ -2963,35 +2635,25 @@ public Builder clearDmlRowsModified() { } private java.util.List changeStreamRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChangeStreamRecordsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { - changeStreamRecords_ = - new java.util.ArrayList( - changeStreamRecords_); + changeStreamRecords_ = new java.util.ArrayList(changeStreamRecords_); bitField0_ |= 0x00000200; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ChangeStreamRecord, - com.google.spanner.executor.v1.ChangeStreamRecord.Builder, - com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder> - changeStreamRecordsBuilder_; + com.google.spanner.executor.v1.ChangeStreamRecord, com.google.spanner.executor.v1.ChangeStreamRecord.Builder, com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder> changeStreamRecordsBuilder_; /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ - public java.util.List - getChangeStreamRecordsList() { + public java.util.List getChangeStreamRecordsList() { if (changeStreamRecordsBuilder_ == null) { return java.util.Collections.unmodifiableList(changeStreamRecords_); } else { @@ -2999,14 +2661,11 @@ private void ensureChangeStreamRecordsIsMutable() { } } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public int getChangeStreamRecordsCount() { if (changeStreamRecordsBuilder_ == null) { @@ -3016,14 +2675,11 @@ public int getChangeStreamRecordsCount() { } } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public com.google.spanner.executor.v1.ChangeStreamRecord getChangeStreamRecords(int index) { if (changeStreamRecordsBuilder_ == null) { @@ -3033,14 +2689,11 @@ public com.google.spanner.executor.v1.ChangeStreamRecord getChangeStreamRecords( } } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder setChangeStreamRecords( int index, com.google.spanner.executor.v1.ChangeStreamRecord value) { @@ -3057,14 +2710,11 @@ public Builder setChangeStreamRecords( return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder setChangeStreamRecords( int index, com.google.spanner.executor.v1.ChangeStreamRecord.Builder builderForValue) { @@ -3078,14 +2728,11 @@ public Builder setChangeStreamRecords( return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder addChangeStreamRecords(com.google.spanner.executor.v1.ChangeStreamRecord value) { if (changeStreamRecordsBuilder_ == null) { @@ -3101,14 +2748,11 @@ public Builder addChangeStreamRecords(com.google.spanner.executor.v1.ChangeStrea return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder addChangeStreamRecords( int index, com.google.spanner.executor.v1.ChangeStreamRecord value) { @@ -3125,14 +2769,11 @@ public Builder addChangeStreamRecords( return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder addChangeStreamRecords( com.google.spanner.executor.v1.ChangeStreamRecord.Builder builderForValue) { @@ -3146,14 +2787,11 @@ public Builder addChangeStreamRecords( return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder addChangeStreamRecords( int index, com.google.spanner.executor.v1.ChangeStreamRecord.Builder builderForValue) { @@ -3167,20 +2805,18 @@ public Builder addChangeStreamRecords( return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder addAllChangeStreamRecords( java.lang.Iterable values) { if (changeStreamRecordsBuilder_ == null) { ensureChangeStreamRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, changeStreamRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, changeStreamRecords_); onChanged(); } else { changeStreamRecordsBuilder_.addAllMessages(values); @@ -3188,14 +2824,11 @@ public Builder addAllChangeStreamRecords( return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder clearChangeStreamRecords() { if (changeStreamRecordsBuilder_ == null) { @@ -3208,14 +2841,11 @@ public Builder clearChangeStreamRecords() { return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public Builder removeChangeStreamRecords(int index) { if (changeStreamRecordsBuilder_ == null) { @@ -3228,49 +2858,39 @@ public Builder removeChangeStreamRecords(int index) { return this; } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public com.google.spanner.executor.v1.ChangeStreamRecord.Builder getChangeStreamRecordsBuilder( int index) { return getChangeStreamRecordsFieldBuilder().getBuilder(index); } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ - public com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder - getChangeStreamRecordsOrBuilder(int index) { + public com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder getChangeStreamRecordsOrBuilder( + int index) { if (changeStreamRecordsBuilder_ == null) { - return changeStreamRecords_.get(index); - } else { + return changeStreamRecords_.get(index); } else { return changeStreamRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ - public java.util.List - getChangeStreamRecordsOrBuilderList() { + public java.util.List + getChangeStreamRecordsOrBuilderList() { if (changeStreamRecordsBuilder_ != null) { return changeStreamRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -3278,62 +2898,45 @@ public com.google.spanner.executor.v1.ChangeStreamRecord.Builder getChangeStream } } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ - public com.google.spanner.executor.v1.ChangeStreamRecord.Builder - addChangeStreamRecordsBuilder() { - return getChangeStreamRecordsFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.ChangeStreamRecord.getDefaultInstance()); + public com.google.spanner.executor.v1.ChangeStreamRecord.Builder addChangeStreamRecordsBuilder() { + return getChangeStreamRecordsFieldBuilder().addBuilder( + com.google.spanner.executor.v1.ChangeStreamRecord.getDefaultInstance()); } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ public com.google.spanner.executor.v1.ChangeStreamRecord.Builder addChangeStreamRecordsBuilder( int index) { - return getChangeStreamRecordsFieldBuilder() - .addBuilder( - index, com.google.spanner.executor.v1.ChangeStreamRecord.getDefaultInstance()); + return getChangeStreamRecordsFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.ChangeStreamRecord.getDefaultInstance()); } /** - * - * *
      * Change stream records returned by a change stream query.
      * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ - public java.util.List - getChangeStreamRecordsBuilderList() { + public java.util.List + getChangeStreamRecordsBuilderList() { return getChangeStreamRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ChangeStreamRecord, - com.google.spanner.executor.v1.ChangeStreamRecord.Builder, - com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder> + com.google.spanner.executor.v1.ChangeStreamRecord, com.google.spanner.executor.v1.ChangeStreamRecord.Builder, com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder> getChangeStreamRecordsFieldBuilder() { if (changeStreamRecordsBuilder_ == null) { - changeStreamRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ChangeStreamRecord, - com.google.spanner.executor.v1.ChangeStreamRecord.Builder, - com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder>( + changeStreamRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.ChangeStreamRecord, com.google.spanner.executor.v1.ChangeStreamRecord.Builder, com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder>( changeStreamRecords_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), @@ -3342,9 +2945,9 @@ public com.google.spanner.executor.v1.ChangeStreamRecord.Builder addChangeStream } return changeStreamRecordsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3354,12 +2957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.SpannerActionOutcome) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.SpannerActionOutcome) private static final com.google.spanner.executor.v1.SpannerActionOutcome DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.SpannerActionOutcome(); } @@ -3368,27 +2971,27 @@ public static com.google.spanner.executor.v1.SpannerActionOutcome getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpannerActionOutcome 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpannerActionOutcome 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; @@ -3403,4 +3006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.SpannerActionOutcome getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcomeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcomeOrBuilder.java similarity index 87% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcomeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcomeOrBuilder.java index c2913c63e2b..da9d6dbeb22 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcomeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerActionOutcomeOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface SpannerActionOutcomeOrBuilder - extends +public interface SpannerActionOutcomeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.SpannerActionOutcome) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If an outcome is split into multiple parts, status will be set only in the
    * last part.
    * 
* * optional .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * If an outcome is split into multiple parts, status will be set only in the
    * last part.
    * 
* * optional .google.rpc.Status status = 1; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * If an outcome is split into multiple parts, status will be set only in the
    * last part.
@@ -63,32 +39,24 @@ public interface SpannerActionOutcomeOrBuilder
   com.google.rpc.StatusOrBuilder getStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * Transaction timestamp. It must be set for successful committed actions.
    * 
* * optional .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** - * - * *
    * Transaction timestamp. It must be set for successful committed actions.
    * 
* * optional .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** - * - * *
    * Transaction timestamp. It must be set for successful committed actions.
    * 
@@ -98,34 +66,26 @@ public interface SpannerActionOutcomeOrBuilder com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder(); /** - * - * *
    * Result of a ReadAction. This field must be set for ReadActions even if
    * no rows were read.
    * 
* * optional .google.spanner.executor.v1.ReadResult read_result = 3; - * * @return Whether the readResult field is set. */ boolean hasReadResult(); /** - * - * *
    * Result of a ReadAction. This field must be set for ReadActions even if
    * no rows were read.
    * 
* * optional .google.spanner.executor.v1.ReadResult read_result = 3; - * * @return The readResult. */ com.google.spanner.executor.v1.ReadResult getReadResult(); /** - * - * *
    * Result of a ReadAction. This field must be set for ReadActions even if
    * no rows were read.
@@ -136,34 +96,26 @@ public interface SpannerActionOutcomeOrBuilder
   com.google.spanner.executor.v1.ReadResultOrBuilder getReadResultOrBuilder();
 
   /**
-   *
-   *
    * 
    * Result of a Query. This field must be set for Queries even if no rows were
    * read.
    * 
* * optional .google.spanner.executor.v1.QueryResult query_result = 4; - * * @return Whether the queryResult field is set. */ boolean hasQueryResult(); /** - * - * *
    * Result of a Query. This field must be set for Queries even if no rows were
    * read.
    * 
* * optional .google.spanner.executor.v1.QueryResult query_result = 4; - * * @return The queryResult. */ com.google.spanner.executor.v1.QueryResult getQueryResult(); /** - * - * *
    * Result of a Query. This field must be set for Queries even if no rows were
    * read.
@@ -174,8 +126,6 @@ public interface SpannerActionOutcomeOrBuilder
   com.google.spanner.executor.v1.QueryResultOrBuilder getQueryResultOrBuilder();
 
   /**
-   *
-   *
    * 
    * This bit indicates that Spanner has restarted the current transaction. It
    * means that the client should replay all the reads and writes.
@@ -184,13 +134,10 @@ public interface SpannerActionOutcomeOrBuilder
    * 
* * optional bool transaction_restarted = 5; - * * @return Whether the transactionRestarted field is set. */ boolean hasTransactionRestarted(); /** - * - * *
    * This bit indicates that Spanner has restarted the current transaction. It
    * means that the client should replay all the reads and writes.
@@ -199,41 +146,32 @@ public interface SpannerActionOutcomeOrBuilder
    * 
* * optional bool transaction_restarted = 5; - * * @return The transactionRestarted. */ boolean getTransactionRestarted(); /** - * - * *
    * In successful StartBatchTransactionAction outcomes, this contains the ID of
    * the transaction.
    * 
* * optional bytes batch_txn_id = 6; - * * @return Whether the batchTxnId field is set. */ boolean hasBatchTxnId(); /** - * - * *
    * In successful StartBatchTransactionAction outcomes, this contains the ID of
    * the transaction.
    * 
* * optional bytes batch_txn_id = 6; - * * @return The batchTxnId. */ com.google.protobuf.ByteString getBatchTxnId(); /** - * - * *
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -241,10 +179,9 @@ public interface SpannerActionOutcomeOrBuilder
    *
    * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    */
-  java.util.List getDbPartitionList();
+  java.util.List 
+      getDbPartitionList();
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -254,8 +191,6 @@ public interface SpannerActionOutcomeOrBuilder
    */
   com.google.spanner.executor.v1.BatchPartition getDbPartition(int index);
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -265,8 +200,6 @@ public interface SpannerActionOutcomeOrBuilder
    */
   int getDbPartitionCount();
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -274,11 +207,9 @@ public interface SpannerActionOutcomeOrBuilder
    *
    * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    */
-  java.util.List
+  java.util.List 
       getDbPartitionOrBuilderList();
   /**
-   *
-   *
    * 
    * Generated database partitions (result of a
    * GenetageDbPartitionsForReadAction/GenerateDbPartitionsForQueryAction).
@@ -286,35 +217,28 @@ public interface SpannerActionOutcomeOrBuilder
    *
    * repeated .google.spanner.executor.v1.BatchPartition db_partition = 7;
    */
-  com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBuilder(int index);
+  com.google.spanner.executor.v1.BatchPartitionOrBuilder getDbPartitionOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Result of admin related actions.
    * 
* * optional .google.spanner.executor.v1.AdminResult admin_result = 8; - * * @return Whether the adminResult field is set. */ boolean hasAdminResult(); /** - * - * *
    * Result of admin related actions.
    * 
* * optional .google.spanner.executor.v1.AdminResult admin_result = 8; - * * @return The adminResult. */ com.google.spanner.executor.v1.AdminResult getAdminResult(); /** - * - * *
    * Result of admin related actions.
    * 
@@ -324,100 +248,77 @@ public interface SpannerActionOutcomeOrBuilder com.google.spanner.executor.v1.AdminResultOrBuilder getAdminResultOrBuilder(); /** - * - * *
    * Stores rows modified by query in single DML or batch DML action.
    * In case of batch DML action, stores 0 as row count of errored DML query.
    * 
* * repeated int64 dml_rows_modified = 9; - * * @return A list containing the dmlRowsModified. */ java.util.List getDmlRowsModifiedList(); /** - * - * *
    * Stores rows modified by query in single DML or batch DML action.
    * In case of batch DML action, stores 0 as row count of errored DML query.
    * 
* * repeated int64 dml_rows_modified = 9; - * * @return The count of dmlRowsModified. */ int getDmlRowsModifiedCount(); /** - * - * *
    * Stores rows modified by query in single DML or batch DML action.
    * In case of batch DML action, stores 0 as row count of errored DML query.
    * 
* * repeated int64 dml_rows_modified = 9; - * * @param index The index of the element to return. * @return The dmlRowsModified at the given index. */ long getDmlRowsModified(int index); /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ - java.util.List getChangeStreamRecordsList(); + java.util.List + getChangeStreamRecordsList(); /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ com.google.spanner.executor.v1.ChangeStreamRecord getChangeStreamRecords(int index); /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ int getChangeStreamRecordsCount(); /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ - java.util.List + java.util.List getChangeStreamRecordsOrBuilderList(); /** - * - * *
    * Change stream records returned by a change stream query.
    * 
* - * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; - * + * repeated .google.spanner.executor.v1.ChangeStreamRecord change_stream_records = 10; */ com.google.spanner.executor.v1.ChangeStreamRecordOrBuilder getChangeStreamRecordsOrBuilder( int index); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequest.java similarity index 66% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequest.java index daad9601b0c..6cc4db8a5a2 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,59 +5,53 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Request to executor service that start a new Spanner action.
  * 
* * Protobuf type {@code google.spanner.executor.v1.SpannerAsyncActionRequest} */ -public final class SpannerAsyncActionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpannerAsyncActionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.SpannerAsyncActionRequest) SpannerAsyncActionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpannerAsyncActionRequest.newBuilder() to construct. private SpannerAsyncActionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SpannerAsyncActionRequest() {} + private SpannerAsyncActionRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpannerAsyncActionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.SpannerAsyncActionRequest.class, - com.google.spanner.executor.v1.SpannerAsyncActionRequest.Builder.class); + com.google.spanner.executor.v1.SpannerAsyncActionRequest.class, com.google.spanner.executor.v1.SpannerAsyncActionRequest.Builder.class); } private int bitField0_; public static final int ACTION_ID_FIELD_NUMBER = 1; private int actionId_ = 0; /** - * - * *
    * Action id to uniquely identify this action request.
    * 
* * int32 action_id = 1; - * * @return The actionId. */ @java.lang.Override @@ -83,14 +62,11 @@ public int getActionId() { public static final int ACTION_FIELD_NUMBER = 2; private com.google.spanner.executor.v1.SpannerAction action_; /** - * - * *
    * The actual SpannerAction to perform.
    * 
* * .google.spanner.executor.v1.SpannerAction action = 2; - * * @return Whether the action field is set. */ @java.lang.Override @@ -98,25 +74,18 @@ public boolean hasAction() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The actual SpannerAction to perform.
    * 
* * .google.spanner.executor.v1.SpannerAction action = 2; - * * @return The action. */ @java.lang.Override public com.google.spanner.executor.v1.SpannerAction getAction() { - return action_ == null - ? com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() - : action_; + return action_ == null ? com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() : action_; } /** - * - * *
    * The actual SpannerAction to perform.
    * 
@@ -125,13 +94,10 @@ public com.google.spanner.executor.v1.SpannerAction getAction() { */ @java.lang.Override public com.google.spanner.executor.v1.SpannerActionOrBuilder getActionOrBuilder() { - return action_ == null - ? com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() - : action_; + return action_ == null ? com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() : action_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (actionId_ != 0) { output.writeInt32(1, actionId_); } @@ -160,10 +127,12 @@ public int getSerializedSize() { size = 0; if (actionId_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, actionId_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, actionId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAction()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,18 +142,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.SpannerAsyncActionRequest)) { return super.equals(obj); } - com.google.spanner.executor.v1.SpannerAsyncActionRequest other = - (com.google.spanner.executor.v1.SpannerAsyncActionRequest) obj; + com.google.spanner.executor.v1.SpannerAsyncActionRequest other = (com.google.spanner.executor.v1.SpannerAsyncActionRequest) obj; - if (getActionId() != other.getActionId()) return false; + if (getActionId() + != other.getActionId()) return false; if (hasAction() != other.hasAction()) return false; if (hasAction()) { - if (!getAction().equals(other.getAction())) return false; + if (!getAction() + .equals(other.getAction())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,127 +179,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.SpannerAsyncActionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.SpannerAsyncActionRequest prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.SpannerAsyncActionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to executor service that start a new Spanner action.
    * 
* * Protobuf type {@code google.spanner.executor.v1.SpannerAsyncActionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.SpannerAsyncActionRequest) com.google.spanner.executor.v1.SpannerAsyncActionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.SpannerAsyncActionRequest.class, - com.google.spanner.executor.v1.SpannerAsyncActionRequest.Builder.class); + com.google.spanner.executor.v1.SpannerAsyncActionRequest.class, com.google.spanner.executor.v1.SpannerAsyncActionRequest.Builder.class); } // Construct using com.google.spanner.executor.v1.SpannerAsyncActionRequest.newBuilder() @@ -337,17 +299,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getActionFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -362,9 +324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; } @java.lang.Override @@ -383,11 +345,8 @@ public com.google.spanner.executor.v1.SpannerAsyncActionRequest build() { @java.lang.Override public com.google.spanner.executor.v1.SpannerAsyncActionRequest buildPartial() { - com.google.spanner.executor.v1.SpannerAsyncActionRequest result = - new com.google.spanner.executor.v1.SpannerAsyncActionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.SpannerAsyncActionRequest result = new com.google.spanner.executor.v1.SpannerAsyncActionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -399,7 +358,9 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerAsyncActionRequ } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.action_ = actionBuilder_ == null ? action_ : actionBuilder_.build(); + result.action_ = actionBuilder_ == null + ? action_ + : actionBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -409,39 +370,38 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerAsyncActionRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.SpannerAsyncActionRequest) { - return mergeFrom((com.google.spanner.executor.v1.SpannerAsyncActionRequest) other); + return mergeFrom((com.google.spanner.executor.v1.SpannerAsyncActionRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.SpannerAsyncActionRequest other) { - if (other == com.google.spanner.executor.v1.SpannerAsyncActionRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.SpannerAsyncActionRequest.getDefaultInstance()) return this; if (other.getActionId() != 0) { setActionId(other.getActionId()); } @@ -483,25 +442,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - actionId_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getActionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + actionId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getActionFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -511,19 +469,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int actionId_; + private int actionId_ ; /** - * - * *
      * Action id to uniquely identify this action request.
      * 
* * int32 action_id = 1; - * * @return The actionId. */ @java.lang.Override @@ -531,14 +485,11 @@ public int getActionId() { return actionId_; } /** - * - * *
      * Action id to uniquely identify this action request.
      * 
* * int32 action_id = 1; - * * @param value The actionId to set. * @return This builder for chaining. */ @@ -550,14 +501,11 @@ public Builder setActionId(int value) { return this; } /** - * - * *
      * Action id to uniquely identify this action request.
      * 
* * int32 action_id = 1; - * * @return This builder for chaining. */ public Builder clearActionId() { @@ -569,47 +517,34 @@ public Builder clearActionId() { private com.google.spanner.executor.v1.SpannerAction action_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.SpannerAction, - com.google.spanner.executor.v1.SpannerAction.Builder, - com.google.spanner.executor.v1.SpannerActionOrBuilder> - actionBuilder_; + com.google.spanner.executor.v1.SpannerAction, com.google.spanner.executor.v1.SpannerAction.Builder, com.google.spanner.executor.v1.SpannerActionOrBuilder> actionBuilder_; /** - * - * *
      * The actual SpannerAction to perform.
      * 
* * .google.spanner.executor.v1.SpannerAction action = 2; - * * @return Whether the action field is set. */ public boolean hasAction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The actual SpannerAction to perform.
      * 
* * .google.spanner.executor.v1.SpannerAction action = 2; - * * @return The action. */ public com.google.spanner.executor.v1.SpannerAction getAction() { if (actionBuilder_ == null) { - return action_ == null - ? com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() - : action_; + return action_ == null ? com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() : action_; } else { return actionBuilder_.getMessage(); } } /** - * - * *
      * The actual SpannerAction to perform.
      * 
@@ -630,15 +565,14 @@ public Builder setAction(com.google.spanner.executor.v1.SpannerAction value) { return this; } /** - * - * *
      * The actual SpannerAction to perform.
      * 
* * .google.spanner.executor.v1.SpannerAction action = 2; */ - public Builder setAction(com.google.spanner.executor.v1.SpannerAction.Builder builderForValue) { + public Builder setAction( + com.google.spanner.executor.v1.SpannerAction.Builder builderForValue) { if (actionBuilder_ == null) { action_ = builderForValue.build(); } else { @@ -649,8 +583,6 @@ public Builder setAction(com.google.spanner.executor.v1.SpannerAction.Builder bu return this; } /** - * - * *
      * The actual SpannerAction to perform.
      * 
@@ -659,9 +591,9 @@ public Builder setAction(com.google.spanner.executor.v1.SpannerAction.Builder bu */ public Builder mergeAction(com.google.spanner.executor.v1.SpannerAction value) { if (actionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && action_ != null - && action_ != com.google.spanner.executor.v1.SpannerAction.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + action_ != null && + action_ != com.google.spanner.executor.v1.SpannerAction.getDefaultInstance()) { getActionBuilder().mergeFrom(value); } else { action_ = value; @@ -676,8 +608,6 @@ public Builder mergeAction(com.google.spanner.executor.v1.SpannerAction value) { return this; } /** - * - * *
      * The actual SpannerAction to perform.
      * 
@@ -695,8 +625,6 @@ public Builder clearAction() { return this; } /** - * - * *
      * The actual SpannerAction to perform.
      * 
@@ -709,8 +637,6 @@ public com.google.spanner.executor.v1.SpannerAction.Builder getActionBuilder() { return getActionFieldBuilder().getBuilder(); } /** - * - * *
      * The actual SpannerAction to perform.
      * 
@@ -721,14 +647,11 @@ public com.google.spanner.executor.v1.SpannerActionOrBuilder getActionOrBuilder( if (actionBuilder_ != null) { return actionBuilder_.getMessageOrBuilder(); } else { - return action_ == null - ? com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() - : action_; + return action_ == null ? + com.google.spanner.executor.v1.SpannerAction.getDefaultInstance() : action_; } } /** - * - * *
      * The actual SpannerAction to perform.
      * 
@@ -736,24 +659,21 @@ public com.google.spanner.executor.v1.SpannerActionOrBuilder getActionOrBuilder( * .google.spanner.executor.v1.SpannerAction action = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.SpannerAction, - com.google.spanner.executor.v1.SpannerAction.Builder, - com.google.spanner.executor.v1.SpannerActionOrBuilder> + com.google.spanner.executor.v1.SpannerAction, com.google.spanner.executor.v1.SpannerAction.Builder, com.google.spanner.executor.v1.SpannerActionOrBuilder> getActionFieldBuilder() { if (actionBuilder_ == null) { - actionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.SpannerAction, - com.google.spanner.executor.v1.SpannerAction.Builder, - com.google.spanner.executor.v1.SpannerActionOrBuilder>( - getAction(), getParentForChildren(), isClean()); + actionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.SpannerAction, com.google.spanner.executor.v1.SpannerAction.Builder, com.google.spanner.executor.v1.SpannerActionOrBuilder>( + getAction(), + getParentForChildren(), + isClean()); action_ = null; } return actionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +683,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.SpannerAsyncActionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.SpannerAsyncActionRequest) private static final com.google.spanner.executor.v1.SpannerAsyncActionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.SpannerAsyncActionRequest(); } @@ -777,27 +697,27 @@ public static com.google.spanner.executor.v1.SpannerAsyncActionRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpannerAsyncActionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpannerAsyncActionRequest 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; @@ -812,4 +732,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.executor.v1.SpannerAsyncActionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequestOrBuilder.java index 6aa0f3d0ecf..3591bf2d5eb 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionRequestOrBuilder.java @@ -1,69 +1,42 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface SpannerAsyncActionRequestOrBuilder - extends +public interface SpannerAsyncActionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.SpannerAsyncActionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Action id to uniquely identify this action request.
    * 
* * int32 action_id = 1; - * * @return The actionId. */ int getActionId(); /** - * - * *
    * The actual SpannerAction to perform.
    * 
* * .google.spanner.executor.v1.SpannerAction action = 2; - * * @return Whether the action field is set. */ boolean hasAction(); /** - * - * *
    * The actual SpannerAction to perform.
    * 
* * .google.spanner.executor.v1.SpannerAction action = 2; - * * @return The action. */ com.google.spanner.executor.v1.SpannerAction getAction(); /** - * - * *
    * The actual SpannerAction to perform.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponse.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponse.java index 3724c86a91a..526eea87f5d 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,59 +5,53 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Response from executor service.
  * 
* * Protobuf type {@code google.spanner.executor.v1.SpannerAsyncActionResponse} */ -public final class SpannerAsyncActionResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpannerAsyncActionResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.SpannerAsyncActionResponse) SpannerAsyncActionResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpannerAsyncActionResponse.newBuilder() to construct. private SpannerAsyncActionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SpannerAsyncActionResponse() {} + private SpannerAsyncActionResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpannerAsyncActionResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.SpannerAsyncActionResponse.class, - com.google.spanner.executor.v1.SpannerAsyncActionResponse.Builder.class); + com.google.spanner.executor.v1.SpannerAsyncActionResponse.class, com.google.spanner.executor.v1.SpannerAsyncActionResponse.Builder.class); } private int bitField0_; public static final int ACTION_ID_FIELD_NUMBER = 1; private int actionId_ = 0; /** - * - * *
    * Action id corresponds to the request.
    * 
* * int32 action_id = 1; - * * @return The actionId. */ @java.lang.Override @@ -83,15 +62,12 @@ public int getActionId() { public static final int OUTCOME_FIELD_NUMBER = 2; private com.google.spanner.executor.v1.SpannerActionOutcome outcome_; /** - * - * *
    * If action results are split into multiple responses, only the last response
    * can and should contain status.
    * 
* * .google.spanner.executor.v1.SpannerActionOutcome outcome = 2; - * * @return Whether the outcome field is set. */ @java.lang.Override @@ -99,26 +75,19 @@ public boolean hasOutcome() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If action results are split into multiple responses, only the last response
    * can and should contain status.
    * 
* * .google.spanner.executor.v1.SpannerActionOutcome outcome = 2; - * * @return The outcome. */ @java.lang.Override public com.google.spanner.executor.v1.SpannerActionOutcome getOutcome() { - return outcome_ == null - ? com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance() - : outcome_; + return outcome_ == null ? com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance() : outcome_; } /** - * - * *
    * If action results are split into multiple responses, only the last response
    * can and should contain status.
@@ -128,13 +97,10 @@ public com.google.spanner.executor.v1.SpannerActionOutcome getOutcome() {
    */
   @java.lang.Override
   public com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder getOutcomeOrBuilder() {
-    return outcome_ == null
-        ? com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance()
-        : outcome_;
+    return outcome_ == null ? com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance() : outcome_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -146,7 +112,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (actionId_ != 0) {
       output.writeInt32(1, actionId_);
     }
@@ -163,10 +130,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (actionId_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, actionId_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, actionId_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutcome());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOutcome());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -176,18 +145,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.executor.v1.SpannerAsyncActionResponse)) {
       return super.equals(obj);
     }
-    com.google.spanner.executor.v1.SpannerAsyncActionResponse other =
-        (com.google.spanner.executor.v1.SpannerAsyncActionResponse) obj;
+    com.google.spanner.executor.v1.SpannerAsyncActionResponse other = (com.google.spanner.executor.v1.SpannerAsyncActionResponse) obj;
 
-    if (getActionId() != other.getActionId()) return false;
+    if (getActionId()
+        != other.getActionId()) return false;
     if (hasOutcome() != other.hasOutcome()) return false;
     if (hasOutcome()) {
-      if (!getOutcome().equals(other.getOutcome())) return false;
+      if (!getOutcome()
+          .equals(other.getOutcome())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,127 +182,119 @@ public int hashCode() {
   }
 
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.executor.v1.SpannerAsyncActionResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.executor.v1.SpannerAsyncActionResponse prototype) {
+  public static Builder newBuilder(com.google.spanner.executor.v1.SpannerAsyncActionResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response from executor service.
    * 
* * Protobuf type {@code google.spanner.executor.v1.SpannerAsyncActionResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.SpannerAsyncActionResponse) com.google.spanner.executor.v1.SpannerAsyncActionResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.SpannerAsyncActionResponse.class, - com.google.spanner.executor.v1.SpannerAsyncActionResponse.Builder.class); + com.google.spanner.executor.v1.SpannerAsyncActionResponse.class, com.google.spanner.executor.v1.SpannerAsyncActionResponse.Builder.class); } // Construct using com.google.spanner.executor.v1.SpannerAsyncActionResponse.newBuilder() @@ -340,17 +302,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOutcomeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -365,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; } @java.lang.Override @@ -386,11 +348,8 @@ public com.google.spanner.executor.v1.SpannerAsyncActionResponse build() { @java.lang.Override public com.google.spanner.executor.v1.SpannerAsyncActionResponse buildPartial() { - com.google.spanner.executor.v1.SpannerAsyncActionResponse result = - new com.google.spanner.executor.v1.SpannerAsyncActionResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.SpannerAsyncActionResponse result = new com.google.spanner.executor.v1.SpannerAsyncActionResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -402,7 +361,9 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerAsyncActionResp } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.outcome_ = outcomeBuilder_ == null ? outcome_ : outcomeBuilder_.build(); + result.outcome_ = outcomeBuilder_ == null + ? outcome_ + : outcomeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -412,39 +373,38 @@ private void buildPartial0(com.google.spanner.executor.v1.SpannerAsyncActionResp public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.SpannerAsyncActionResponse) { - return mergeFrom((com.google.spanner.executor.v1.SpannerAsyncActionResponse) other); + return mergeFrom((com.google.spanner.executor.v1.SpannerAsyncActionResponse)other); } else { super.mergeFrom(other); return this; @@ -452,8 +412,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.SpannerAsyncActionResponse other) { - if (other == com.google.spanner.executor.v1.SpannerAsyncActionResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.SpannerAsyncActionResponse.getDefaultInstance()) return this; if (other.getActionId() != 0) { setActionId(other.getActionId()); } @@ -486,25 +445,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - actionId_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getOutcomeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + actionId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getOutcomeFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -514,19 +472,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int actionId_; + private int actionId_ ; /** - * - * *
      * Action id corresponds to the request.
      * 
* * int32 action_id = 1; - * * @return The actionId. */ @java.lang.Override @@ -534,14 +488,11 @@ public int getActionId() { return actionId_; } /** - * - * *
      * Action id corresponds to the request.
      * 
* * int32 action_id = 1; - * * @param value The actionId to set. * @return This builder for chaining. */ @@ -553,14 +504,11 @@ public Builder setActionId(int value) { return this; } /** - * - * *
      * Action id corresponds to the request.
      * 
* * int32 action_id = 1; - * * @return This builder for chaining. */ public Builder clearActionId() { @@ -572,49 +520,36 @@ public Builder clearActionId() { private com.google.spanner.executor.v1.SpannerActionOutcome outcome_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.SpannerActionOutcome, - com.google.spanner.executor.v1.SpannerActionOutcome.Builder, - com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder> - outcomeBuilder_; + com.google.spanner.executor.v1.SpannerActionOutcome, com.google.spanner.executor.v1.SpannerActionOutcome.Builder, com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder> outcomeBuilder_; /** - * - * *
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
      * 
* * .google.spanner.executor.v1.SpannerActionOutcome outcome = 2; - * * @return Whether the outcome field is set. */ public boolean hasOutcome() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
      * 
* * .google.spanner.executor.v1.SpannerActionOutcome outcome = 2; - * * @return The outcome. */ public com.google.spanner.executor.v1.SpannerActionOutcome getOutcome() { if (outcomeBuilder_ == null) { - return outcome_ == null - ? com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance() - : outcome_; + return outcome_ == null ? com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance() : outcome_; } else { return outcomeBuilder_.getMessage(); } } /** - * - * *
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
@@ -636,8 +571,6 @@ public Builder setOutcome(com.google.spanner.executor.v1.SpannerActionOutcome va
       return this;
     }
     /**
-     *
-     *
      * 
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
@@ -657,8 +590,6 @@ public Builder setOutcome(
       return this;
     }
     /**
-     *
-     *
      * 
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
@@ -668,10 +599,9 @@ public Builder setOutcome(
      */
     public Builder mergeOutcome(com.google.spanner.executor.v1.SpannerActionOutcome value) {
       if (outcomeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && outcome_ != null
-            && outcome_
-                != com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          outcome_ != null &&
+          outcome_ != com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance()) {
           getOutcomeBuilder().mergeFrom(value);
         } else {
           outcome_ = value;
@@ -686,8 +616,6 @@ public Builder mergeOutcome(com.google.spanner.executor.v1.SpannerActionOutcome
       return this;
     }
     /**
-     *
-     *
      * 
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
@@ -706,8 +634,6 @@ public Builder clearOutcome() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
@@ -721,8 +647,6 @@ public com.google.spanner.executor.v1.SpannerActionOutcome.Builder getOutcomeBui
       return getOutcomeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
@@ -734,14 +658,11 @@ public com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder getOutcomeOr
       if (outcomeBuilder_ != null) {
         return outcomeBuilder_.getMessageOrBuilder();
       } else {
-        return outcome_ == null
-            ? com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance()
-            : outcome_;
+        return outcome_ == null ?
+            com.google.spanner.executor.v1.SpannerActionOutcome.getDefaultInstance() : outcome_;
       }
     }
     /**
-     *
-     *
      * 
      * If action results are split into multiple responses, only the last response
      * can and should contain status.
@@ -750,24 +671,21 @@ public com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder getOutcomeOr
      * .google.spanner.executor.v1.SpannerActionOutcome outcome = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.SpannerActionOutcome,
-            com.google.spanner.executor.v1.SpannerActionOutcome.Builder,
-            com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder>
+        com.google.spanner.executor.v1.SpannerActionOutcome, com.google.spanner.executor.v1.SpannerActionOutcome.Builder, com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder> 
         getOutcomeFieldBuilder() {
       if (outcomeBuilder_ == null) {
-        outcomeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.SpannerActionOutcome,
-                com.google.spanner.executor.v1.SpannerActionOutcome.Builder,
-                com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder>(
-                getOutcome(), getParentForChildren(), isClean());
+        outcomeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.SpannerActionOutcome, com.google.spanner.executor.v1.SpannerActionOutcome.Builder, com.google.spanner.executor.v1.SpannerActionOutcomeOrBuilder>(
+                getOutcome(),
+                getParentForChildren(),
+                isClean());
         outcome_ = null;
       }
       return outcomeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -777,12 +695,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.SpannerAsyncActionResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.SpannerAsyncActionResponse)
   private static final com.google.spanner.executor.v1.SpannerAsyncActionResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.executor.v1.SpannerAsyncActionResponse();
   }
@@ -791,27 +709,27 @@ public static com.google.spanner.executor.v1.SpannerAsyncActionResponse getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public SpannerAsyncActionResponse 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public SpannerAsyncActionResponse 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;
@@ -826,4 +744,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.spanner.executor.v1.SpannerAsyncActionResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponseOrBuilder.java
similarity index 67%
rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponseOrBuilder.java
index 52f9a62c19a..3ac3c79613d 100644
--- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/SpannerAsyncActionResponseOrBuilder.java
@@ -1,71 +1,44 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/executor/v1/cloud_executor.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.executor.v1;
 
-public interface SpannerAsyncActionResponseOrBuilder
-    extends
+public interface SpannerAsyncActionResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.SpannerAsyncActionResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Action id corresponds to the request.
    * 
* * int32 action_id = 1; - * * @return The actionId. */ int getActionId(); /** - * - * *
    * If action results are split into multiple responses, only the last response
    * can and should contain status.
    * 
* * .google.spanner.executor.v1.SpannerActionOutcome outcome = 2; - * * @return Whether the outcome field is set. */ boolean hasOutcome(); /** - * - * *
    * If action results are split into multiple responses, only the last response
    * can and should contain status.
    * 
* * .google.spanner.executor.v1.SpannerActionOutcome outcome = 2; - * * @return The outcome. */ com.google.spanner.executor.v1.SpannerActionOutcome getOutcome(); /** - * - * *
    * If action results are split into multiple responses, only the last response
    * can and should contain status.
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionAction.java
similarity index 73%
rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionAction.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionAction.java
index 818b2e1fe76..3675dee03d8 100644
--- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionAction.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionAction.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/executor/v1/cloud_executor.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.executor.v1;
 
 /**
- *
- *
  * 
  * Starts a batch read-only transaction in executor. Successful outcomes of this
  * action will contain batch_txn_id--the identificator that can be used to start
@@ -59,55 +42,49 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.StartBatchTransactionAction}
  */
-public final class StartBatchTransactionAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StartBatchTransactionAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.StartBatchTransactionAction)
     StartBatchTransactionActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StartBatchTransactionAction.newBuilder() to construct.
   private StartBatchTransactionAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StartBatchTransactionAction() {
     cloudDatabaseRole_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StartBatchTransactionAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.StartBatchTransactionAction.class,
-            com.google.spanner.executor.v1.StartBatchTransactionAction.Builder.class);
+            com.google.spanner.executor.v1.StartBatchTransactionAction.class, com.google.spanner.executor.v1.StartBatchTransactionAction.Builder.class);
   }
 
   private int paramCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object param_;
-
   public enum ParamCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BATCH_TXN_TIME(1),
     TID(2),
     PARAM_NOT_SET(0);
     private final int value;
-
     private ParamCase(int value) {
       this.value = value;
     }
@@ -123,36 +100,30 @@ public static ParamCase valueOf(int value) {
 
     public static ParamCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return BATCH_TXN_TIME;
-        case 2:
-          return TID;
-        case 0:
-          return PARAM_NOT_SET;
-        default:
-          return null;
+        case 1: return BATCH_TXN_TIME;
+        case 2: return TID;
+        case 0: return PARAM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ParamCase getParamCase() {
-    return ParamCase.forNumber(paramCase_);
+  public ParamCase
+  getParamCase() {
+    return ParamCase.forNumber(
+        paramCase_);
   }
 
   public static final int BATCH_TXN_TIME_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The exact timestamp to start the batch transaction.
    * 
* * .google.protobuf.Timestamp batch_txn_time = 1; - * * @return Whether the batchTxnTime field is set. */ @java.lang.Override @@ -160,26 +131,21 @@ public boolean hasBatchTxnTime() { return paramCase_ == 1; } /** - * - * *
    * The exact timestamp to start the batch transaction.
    * 
* * .google.protobuf.Timestamp batch_txn_time = 1; - * * @return The batchTxnTime. */ @java.lang.Override public com.google.protobuf.Timestamp getBatchTxnTime() { if (paramCase_ == 1) { - return (com.google.protobuf.Timestamp) param_; + return (com.google.protobuf.Timestamp) param_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * The exact timestamp to start the batch transaction.
    * 
@@ -189,15 +155,13 @@ public com.google.protobuf.Timestamp getBatchTxnTime() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder() { if (paramCase_ == 1) { - return (com.google.protobuf.Timestamp) param_; + return (com.google.protobuf.Timestamp) param_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int TID_FIELD_NUMBER = 2; /** - * - * *
    * ID of a batch read-only transaction. It can be used to start the same
    * batch transaction on multiple executors and parallelize partition
@@ -205,7 +169,6 @@ public com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder() {
    * 
* * bytes tid = 2; - * * @return Whether the tid field is set. */ @java.lang.Override @@ -213,8 +176,6 @@ public boolean hasTid() { return paramCase_ == 2; } /** - * - * *
    * ID of a batch read-only transaction. It can be used to start the same
    * batch transaction on multiple executors and parallelize partition
@@ -222,7 +183,6 @@ public boolean hasTid() {
    * 
* * bytes tid = 2; - * * @return The tid. */ @java.lang.Override @@ -234,12 +194,9 @@ public com.google.protobuf.ByteString getTid() { } public static final int CLOUD_DATABASE_ROLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object cloudDatabaseRole_ = ""; /** - * - * *
    * Database role to assume while performing this action. Setting the
    * database_role will enforce additional role-based access checks on this
@@ -247,7 +204,6 @@ public com.google.protobuf.ByteString getTid() {
    * 
* * string cloud_database_role = 3; - * * @return The cloudDatabaseRole. */ @java.lang.Override @@ -256,15 +212,14 @@ public java.lang.String getCloudDatabaseRole() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudDatabaseRole_ = s; return s; } } /** - * - * *
    * Database role to assume while performing this action. Setting the
    * database_role will enforce additional role-based access checks on this
@@ -272,15 +227,16 @@ public java.lang.String getCloudDatabaseRole() {
    * 
* * string cloud_database_role = 3; - * * @return The bytes for cloudDatabaseRole. */ @java.lang.Override - public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { + public com.google.protobuf.ByteString + getCloudDatabaseRoleBytes() { java.lang.Object ref = cloudDatabaseRole_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudDatabaseRole_ = b; return b; } else { @@ -289,7 +245,6 @@ public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,12 +256,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (paramCase_ == 1) { output.writeMessage(1, (com.google.protobuf.Timestamp) param_); } if (paramCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) param_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) param_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudDatabaseRole_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, cloudDatabaseRole_); @@ -321,14 +278,13 @@ public int getSerializedSize() { size = 0; if (paramCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.protobuf.Timestamp) param_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.protobuf.Timestamp) param_); } if (paramCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) param_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) param_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cloudDatabaseRole_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cloudDatabaseRole_); @@ -341,22 +297,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.StartBatchTransactionAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.StartBatchTransactionAction other = - (com.google.spanner.executor.v1.StartBatchTransactionAction) obj; + com.google.spanner.executor.v1.StartBatchTransactionAction other = (com.google.spanner.executor.v1.StartBatchTransactionAction) obj; - if (!getCloudDatabaseRole().equals(other.getCloudDatabaseRole())) return false; + if (!getCloudDatabaseRole() + .equals(other.getCloudDatabaseRole())) return false; if (!getParamCase().equals(other.getParamCase())) return false; switch (paramCase_) { case 1: - if (!getBatchTxnTime().equals(other.getBatchTxnTime())) return false; + if (!getBatchTxnTime() + .equals(other.getBatchTxnTime())) return false; break; case 2: - if (!getTid().equals(other.getTid())) return false; + if (!getTid() + .equals(other.getTid())) return false; break; case 0: default: @@ -392,104 +350,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.StartBatchTransactionAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.StartBatchTransactionAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.StartBatchTransactionAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.StartBatchTransactionAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.StartBatchTransactionAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Starts a batch read-only transaction in executor. Successful outcomes of this
    * action will contain batch_txn_id--the identificator that can be used to start
@@ -527,32 +479,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.StartBatchTransactionAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.StartBatchTransactionAction)
       com.google.spanner.executor.v1.StartBatchTransactionActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.StartBatchTransactionAction.class,
-              com.google.spanner.executor.v1.StartBatchTransactionAction.Builder.class);
+              com.google.spanner.executor.v1.StartBatchTransactionAction.class, com.google.spanner.executor.v1.StartBatchTransactionAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.StartBatchTransactionAction.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -567,9 +520,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor;
     }
 
     @java.lang.Override
@@ -588,11 +541,8 @@ public com.google.spanner.executor.v1.StartBatchTransactionAction build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.StartBatchTransactionAction buildPartial() {
-      com.google.spanner.executor.v1.StartBatchTransactionAction result =
-          new com.google.spanner.executor.v1.StartBatchTransactionAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.StartBatchTransactionAction result = new com.google.spanner.executor.v1.StartBatchTransactionAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -605,11 +555,11 @@ private void buildPartial0(com.google.spanner.executor.v1.StartBatchTransactionA
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.spanner.executor.v1.StartBatchTransactionAction result) {
+    private void buildPartialOneofs(com.google.spanner.executor.v1.StartBatchTransactionAction result) {
       result.paramCase_ = paramCase_;
       result.param_ = this.param_;
-      if (paramCase_ == 1 && batchTxnTimeBuilder_ != null) {
+      if (paramCase_ == 1 &&
+          batchTxnTimeBuilder_ != null) {
         result.param_ = batchTxnTimeBuilder_.build();
       }
     }
@@ -618,39 +568,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.StartBatchTransactionAction) {
-        return mergeFrom((com.google.spanner.executor.v1.StartBatchTransactionAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.StartBatchTransactionAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -658,28 +607,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.StartBatchTransactionAction other) {
-      if (other == com.google.spanner.executor.v1.StartBatchTransactionAction.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.StartBatchTransactionAction.getDefaultInstance()) return this;
       if (!other.getCloudDatabaseRole().isEmpty()) {
         cloudDatabaseRole_ = other.cloudDatabaseRole_;
         bitField0_ |= 0x00000004;
         onChanged();
       }
       switch (other.getParamCase()) {
-        case BATCH_TXN_TIME:
-          {
-            mergeBatchTxnTime(other.getBatchTxnTime());
-            break;
-          }
-        case TID:
-          {
-            setTid(other.getTid());
-            break;
-          }
-        case PARAM_NOT_SET:
-          {
-            break;
-          }
+        case BATCH_TXN_TIME: {
+          mergeBatchTxnTime(other.getBatchTxnTime());
+          break;
+        }
+        case TID: {
+          setTid(other.getTid());
+          break;
+        }
+        case PARAM_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -707,31 +652,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getBatchTxnTimeFieldBuilder().getBuilder(), extensionRegistry);
-                paramCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                param_ = input.readBytes();
-                paramCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                cloudDatabaseRole_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getBatchTxnTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              paramCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              param_ = input.readBytes();
+              paramCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              cloudDatabaseRole_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              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) {
@@ -741,12 +684,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int paramCase_ = 0;
     private java.lang.Object param_;
-
-    public ParamCase getParamCase() {
-      return ParamCase.forNumber(paramCase_);
+    public ParamCase
+        getParamCase() {
+      return ParamCase.forNumber(
+          paramCase_);
     }
 
     public Builder clearParam() {
@@ -759,19 +702,13 @@ public Builder clearParam() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        batchTxnTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> batchTxnTimeBuilder_;
     /**
-     *
-     *
      * 
      * The exact timestamp to start the batch transaction.
      * 
* * .google.protobuf.Timestamp batch_txn_time = 1; - * * @return Whether the batchTxnTime field is set. */ @java.lang.Override @@ -779,14 +716,11 @@ public boolean hasBatchTxnTime() { return paramCase_ == 1; } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
* * .google.protobuf.Timestamp batch_txn_time = 1; - * * @return The batchTxnTime. */ @java.lang.Override @@ -804,8 +738,6 @@ public com.google.protobuf.Timestamp getBatchTxnTime() { } } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
@@ -826,15 +758,14 @@ public Builder setBatchTxnTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
* * .google.protobuf.Timestamp batch_txn_time = 1; */ - public Builder setBatchTxnTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setBatchTxnTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (batchTxnTimeBuilder_ == null) { param_ = builderForValue.build(); onChanged(); @@ -845,8 +776,6 @@ public Builder setBatchTxnTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
@@ -855,11 +784,10 @@ public Builder setBatchTxnTime(com.google.protobuf.Timestamp.Builder builderForV */ public Builder mergeBatchTxnTime(com.google.protobuf.Timestamp value) { if (batchTxnTimeBuilder_ == null) { - if (paramCase_ == 1 && param_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - param_ = - com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) param_) - .mergeFrom(value) - .buildPartial(); + if (paramCase_ == 1 && + param_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + param_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) param_) + .mergeFrom(value).buildPartial(); } else { param_ = value; } @@ -875,8 +803,6 @@ public Builder mergeBatchTxnTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
@@ -900,8 +826,6 @@ public Builder clearBatchTxnTime() { return this; } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
@@ -912,8 +836,6 @@ public com.google.protobuf.Timestamp.Builder getBatchTxnTimeBuilder() { return getBatchTxnTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
@@ -932,8 +854,6 @@ public com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder() { } } /** - * - * *
      * The exact timestamp to start the batch transaction.
      * 
@@ -941,20 +861,17 @@ public com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder() { * .google.protobuf.Timestamp batch_txn_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getBatchTxnTimeFieldBuilder() { if (batchTxnTimeBuilder_ == null) { if (!(paramCase_ == 1)) { param_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - batchTxnTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) param_, getParentForChildren(), isClean()); + batchTxnTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) param_, + getParentForChildren(), + isClean()); param_ = null; } paramCase_ = 1; @@ -963,8 +880,6 @@ public com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder() { } /** - * - * *
      * ID of a batch read-only transaction. It can be used to start the same
      * batch transaction on multiple executors and parallelize partition
@@ -972,15 +887,12 @@ public com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder() {
      * 
* * bytes tid = 2; - * * @return Whether the tid field is set. */ public boolean hasTid() { return paramCase_ == 2; } /** - * - * *
      * ID of a batch read-only transaction. It can be used to start the same
      * batch transaction on multiple executors and parallelize partition
@@ -988,7 +900,6 @@ public boolean hasTid() {
      * 
* * bytes tid = 2; - * * @return The tid. */ public com.google.protobuf.ByteString getTid() { @@ -998,8 +909,6 @@ public com.google.protobuf.ByteString getTid() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * ID of a batch read-only transaction. It can be used to start the same
      * batch transaction on multiple executors and parallelize partition
@@ -1007,22 +916,17 @@ public com.google.protobuf.ByteString getTid() {
      * 
* * bytes tid = 2; - * * @param value The tid to set. * @return This builder for chaining. */ public Builder setTid(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } paramCase_ = 2; param_ = value; onChanged(); return this; } /** - * - * *
      * ID of a batch read-only transaction. It can be used to start the same
      * batch transaction on multiple executors and parallelize partition
@@ -1030,7 +934,6 @@ public Builder setTid(com.google.protobuf.ByteString value) {
      * 
* * bytes tid = 2; - * * @return This builder for chaining. */ public Builder clearTid() { @@ -1044,8 +947,6 @@ public Builder clearTid() { private java.lang.Object cloudDatabaseRole_ = ""; /** - * - * *
      * Database role to assume while performing this action. Setting the
      * database_role will enforce additional role-based access checks on this
@@ -1053,13 +954,13 @@ public Builder clearTid() {
      * 
* * string cloud_database_role = 3; - * * @return The cloudDatabaseRole. */ public java.lang.String getCloudDatabaseRole() { java.lang.Object ref = cloudDatabaseRole_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cloudDatabaseRole_ = s; return s; @@ -1068,8 +969,6 @@ public java.lang.String getCloudDatabaseRole() { } } /** - * - * *
      * Database role to assume while performing this action. Setting the
      * database_role will enforce additional role-based access checks on this
@@ -1077,14 +976,15 @@ public java.lang.String getCloudDatabaseRole() {
      * 
* * string cloud_database_role = 3; - * * @return The bytes for cloudDatabaseRole. */ - public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { + public com.google.protobuf.ByteString + getCloudDatabaseRoleBytes() { java.lang.Object ref = cloudDatabaseRole_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cloudDatabaseRole_ = b; return b; } else { @@ -1092,8 +992,6 @@ public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() { } } /** - * - * *
      * Database role to assume while performing this action. Setting the
      * database_role will enforce additional role-based access checks on this
@@ -1101,22 +999,18 @@ public com.google.protobuf.ByteString getCloudDatabaseRoleBytes() {
      * 
* * string cloud_database_role = 3; - * * @param value The cloudDatabaseRole to set. * @return This builder for chaining. */ - public Builder setCloudDatabaseRole(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudDatabaseRole( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cloudDatabaseRole_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Database role to assume while performing this action. Setting the
      * database_role will enforce additional role-based access checks on this
@@ -1124,7 +1018,6 @@ public Builder setCloudDatabaseRole(java.lang.String value) {
      * 
* * string cloud_database_role = 3; - * * @return This builder for chaining. */ public Builder clearCloudDatabaseRole() { @@ -1134,8 +1027,6 @@ public Builder clearCloudDatabaseRole() { return this; } /** - * - * *
      * Database role to assume while performing this action. Setting the
      * database_role will enforce additional role-based access checks on this
@@ -1143,23 +1034,21 @@ public Builder clearCloudDatabaseRole() {
      * 
* * string cloud_database_role = 3; - * * @param value The bytes for cloudDatabaseRole to set. * @return This builder for chaining. */ - public Builder setCloudDatabaseRoleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCloudDatabaseRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cloudDatabaseRole_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1169,12 +1058,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.StartBatchTransactionAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.StartBatchTransactionAction) private static final com.google.spanner.executor.v1.StartBatchTransactionAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.StartBatchTransactionAction(); } @@ -1183,27 +1072,27 @@ public static com.google.spanner.executor.v1.StartBatchTransactionAction getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartBatchTransactionAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartBatchTransactionAction 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; @@ -1218,4 +1107,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.spanner.executor.v1.StartBatchTransactionAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionActionOrBuilder.java similarity index 74% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionActionOrBuilder.java index 8c5109e35b7..c2632214283 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartBatchTransactionActionOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface StartBatchTransactionActionOrBuilder - extends +public interface StartBatchTransactionActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.StartBatchTransactionAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The exact timestamp to start the batch transaction.
    * 
* * .google.protobuf.Timestamp batch_txn_time = 1; - * * @return Whether the batchTxnTime field is set. */ boolean hasBatchTxnTime(); /** - * - * *
    * The exact timestamp to start the batch transaction.
    * 
* * .google.protobuf.Timestamp batch_txn_time = 1; - * * @return The batchTxnTime. */ com.google.protobuf.Timestamp getBatchTxnTime(); /** - * - * *
    * The exact timestamp to start the batch transaction.
    * 
@@ -60,8 +36,6 @@ public interface StartBatchTransactionActionOrBuilder com.google.protobuf.TimestampOrBuilder getBatchTxnTimeOrBuilder(); /** - * - * *
    * ID of a batch read-only transaction. It can be used to start the same
    * batch transaction on multiple executors and parallelize partition
@@ -69,13 +43,10 @@ public interface StartBatchTransactionActionOrBuilder
    * 
* * bytes tid = 2; - * * @return Whether the tid field is set. */ boolean hasTid(); /** - * - * *
    * ID of a batch read-only transaction. It can be used to start the same
    * batch transaction on multiple executors and parallelize partition
@@ -83,14 +54,11 @@ public interface StartBatchTransactionActionOrBuilder
    * 
* * bytes tid = 2; - * * @return The tid. */ com.google.protobuf.ByteString getTid(); /** - * - * *
    * Database role to assume while performing this action. Setting the
    * database_role will enforce additional role-based access checks on this
@@ -98,13 +66,10 @@ public interface StartBatchTransactionActionOrBuilder
    * 
* * string cloud_database_role = 3; - * * @return The cloudDatabaseRole. */ java.lang.String getCloudDatabaseRole(); /** - * - * *
    * Database role to assume while performing this action. Setting the
    * database_role will enforce additional role-based access checks on this
@@ -112,10 +77,10 @@ public interface StartBatchTransactionActionOrBuilder
    * 
* * string cloud_database_role = 3; - * * @return The bytes for cloudDatabaseRole. */ - com.google.protobuf.ByteString getCloudDatabaseRoleBytes(); + com.google.protobuf.ByteString + getCloudDatabaseRoleBytes(); com.google.spanner.executor.v1.StartBatchTransactionAction.ParamCase getParamCase(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionAction.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionAction.java index 64441022faa..cd5bf395d3c 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * StartTransactionAction defines an action of initializing a transaction.
  * 
* * Protobuf type {@code google.spanner.executor.v1.StartTransactionAction} */ -public final class StartTransactionAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StartTransactionAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.StartTransactionAction) StartTransactionActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StartTransactionAction.newBuilder() to construct. private StartTransactionAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StartTransactionAction() { table_ = java.util.Collections.emptyList(); transactionSeed_ = ""; @@ -45,38 +27,34 @@ private StartTransactionAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StartTransactionAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.StartTransactionAction.class, - com.google.spanner.executor.v1.StartTransactionAction.Builder.class); + com.google.spanner.executor.v1.StartTransactionAction.class, com.google.spanner.executor.v1.StartTransactionAction.Builder.class); } private int bitField0_; public static final int CONCURRENCY_FIELD_NUMBER = 1; private com.google.spanner.executor.v1.Concurrency concurrency_; /** - * - * *
    * Concurrency is for read-only transactions and must be omitted for
    * read-write transactions.
    * 
* * optional .google.spanner.executor.v1.Concurrency concurrency = 1; - * * @return Whether the concurrency field is set. */ @java.lang.Override @@ -84,26 +62,19 @@ public boolean hasConcurrency() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Concurrency is for read-only transactions and must be omitted for
    * read-write transactions.
    * 
* * optional .google.spanner.executor.v1.Concurrency concurrency = 1; - * * @return The concurrency. */ @java.lang.Override public com.google.spanner.executor.v1.Concurrency getConcurrency() { - return concurrency_ == null - ? com.google.spanner.executor.v1.Concurrency.getDefaultInstance() - : concurrency_; + return concurrency_ == null ? com.google.spanner.executor.v1.Concurrency.getDefaultInstance() : concurrency_; } /** - * - * *
    * Concurrency is for read-only transactions and must be omitted for
    * read-write transactions.
@@ -113,18 +84,13 @@ public com.google.spanner.executor.v1.Concurrency getConcurrency() {
    */
   @java.lang.Override
   public com.google.spanner.executor.v1.ConcurrencyOrBuilder getConcurrencyOrBuilder() {
-    return concurrency_ == null
-        ? com.google.spanner.executor.v1.Concurrency.getDefaultInstance()
-        : concurrency_;
+    return concurrency_ == null ? com.google.spanner.executor.v1.Concurrency.getDefaultInstance() : concurrency_;
   }
 
   public static final int TABLE_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List table_;
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -137,8 +103,6 @@ public java.util.List getTableList
     return table_;
   }
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -147,13 +111,11 @@ public java.util.List getTableList
    * repeated .google.spanner.executor.v1.TableMetadata table = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTableOrBuilderList() {
     return table_;
   }
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -166,8 +128,6 @@ public int getTableCount() {
     return table_.size();
   }
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -180,8 +140,6 @@ public com.google.spanner.executor.v1.TableMetadata getTable(int index) {
     return table_.get(index);
   }
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -190,24 +148,21 @@ public com.google.spanner.executor.v1.TableMetadata getTable(int index) {
    * repeated .google.spanner.executor.v1.TableMetadata table = 2;
    */
   @java.lang.Override
-  public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(int index) {
+  public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(
+      int index) {
     return table_.get(index);
   }
 
   public static final int TRANSACTION_SEED_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object transactionSeed_ = "";
   /**
-   *
-   *
    * 
    * Transaction_seed contains workid and op pair for this transaction, used for
    * testing.
    * 
* * string transaction_seed = 3; - * * @return The transactionSeed. */ @java.lang.Override @@ -216,30 +171,30 @@ public java.lang.String getTransactionSeed() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionSeed_ = s; return s; } } /** - * - * *
    * Transaction_seed contains workid and op pair for this transaction, used for
    * testing.
    * 
* * string transaction_seed = 3; - * * @return The bytes for transactionSeed. */ @java.lang.Override - public com.google.protobuf.ByteString getTransactionSeedBytes() { + public com.google.protobuf.ByteString + getTransactionSeedBytes() { java.lang.Object ref = transactionSeed_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionSeed_ = b; return b; } else { @@ -250,15 +205,11 @@ public com.google.protobuf.ByteString getTransactionSeedBytes() { public static final int EXECUTION_OPTIONS_FIELD_NUMBER = 4; private com.google.spanner.executor.v1.TransactionExecutionOptions executionOptions_; /** - * - * *
    * Execution options (e.g., whether transaction is opaque, optimistic).
    * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; * @return Whether the executionOptions field is set. */ @java.lang.Override @@ -266,43 +217,30 @@ public boolean hasExecutionOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Execution options (e.g., whether transaction is opaque, optimistic).
    * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; * @return The executionOptions. */ @java.lang.Override public com.google.spanner.executor.v1.TransactionExecutionOptions getExecutionOptions() { - return executionOptions_ == null - ? com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() - : executionOptions_; + return executionOptions_ == null ? com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() : executionOptions_; } /** - * - * *
    * Execution options (e.g., whether transaction is opaque, optimistic).
    * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ @java.lang.Override - public com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder - getExecutionOptionsOrBuilder() { - return executionOptions_ == null - ? com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() - : executionOptions_; + public com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder getExecutionOptionsOrBuilder() { + return executionOptions_ == null ? com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() : executionOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getConcurrency()); } @@ -337,16 +276,19 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getConcurrency()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getConcurrency()); } for (int i = 0; i < table_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, table_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, table_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionSeed_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, transactionSeed_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExecutionOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExecutionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -356,23 +298,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.StartTransactionAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.StartTransactionAction other = - (com.google.spanner.executor.v1.StartTransactionAction) obj; + com.google.spanner.executor.v1.StartTransactionAction other = (com.google.spanner.executor.v1.StartTransactionAction) obj; if (hasConcurrency() != other.hasConcurrency()) return false; if (hasConcurrency()) { - if (!getConcurrency().equals(other.getConcurrency())) return false; + if (!getConcurrency() + .equals(other.getConcurrency())) return false; } - if (!getTableList().equals(other.getTableList())) return false; - if (!getTransactionSeed().equals(other.getTransactionSeed())) return false; + if (!getTableList() + .equals(other.getTableList())) return false; + if (!getTransactionSeed() + .equals(other.getTransactionSeed())) return false; if (hasExecutionOptions() != other.hasExecutionOptions()) return false; if (hasExecutionOptions()) { - if (!getExecutionOptions().equals(other.getExecutionOptions())) return false; + if (!getExecutionOptions() + .equals(other.getExecutionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -405,127 +350,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.StartTransactionAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.StartTransactionAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.StartTransactionAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.StartTransactionAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.StartTransactionAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.StartTransactionAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.StartTransactionAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * StartTransactionAction defines an action of initializing a transaction.
    * 
* * Protobuf type {@code google.spanner.executor.v1.StartTransactionAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.StartTransactionAction) com.google.spanner.executor.v1.StartTransactionActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.StartTransactionAction.class, - com.google.spanner.executor.v1.StartTransactionAction.Builder.class); + com.google.spanner.executor.v1.StartTransactionAction.class, com.google.spanner.executor.v1.StartTransactionAction.Builder.class); } // Construct using com.google.spanner.executor.v1.StartTransactionAction.newBuilder() @@ -533,19 +470,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConcurrencyFieldBuilder(); getTableFieldBuilder(); getExecutionOptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +509,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; } @java.lang.Override @@ -593,18 +530,14 @@ public com.google.spanner.executor.v1.StartTransactionAction build() { @java.lang.Override public com.google.spanner.executor.v1.StartTransactionAction buildPartial() { - com.google.spanner.executor.v1.StartTransactionAction result = - new com.google.spanner.executor.v1.StartTransactionAction(this); + com.google.spanner.executor.v1.StartTransactionAction result = new com.google.spanner.executor.v1.StartTransactionAction(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.executor.v1.StartTransactionAction result) { + private void buildPartialRepeatedFields(com.google.spanner.executor.v1.StartTransactionAction result) { if (tableBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { table_ = java.util.Collections.unmodifiableList(table_); @@ -620,16 +553,18 @@ private void buildPartial0(com.google.spanner.executor.v1.StartTransactionAction int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.concurrency_ = - concurrencyBuilder_ == null ? concurrency_ : concurrencyBuilder_.build(); + result.concurrency_ = concurrencyBuilder_ == null + ? concurrency_ + : concurrencyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.transactionSeed_ = transactionSeed_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.executionOptions_ = - executionOptionsBuilder_ == null ? executionOptions_ : executionOptionsBuilder_.build(); + result.executionOptions_ = executionOptionsBuilder_ == null + ? executionOptions_ + : executionOptionsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -639,39 +574,38 @@ private void buildPartial0(com.google.spanner.executor.v1.StartTransactionAction public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.StartTransactionAction) { - return mergeFrom((com.google.spanner.executor.v1.StartTransactionAction) other); + return mergeFrom((com.google.spanner.executor.v1.StartTransactionAction)other); } else { super.mergeFrom(other); return this; @@ -679,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.StartTransactionAction other) { - if (other == com.google.spanner.executor.v1.StartTransactionAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.StartTransactionAction.getDefaultInstance()) return this; if (other.hasConcurrency()) { mergeConcurrency(other.getConcurrency()); } @@ -702,10 +635,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.StartTransactionAction o tableBuilder_ = null; table_ = other.table_; bitField0_ = (bitField0_ & ~0x00000002); - tableBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTableFieldBuilder() - : null; + tableBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTableFieldBuilder() : null; } else { tableBuilder_.addAllMessages(other.table_); } @@ -745,45 +677,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getConcurrencyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.spanner.executor.v1.TableMetadata m = - input.readMessage( - com.google.spanner.executor.v1.TableMetadata.parser(), extensionRegistry); - if (tableBuilder_ == null) { - ensureTableIsMutable(); - table_.add(m); - } else { - tableBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - transactionSeed_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getExecutionOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getConcurrencyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.spanner.executor.v1.TableMetadata m = + input.readMessage( + com.google.spanner.executor.v1.TableMetadata.parser(), + extensionRegistry); + if (tableBuilder_ == null) { + ensureTableIsMutable(); + table_.add(m); + } else { + tableBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + transactionSeed_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getExecutionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -793,54 +724,40 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.spanner.executor.v1.Concurrency concurrency_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.Concurrency, - com.google.spanner.executor.v1.Concurrency.Builder, - com.google.spanner.executor.v1.ConcurrencyOrBuilder> - concurrencyBuilder_; + com.google.spanner.executor.v1.Concurrency, com.google.spanner.executor.v1.Concurrency.Builder, com.google.spanner.executor.v1.ConcurrencyOrBuilder> concurrencyBuilder_; /** - * - * *
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
      * 
* * optional .google.spanner.executor.v1.Concurrency concurrency = 1; - * * @return Whether the concurrency field is set. */ public boolean hasConcurrency() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
      * 
* * optional .google.spanner.executor.v1.Concurrency concurrency = 1; - * * @return The concurrency. */ public com.google.spanner.executor.v1.Concurrency getConcurrency() { if (concurrencyBuilder_ == null) { - return concurrency_ == null - ? com.google.spanner.executor.v1.Concurrency.getDefaultInstance() - : concurrency_; + return concurrency_ == null ? com.google.spanner.executor.v1.Concurrency.getDefaultInstance() : concurrency_; } else { return concurrencyBuilder_.getMessage(); } } /** - * - * *
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
@@ -862,8 +779,6 @@ public Builder setConcurrency(com.google.spanner.executor.v1.Concurrency value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
@@ -883,8 +798,6 @@ public Builder setConcurrency(
       return this;
     }
     /**
-     *
-     *
      * 
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
@@ -894,9 +807,9 @@ public Builder setConcurrency(
      */
     public Builder mergeConcurrency(com.google.spanner.executor.v1.Concurrency value) {
       if (concurrencyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && concurrency_ != null
-            && concurrency_ != com.google.spanner.executor.v1.Concurrency.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          concurrency_ != null &&
+          concurrency_ != com.google.spanner.executor.v1.Concurrency.getDefaultInstance()) {
           getConcurrencyBuilder().mergeFrom(value);
         } else {
           concurrency_ = value;
@@ -911,8 +824,6 @@ public Builder mergeConcurrency(com.google.spanner.executor.v1.Concurrency value
       return this;
     }
     /**
-     *
-     *
      * 
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
@@ -931,8 +842,6 @@ public Builder clearConcurrency() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
@@ -946,8 +855,6 @@ public com.google.spanner.executor.v1.Concurrency.Builder getConcurrencyBuilder(
       return getConcurrencyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
@@ -959,14 +866,11 @@ public com.google.spanner.executor.v1.ConcurrencyOrBuilder getConcurrencyOrBuild
       if (concurrencyBuilder_ != null) {
         return concurrencyBuilder_.getMessageOrBuilder();
       } else {
-        return concurrency_ == null
-            ? com.google.spanner.executor.v1.Concurrency.getDefaultInstance()
-            : concurrency_;
+        return concurrency_ == null ?
+            com.google.spanner.executor.v1.Concurrency.getDefaultInstance() : concurrency_;
       }
     }
     /**
-     *
-     *
      * 
      * Concurrency is for read-only transactions and must be omitted for
      * read-write transactions.
@@ -975,41 +879,32 @@ public com.google.spanner.executor.v1.ConcurrencyOrBuilder getConcurrencyOrBuild
      * optional .google.spanner.executor.v1.Concurrency concurrency = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.Concurrency,
-            com.google.spanner.executor.v1.Concurrency.Builder,
-            com.google.spanner.executor.v1.ConcurrencyOrBuilder>
+        com.google.spanner.executor.v1.Concurrency, com.google.spanner.executor.v1.Concurrency.Builder, com.google.spanner.executor.v1.ConcurrencyOrBuilder> 
         getConcurrencyFieldBuilder() {
       if (concurrencyBuilder_ == null) {
-        concurrencyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.Concurrency,
-                com.google.spanner.executor.v1.Concurrency.Builder,
-                com.google.spanner.executor.v1.ConcurrencyOrBuilder>(
-                getConcurrency(), getParentForChildren(), isClean());
+        concurrencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.Concurrency, com.google.spanner.executor.v1.Concurrency.Builder, com.google.spanner.executor.v1.ConcurrencyOrBuilder>(
+                getConcurrency(),
+                getParentForChildren(),
+                isClean());
         concurrency_ = null;
       }
       return concurrencyBuilder_;
     }
 
     private java.util.List table_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTableIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         table_ = new java.util.ArrayList(table_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.TableMetadata,
-            com.google.spanner.executor.v1.TableMetadata.Builder,
-            com.google.spanner.executor.v1.TableMetadataOrBuilder>
-        tableBuilder_;
+        com.google.spanner.executor.v1.TableMetadata, com.google.spanner.executor.v1.TableMetadata.Builder, com.google.spanner.executor.v1.TableMetadataOrBuilder> tableBuilder_;
 
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1025,8 +920,6 @@ public java.util.List getTableList
       }
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1042,8 +935,6 @@ public int getTableCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1059,8 +950,6 @@ public com.google.spanner.executor.v1.TableMetadata getTable(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1068,7 +957,8 @@ public com.google.spanner.executor.v1.TableMetadata getTable(int index) {
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public Builder setTable(int index, com.google.spanner.executor.v1.TableMetadata value) {
+    public Builder setTable(
+        int index, com.google.spanner.executor.v1.TableMetadata value) {
       if (tableBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1082,8 +972,6 @@ public Builder setTable(int index, com.google.spanner.executor.v1.TableMetadata
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1103,8 +991,6 @@ public Builder setTable(
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1126,8 +1012,6 @@ public Builder addTable(com.google.spanner.executor.v1.TableMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1135,7 +1019,8 @@ public Builder addTable(com.google.spanner.executor.v1.TableMetadata value) {
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public Builder addTable(int index, com.google.spanner.executor.v1.TableMetadata value) {
+    public Builder addTable(
+        int index, com.google.spanner.executor.v1.TableMetadata value) {
       if (tableBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1149,8 +1034,6 @@ public Builder addTable(int index, com.google.spanner.executor.v1.TableMetadata
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1158,7 +1041,8 @@ public Builder addTable(int index, com.google.spanner.executor.v1.TableMetadata
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public Builder addTable(com.google.spanner.executor.v1.TableMetadata.Builder builderForValue) {
+    public Builder addTable(
+        com.google.spanner.executor.v1.TableMetadata.Builder builderForValue) {
       if (tableBuilder_ == null) {
         ensureTableIsMutable();
         table_.add(builderForValue.build());
@@ -1169,8 +1053,6 @@ public Builder addTable(com.google.spanner.executor.v1.TableMetadata.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1190,8 +1072,6 @@ public Builder addTable(
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1203,7 +1083,8 @@ public Builder addAllTable(
         java.lang.Iterable values) {
       if (tableBuilder_ == null) {
         ensureTableIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, table_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, table_);
         onChanged();
       } else {
         tableBuilder_.addAllMessages(values);
@@ -1211,8 +1092,6 @@ public Builder addAllTable(
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1231,8 +1110,6 @@ public Builder clearTable() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1251,8 +1128,6 @@ public Builder removeTable(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1260,12 +1135,11 @@ public Builder removeTable(int index) {
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public com.google.spanner.executor.v1.TableMetadata.Builder getTableBuilder(int index) {
+    public com.google.spanner.executor.v1.TableMetadata.Builder getTableBuilder(
+        int index) {
       return getTableFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1273,16 +1147,14 @@ public com.google.spanner.executor.v1.TableMetadata.Builder getTableBuilder(int
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(int index) {
+    public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(
+        int index) {
       if (tableBuilder_ == null) {
-        return table_.get(index);
-      } else {
+        return table_.get(index);  } else {
         return tableBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1290,8 +1162,8 @@ public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(i
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public java.util.List
-        getTableOrBuilderList() {
+    public java.util.List 
+         getTableOrBuilderList() {
       if (tableBuilder_ != null) {
         return tableBuilder_.getMessageOrBuilderList();
       } else {
@@ -1299,8 +1171,6 @@ public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(i
       }
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1309,12 +1179,10 @@ public com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(i
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
     public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder() {
-      return getTableFieldBuilder()
-          .addBuilder(com.google.spanner.executor.v1.TableMetadata.getDefaultInstance());
+      return getTableFieldBuilder().addBuilder(
+          com.google.spanner.executor.v1.TableMetadata.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1322,13 +1190,12 @@ public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder() {
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder(int index) {
-      return getTableFieldBuilder()
-          .addBuilder(index, com.google.spanner.executor.v1.TableMetadata.getDefaultInstance());
+    public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder(
+        int index) {
+      return getTableFieldBuilder().addBuilder(
+          index, com.google.spanner.executor.v1.TableMetadata.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Metadata about tables and columns that will be involved in this
      * transaction. It is to convert values of key parts correctly.
@@ -1336,23 +1203,20 @@ public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder(int
      *
      * repeated .google.spanner.executor.v1.TableMetadata table = 2;
      */
-    public java.util.List
-        getTableBuilderList() {
+    public java.util.List 
+         getTableBuilderList() {
       return getTableFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.executor.v1.TableMetadata,
-            com.google.spanner.executor.v1.TableMetadata.Builder,
-            com.google.spanner.executor.v1.TableMetadataOrBuilder>
+        com.google.spanner.executor.v1.TableMetadata, com.google.spanner.executor.v1.TableMetadata.Builder, com.google.spanner.executor.v1.TableMetadataOrBuilder> 
         getTableFieldBuilder() {
       if (tableBuilder_ == null) {
-        tableBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.executor.v1.TableMetadata,
-                com.google.spanner.executor.v1.TableMetadata.Builder,
-                com.google.spanner.executor.v1.TableMetadataOrBuilder>(
-                table_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        tableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.executor.v1.TableMetadata, com.google.spanner.executor.v1.TableMetadata.Builder, com.google.spanner.executor.v1.TableMetadataOrBuilder>(
+                table_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         table_ = null;
       }
       return tableBuilder_;
@@ -1360,21 +1224,19 @@ public com.google.spanner.executor.v1.TableMetadata.Builder addTableBuilder(int
 
     private java.lang.Object transactionSeed_ = "";
     /**
-     *
-     *
      * 
      * Transaction_seed contains workid and op pair for this transaction, used for
      * testing.
      * 
* * string transaction_seed = 3; - * * @return The transactionSeed. */ public java.lang.String getTransactionSeed() { java.lang.Object ref = transactionSeed_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionSeed_ = s; return s; @@ -1383,22 +1245,21 @@ public java.lang.String getTransactionSeed() { } } /** - * - * *
      * Transaction_seed contains workid and op pair for this transaction, used for
      * testing.
      * 
* * string transaction_seed = 3; - * * @return The bytes for transactionSeed. */ - public com.google.protobuf.ByteString getTransactionSeedBytes() { + public com.google.protobuf.ByteString + getTransactionSeedBytes() { java.lang.Object ref = transactionSeed_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionSeed_ = b; return b; } else { @@ -1406,37 +1267,30 @@ public com.google.protobuf.ByteString getTransactionSeedBytes() { } } /** - * - * *
      * Transaction_seed contains workid and op pair for this transaction, used for
      * testing.
      * 
* * string transaction_seed = 3; - * * @param value The transactionSeed to set. * @return This builder for chaining. */ - public Builder setTransactionSeed(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionSeed( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } transactionSeed_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Transaction_seed contains workid and op pair for this transaction, used for
      * testing.
      * 
* * string transaction_seed = 3; - * * @return This builder for chaining. */ public Builder clearTransactionSeed() { @@ -1446,22 +1300,18 @@ public Builder clearTransactionSeed() { return this; } /** - * - * *
      * Transaction_seed contains workid and op pair for this transaction, used for
      * testing.
      * 
* * string transaction_seed = 3; - * * @param value The bytes for transactionSeed to set. * @return This builder for chaining. */ - public Builder setTransactionSeedBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionSeedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionSeed_ = value; bitField0_ |= 0x00000004; @@ -1471,58 +1321,41 @@ public Builder setTransactionSeedBytes(com.google.protobuf.ByteString value) { private com.google.spanner.executor.v1.TransactionExecutionOptions executionOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.TransactionExecutionOptions, - com.google.spanner.executor.v1.TransactionExecutionOptions.Builder, - com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder> - executionOptionsBuilder_; + com.google.spanner.executor.v1.TransactionExecutionOptions, com.google.spanner.executor.v1.TransactionExecutionOptions.Builder, com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder> executionOptionsBuilder_; /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; * @return Whether the executionOptions field is set. */ public boolean hasExecutionOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; * @return The executionOptions. */ public com.google.spanner.executor.v1.TransactionExecutionOptions getExecutionOptions() { if (executionOptionsBuilder_ == null) { - return executionOptions_ == null - ? com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() - : executionOptions_; + return executionOptions_ == null ? com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() : executionOptions_; } else { return executionOptionsBuilder_.getMessage(); } } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ - public Builder setExecutionOptions( - com.google.spanner.executor.v1.TransactionExecutionOptions value) { + public Builder setExecutionOptions(com.google.spanner.executor.v1.TransactionExecutionOptions value) { if (executionOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1536,14 +1369,11 @@ public Builder setExecutionOptions( return this; } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ public Builder setExecutionOptions( com.google.spanner.executor.v1.TransactionExecutionOptions.Builder builderForValue) { @@ -1557,23 +1387,17 @@ public Builder setExecutionOptions( return this; } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ - public Builder mergeExecutionOptions( - com.google.spanner.executor.v1.TransactionExecutionOptions value) { + public Builder mergeExecutionOptions(com.google.spanner.executor.v1.TransactionExecutionOptions value) { if (executionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && executionOptions_ != null - && executionOptions_ - != com.google.spanner.executor.v1.TransactionExecutionOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + executionOptions_ != null && + executionOptions_ != com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance()) { getExecutionOptionsBuilder().mergeFrom(value); } else { executionOptions_ = value; @@ -1588,14 +1412,11 @@ public Builder mergeExecutionOptions( return this; } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ public Builder clearExecutionOptions() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1608,70 +1429,55 @@ public Builder clearExecutionOptions() { return this; } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ - public com.google.spanner.executor.v1.TransactionExecutionOptions.Builder - getExecutionOptionsBuilder() { + public com.google.spanner.executor.v1.TransactionExecutionOptions.Builder getExecutionOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getExecutionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ - public com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder - getExecutionOptionsOrBuilder() { + public com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder getExecutionOptionsOrBuilder() { if (executionOptionsBuilder_ != null) { return executionOptionsBuilder_.getMessageOrBuilder(); } else { - return executionOptions_ == null - ? com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() - : executionOptions_; + return executionOptions_ == null ? + com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance() : executionOptions_; } } /** - * - * *
      * Execution options (e.g., whether transaction is opaque, optimistic).
      * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.TransactionExecutionOptions, - com.google.spanner.executor.v1.TransactionExecutionOptions.Builder, - com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder> + com.google.spanner.executor.v1.TransactionExecutionOptions, com.google.spanner.executor.v1.TransactionExecutionOptions.Builder, com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder> getExecutionOptionsFieldBuilder() { if (executionOptionsBuilder_ == null) { - executionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.TransactionExecutionOptions, - com.google.spanner.executor.v1.TransactionExecutionOptions.Builder, - com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder>( - getExecutionOptions(), getParentForChildren(), isClean()); + executionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.TransactionExecutionOptions, com.google.spanner.executor.v1.TransactionExecutionOptions.Builder, com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder>( + getExecutionOptions(), + getParentForChildren(), + isClean()); executionOptions_ = null; } return executionOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1681,12 +1487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.StartTransactionAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.StartTransactionAction) private static final com.google.spanner.executor.v1.StartTransactionAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.StartTransactionAction(); } @@ -1695,27 +1501,27 @@ public static com.google.spanner.executor.v1.StartTransactionAction getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartTransactionAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartTransactionAction 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; @@ -1730,4 +1536,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.StartTransactionAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionActionOrBuilder.java similarity index 77% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionActionOrBuilder.java index a0b96a21023..73b247d3d0b 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/StartTransactionActionOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface StartTransactionActionOrBuilder - extends +public interface StartTransactionActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.StartTransactionAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Concurrency is for read-only transactions and must be omitted for
    * read-write transactions.
    * 
* * optional .google.spanner.executor.v1.Concurrency concurrency = 1; - * * @return Whether the concurrency field is set. */ boolean hasConcurrency(); /** - * - * *
    * Concurrency is for read-only transactions and must be omitted for
    * read-write transactions.
    * 
* * optional .google.spanner.executor.v1.Concurrency concurrency = 1; - * * @return The concurrency. */ com.google.spanner.executor.v1.Concurrency getConcurrency(); /** - * - * *
    * Concurrency is for read-only transactions and must be omitted for
    * read-write transactions.
@@ -63,8 +39,6 @@ public interface StartTransactionActionOrBuilder
   com.google.spanner.executor.v1.ConcurrencyOrBuilder getConcurrencyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -72,10 +46,9 @@ public interface StartTransactionActionOrBuilder
    *
    * repeated .google.spanner.executor.v1.TableMetadata table = 2;
    */
-  java.util.List getTableList();
+  java.util.List 
+      getTableList();
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -85,8 +58,6 @@ public interface StartTransactionActionOrBuilder
    */
   com.google.spanner.executor.v1.TableMetadata getTable(int index);
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -96,8 +67,6 @@ public interface StartTransactionActionOrBuilder
    */
   int getTableCount();
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -105,11 +74,9 @@ public interface StartTransactionActionOrBuilder
    *
    * repeated .google.spanner.executor.v1.TableMetadata table = 2;
    */
-  java.util.List
+  java.util.List 
       getTableOrBuilderList();
   /**
-   *
-   *
    * 
    * Metadata about tables and columns that will be involved in this
    * transaction. It is to convert values of key parts correctly.
@@ -117,71 +84,55 @@ public interface StartTransactionActionOrBuilder
    *
    * repeated .google.spanner.executor.v1.TableMetadata table = 2;
    */
-  com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(int index);
+  com.google.spanner.executor.v1.TableMetadataOrBuilder getTableOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Transaction_seed contains workid and op pair for this transaction, used for
    * testing.
    * 
* * string transaction_seed = 3; - * * @return The transactionSeed. */ java.lang.String getTransactionSeed(); /** - * - * *
    * Transaction_seed contains workid and op pair for this transaction, used for
    * testing.
    * 
* * string transaction_seed = 3; - * * @return The bytes for transactionSeed. */ - com.google.protobuf.ByteString getTransactionSeedBytes(); + com.google.protobuf.ByteString + getTransactionSeedBytes(); /** - * - * *
    * Execution options (e.g., whether transaction is opaque, optimistic).
    * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; * @return Whether the executionOptions field is set. */ boolean hasExecutionOptions(); /** - * - * *
    * Execution options (e.g., whether transaction is opaque, optimistic).
    * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; * @return The executionOptions. */ com.google.spanner.executor.v1.TransactionExecutionOptions getExecutionOptions(); /** - * - * *
    * Execution options (e.g., whether transaction is opaque, optimistic).
    * 
* - * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; - * + * optional .google.spanner.executor.v1.TransactionExecutionOptions execution_options = 4; */ - com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder - getExecutionOptionsOrBuilder(); + com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder getExecutionOptionsOrBuilder(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadata.java similarity index 74% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadata.java index 812c92037c8..4c7799c0ca5 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * TableMetadata contains metadata of a single table.
  * 
* * Protobuf type {@code google.spanner.executor.v1.TableMetadata} */ -public final class TableMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.TableMetadata) TableMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableMetadata.newBuilder() to construct. private TableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableMetadata() { name_ = ""; column_ = java.util.Collections.emptyList(); @@ -46,38 +28,33 @@ private TableMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TableMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TableMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.TableMetadata.class, - com.google.spanner.executor.v1.TableMetadata.Builder.class); + com.google.spanner.executor.v1.TableMetadata.class, com.google.spanner.executor.v1.TableMetadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Table name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Table name.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int COLUMN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List column_; /** - * - * *
    * Columns, in the same order as in the schema.
    * 
@@ -134,8 +108,6 @@ public java.util.List getColumnLi return column_; } /** - * - * *
    * Columns, in the same order as in the schema.
    * 
@@ -143,13 +115,11 @@ public java.util.List getColumnLi * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ @java.lang.Override - public java.util.List + public java.util.List getColumnOrBuilderList() { return column_; } /** - * - * *
    * Columns, in the same order as in the schema.
    * 
@@ -161,8 +131,6 @@ public int getColumnCount() { return column_.size(); } /** - * - * *
    * Columns, in the same order as in the schema.
    * 
@@ -174,8 +142,6 @@ public com.google.spanner.executor.v1.ColumnMetadata getColumn(int index) { return column_.get(index); } /** - * - * *
    * Columns, in the same order as in the schema.
    * 
@@ -183,17 +149,15 @@ public com.google.spanner.executor.v1.ColumnMetadata getColumn(int index) { * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ @java.lang.Override - public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder(int index) { + public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder( + int index) { return column_.get(index); } public static final int KEY_COLUMN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List keyColumn_; /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
@@ -205,8 +169,6 @@ public java.util.List getKeyColum return keyColumn_; } /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
@@ -214,13 +176,11 @@ public java.util.List getKeyColum * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ @java.lang.Override - public java.util.List + public java.util.List getKeyColumnOrBuilderList() { return keyColumn_; } /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
@@ -232,8 +192,6 @@ public int getKeyColumnCount() { return keyColumn_.size(); } /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
@@ -245,8 +203,6 @@ public com.google.spanner.executor.v1.ColumnMetadata getKeyColumn(int index) { return keyColumn_.get(index); } /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
@@ -254,12 +210,12 @@ public com.google.spanner.executor.v1.ColumnMetadata getKeyColumn(int index) { * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ @java.lang.Override - public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuilder(int index) { + public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuilder( + int index) { return keyColumn_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -294,10 +251,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < column_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, column_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, column_.get(i)); } for (int i = 0; i < keyColumn_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, keyColumn_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, keyColumn_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -307,17 +266,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.TableMetadata)) { return super.equals(obj); } - com.google.spanner.executor.v1.TableMetadata other = - (com.google.spanner.executor.v1.TableMetadata) obj; + com.google.spanner.executor.v1.TableMetadata other = (com.google.spanner.executor.v1.TableMetadata) obj; - if (!getName().equals(other.getName())) return false; - if (!getColumnList().equals(other.getColumnList())) return false; - if (!getKeyColumnList().equals(other.getKeyColumnList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getColumnList() + .equals(other.getColumnList())) return false; + if (!getKeyColumnList() + .equals(other.getKeyColumnList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,136 +305,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.TableMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.TableMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.TableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.TableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.TableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.TableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.TableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * TableMetadata contains metadata of a single table.
    * 
* * Protobuf type {@code google.spanner.executor.v1.TableMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.TableMetadata) com.google.spanner.executor.v1.TableMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TableMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TableMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.TableMetadata.class, - com.google.spanner.executor.v1.TableMetadata.Builder.class); + com.google.spanner.executor.v1.TableMetadata.class, com.google.spanner.executor.v1.TableMetadata.Builder.class); } // Construct using com.google.spanner.executor.v1.TableMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TableMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TableMetadata_descriptor; } @java.lang.Override @@ -518,12 +475,9 @@ public com.google.spanner.executor.v1.TableMetadata build() { @java.lang.Override public com.google.spanner.executor.v1.TableMetadata buildPartial() { - com.google.spanner.executor.v1.TableMetadata result = - new com.google.spanner.executor.v1.TableMetadata(this); + com.google.spanner.executor.v1.TableMetadata result = new com.google.spanner.executor.v1.TableMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -560,39 +514,38 @@ private void buildPartial0(com.google.spanner.executor.v1.TableMetadata result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.TableMetadata) { - return mergeFrom((com.google.spanner.executor.v1.TableMetadata) other); + return mergeFrom((com.google.spanner.executor.v1.TableMetadata)other); } else { super.mergeFrom(other); return this; @@ -624,10 +577,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.TableMetadata other) { columnBuilder_ = null; column_ = other.column_; bitField0_ = (bitField0_ & ~0x00000002); - columnBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getColumnFieldBuilder() - : null; + columnBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColumnFieldBuilder() : null; } else { columnBuilder_.addAllMessages(other.column_); } @@ -651,10 +603,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.TableMetadata other) { keyColumnBuilder_ = null; keyColumn_ = other.keyColumn_; bitField0_ = (bitField0_ & ~0x00000004); - keyColumnBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getKeyColumnFieldBuilder() - : null; + keyColumnBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKeyColumnFieldBuilder() : null; } else { keyColumnBuilder_.addAllMessages(other.keyColumn_); } @@ -686,45 +637,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.spanner.executor.v1.ColumnMetadata m = - input.readMessage( - com.google.spanner.executor.v1.ColumnMetadata.parser(), extensionRegistry); - if (columnBuilder_ == null) { - ensureColumnIsMutable(); - column_.add(m); - } else { - columnBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.spanner.executor.v1.ColumnMetadata m = - input.readMessage( - com.google.spanner.executor.v1.ColumnMetadata.parser(), extensionRegistry); - if (keyColumnBuilder_ == null) { - ensureKeyColumnIsMutable(); - keyColumn_.add(m); - } else { - keyColumnBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.spanner.executor.v1.ColumnMetadata m = + input.readMessage( + com.google.spanner.executor.v1.ColumnMetadata.parser(), + extensionRegistry); + if (columnBuilder_ == null) { + ensureColumnIsMutable(); + column_.add(m); + } else { + columnBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.spanner.executor.v1.ColumnMetadata m = + input.readMessage( + com.google.spanner.executor.v1.ColumnMetadata.parser(), + extensionRegistry); + if (keyColumnBuilder_ == null) { + ensureKeyColumnIsMutable(); + keyColumn_.add(m); + } else { + keyColumnBuilder_.addMessage(m); + } + 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) { @@ -734,25 +683,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Table 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -761,21 +707,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Table name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -783,35 +728,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Table name.
      * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Table name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -821,21 +759,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Table name.
      * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -844,24 +778,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.util.List column_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { column_ = new java.util.ArrayList(column_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ColumnMetadata, - com.google.spanner.executor.v1.ColumnMetadata.Builder, - com.google.spanner.executor.v1.ColumnMetadataOrBuilder> - columnBuilder_; + com.google.spanner.executor.v1.ColumnMetadata, com.google.spanner.executor.v1.ColumnMetadata.Builder, com.google.spanner.executor.v1.ColumnMetadataOrBuilder> columnBuilder_; /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -876,8 +804,6 @@ public java.util.List getColumnLi } } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -892,8 +818,6 @@ public int getColumnCount() { } } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -908,15 +832,14 @@ public com.google.spanner.executor.v1.ColumnMetadata getColumn(int index) { } } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - public Builder setColumn(int index, com.google.spanner.executor.v1.ColumnMetadata value) { + public Builder setColumn( + int index, com.google.spanner.executor.v1.ColumnMetadata value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -930,8 +853,6 @@ public Builder setColumn(int index, com.google.spanner.executor.v1.ColumnMetadat return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -950,8 +871,6 @@ public Builder setColumn( return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -972,15 +891,14 @@ public Builder addColumn(com.google.spanner.executor.v1.ColumnMetadata value) { return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - public Builder addColumn(int index, com.google.spanner.executor.v1.ColumnMetadata value) { + public Builder addColumn( + int index, com.google.spanner.executor.v1.ColumnMetadata value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -994,8 +912,6 @@ public Builder addColumn(int index, com.google.spanner.executor.v1.ColumnMetadat return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -1014,8 +930,6 @@ public Builder addColumn( return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -1034,8 +948,6 @@ public Builder addColumn( return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -1046,7 +958,8 @@ public Builder addAllColumn( java.lang.Iterable values) { if (columnBuilder_ == null) { ensureColumnIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, column_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, column_); onChanged(); } else { columnBuilder_.addAllMessages(values); @@ -1054,8 +967,6 @@ public Builder addAllColumn( return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -1073,8 +984,6 @@ public Builder clearColumn() { return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -1092,44 +1001,39 @@ public Builder removeColumn(int index) { return this; } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - public com.google.spanner.executor.v1.ColumnMetadata.Builder getColumnBuilder(int index) { + public com.google.spanner.executor.v1.ColumnMetadata.Builder getColumnBuilder( + int index) { return getColumnFieldBuilder().getBuilder(index); } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder(int index) { + public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder( + int index) { if (columnBuilder_ == null) { - return column_.get(index); - } else { + return column_.get(index); } else { return columnBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - public java.util.List - getColumnOrBuilderList() { + public java.util.List + getColumnOrBuilderList() { if (columnBuilder_ != null) { return columnBuilder_.getMessageOrBuilderList(); } else { @@ -1137,8 +1041,6 @@ public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder } } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
@@ -1146,73 +1048,60 @@ public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ public com.google.spanner.executor.v1.ColumnMetadata.Builder addColumnBuilder() { - return getColumnFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); + return getColumnFieldBuilder().addBuilder( + com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - public com.google.spanner.executor.v1.ColumnMetadata.Builder addColumnBuilder(int index) { - return getColumnFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); + public com.google.spanner.executor.v1.ColumnMetadata.Builder addColumnBuilder( + int index) { + return getColumnFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); } /** - * - * *
      * Columns, in the same order as in the schema.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - public java.util.List - getColumnBuilderList() { + public java.util.List + getColumnBuilderList() { return getColumnFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ColumnMetadata, - com.google.spanner.executor.v1.ColumnMetadata.Builder, - com.google.spanner.executor.v1.ColumnMetadataOrBuilder> + com.google.spanner.executor.v1.ColumnMetadata, com.google.spanner.executor.v1.ColumnMetadata.Builder, com.google.spanner.executor.v1.ColumnMetadataOrBuilder> getColumnFieldBuilder() { if (columnBuilder_ == null) { - columnBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ColumnMetadata, - com.google.spanner.executor.v1.ColumnMetadata.Builder, - com.google.spanner.executor.v1.ColumnMetadataOrBuilder>( - column_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + columnBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.ColumnMetadata, com.google.spanner.executor.v1.ColumnMetadata.Builder, com.google.spanner.executor.v1.ColumnMetadataOrBuilder>( + column_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); column_ = null; } return columnBuilder_; } private java.util.List keyColumn_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureKeyColumnIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - keyColumn_ = - new java.util.ArrayList(keyColumn_); + keyColumn_ = new java.util.ArrayList(keyColumn_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ColumnMetadata, - com.google.spanner.executor.v1.ColumnMetadata.Builder, - com.google.spanner.executor.v1.ColumnMetadataOrBuilder> - keyColumnBuilder_; + com.google.spanner.executor.v1.ColumnMetadata, com.google.spanner.executor.v1.ColumnMetadata.Builder, com.google.spanner.executor.v1.ColumnMetadataOrBuilder> keyColumnBuilder_; /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1227,8 +1116,6 @@ public java.util.List getKeyColum } } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1243,8 +1130,6 @@ public int getKeyColumnCount() { } } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1259,15 +1144,14 @@ public com.google.spanner.executor.v1.ColumnMetadata getKeyColumn(int index) { } } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - public Builder setKeyColumn(int index, com.google.spanner.executor.v1.ColumnMetadata value) { + public Builder setKeyColumn( + int index, com.google.spanner.executor.v1.ColumnMetadata value) { if (keyColumnBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1281,8 +1165,6 @@ public Builder setKeyColumn(int index, com.google.spanner.executor.v1.ColumnMeta return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1301,8 +1183,6 @@ public Builder setKeyColumn( return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1323,15 +1203,14 @@ public Builder addKeyColumn(com.google.spanner.executor.v1.ColumnMetadata value) return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - public Builder addKeyColumn(int index, com.google.spanner.executor.v1.ColumnMetadata value) { + public Builder addKeyColumn( + int index, com.google.spanner.executor.v1.ColumnMetadata value) { if (keyColumnBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1345,8 +1224,6 @@ public Builder addKeyColumn(int index, com.google.spanner.executor.v1.ColumnMeta return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1365,8 +1242,6 @@ public Builder addKeyColumn( return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1385,8 +1260,6 @@ public Builder addKeyColumn( return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1397,7 +1270,8 @@ public Builder addAllKeyColumn( java.lang.Iterable values) { if (keyColumnBuilder_ == null) { ensureKeyColumnIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keyColumn_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keyColumn_); onChanged(); } else { keyColumnBuilder_.addAllMessages(values); @@ -1405,8 +1279,6 @@ public Builder addAllKeyColumn( return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1424,8 +1296,6 @@ public Builder clearKeyColumn() { return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1443,44 +1313,39 @@ public Builder removeKeyColumn(int index) { return this; } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - public com.google.spanner.executor.v1.ColumnMetadata.Builder getKeyColumnBuilder(int index) { + public com.google.spanner.executor.v1.ColumnMetadata.Builder getKeyColumnBuilder( + int index) { return getKeyColumnFieldBuilder().getBuilder(index); } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuilder(int index) { + public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuilder( + int index) { if (keyColumnBuilder_ == null) { - return keyColumn_.get(index); - } else { + return keyColumn_.get(index); } else { return keyColumnBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - public java.util.List - getKeyColumnOrBuilderList() { + public java.util.List + getKeyColumnOrBuilderList() { if (keyColumnBuilder_ != null) { return keyColumnBuilder_.getMessageOrBuilderList(); } else { @@ -1488,8 +1353,6 @@ public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuil } } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
@@ -1497,55 +1360,49 @@ public com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuil * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ public com.google.spanner.executor.v1.ColumnMetadata.Builder addKeyColumnBuilder() { - return getKeyColumnFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); + return getKeyColumnFieldBuilder().addBuilder( + com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - public com.google.spanner.executor.v1.ColumnMetadata.Builder addKeyColumnBuilder(int index) { - return getKeyColumnFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); + public com.google.spanner.executor.v1.ColumnMetadata.Builder addKeyColumnBuilder( + int index) { + return getKeyColumnFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.ColumnMetadata.getDefaultInstance()); } /** - * - * *
      * Keys, in order. Column name is currently not populated.
      * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - public java.util.List - getKeyColumnBuilderList() { + public java.util.List + getKeyColumnBuilderList() { return getKeyColumnFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ColumnMetadata, - com.google.spanner.executor.v1.ColumnMetadata.Builder, - com.google.spanner.executor.v1.ColumnMetadataOrBuilder> + com.google.spanner.executor.v1.ColumnMetadata, com.google.spanner.executor.v1.ColumnMetadata.Builder, com.google.spanner.executor.v1.ColumnMetadataOrBuilder> getKeyColumnFieldBuilder() { if (keyColumnBuilder_ == null) { - keyColumnBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.ColumnMetadata, - com.google.spanner.executor.v1.ColumnMetadata.Builder, - com.google.spanner.executor.v1.ColumnMetadataOrBuilder>( - keyColumn_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + keyColumnBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.ColumnMetadata, com.google.spanner.executor.v1.ColumnMetadata.Builder, com.google.spanner.executor.v1.ColumnMetadataOrBuilder>( + keyColumn_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); keyColumn_ = null; } return keyColumnBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1555,12 +1412,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.TableMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.TableMetadata) private static final com.google.spanner.executor.v1.TableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.TableMetadata(); } @@ -1569,27 +1426,27 @@ public static com.google.spanner.executor.v1.TableMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableMetadata 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableMetadata 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; @@ -1604,4 +1461,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.TableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadataOrBuilder.java similarity index 76% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadataOrBuilder.java index 69ff53cdfab..248a1bb1ef9 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TableMetadataOrBuilder.java @@ -1,67 +1,43 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface TableMetadataOrBuilder - extends +public interface TableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.TableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Table name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Table name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Columns, in the same order as in the schema.
    * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - java.util.List getColumnList(); + java.util.List + getColumnList(); /** - * - * *
    * Columns, in the same order as in the schema.
    * 
@@ -70,8 +46,6 @@ public interface TableMetadataOrBuilder */ com.google.spanner.executor.v1.ColumnMetadata getColumn(int index); /** - * - * *
    * Columns, in the same order as in the schema.
    * 
@@ -80,40 +54,34 @@ public interface TableMetadataOrBuilder */ int getColumnCount(); /** - * - * *
    * Columns, in the same order as in the schema.
    * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - java.util.List + java.util.List getColumnOrBuilderList(); /** - * - * *
    * Columns, in the same order as in the schema.
    * 
* * repeated .google.spanner.executor.v1.ColumnMetadata column = 2; */ - com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder(int index); + com.google.spanner.executor.v1.ColumnMetadataOrBuilder getColumnOrBuilder( + int index); /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - java.util.List getKeyColumnList(); + java.util.List + getKeyColumnList(); /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
@@ -122,8 +90,6 @@ public interface TableMetadataOrBuilder */ com.google.spanner.executor.v1.ColumnMetadata getKeyColumn(int index); /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
@@ -132,24 +98,21 @@ public interface TableMetadataOrBuilder */ int getKeyColumnCount(); /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - java.util.List + java.util.List getKeyColumnOrBuilderList(); /** - * - * *
    * Keys, in order. Column name is currently not populated.
    * 
* * repeated .google.spanner.executor.v1.ColumnMetadata key_column = 3; */ - com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuilder(int index); + com.google.spanner.executor.v1.ColumnMetadataOrBuilder getKeyColumnOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptions.java similarity index 64% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptions.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptions.java index 99e3723da74..7f3be2177a7 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptions.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,58 +5,52 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Options for executing the transaction.
  * 
* * Protobuf type {@code google.spanner.executor.v1.TransactionExecutionOptions} */ -public final class TransactionExecutionOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransactionExecutionOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.TransactionExecutionOptions) TransactionExecutionOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransactionExecutionOptions.newBuilder() to construct. private TransactionExecutionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TransactionExecutionOptions() {} + private TransactionExecutionOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransactionExecutionOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.TransactionExecutionOptions.class, - com.google.spanner.executor.v1.TransactionExecutionOptions.Builder.class); + com.google.spanner.executor.v1.TransactionExecutionOptions.class, com.google.spanner.executor.v1.TransactionExecutionOptions.Builder.class); } public static final int OPTIMISTIC_FIELD_NUMBER = 1; private boolean optimistic_ = false; /** - * - * *
    * Whether optimistic concurrency should be used to execute this transaction.
    * 
* * bool optimistic = 1; - * * @return The optimistic. */ @java.lang.Override @@ -80,7 +59,6 @@ public boolean getOptimistic() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (optimistic_ != false) { output.writeBool(1, optimistic_); } @@ -106,7 +85,8 @@ public int getSerializedSize() { size = 0; if (optimistic_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, optimistic_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, optimistic_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.TransactionExecutionOptions)) { return super.equals(obj); } - com.google.spanner.executor.v1.TransactionExecutionOptions other = - (com.google.spanner.executor.v1.TransactionExecutionOptions) obj; + com.google.spanner.executor.v1.TransactionExecutionOptions other = (com.google.spanner.executor.v1.TransactionExecutionOptions) obj; - if (getOptimistic() != other.getOptimistic()) return false; + if (getOptimistic() + != other.getOptimistic()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,143 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OPTIMISTIC_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOptimistic()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOptimistic()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.TransactionExecutionOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.TransactionExecutionOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.TransactionExecutionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.TransactionExecutionOptions prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.TransactionExecutionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options for executing the transaction.
    * 
* * Protobuf type {@code google.spanner.executor.v1.TransactionExecutionOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.TransactionExecutionOptions) com.google.spanner.executor.v1.TransactionExecutionOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.TransactionExecutionOptions.class, - com.google.spanner.executor.v1.TransactionExecutionOptions.Builder.class); + com.google.spanner.executor.v1.TransactionExecutionOptions.class, com.google.spanner.executor.v1.TransactionExecutionOptions.Builder.class); } // Construct using com.google.spanner.executor.v1.TransactionExecutionOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -283,9 +259,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; } @java.lang.Override @@ -304,11 +280,8 @@ public com.google.spanner.executor.v1.TransactionExecutionOptions build() { @java.lang.Override public com.google.spanner.executor.v1.TransactionExecutionOptions buildPartial() { - com.google.spanner.executor.v1.TransactionExecutionOptions result = - new com.google.spanner.executor.v1.TransactionExecutionOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.TransactionExecutionOptions result = new com.google.spanner.executor.v1.TransactionExecutionOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -324,39 +297,38 @@ private void buildPartial0(com.google.spanner.executor.v1.TransactionExecutionOp public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.TransactionExecutionOptions) { - return mergeFrom((com.google.spanner.executor.v1.TransactionExecutionOptions) other); + return mergeFrom((com.google.spanner.executor.v1.TransactionExecutionOptions)other); } else { super.mergeFrom(other); return this; @@ -364,8 +336,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.TransactionExecutionOptions other) { - if (other == com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.TransactionExecutionOptions.getDefaultInstance()) return this; if (other.getOptimistic() != false) { setOptimistic(other.getOptimistic()); } @@ -395,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - optimistic_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + optimistic_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + 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) { @@ -417,19 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean optimistic_; + private boolean optimistic_ ; /** - * - * *
      * Whether optimistic concurrency should be used to execute this transaction.
      * 
* * bool optimistic = 1; - * * @return The optimistic. */ @java.lang.Override @@ -437,14 +402,11 @@ public boolean getOptimistic() { return optimistic_; } /** - * - * *
      * Whether optimistic concurrency should be used to execute this transaction.
      * 
* * bool optimistic = 1; - * * @param value The optimistic to set. * @return This builder for chaining. */ @@ -456,14 +418,11 @@ public Builder setOptimistic(boolean value) { return this; } /** - * - * *
      * Whether optimistic concurrency should be used to execute this transaction.
      * 
* * bool optimistic = 1; - * * @return This builder for chaining. */ public Builder clearOptimistic() { @@ -472,9 +431,9 @@ public Builder clearOptimistic() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -484,12 +443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.TransactionExecutionOptions) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.TransactionExecutionOptions) private static final com.google.spanner.executor.v1.TransactionExecutionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.TransactionExecutionOptions(); } @@ -498,27 +457,27 @@ public static com.google.spanner.executor.v1.TransactionExecutionOptions getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransactionExecutionOptions 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionExecutionOptions 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; @@ -533,4 +492,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.spanner.executor.v1.TransactionExecutionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptionsOrBuilder.java new file mode 100644 index 00000000000..f724b44a633 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptionsOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/executor/v1/cloud_executor.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.executor.v1; + +public interface TransactionExecutionOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.TransactionExecutionOptions) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether optimistic concurrency should be used to execute this transaction.
+   * 
+ * + * bool optimistic = 1; + * @return The optimistic. + */ + boolean getOptimistic(); +} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupAction.java similarity index 68% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupAction.java index 218f7d4738d..86f259f78c0 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that updates a Cloud Spanner database backup.
  * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudBackupAction} */ -public final class UpdateCloudBackupAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCloudBackupAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.UpdateCloudBackupAction) UpdateCloudBackupActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCloudBackupAction.newBuilder() to construct. private UpdateCloudBackupAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCloudBackupAction() { projectId_ = ""; instanceId_ = ""; @@ -46,39 +28,34 @@ private UpdateCloudBackupAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCloudBackupAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudBackupAction.class, - com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudBackupAction.class, com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder.class); } private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,18 +95,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ @java.lang.Override @@ -138,29 +111,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -169,18 +142,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * The id of the backup to update, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ @java.lang.Override @@ -189,29 +158,29 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * The id of the backup to update, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -222,16 +191,12 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. Updated value of expire_time, this is the only field
    * that supported to be updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -239,16 +204,12 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. Updated value of expire_time, this is the only field
    * that supported to be updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -256,15 +217,12 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. Updated value of expire_time, this is the only field
    * that supported to be updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -272,7 +230,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +241,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,7 +274,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, backupId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -326,20 +285,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.UpdateCloudBackupAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.UpdateCloudBackupAction other = - (com.google.spanner.executor.v1.UpdateCloudBackupAction) obj; + com.google.spanner.executor.v1.UpdateCloudBackupAction other = (com.google.spanner.executor.v1.UpdateCloudBackupAction) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -368,127 +330,119 @@ public int hashCode() { } public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudBackupAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.UpdateCloudBackupAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.UpdateCloudBackupAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that updates a Cloud Spanner database backup.
    * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudBackupAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.UpdateCloudBackupAction) com.google.spanner.executor.v1.UpdateCloudBackupActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudBackupAction.class, - com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudBackupAction.class, com.google.spanner.executor.v1.UpdateCloudBackupAction.Builder.class); } // Construct using com.google.spanner.executor.v1.UpdateCloudBackupAction.newBuilder() @@ -496,17 +450,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getExpireTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +477,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; } @java.lang.Override @@ -544,11 +498,8 @@ public com.google.spanner.executor.v1.UpdateCloudBackupAction build() { @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudBackupAction buildPartial() { - com.google.spanner.executor.v1.UpdateCloudBackupAction result = - new com.google.spanner.executor.v1.UpdateCloudBackupAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.UpdateCloudBackupAction result = new com.google.spanner.executor.v1.UpdateCloudBackupAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -566,7 +517,9 @@ private void buildPartial0(com.google.spanner.executor.v1.UpdateCloudBackupActio } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -576,39 +529,38 @@ private void buildPartial0(com.google.spanner.executor.v1.UpdateCloudBackupActio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.UpdateCloudBackupAction) { - return mergeFrom((com.google.spanner.executor.v1.UpdateCloudBackupAction) other); + return mergeFrom((com.google.spanner.executor.v1.UpdateCloudBackupAction)other); } else { super.mergeFrom(other); return this; @@ -616,8 +568,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.UpdateCloudBackupAction other) { - if (other == com.google.spanner.executor.v1.UpdateCloudBackupAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.UpdateCloudBackupAction.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -662,37 +613,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -702,25 +650,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -729,21 +674,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -751,35 +695,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -789,21 +726,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -813,20 +746,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -835,21 +766,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -857,35 +787,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -895,21 +818,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 2; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -919,20 +838,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * The id of the backup to update, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -941,21 +858,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * The id of the backup to update, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -963,35 +879,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * The id of the backup to update, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The id of the backup to update, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -1001,21 +910,17 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * The id of the backup to update, e.g. "test-backup".
      * 
* * string backup_id = 3; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000004; @@ -1025,61 +930,42 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1095,18 +981,15 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1117,22 +1000,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1147,16 +1026,12 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1169,16 +1044,12 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1186,57 +1057,45 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. Updated value of expire_time, this is the only field
      * that supported to be updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1105,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.UpdateCloudBackupAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.UpdateCloudBackupAction) private static final com.google.spanner.executor.v1.UpdateCloudBackupAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.UpdateCloudBackupAction(); } @@ -1260,27 +1119,27 @@ public static com.google.spanner.executor.v1.UpdateCloudBackupAction getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCloudBackupAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCloudBackupAction 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; @@ -1295,4 +1154,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.UpdateCloudBackupAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupActionOrBuilder.java similarity index 67% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupActionOrBuilder.java index 8c0f3a545b5..0e1eca231be 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudBackupActionOrBuilder.java @@ -1,142 +1,100 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface UpdateCloudBackupActionOrBuilder - extends +public interface UpdateCloudBackupActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.UpdateCloudBackupAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 2; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * The id of the backup to update, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * The id of the backup to update, e.g. "test-backup".
    * 
* * string backup_id = 3; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Output only. Updated value of expire_time, this is the only field
    * that supported to be updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. Updated value of expire_time, this is the only field
    * that supported to be updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. Updated value of expire_time, this is the only field
    * that supported to be updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseAction.java similarity index 69% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseAction.java index 11ff862e5fc..7830112ccc4 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that updates a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudDatabaseAction} */ -public final class UpdateCloudDatabaseAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCloudDatabaseAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.UpdateCloudDatabaseAction) UpdateCloudDatabaseActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCloudDatabaseAction.newBuilder() to construct. private UpdateCloudDatabaseAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCloudDatabaseAction() { instanceId_ = ""; projectId_ = ""; @@ -46,38 +28,33 @@ private UpdateCloudDatabaseAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCloudDatabaseAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.class, - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudDatabaseAction.class, com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -168,18 +141,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object databaseName_ = ""; /** - * - * *
    * Cloud database name (not full path), e.g. "db0".
    * 
* * string database_name = 3; - * * @return The databaseName. */ @java.lang.Override @@ -188,29 +157,29 @@ public java.lang.String getDatabaseName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseName_ = s; return s; } } /** - * - * *
    * Cloud database name (not full path), e.g. "db0".
    * 
* * string database_name = 3; - * * @return The bytes for databaseName. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseNameBytes() { + public com.google.protobuf.ByteString + getDatabaseNameBytes() { java.lang.Object ref = databaseName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseName_ = b; return b; } else { @@ -221,15 +190,12 @@ public com.google.protobuf.ByteString getDatabaseNameBytes() { public static final int ENABLE_DROP_PROTECTION_FIELD_NUMBER = 4; private boolean enableDropProtection_ = false; /** - * - * *
    * Updated value of enable_drop_protection, this is the only field that has
    * supported to be updated.
    * 
* * bool enable_drop_protection = 4; - * * @return The enableDropProtection. */ @java.lang.Override @@ -238,7 +204,6 @@ public boolean getEnableDropProtection() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +215,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, databaseName_); } if (enableDropProtection_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enableDropProtection_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, enableDropProtection_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -292,18 +259,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.UpdateCloudDatabaseAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.UpdateCloudDatabaseAction other = - (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) obj; + com.google.spanner.executor.v1.UpdateCloudDatabaseAction other = (com.google.spanner.executor.v1.UpdateCloudDatabaseAction) obj; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseName().equals(other.getDatabaseName())) return false; - if (getEnableDropProtection() != other.getEnableDropProtection()) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseName() + .equals(other.getDatabaseName())) return false; + if (getEnableDropProtection() + != other.getEnableDropProtection()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,143 +292,139 @@ public int hashCode() { hash = (37 * hash) + DATABASE_NAME_FIELD_NUMBER; hash = (53 * hash) + getDatabaseName().hashCode(); hash = (37 * hash) + ENABLE_DROP_PROTECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableDropProtection()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableDropProtection()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.UpdateCloudDatabaseAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.UpdateCloudDatabaseAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that updates a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudDatabaseAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.UpdateCloudDatabaseAction) com.google.spanner.executor.v1.UpdateCloudDatabaseActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.class, - com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudDatabaseAction.class, com.google.spanner.executor.v1.UpdateCloudDatabaseAction.Builder.class); } // Construct using com.google.spanner.executor.v1.UpdateCloudDatabaseAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; } @java.lang.Override @@ -492,11 +458,8 @@ public com.google.spanner.executor.v1.UpdateCloudDatabaseAction build() { @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudDatabaseAction buildPartial() { - com.google.spanner.executor.v1.UpdateCloudDatabaseAction result = - new com.google.spanner.executor.v1.UpdateCloudDatabaseAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.UpdateCloudDatabaseAction result = new com.google.spanner.executor.v1.UpdateCloudDatabaseAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -521,39 +484,38 @@ private void buildPartial0(com.google.spanner.executor.v1.UpdateCloudDatabaseAct public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.UpdateCloudDatabaseAction) { - return mergeFrom((com.google.spanner.executor.v1.UpdateCloudDatabaseAction) other); + return mergeFrom((com.google.spanner.executor.v1.UpdateCloudDatabaseAction)other); } else { super.mergeFrom(other); return this; @@ -561,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.UpdateCloudDatabaseAction other) { - if (other == com.google.spanner.executor.v1.UpdateCloudDatabaseAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.UpdateCloudDatabaseAction.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -607,37 +568,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - databaseName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - enableDropProtection_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + databaseName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + enableDropProtection_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + 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) { @@ -647,25 +603,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -674,21 +627,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -696,35 +648,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -734,21 +679,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -758,20 +699,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -780,21 +719,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -802,35 +740,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -840,21 +771,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -864,20 +791,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseName_ = ""; /** - * - * *
      * Cloud database name (not full path), e.g. "db0".
      * 
* * string database_name = 3; - * * @return The databaseName. */ public java.lang.String getDatabaseName() { java.lang.Object ref = databaseName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseName_ = s; return s; @@ -886,21 +811,20 @@ public java.lang.String getDatabaseName() { } } /** - * - * *
      * Cloud database name (not full path), e.g. "db0".
      * 
* * string database_name = 3; - * * @return The bytes for databaseName. */ - public com.google.protobuf.ByteString getDatabaseNameBytes() { + public com.google.protobuf.ByteString + getDatabaseNameBytes() { java.lang.Object ref = databaseName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseName_ = b; return b; } else { @@ -908,35 +832,28 @@ public com.google.protobuf.ByteString getDatabaseNameBytes() { } } /** - * - * *
      * Cloud database name (not full path), e.g. "db0".
      * 
* * string database_name = 3; - * * @param value The databaseName to set. * @return This builder for chaining. */ - public Builder setDatabaseName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Cloud database name (not full path), e.g. "db0".
      * 
* * string database_name = 3; - * * @return This builder for chaining. */ public Builder clearDatabaseName() { @@ -946,21 +863,17 @@ public Builder clearDatabaseName() { return this; } /** - * - * *
      * Cloud database name (not full path), e.g. "db0".
      * 
* * string database_name = 3; - * * @param value The bytes for databaseName to set. * @return This builder for chaining. */ - public Builder setDatabaseNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseName_ = value; bitField0_ |= 0x00000004; @@ -968,17 +881,14 @@ public Builder setDatabaseNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean enableDropProtection_; + private boolean enableDropProtection_ ; /** - * - * *
      * Updated value of enable_drop_protection, this is the only field that has
      * supported to be updated.
      * 
* * bool enable_drop_protection = 4; - * * @return The enableDropProtection. */ @java.lang.Override @@ -986,15 +896,12 @@ public boolean getEnableDropProtection() { return enableDropProtection_; } /** - * - * *
      * Updated value of enable_drop_protection, this is the only field that has
      * supported to be updated.
      * 
* * bool enable_drop_protection = 4; - * * @param value The enableDropProtection to set. * @return This builder for chaining. */ @@ -1006,15 +913,12 @@ public Builder setEnableDropProtection(boolean value) { return this; } /** - * - * *
      * Updated value of enable_drop_protection, this is the only field that has
      * supported to be updated.
      * 
* * bool enable_drop_protection = 4; - * * @return This builder for chaining. */ public Builder clearEnableDropProtection() { @@ -1023,9 +927,9 @@ public Builder clearEnableDropProtection() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1035,12 +939,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.UpdateCloudDatabaseAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.UpdateCloudDatabaseAction) private static final com.google.spanner.executor.v1.UpdateCloudDatabaseAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.UpdateCloudDatabaseAction(); } @@ -1049,27 +953,27 @@ public static com.google.spanner.executor.v1.UpdateCloudDatabaseAction getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCloudDatabaseAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCloudDatabaseAction 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; @@ -1084,4 +988,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.executor.v1.UpdateCloudDatabaseAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseActionOrBuilder.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseActionOrBuilder.java index f8653f2d172..9379598cd74 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseActionOrBuilder.java @@ -1,114 +1,80 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface UpdateCloudDatabaseActionOrBuilder - extends +public interface UpdateCloudDatabaseActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.UpdateCloudDatabaseAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud database name (not full path), e.g. "db0".
    * 
* * string database_name = 3; - * * @return The databaseName. */ java.lang.String getDatabaseName(); /** - * - * *
    * Cloud database name (not full path), e.g. "db0".
    * 
* * string database_name = 3; - * * @return The bytes for databaseName. */ - com.google.protobuf.ByteString getDatabaseNameBytes(); + com.google.protobuf.ByteString + getDatabaseNameBytes(); /** - * - * *
    * Updated value of enable_drop_protection, this is the only field that has
    * supported to be updated.
    * 
* * bool enable_drop_protection = 4; - * * @return The enableDropProtection. */ boolean getEnableDropProtection(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlAction.java similarity index 72% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlAction.java index eaa4d8a7600..44b0d9bc868 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,68 +5,61 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that updates the schema of a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudDatabaseDdlAction} */ -public final class UpdateCloudDatabaseDdlAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCloudDatabaseDdlAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) UpdateCloudDatabaseDdlActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCloudDatabaseDdlAction.newBuilder() to construct. private UpdateCloudDatabaseDdlAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCloudDatabaseDdlAction() { instanceId_ = ""; projectId_ = ""; databaseId_ = ""; - sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sdlStatement_ = + com.google.protobuf.LazyStringArrayList.emptyList(); operationId_ = ""; protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCloudDatabaseDdlAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.class, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.class, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder.class); } private int bitField0_; public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -90,29 +68,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -121,18 +99,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -141,29 +115,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -172,18 +146,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ @java.lang.Override @@ -192,29 +162,29 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -223,47 +193,38 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } public static final int SDL_STATEMENT_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @return A list containing the sdlStatement. */ - public com.google.protobuf.ProtocolStringList getSdlStatementList() { + public com.google.protobuf.ProtocolStringList + getSdlStatementList() { return sdlStatement_; } /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @return The count of sdlStatement. */ public int getSdlStatementCount() { return sdlStatement_.size(); } /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the element to return. * @return The sdlStatement at the given index. */ @@ -271,28 +232,23 @@ public java.lang.String getSdlStatement(int index) { return sdlStatement_.get(index); } /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the value to return. * @return The bytes of the sdlStatement at the given index. */ - public com.google.protobuf.ByteString getSdlStatementBytes(int index) { + public com.google.protobuf.ByteString + getSdlStatementBytes(int index) { return sdlStatement_.getByteString(index); } public static final int OPERATION_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object operationId_ = ""; /** - * - * *
    * Op ID can be used to track progress of the update. If set, it must be
    * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -300,7 +256,6 @@ public com.google.protobuf.ByteString getSdlStatementBytes(int index) {
    * 
* * string operation_id = 5; - * * @return The operationId. */ @java.lang.Override @@ -309,15 +264,14 @@ public java.lang.String getOperationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** - * - * *
    * Op ID can be used to track progress of the update. If set, it must be
    * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -325,15 +279,16 @@ public java.lang.String getOperationId() {
    * 
* * string operation_id = 5; - * * @return The bytes for operationId. */ @java.lang.Override - public com.google.protobuf.ByteString getOperationIdBytes() { + public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -345,7 +300,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes proto_descriptors = 6; - * * @return Whether the protoDescriptors field is set. */ @java.lang.Override @@ -354,7 +308,6 @@ public boolean hasProtoDescriptors() { } /** * optional bytes proto_descriptors = 6; - * * @return The protoDescriptors. */ @java.lang.Override @@ -363,7 +316,6 @@ public com.google.protobuf.ByteString getProtoDescriptors() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,7 +327,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } @@ -424,7 +377,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, operationId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, protoDescriptors_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, protoDescriptors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -434,22 +388,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction other = - (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) obj; - - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; - if (!getSdlStatementList().equals(other.getSdlStatementList())) return false; - if (!getOperationId().equals(other.getOperationId())) return false; + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction other = (com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) obj; + + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; + if (!getSdlStatementList() + .equals(other.getSdlStatementList())) return false; + if (!getOperationId() + .equals(other.getOperationId())) return false; if (hasProtoDescriptors() != other.hasProtoDescriptors()) return false; if (hasProtoDescriptors()) { - if (!getProtoDescriptors().equals(other.getProtoDescriptors())) return false; + if (!getProtoDescriptors() + .equals(other.getProtoDescriptors())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -484,136 +443,131 @@ public int hashCode() { } public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that updates the schema of a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudDatabaseDdlAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) com.google.spanner.executor.v1.UpdateCloudDatabaseDdlActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.class, - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.class, com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.Builder.class); } // Construct using com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -621,16 +575,17 @@ public Builder clear() { instanceId_ = ""; projectId_ = ""; databaseId_ = ""; - sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sdlStatement_ = + com.google.protobuf.LazyStringArrayList.emptyList(); operationId_ = ""; protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; } @java.lang.Override @@ -649,11 +604,8 @@ public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction build() { @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction buildPartial() { - com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction result = - new com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction result = new com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -688,39 +640,38 @@ private void buildPartial0(com.google.spanner.executor.v1.UpdateCloudDatabaseDdl public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) { - return mergeFrom((com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) other); + return mergeFrom((com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction)other); } else { super.mergeFrom(other); return this; @@ -728,8 +679,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction other) { - if (other == com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -789,50 +739,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSdlStatementIsMutable(); - sdlStatement_.add(s); - break; - } // case 34 - case 42: - { - operationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - protoDescriptors_ = input.readBytes(); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSdlStatementIsMutable(); + sdlStatement_.add(s); + break; + } // case 34 + case 42: { + operationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + protoDescriptors_ = input.readBytes(); + bitField0_ |= 0x00000020; + break; + } // case 50 + 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) { @@ -842,25 +785,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -869,21 +809,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -891,35 +830,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -929,21 +861,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -953,20 +881,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -975,21 +901,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -997,35 +922,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1035,21 +953,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -1059,20 +973,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1081,21 +993,20 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1103,35 +1014,28 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1141,21 +1045,17 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * Cloud database ID (not full path), e.g. "db0".
      * 
* * string database_id = 3; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000004; @@ -1165,7 +1065,6 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSdlStatementIsMutable() { if (!sdlStatement_.isModifiable()) { sdlStatement_ = new com.google.protobuf.LazyStringArrayList(sdlStatement_); @@ -1173,43 +1072,35 @@ private void ensureSdlStatementIsMutable() { bitField0_ |= 0x00000008; } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @return A list containing the sdlStatement. */ - public com.google.protobuf.ProtocolStringList getSdlStatementList() { + public com.google.protobuf.ProtocolStringList + getSdlStatementList() { sdlStatement_.makeImmutable(); return sdlStatement_; } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @return The count of sdlStatement. */ public int getSdlStatementCount() { return sdlStatement_.size(); } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @param index The index of the element to return. * @return The sdlStatement at the given index. */ @@ -1217,37 +1108,31 @@ public java.lang.String getSdlStatement(int index) { return sdlStatement_.get(index); } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @param index The index of the value to return. * @return The bytes of the sdlStatement at the given index. */ - public com.google.protobuf.ByteString getSdlStatementBytes(int index) { + public com.google.protobuf.ByteString + getSdlStatementBytes(int index) { return sdlStatement_.getByteString(index); } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @param index The index to set the value at. * @param value The sdlStatement to set. * @return This builder for chaining. */ - public Builder setSdlStatement(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSdlStatement( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSdlStatementIsMutable(); sdlStatement_.set(index, value); bitField0_ |= 0x00000008; @@ -1255,21 +1140,17 @@ public Builder setSdlStatement(int index, java.lang.String value) { return this; } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @param value The sdlStatement to add. * @return This builder for chaining. */ - public Builder addSdlStatement(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSdlStatement( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSdlStatementIsMutable(); sdlStatement_.add(value); bitField0_ |= 0x00000008; @@ -1277,58 +1158,50 @@ public Builder addSdlStatement(java.lang.String value) { return this; } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @param values The sdlStatement to add. * @return This builder for chaining. */ - public Builder addAllSdlStatement(java.lang.Iterable values) { + public Builder addAllSdlStatement( + java.lang.Iterable values) { ensureSdlStatementIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sdlStatement_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sdlStatement_); bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @return This builder for chaining. */ public Builder clearSdlStatement() { - sdlStatement_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + sdlStatement_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
      * SDL statements to apply to the database.
      * 
* * repeated string sdl_statement = 4; - * * @param value The bytes of the sdlStatement to add. * @return This builder for chaining. */ - public Builder addSdlStatementBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSdlStatementBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSdlStatementIsMutable(); sdlStatement_.add(value); @@ -1339,8 +1212,6 @@ public Builder addSdlStatementBytes(com.google.protobuf.ByteString value) { private java.lang.Object operationId_ = ""; /** - * - * *
      * Op ID can be used to track progress of the update. If set, it must be
      * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -1348,13 +1219,13 @@ public Builder addSdlStatementBytes(com.google.protobuf.ByteString value) {
      * 
* * string operation_id = 5; - * * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -1363,8 +1234,6 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * Op ID can be used to track progress of the update. If set, it must be
      * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -1372,14 +1241,15 @@ public java.lang.String getOperationId() {
      * 
* * string operation_id = 5; - * * @return The bytes for operationId. */ - public com.google.protobuf.ByteString getOperationIdBytes() { + public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -1387,8 +1257,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * Op ID can be used to track progress of the update. If set, it must be
      * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -1396,22 +1264,18 @@ public com.google.protobuf.ByteString getOperationIdBytes() {
      * 
* * string operation_id = 5; - * * @param value The operationId to set. * @return This builder for chaining. */ - public Builder setOperationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } operationId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Op ID can be used to track progress of the update. If set, it must be
      * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -1419,7 +1283,6 @@ public Builder setOperationId(java.lang.String value) {
      * 
* * string operation_id = 5; - * * @return This builder for chaining. */ public Builder clearOperationId() { @@ -1429,8 +1292,6 @@ public Builder clearOperationId() { return this; } /** - * - * *
      * Op ID can be used to track progress of the update. If set, it must be
      * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -1438,14 +1299,12 @@ public Builder clearOperationId() {
      * 
* * string operation_id = 5; - * * @param value The bytes for operationId to set. * @return This builder for chaining. */ - public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationId_ = value; bitField0_ |= 0x00000010; @@ -1456,7 +1315,6 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString protoDescriptors_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes proto_descriptors = 6; - * * @return Whether the protoDescriptors field is set. */ @java.lang.Override @@ -1465,7 +1323,6 @@ public boolean hasProtoDescriptors() { } /** * optional bytes proto_descriptors = 6; - * * @return The protoDescriptors. */ @java.lang.Override @@ -1474,14 +1331,11 @@ public com.google.protobuf.ByteString getProtoDescriptors() { } /** * optional bytes proto_descriptors = 6; - * * @param value The protoDescriptors to set. * @return This builder for chaining. */ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } protoDescriptors_ = value; bitField0_ |= 0x00000020; onChanged(); @@ -1489,7 +1343,6 @@ public Builder setProtoDescriptors(com.google.protobuf.ByteString value) { } /** * optional bytes proto_descriptors = 6; - * * @return This builder for chaining. */ public Builder clearProtoDescriptors() { @@ -1498,9 +1351,9 @@ public Builder clearProtoDescriptors() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1510,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) private static final com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction(); } @@ -1524,27 +1377,27 @@ public static com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCloudDatabaseDdlAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCloudDatabaseDdlAction 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; @@ -1559,4 +1412,6 @@ public com.google.protobuf.Parser getParserForType public com.google.spanner.executor.v1.UpdateCloudDatabaseDdlAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlActionOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlActionOrBuilder.java index c2aa0a8eb81..80d21870b81 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudDatabaseDdlActionOrBuilder.java @@ -1,158 +1,115 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface UpdateCloudDatabaseDdlActionOrBuilder - extends +public interface UpdateCloudDatabaseDdlActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.UpdateCloudDatabaseDdlAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * Cloud database ID (not full path), e.g. "db0".
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @return A list containing the sdlStatement. */ - java.util.List getSdlStatementList(); + java.util.List + getSdlStatementList(); /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @return The count of sdlStatement. */ int getSdlStatementCount(); /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the element to return. * @return The sdlStatement at the given index. */ java.lang.String getSdlStatement(int index); /** - * - * *
    * SDL statements to apply to the database.
    * 
* * repeated string sdl_statement = 4; - * * @param index The index of the value to return. * @return The bytes of the sdlStatement at the given index. */ - com.google.protobuf.ByteString getSdlStatementBytes(int index); + com.google.protobuf.ByteString + getSdlStatementBytes(int index); /** - * - * *
    * Op ID can be used to track progress of the update. If set, it must be
    * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -160,13 +117,10 @@ public interface UpdateCloudDatabaseDdlActionOrBuilder
    * 
* * string operation_id = 5; - * * @return The operationId. */ java.lang.String getOperationId(); /** - * - * *
    * Op ID can be used to track progress of the update. If set, it must be
    * unique per database. If not set, Cloud Spanner will generate operation ID
@@ -174,20 +128,18 @@ public interface UpdateCloudDatabaseDdlActionOrBuilder
    * 
* * string operation_id = 5; - * * @return The bytes for operationId. */ - com.google.protobuf.ByteString getOperationIdBytes(); + com.google.protobuf.ByteString + getOperationIdBytes(); /** * optional bytes proto_descriptors = 6; - * * @return Whether the protoDescriptors field is set. */ boolean hasProtoDescriptors(); /** * optional bytes proto_descriptors = 6; - * * @return The protoDescriptors. */ com.google.protobuf.ByteString getProtoDescriptors(); diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceAction.java similarity index 69% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceAction.java index 1c4490d8d57..36cf66f5782 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,24 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that updates a Cloud Spanner instance.
  * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudInstanceAction} */ -public final class UpdateCloudInstanceAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCloudInstanceAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.UpdateCloudInstanceAction) UpdateCloudInstanceActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCloudInstanceAction.newBuilder() to construct. private UpdateCloudInstanceAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCloudInstanceAction() { instanceId_ = ""; projectId_ = ""; @@ -46,13 +28,14 @@ private UpdateCloudInstanceAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCloudInstanceAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -63,34 +46,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 6: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudInstanceAction.class, - com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudInstanceAction.class, com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder.class); } private int bitField0_; public static final int INSTANCE_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ @java.lang.Override @@ -99,29 +76,29 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -130,18 +107,14 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -150,29 +123,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -181,19 +154,15 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * optional string display_name = 3; - * * @return Whether the displayName field is set. */ @java.lang.Override @@ -201,15 +170,12 @@ public boolean hasDisplayName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * optional string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * optional string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -252,15 +218,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 4; private int nodeCount_ = 0; /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message.
    * 
* * optional int32 node_count = 4; - * * @return Whether the nodeCount field is set. */ @java.lang.Override @@ -268,15 +231,12 @@ public boolean hasNodeCount() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message.
    * 
* * optional int32 node_count = 4; - * * @return The nodeCount. */ @java.lang.Override @@ -287,15 +247,12 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 5; private int processingUnits_ = 0; /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message.
    * 
* * optional int32 processing_units = 5; - * * @return Whether the processingUnits field is set. */ @java.lang.Override @@ -303,15 +260,12 @@ public boolean hasProcessingUnits() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message.
    * 
* * optional int32 processing_units = 5; - * * @return The processingUnits. */ @java.lang.Override @@ -322,17 +276,13 @@ public int getProcessingUnits() { public static final int AUTOSCALING_CONFIG_FIELD_NUMBER = 7; private com.google.spanner.admin.instance.v1.AutoscalingConfig autoscalingConfig_; /** - * - * *
    * The autoscaling config for this instance. If non-empty, this instance is
    * using autoscaling (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return Whether the autoscalingConfig field is set. */ @java.lang.Override @@ -340,74 +290,60 @@ public boolean hasAutoscalingConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * The autoscaling config for this instance. If non-empty, this instance is
    * using autoscaling (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return The autoscalingConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig() { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } /** - * - * *
    * The autoscaling config for this instance. If non-empty, this instance is
    * using autoscaling (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder - getAutoscalingConfigOrBuilder() { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder() { + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * labels.
    * 
@@ -415,21 +351,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * labels.
    * 
@@ -441,8 +376,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * labels.
    * 
@@ -450,19 +383,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * labels.
    * 
@@ -470,11 +401,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -482,7 +413,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -494,7 +424,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } @@ -510,8 +441,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(5, processingUnits_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(7, getAutoscalingConfig()); } @@ -534,23 +469,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, nodeCount_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, processingUnits_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, processingUnits_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, labels__); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getAutoscalingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getAutoscalingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -560,33 +498,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.UpdateCloudInstanceAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.UpdateCloudInstanceAction other = - (com.google.spanner.executor.v1.UpdateCloudInstanceAction) obj; + com.google.spanner.executor.v1.UpdateCloudInstanceAction other = (com.google.spanner.executor.v1.UpdateCloudInstanceAction) obj; - if (!getInstanceId().equals(other.getInstanceId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (hasDisplayName() != other.hasDisplayName()) return false; if (hasDisplayName()) { - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; } if (hasNodeCount() != other.hasNodeCount()) return false; if (hasNodeCount()) { - if (getNodeCount() != other.getNodeCount()) return false; + if (getNodeCount() + != other.getNodeCount()) return false; } if (hasProcessingUnits() != other.hasProcessingUnits()) return false; if (hasProcessingUnits()) { - if (getProcessingUnits() != other.getProcessingUnits()) return false; + if (getProcessingUnits() + != other.getProcessingUnits()) return false; } if (hasAutoscalingConfig() != other.hasAutoscalingConfig()) return false; if (hasAutoscalingConfig()) { - if (!getAutoscalingConfig().equals(other.getAutoscalingConfig())) return false; + if (!getAutoscalingConfig() + .equals(other.getAutoscalingConfig())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -628,117 +572,111 @@ public int hashCode() { } public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateCloudInstanceAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.UpdateCloudInstanceAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.UpdateCloudInstanceAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that updates a Cloud Spanner instance.
    * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateCloudInstanceAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.UpdateCloudInstanceAction) com.google.spanner.executor.v1.UpdateCloudInstanceActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -748,10 +686,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 6: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -759,18 +697,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 6: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateCloudInstanceAction.class, - com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder.class); + com.google.spanner.executor.v1.UpdateCloudInstanceAction.class, com.google.spanner.executor.v1.UpdateCloudInstanceAction.Builder.class); } // Construct using com.google.spanner.executor.v1.UpdateCloudInstanceAction.newBuilder() @@ -778,17 +714,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAutoscalingConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -808,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; } @java.lang.Override @@ -829,11 +765,8 @@ public com.google.spanner.executor.v1.UpdateCloudInstanceAction build() { @java.lang.Override public com.google.spanner.executor.v1.UpdateCloudInstanceAction buildPartial() { - com.google.spanner.executor.v1.UpdateCloudInstanceAction result = - new com.google.spanner.executor.v1.UpdateCloudInstanceAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.UpdateCloudInstanceAction result = new com.google.spanner.executor.v1.UpdateCloudInstanceAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -860,10 +793,9 @@ private void buildPartial0(com.google.spanner.executor.v1.UpdateCloudInstanceAct to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.autoscalingConfig_ = - autoscalingConfigBuilder_ == null - ? autoscalingConfig_ - : autoscalingConfigBuilder_.build(); + result.autoscalingConfig_ = autoscalingConfigBuilder_ == null + ? autoscalingConfig_ + : autoscalingConfigBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000040) != 0)) { @@ -877,39 +809,38 @@ private void buildPartial0(com.google.spanner.executor.v1.UpdateCloudInstanceAct public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.UpdateCloudInstanceAction) { - return mergeFrom((com.google.spanner.executor.v1.UpdateCloudInstanceAction) other); + return mergeFrom((com.google.spanner.executor.v1.UpdateCloudInstanceAction)other); } else { super.mergeFrom(other); return this; @@ -917,8 +848,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.UpdateCloudInstanceAction other) { - if (other == com.google.spanner.executor.v1.UpdateCloudInstanceAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.UpdateCloudInstanceAction.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; bitField0_ |= 0x00000001; @@ -943,7 +873,8 @@ public Builder mergeFrom(com.google.spanner.executor.v1.UpdateCloudInstanceActio if (other.hasAutoscalingConfig()) { mergeAutoscalingConfig(other.getAutoscalingConfig()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000040; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -971,62 +902,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - processingUnits_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: - { - input.readMessage( - getAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + processingUnits_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: { + input.readMessage( + getAutoscalingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + 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) { @@ -1036,25 +958,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceId_ = ""; /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -1063,21 +982,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -1085,35 +1003,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1123,21 +1034,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Cloud instance ID (not path), e.g. "test-instance".
      * 
* * string instance_id = 1; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000001; @@ -1147,20 +1054,18 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1169,21 +1074,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1191,35 +1095,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1229,21 +1126,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -1253,36 +1146,31 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * optional string display_name = 3; - * * @return Whether the displayName field is set. */ public boolean hasDisplayName() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * optional string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1291,22 +1179,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * optional string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1314,37 +1201,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * optional string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * optional string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1354,22 +1234,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * optional string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1377,17 +1253,14 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message.
      * 
* * optional int32 node_count = 4; - * * @return Whether the nodeCount field is set. */ @java.lang.Override @@ -1395,15 +1268,12 @@ public boolean hasNodeCount() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message.
      * 
* * optional int32 node_count = 4; - * * @return The nodeCount. */ @java.lang.Override @@ -1411,15 +1281,12 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message.
      * 
* * optional int32 node_count = 4; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -1431,15 +1298,12 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message.
      * 
* * optional int32 node_count = 4; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -1449,17 +1313,14 @@ public Builder clearNodeCount() { return this; } - private int processingUnits_; + private int processingUnits_ ; /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message.
      * 
* * optional int32 processing_units = 5; - * * @return Whether the processingUnits field is set. */ @java.lang.Override @@ -1467,15 +1328,12 @@ public boolean hasProcessingUnits() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message.
      * 
* * optional int32 processing_units = 5; - * * @return The processingUnits. */ @java.lang.Override @@ -1483,15 +1341,12 @@ public int getProcessingUnits() { return processingUnits_; } /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message.
      * 
* * optional int32 processing_units = 5; - * * @param value The processingUnits to set. * @return This builder for chaining. */ @@ -1503,15 +1358,12 @@ public Builder setProcessingUnits(int value) { return this; } /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message.
      * 
* * optional int32 processing_units = 5; - * * @return This builder for chaining. */ public Builder clearProcessingUnits() { @@ -1523,64 +1375,47 @@ public Builder clearProcessingUnits() { private com.google.spanner.admin.instance.v1.AutoscalingConfig autoscalingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> - autoscalingConfigBuilder_; + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> autoscalingConfigBuilder_; /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return The autoscalingConfig. */ public com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig() { if (autoscalingConfigBuilder_ == null) { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } else { return autoscalingConfigBuilder_.getMessage(); } } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public Builder setAutoscalingConfig( - com.google.spanner.admin.instance.v1.AutoscalingConfig value) { + public Builder setAutoscalingConfig(com.google.spanner.admin.instance.v1.AutoscalingConfig value) { if (autoscalingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1594,16 +1429,13 @@ public Builder setAutoscalingConfig( return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ public Builder setAutoscalingConfig( com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder builderForValue) { @@ -1617,24 +1449,19 @@ public Builder setAutoscalingConfig( return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public Builder mergeAutoscalingConfig( - com.google.spanner.admin.instance.v1.AutoscalingConfig value) { + public Builder mergeAutoscalingConfig(com.google.spanner.admin.instance.v1.AutoscalingConfig value) { if (autoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && autoscalingConfig_ != null - && autoscalingConfig_ - != com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + autoscalingConfig_ != null && + autoscalingConfig_ != com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance()) { getAutoscalingConfigBuilder().mergeFrom(value); } else { autoscalingConfig_ = value; @@ -1649,16 +1476,13 @@ public Builder mergeAutoscalingConfig( return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ public Builder clearAutoscalingConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1671,87 +1495,74 @@ public Builder clearAutoscalingConfig() { return this; } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder - getAutoscalingConfigBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder getAutoscalingConfigBuilder() { bitField0_ |= 0x00000020; onChanged(); return getAutoscalingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ - public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder - getAutoscalingConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder() { if (autoscalingConfigBuilder_ != null) { return autoscalingConfigBuilder_.getMessageOrBuilder(); } else { - return autoscalingConfig_ == null - ? com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() - : autoscalingConfig_; + return autoscalingConfig_ == null ? + com.google.spanner.admin.instance.v1.AutoscalingConfig.getDefaultInstance() : autoscalingConfig_; } } /** - * - * *
      * The autoscaling config for this instance. If non-empty, this instance is
      * using autoscaling (processing_units and node_count should be set to
      * 0 if used).
      * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder> getAutoscalingConfigFieldBuilder() { if (autoscalingConfigBuilder_ == null) { - autoscalingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.AutoscalingConfig, - com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, - com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder>( - getAutoscalingConfig(), getParentForChildren(), isClean()); + autoscalingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.AutoscalingConfig, com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder, com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder>( + getAutoscalingConfig(), + getParentForChildren(), + isClean()); autoscalingConfig_ = null; } return autoscalingConfigBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1760,13 +1571,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * labels.
      * 
@@ -1774,21 +1582,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * labels.
      * 
@@ -1800,8 +1607,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * labels.
      * 
@@ -1809,19 +1614,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * labels.
      * 
@@ -1829,81 +1632,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 6; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 6; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 6; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1913,12 +1714,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.UpdateCloudInstanceAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.UpdateCloudInstanceAction) private static final com.google.spanner.executor.v1.UpdateCloudInstanceAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.UpdateCloudInstanceAction(); } @@ -1927,27 +1728,27 @@ public static com.google.spanner.executor.v1.UpdateCloudInstanceAction getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCloudInstanceAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCloudInstanceAction 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; @@ -1962,4 +1763,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.executor.v1.UpdateCloudInstanceAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceActionOrBuilder.java similarity index 76% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceActionOrBuilder.java index fb55cf6a1eb..b4a2f4000a4 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateCloudInstanceActionOrBuilder.java @@ -1,220 +1,161 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface UpdateCloudInstanceActionOrBuilder - extends +public interface UpdateCloudInstanceActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.UpdateCloudInstanceAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Cloud instance ID (not path), e.g. "test-instance".
    * 
* * string instance_id = 1; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * optional string display_name = 3; - * * @return Whether the displayName field is set. */ boolean hasDisplayName(); /** - * - * *
    * The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * optional string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * optional string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message.
    * 
* * optional int32 node_count = 4; - * * @return Whether the nodeCount field is set. */ boolean hasNodeCount(); /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message.
    * 
* * optional int32 node_count = 4; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message.
    * 
* * optional int32 processing_units = 5; - * * @return Whether the processingUnits field is set. */ boolean hasProcessingUnits(); /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message.
    * 
* * optional int32 processing_units = 5; - * * @return The processingUnits. */ int getProcessingUnits(); /** - * - * *
    * The autoscaling config for this instance. If non-empty, this instance is
    * using autoscaling (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return Whether the autoscalingConfig field is set. */ boolean hasAutoscalingConfig(); /** - * - * *
    * The autoscaling config for this instance. If non-empty, this instance is
    * using autoscaling (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; * @return The autoscalingConfig. */ com.google.spanner.admin.instance.v1.AutoscalingConfig getAutoscalingConfig(); /** - * - * *
    * The autoscaling config for this instance. If non-empty, this instance is
    * using autoscaling (processing_units and node_count should be set to
    * 0 if used).
    * 
* - * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; - * + * optional .google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 7; */ com.google.spanner.admin.instance.v1.AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder(); /** - * - * *
    * labels.
    * 
@@ -223,31 +164,30 @@ public interface UpdateCloudInstanceActionOrBuilder */ int getLabelsCount(); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 6; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 6; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * labels.
    * 
@@ -255,18 +195,17 @@ public interface UpdateCloudInstanceActionOrBuilder * map<string, string> labels = 6; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 6; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigAction.java similarity index 64% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigAction.java index c501fe38d27..9c119bc30b0 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,25 +5,21 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Action that updates a user instance config.
  * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateUserInstanceConfigAction} */ -public final class UpdateUserInstanceConfigAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateUserInstanceConfigAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.UpdateUserInstanceConfigAction) UpdateUserInstanceConfigActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateUserInstanceConfigAction.newBuilder() to construct. - private UpdateUserInstanceConfigAction( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateUserInstanceConfigAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateUserInstanceConfigAction() { userConfigId_ = ""; projectId_ = ""; @@ -47,13 +28,14 @@ private UpdateUserInstanceConfigAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateUserInstanceConfigAction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -64,34 +46,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.class, - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.class, com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder.class); } private int bitField0_; public static final int USER_CONFIG_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object userConfigId_ = ""; /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The userConfigId. */ @java.lang.Override @@ -100,29 +76,29 @@ public java.lang.String getUserConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userConfigId_ = s; return s; } } /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserConfigIdBytes() { + public com.google.protobuf.ByteString + getUserConfigIdBytes() { java.lang.Object ref = userConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userConfigId_ = b; return b; } else { @@ -131,18 +107,14 @@ public com.google.protobuf.ByteString getUserConfigIdBytes() { } public static final int PROJECT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -151,29 +123,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -182,18 +154,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The descriptive name for this instance config as it appears in UIs.
    * 
* * optional string display_name = 3; - * * @return Whether the displayName field is set. */ @java.lang.Override @@ -201,14 +169,11 @@ public boolean hasDisplayName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The descriptive name for this instance config as it appears in UIs.
    * 
* * optional string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -217,29 +182,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The descriptive name for this instance config as it appears in UIs.
    * 
* * optional string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -248,34 +213,32 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * labels.
    * 
@@ -283,21 +246,20 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * labels.
    * 
@@ -309,8 +271,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * labels.
    * 
@@ -318,19 +278,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * labels.
    * 
@@ -338,11 +296,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -350,7 +308,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -362,7 +319,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userConfigId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userConfigId_); } @@ -372,8 +330,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -392,15 +354,15 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -410,21 +372,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.UpdateUserInstanceConfigAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction other = - (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) obj; + com.google.spanner.executor.v1.UpdateUserInstanceConfigAction other = (com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) obj; - if (!getUserConfigId().equals(other.getUserConfigId())) return false; - if (!getProjectId().equals(other.getProjectId())) return false; + if (!getUserConfigId() + .equals(other.getUserConfigId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; if (hasDisplayName() != other.hasDisplayName()) return false; if (hasDisplayName()) { - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -454,117 +419,111 @@ public int hashCode() { } public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction prototype) { + public static Builder newBuilder(com.google.spanner.executor.v1.UpdateUserInstanceConfigAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Action that updates a user instance config.
    * 
* * Protobuf type {@code google.spanner.executor.v1.UpdateUserInstanceConfigAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.UpdateUserInstanceConfigAction) com.google.spanner.executor.v1.UpdateUserInstanceConfigActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -574,10 +533,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -585,27 +544,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.class, - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder.class); + com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.class, com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.Builder.class); } // Construct using com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -618,14 +578,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; } @java.lang.Override - public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction - getDefaultInstanceForType() { + public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction getDefaultInstanceForType() { return com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance(); } @@ -640,17 +599,13 @@ public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction build() { @java.lang.Override public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction buildPartial() { - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction result = - new com.google.spanner.executor.v1.UpdateUserInstanceConfigAction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.executor.v1.UpdateUserInstanceConfigAction result = new com.google.spanner.executor.v1.UpdateUserInstanceConfigAction(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.executor.v1.UpdateUserInstanceConfigAction result) { + private void buildPartial0(com.google.spanner.executor.v1.UpdateUserInstanceConfigAction result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.userConfigId_ = userConfigId_; @@ -674,39 +629,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) { - return mergeFrom((com.google.spanner.executor.v1.UpdateUserInstanceConfigAction) other); + return mergeFrom((com.google.spanner.executor.v1.UpdateUserInstanceConfigAction)other); } else { super.mergeFrom(other); return this; @@ -714,9 +668,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.executor.v1.UpdateUserInstanceConfigAction other) { - if (other - == com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance()) - return this; + if (other == com.google.spanner.executor.v1.UpdateUserInstanceConfigAction.getDefaultInstance()) return this; if (!other.getUserConfigId().isEmpty()) { userConfigId_ = other.userConfigId_; bitField0_ |= 0x00000001; @@ -732,7 +684,8 @@ public Builder mergeFrom(com.google.spanner.executor.v1.UpdateUserInstanceConfig bitField0_ |= 0x00000004; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -760,43 +713,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - userConfigId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + userConfigId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + 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) { @@ -806,25 +752,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object userConfigId_ = ""; /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return The userConfigId. */ public java.lang.String getUserConfigId() { java.lang.Object ref = userConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userConfigId_ = s; return s; @@ -833,21 +776,20 @@ public java.lang.String getUserConfigId() { } } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ - public com.google.protobuf.ByteString getUserConfigIdBytes() { + public com.google.protobuf.ByteString + getUserConfigIdBytes() { java.lang.Object ref = userConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userConfigId_ = b; return b; } else { @@ -855,35 +797,28 @@ public com.google.protobuf.ByteString getUserConfigIdBytes() { } } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @param value The userConfigId to set. * @return This builder for chaining. */ - public Builder setUserConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userConfigId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @return This builder for chaining. */ public Builder clearUserConfigId() { @@ -893,21 +828,17 @@ public Builder clearUserConfigId() { return this; } /** - * - * *
      * User instance config ID (not path), e.g. "custom-config".
      * 
* * string user_config_id = 1; - * * @param value The bytes for userConfigId to set. * @return This builder for chaining. */ - public Builder setUserConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userConfigId_ = value; bitField0_ |= 0x00000001; @@ -917,20 +848,18 @@ public Builder setUserConfigIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectId_ = ""; /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -939,21 +868,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -961,35 +889,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -999,21 +920,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Cloud project ID, e.g. "spanner-cloud-systest".
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000002; @@ -1023,34 +940,29 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The descriptive name for this instance config as it appears in UIs.
      * 
* * optional string display_name = 3; - * * @return Whether the displayName field is set. */ public boolean hasDisplayName() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The descriptive name for this instance config as it appears in UIs.
      * 
* * optional string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1059,21 +971,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The descriptive name for this instance config as it appears in UIs.
      * 
* * optional string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1081,35 +992,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The descriptive name for this instance config as it appears in UIs.
      * 
* * optional string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The descriptive name for this instance config as it appears in UIs.
      * 
* * optional string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1119,21 +1023,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The descriptive name for this instance config as it appears in UIs.
      * 
* * optional string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -1141,19 +1041,21 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1162,13 +1064,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * labels.
      * 
@@ -1176,21 +1075,20 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * labels.
      * 
@@ -1202,8 +1100,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * labels.
      * 
@@ -1211,19 +1107,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * labels.
      * 
@@ -1231,81 +1125,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * labels.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1315,13 +1207,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.UpdateUserInstanceConfigAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.UpdateUserInstanceConfigAction) - private static final com.google.spanner.executor.v1.UpdateUserInstanceConfigAction - DEFAULT_INSTANCE; - + private static final com.google.spanner.executor.v1.UpdateUserInstanceConfigAction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.UpdateUserInstanceConfigAction(); } @@ -1330,27 +1221,27 @@ public static com.google.spanner.executor.v1.UpdateUserInstanceConfigAction getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserInstanceConfigAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserInstanceConfigAction 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; @@ -1365,4 +1256,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.spanner.executor.v1.UpdateUserInstanceConfigAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigActionOrBuilder.java similarity index 64% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigActionOrBuilder.java index b9681f46019..835c43db58b 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/UpdateUserInstanceConfigActionOrBuilder.java @@ -1,119 +1,83 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface UpdateUserInstanceConfigActionOrBuilder - extends +public interface UpdateUserInstanceConfigActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.UpdateUserInstanceConfigAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The userConfigId. */ java.lang.String getUserConfigId(); /** - * - * *
    * User instance config ID (not path), e.g. "custom-config".
    * 
* * string user_config_id = 1; - * * @return The bytes for userConfigId. */ - com.google.protobuf.ByteString getUserConfigIdBytes(); + com.google.protobuf.ByteString + getUserConfigIdBytes(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Cloud project ID, e.g. "spanner-cloud-systest".
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The descriptive name for this instance config as it appears in UIs.
    * 
* * optional string display_name = 3; - * * @return Whether the displayName field is set. */ boolean hasDisplayName(); /** - * - * *
    * The descriptive name for this instance config as it appears in UIs.
    * 
* * optional string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The descriptive name for this instance config as it appears in UIs.
    * 
* * optional string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * labels.
    * 
@@ -122,31 +86,30 @@ public interface UpdateUserInstanceConfigActionOrBuilder */ int getLabelsCount(); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * labels.
    * 
@@ -154,18 +117,17 @@ public interface UpdateUserInstanceConfigActionOrBuilder * map<string, string> labels = 4; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * labels.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Value.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Value.java similarity index 73% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Value.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Value.java index 7d09e149cb5..b59fca19956 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Value.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/Value.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * Value represents a single value that can be read or written to/from
  * Spanner.
@@ -29,48 +12,44 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.Value}
  */
-public final class Value extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Value extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.Value)
     ValueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Value.newBuilder() to construct.
   private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Value() {}
+  private Value() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Value();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_Value_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Value_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_Value_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Value_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.Value.class,
-            com.google.spanner.executor.v1.Value.Builder.class);
+            com.google.spanner.executor.v1.Value.class, com.google.spanner.executor.v1.Value.Builder.class);
   }
 
   private int bitField0_;
   private int valueTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object valueType_;
-
   public enum ValueTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     IS_NULL(1),
     INT_VALUE(2),
@@ -85,7 +64,6 @@ public enum ValueTypeCase
     ARRAY_VALUE(11),
     VALUETYPE_NOT_SET(0);
     private final int value;
-
     private ValueTypeCase(int value) {
       this.value = value;
     }
@@ -101,54 +79,39 @@ public static ValueTypeCase valueOf(int value) {
 
     public static ValueTypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return IS_NULL;
-        case 2:
-          return INT_VALUE;
-        case 3:
-          return BOOL_VALUE;
-        case 4:
-          return DOUBLE_VALUE;
-        case 5:
-          return BYTES_VALUE;
-        case 6:
-          return STRING_VALUE;
-        case 7:
-          return STRUCT_VALUE;
-        case 8:
-          return TIMESTAMP_VALUE;
-        case 9:
-          return DATE_DAYS_VALUE;
-        case 10:
-          return IS_COMMIT_TIMESTAMP;
-        case 11:
-          return ARRAY_VALUE;
-        case 0:
-          return VALUETYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return IS_NULL;
+        case 2: return INT_VALUE;
+        case 3: return BOOL_VALUE;
+        case 4: return DOUBLE_VALUE;
+        case 5: return BYTES_VALUE;
+        case 6: return STRING_VALUE;
+        case 7: return STRUCT_VALUE;
+        case 8: return TIMESTAMP_VALUE;
+        case 9: return DATE_DAYS_VALUE;
+        case 10: return IS_COMMIT_TIMESTAMP;
+        case 11: return ARRAY_VALUE;
+        case 0: return VALUETYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ValueTypeCase getValueTypeCase() {
-    return ValueTypeCase.forNumber(valueTypeCase_);
+  public ValueTypeCase
+  getValueTypeCase() {
+    return ValueTypeCase.forNumber(
+        valueTypeCase_);
   }
 
   public static final int IS_NULL_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * If is_null is set, then this value is null.
    * 
* * bool is_null = 1; - * * @return Whether the isNull field is set. */ @java.lang.Override @@ -156,14 +119,11 @@ public boolean hasIsNull() { return valueTypeCase_ == 1; } /** - * - * *
    * If is_null is set, then this value is null.
    * 
* * bool is_null = 1; - * * @return The isNull. */ @java.lang.Override @@ -176,15 +136,12 @@ public boolean getIsNull() { public static final int INT_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * Int type value. It's used for all integer number types, like int32 and
    * int64.
    * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ @java.lang.Override @@ -192,15 +149,12 @@ public boolean hasIntValue() { return valueTypeCase_ == 2; } /** - * - * *
    * Int type value. It's used for all integer number types, like int32 and
    * int64.
    * 
* * int64 int_value = 2; - * * @return The intValue. */ @java.lang.Override @@ -213,14 +167,11 @@ public long getIntValue() { public static final int BOOL_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * Bool type value.
    * 
* * bool bool_value = 3; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -228,14 +179,11 @@ public boolean hasBoolValue() { return valueTypeCase_ == 3; } /** - * - * *
    * Bool type value.
    * 
* * bool bool_value = 3; - * * @return The boolValue. */ @java.lang.Override @@ -248,15 +196,12 @@ public boolean getBoolValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * Double type value. It's used for all float point types, like float and
    * double.
    * 
* * double double_value = 4; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -264,15 +209,12 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 4; } /** - * - * *
    * Double type value. It's used for all float point types, like float and
    * double.
    * 
* * double double_value = 4; - * * @return The doubleValue. */ @java.lang.Override @@ -285,14 +227,11 @@ public double getDoubleValue() { public static final int BYTES_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * Bytes type value, stored in CORD. It's also used for PROTO type value.
    * 
* * bytes bytes_value = 5; - * * @return Whether the bytesValue field is set. */ @java.lang.Override @@ -300,14 +239,11 @@ public boolean hasBytesValue() { return valueTypeCase_ == 5; } /** - * - * *
    * Bytes type value, stored in CORD. It's also used for PROTO type value.
    * 
* * bytes bytes_value = 5; - * * @return The bytesValue. */ @java.lang.Override @@ -320,28 +256,22 @@ public com.google.protobuf.ByteString getBytesValue() { public static final int STRING_VALUE_FIELD_NUMBER = 6; /** - * - * *
    * String type value, stored in CORD.
    * 
* * string string_value = 6; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueTypeCase_ == 6; } /** - * - * *
    * String type value, stored in CORD.
    * 
* * string string_value = 6; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -352,7 +282,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 6) { valueType_ = s; @@ -361,24 +292,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * String type value, stored in CORD.
    * 
* * string string_value = 6; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 6) { ref = valueType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 6) { valueType_ = b; } @@ -390,15 +320,12 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int STRUCT_VALUE_FIELD_NUMBER = 7; /** - * - * *
    * Struct type value. It contains a ValueList representing the values in
    * this struct.
    * 
* * .google.spanner.executor.v1.ValueList struct_value = 7; - * * @return Whether the structValue field is set. */ @java.lang.Override @@ -406,27 +333,22 @@ public boolean hasStructValue() { return valueTypeCase_ == 7; } /** - * - * *
    * Struct type value. It contains a ValueList representing the values in
    * this struct.
    * 
* * .google.spanner.executor.v1.ValueList struct_value = 7; - * * @return The structValue. */ @java.lang.Override public com.google.spanner.executor.v1.ValueList getStructValue() { if (valueTypeCase_ == 7) { - return (com.google.spanner.executor.v1.ValueList) valueType_; + return (com.google.spanner.executor.v1.ValueList) valueType_; } return com.google.spanner.executor.v1.ValueList.getDefaultInstance(); } /** - * - * *
    * Struct type value. It contains a ValueList representing the values in
    * this struct.
@@ -437,21 +359,18 @@ public com.google.spanner.executor.v1.ValueList getStructValue() {
   @java.lang.Override
   public com.google.spanner.executor.v1.ValueListOrBuilder getStructValueOrBuilder() {
     if (valueTypeCase_ == 7) {
-      return (com.google.spanner.executor.v1.ValueList) valueType_;
+       return (com.google.spanner.executor.v1.ValueList) valueType_;
     }
     return com.google.spanner.executor.v1.ValueList.getDefaultInstance();
   }
 
   public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 8;
   /**
-   *
-   *
    * 
    * Timestamp type value.
    * 
* * .google.protobuf.Timestamp timestamp_value = 8; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -459,26 +378,21 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 8; } /** - * - * *
    * Timestamp type value.
    * 
* * .google.protobuf.Timestamp timestamp_value = 8; - * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (valueTypeCase_ == 8) { - return (com.google.protobuf.Timestamp) valueType_; + return (com.google.protobuf.Timestamp) valueType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Timestamp type value.
    * 
@@ -488,21 +402,18 @@ public com.google.protobuf.Timestamp getTimestampValue() { @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { if (valueTypeCase_ == 8) { - return (com.google.protobuf.Timestamp) valueType_; + return (com.google.protobuf.Timestamp) valueType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int DATE_DAYS_VALUE_FIELD_NUMBER = 9; /** - * - * *
    * Date type value. Date is specified as a number of days since Unix epoch.
    * 
* * int32 date_days_value = 9; - * * @return Whether the dateDaysValue field is set. */ @java.lang.Override @@ -510,14 +421,11 @@ public boolean hasDateDaysValue() { return valueTypeCase_ == 9; } /** - * - * *
    * Date type value. Date is specified as a number of days since Unix epoch.
    * 
* * int32 date_days_value = 9; - * * @return The dateDaysValue. */ @java.lang.Override @@ -530,14 +438,11 @@ public int getDateDaysValue() { public static final int IS_COMMIT_TIMESTAMP_FIELD_NUMBER = 10; /** - * - * *
    * If set, holds the sentinel value for the transaction CommitTimestamp.
    * 
* * bool is_commit_timestamp = 10; - * * @return Whether the isCommitTimestamp field is set. */ @java.lang.Override @@ -545,14 +450,11 @@ public boolean hasIsCommitTimestamp() { return valueTypeCase_ == 10; } /** - * - * *
    * If set, holds the sentinel value for the transaction CommitTimestamp.
    * 
* * bool is_commit_timestamp = 10; - * * @return The isCommitTimestamp. */ @java.lang.Override @@ -565,15 +467,12 @@ public boolean getIsCommitTimestamp() { public static final int ARRAY_VALUE_FIELD_NUMBER = 11; /** - * - * *
    * Array type value. The underlying Valuelist should have values that have
    * the same type.
    * 
* * .google.spanner.executor.v1.ValueList array_value = 11; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -581,27 +480,22 @@ public boolean hasArrayValue() { return valueTypeCase_ == 11; } /** - * - * *
    * Array type value. The underlying Valuelist should have values that have
    * the same type.
    * 
* * .google.spanner.executor.v1.ValueList array_value = 11; - * * @return The arrayValue. */ @java.lang.Override public com.google.spanner.executor.v1.ValueList getArrayValue() { if (valueTypeCase_ == 11) { - return (com.google.spanner.executor.v1.ValueList) valueType_; + return (com.google.spanner.executor.v1.ValueList) valueType_; } return com.google.spanner.executor.v1.ValueList.getDefaultInstance(); } /** - * - * *
    * Array type value. The underlying Valuelist should have values that have
    * the same type.
@@ -612,7 +506,7 @@ public com.google.spanner.executor.v1.ValueList getArrayValue() {
   @java.lang.Override
   public com.google.spanner.executor.v1.ValueListOrBuilder getArrayValueOrBuilder() {
     if (valueTypeCase_ == 11) {
-      return (com.google.spanner.executor.v1.ValueList) valueType_;
+       return (com.google.spanner.executor.v1.ValueList) valueType_;
     }
     return com.google.spanner.executor.v1.ValueList.getDefaultInstance();
   }
@@ -620,14 +514,11 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getArrayValueOrBuilder(
   public static final int ARRAY_TYPE_FIELD_NUMBER = 12;
   private com.google.spanner.v1.Type arrayType_;
   /**
-   *
-   *
    * 
    * Type of array element. Only set if value is an array.
    * 
* * optional .google.spanner.v1.Type array_type = 12; - * * @return Whether the arrayType field is set. */ @java.lang.Override @@ -635,14 +526,11 @@ public boolean hasArrayType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Type of array element. Only set if value is an array.
    * 
* * optional .google.spanner.v1.Type array_type = 12; - * * @return The arrayType. */ @java.lang.Override @@ -650,8 +538,6 @@ public com.google.spanner.v1.Type getArrayType() { return arrayType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayType_; } /** - * - * *
    * Type of array element. Only set if value is an array.
    * 
@@ -664,7 +550,6 @@ public com.google.spanner.v1.TypeOrBuilder getArrayTypeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -676,21 +561,27 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueTypeCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) valueType_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) valueType_)); + output.writeInt64( + 2, (long)((java.lang.Long) valueType_)); } if (valueTypeCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) valueType_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 4) { - output.writeDouble(4, (double) ((java.lang.Double) valueType_)); + output.writeDouble( + 4, (double)((java.lang.Double) valueType_)); } if (valueTypeCase_ == 5) { - output.writeBytes(5, (com.google.protobuf.ByteString) valueType_); + output.writeBytes( + 5, (com.google.protobuf.ByteString) valueType_); } if (valueTypeCase_ == 6) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, valueType_); @@ -702,10 +593,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(8, (com.google.protobuf.Timestamp) valueType_); } if (valueTypeCase_ == 9) { - output.writeInt32(9, (int) ((java.lang.Integer) valueType_)); + output.writeInt32( + 9, (int)((java.lang.Integer) valueType_)); } if (valueTypeCase_ == 10) { - output.writeBool(10, (boolean) ((java.lang.Boolean) valueType_)); + output.writeBool( + 10, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 11) { output.writeMessage(11, (com.google.spanner.executor.v1.ValueList) valueType_); @@ -723,60 +616,58 @@ public int getSerializedSize() { size = 0; if (valueTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) valueType_)); } if (valueTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 4, (double) ((java.lang.Double) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 4, (double)((java.lang.Double) valueType_)); } if (valueTypeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 5, (com.google.protobuf.ByteString) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 5, (com.google.protobuf.ByteString) valueType_); } if (valueTypeCase_ == 6) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, valueType_); } if (valueTypeCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.spanner.executor.v1.ValueList) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.spanner.executor.v1.ValueList) valueType_); } if (valueTypeCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.protobuf.Timestamp) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.protobuf.Timestamp) valueType_); } if (valueTypeCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 9, (int) ((java.lang.Integer) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 9, (int)((java.lang.Integer) valueType_)); } if (valueTypeCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 10, (boolean) ((java.lang.Boolean) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 10, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.spanner.executor.v1.ValueList) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.spanner.executor.v1.ValueList) valueType_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getArrayType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getArrayType()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -786,7 +677,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.Value)) { return super.equals(obj); @@ -795,43 +686,55 @@ public boolean equals(final java.lang.Object obj) { if (hasArrayType() != other.hasArrayType()) return false; if (hasArrayType()) { - if (!getArrayType().equals(other.getArrayType())) return false; + if (!getArrayType() + .equals(other.getArrayType())) return false; } if (!getValueTypeCase().equals(other.getValueTypeCase())) return false; switch (valueTypeCase_) { case 1: - if (getIsNull() != other.getIsNull()) return false; + if (getIsNull() + != other.getIsNull()) return false; break; case 2: - if (getIntValue() != other.getIntValue()) return false; + if (getIntValue() + != other.getIntValue()) return false; break; case 3: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 4: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 5: - if (!getBytesValue().equals(other.getBytesValue())) return false; + if (!getBytesValue() + .equals(other.getBytesValue())) return false; break; case 6: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 7: - if (!getStructValue().equals(other.getStructValue())) return false; + if (!getStructValue() + .equals(other.getStructValue())) return false; break; case 8: - if (!getTimestampValue().equals(other.getTimestampValue())) return false; + if (!getTimestampValue() + .equals(other.getTimestampValue())) return false; break; case 9: - if (getDateDaysValue() != other.getDateDaysValue()) return false; + if (getDateDaysValue() + != other.getDateDaysValue()) return false; break; case 10: - if (getIsCommitTimestamp() != other.getIsCommitTimestamp()) return false; + if (getIsCommitTimestamp() + != other.getIsCommitTimestamp()) return false; break; case 11: - if (!getArrayValue().equals(other.getArrayValue())) return false; + if (!getArrayValue() + .equals(other.getArrayValue())) return false; break; case 0: default: @@ -854,22 +757,23 @@ public int hashCode() { switch (valueTypeCase_) { case 1: hash = (37 * hash) + IS_NULL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsNull()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsNull()); break; case 2: hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIntValue()); break; case 3: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 4: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 5: hash = (37 * hash) + BYTES_VALUE_FIELD_NUMBER; @@ -893,7 +797,8 @@ public int hashCode() { break; case 10: hash = (37 * hash) + IS_COMMIT_TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsCommitTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsCommitTimestamp()); break; case 11: hash = (37 * hash) + ARRAY_VALUE_FIELD_NUMBER; @@ -907,103 +812,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.Value parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.Value parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.Value parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.Value parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.executor.v1.Value parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.Value parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.Value parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.Value parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.executor.v1.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.Value parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.Value parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Value represents a single value that can be read or written to/from
    * Spanner.
@@ -1011,23 +912,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.Value}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.Value)
       com.google.spanner.executor.v1.ValueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_Value_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Value_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_Value_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Value_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.Value.class,
-              com.google.spanner.executor.v1.Value.Builder.class);
+              com.google.spanner.executor.v1.Value.class, com.google.spanner.executor.v1.Value.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.Value.newBuilder()
@@ -1035,17 +934,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getArrayTypeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1070,9 +969,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_Value_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_Value_descriptor;
     }
 
     @java.lang.Override
@@ -1092,9 +991,7 @@ public com.google.spanner.executor.v1.Value build() {
     @java.lang.Override
     public com.google.spanner.executor.v1.Value buildPartial() {
       com.google.spanner.executor.v1.Value result = new com.google.spanner.executor.v1.Value(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1104,7 +1001,9 @@ private void buildPartial0(com.google.spanner.executor.v1.Value result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.arrayType_ = arrayTypeBuilder_ == null ? arrayType_ : arrayTypeBuilder_.build();
+        result.arrayType_ = arrayTypeBuilder_ == null
+            ? arrayType_
+            : arrayTypeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -1113,13 +1012,16 @@ private void buildPartial0(com.google.spanner.executor.v1.Value result) {
     private void buildPartialOneofs(com.google.spanner.executor.v1.Value result) {
       result.valueTypeCase_ = valueTypeCase_;
       result.valueType_ = this.valueType_;
-      if (valueTypeCase_ == 7 && structValueBuilder_ != null) {
+      if (valueTypeCase_ == 7 &&
+          structValueBuilder_ != null) {
         result.valueType_ = structValueBuilder_.build();
       }
-      if (valueTypeCase_ == 8 && timestampValueBuilder_ != null) {
+      if (valueTypeCase_ == 8 &&
+          timestampValueBuilder_ != null) {
         result.valueType_ = timestampValueBuilder_.build();
       }
-      if (valueTypeCase_ == 11 && arrayValueBuilder_ != null) {
+      if (valueTypeCase_ == 11 &&
+          arrayValueBuilder_ != null) {
         result.valueType_ = arrayValueBuilder_.build();
       }
     }
@@ -1128,39 +1030,38 @@ private void buildPartialOneofs(com.google.spanner.executor.v1.Value result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.Value) {
-        return mergeFrom((com.google.spanner.executor.v1.Value) other);
+        return mergeFrom((com.google.spanner.executor.v1.Value)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1173,67 +1074,55 @@ public Builder mergeFrom(com.google.spanner.executor.v1.Value other) {
         mergeArrayType(other.getArrayType());
       }
       switch (other.getValueTypeCase()) {
-        case IS_NULL:
-          {
-            setIsNull(other.getIsNull());
-            break;
-          }
-        case INT_VALUE:
-          {
-            setIntValue(other.getIntValue());
-            break;
-          }
-        case BOOL_VALUE:
-          {
-            setBoolValue(other.getBoolValue());
-            break;
-          }
-        case DOUBLE_VALUE:
-          {
-            setDoubleValue(other.getDoubleValue());
-            break;
-          }
-        case BYTES_VALUE:
-          {
-            setBytesValue(other.getBytesValue());
-            break;
-          }
-        case STRING_VALUE:
-          {
-            valueTypeCase_ = 6;
-            valueType_ = other.valueType_;
-            onChanged();
-            break;
-          }
-        case STRUCT_VALUE:
-          {
-            mergeStructValue(other.getStructValue());
-            break;
-          }
-        case TIMESTAMP_VALUE:
-          {
-            mergeTimestampValue(other.getTimestampValue());
-            break;
-          }
-        case DATE_DAYS_VALUE:
-          {
-            setDateDaysValue(other.getDateDaysValue());
-            break;
-          }
-        case IS_COMMIT_TIMESTAMP:
-          {
-            setIsCommitTimestamp(other.getIsCommitTimestamp());
-            break;
-          }
-        case ARRAY_VALUE:
-          {
-            mergeArrayValue(other.getArrayValue());
-            break;
-          }
-        case VALUETYPE_NOT_SET:
-          {
-            break;
-          }
+        case IS_NULL: {
+          setIsNull(other.getIsNull());
+          break;
+        }
+        case INT_VALUE: {
+          setIntValue(other.getIntValue());
+          break;
+        }
+        case BOOL_VALUE: {
+          setBoolValue(other.getBoolValue());
+          break;
+        }
+        case DOUBLE_VALUE: {
+          setDoubleValue(other.getDoubleValue());
+          break;
+        }
+        case BYTES_VALUE: {
+          setBytesValue(other.getBytesValue());
+          break;
+        }
+        case STRING_VALUE: {
+          valueTypeCase_ = 6;
+          valueType_ = other.valueType_;
+          onChanged();
+          break;
+        }
+        case STRUCT_VALUE: {
+          mergeStructValue(other.getStructValue());
+          break;
+        }
+        case TIMESTAMP_VALUE: {
+          mergeTimestampValue(other.getTimestampValue());
+          break;
+        }
+        case DATE_DAYS_VALUE: {
+          setDateDaysValue(other.getDateDaysValue());
+          break;
+        }
+        case IS_COMMIT_TIMESTAMP: {
+          setIsCommitTimestamp(other.getIsCommitTimestamp());
+          break;
+        }
+        case ARRAY_VALUE: {
+          mergeArrayValue(other.getArrayValue());
+          break;
+        }
+        case VALUETYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1261,86 +1150,81 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                valueType_ = input.readBool();
-                valueTypeCase_ = 1;
-                break;
-              } // case 8
-            case 16:
-              {
-                valueType_ = input.readInt64();
-                valueTypeCase_ = 2;
-                break;
-              } // case 16
-            case 24:
-              {
-                valueType_ = input.readBool();
-                valueTypeCase_ = 3;
-                break;
-              } // case 24
-            case 33:
-              {
-                valueType_ = input.readDouble();
-                valueTypeCase_ = 4;
-                break;
-              } // case 33
-            case 42:
-              {
-                valueType_ = input.readBytes();
-                valueTypeCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                valueTypeCase_ = 6;
-                valueType_ = s;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getStructValueFieldBuilder().getBuilder(), extensionRegistry);
-                valueTypeCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry);
-                valueTypeCase_ = 8;
-                break;
-              } // case 66
-            case 72:
-              {
-                valueType_ = input.readInt32();
-                valueTypeCase_ = 9;
-                break;
-              } // case 72
-            case 80:
-              {
-                valueType_ = input.readBool();
-                valueTypeCase_ = 10;
-                break;
-              } // case 80
-            case 90:
-              {
-                input.readMessage(getArrayValueFieldBuilder().getBuilder(), extensionRegistry);
-                valueTypeCase_ = 11;
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getArrayTypeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 98
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              valueType_ = input.readBool();
+              valueTypeCase_ = 1;
+              break;
+            } // case 8
+            case 16: {
+              valueType_ = input.readInt64();
+              valueTypeCase_ = 2;
+              break;
+            } // case 16
+            case 24: {
+              valueType_ = input.readBool();
+              valueTypeCase_ = 3;
+              break;
+            } // case 24
+            case 33: {
+              valueType_ = input.readDouble();
+              valueTypeCase_ = 4;
+              break;
+            } // case 33
+            case 42: {
+              valueType_ = input.readBytes();
+              valueTypeCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              valueTypeCase_ = 6;
+              valueType_ = s;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getStructValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              valueTypeCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getTimestampValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              valueTypeCase_ = 8;
+              break;
+            } // case 66
+            case 72: {
+              valueType_ = input.readInt32();
+              valueTypeCase_ = 9;
+              break;
+            } // case 72
+            case 80: {
+              valueType_ = input.readBool();
+              valueTypeCase_ = 10;
+              break;
+            } // case 80
+            case 90: {
+              input.readMessage(
+                  getArrayValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              valueTypeCase_ = 11;
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getArrayTypeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 98
+            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) {
@@ -1350,12 +1234,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int valueTypeCase_ = 0;
     private java.lang.Object valueType_;
-
-    public ValueTypeCase getValueTypeCase() {
-      return ValueTypeCase.forNumber(valueTypeCase_);
+    public ValueTypeCase
+        getValueTypeCase() {
+      return ValueTypeCase.forNumber(
+          valueTypeCase_);
     }
 
     public Builder clearValueType() {
@@ -1368,28 +1252,22 @@ public Builder clearValueType() {
     private int bitField0_;
 
     /**
-     *
-     *
      * 
      * If is_null is set, then this value is null.
      * 
* * bool is_null = 1; - * * @return Whether the isNull field is set. */ public boolean hasIsNull() { return valueTypeCase_ == 1; } /** - * - * *
      * If is_null is set, then this value is null.
      * 
* * bool is_null = 1; - * * @return The isNull. */ public boolean getIsNull() { @@ -1399,14 +1277,11 @@ public boolean getIsNull() { return false; } /** - * - * *
      * If is_null is set, then this value is null.
      * 
* * bool is_null = 1; - * * @param value The isNull to set. * @return This builder for chaining. */ @@ -1418,14 +1293,11 @@ public Builder setIsNull(boolean value) { return this; } /** - * - * *
      * If is_null is set, then this value is null.
      * 
* * bool is_null = 1; - * * @return This builder for chaining. */ public Builder clearIsNull() { @@ -1438,30 +1310,24 @@ public Builder clearIsNull() { } /** - * - * *
      * Int type value. It's used for all integer number types, like int32 and
      * int64.
      * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ public boolean hasIntValue() { return valueTypeCase_ == 2; } /** - * - * *
      * Int type value. It's used for all integer number types, like int32 and
      * int64.
      * 
* * int64 int_value = 2; - * * @return The intValue. */ public long getIntValue() { @@ -1471,15 +1337,12 @@ public long getIntValue() { return 0L; } /** - * - * *
      * Int type value. It's used for all integer number types, like int32 and
      * int64.
      * 
* * int64 int_value = 2; - * * @param value The intValue to set. * @return This builder for chaining. */ @@ -1491,15 +1354,12 @@ public Builder setIntValue(long value) { return this; } /** - * - * *
      * Int type value. It's used for all integer number types, like int32 and
      * int64.
      * 
* * int64 int_value = 2; - * * @return This builder for chaining. */ public Builder clearIntValue() { @@ -1512,28 +1372,22 @@ public Builder clearIntValue() { } /** - * - * *
      * Bool type value.
      * 
* * bool bool_value = 3; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueTypeCase_ == 3; } /** - * - * *
      * Bool type value.
      * 
* * bool bool_value = 3; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -1543,14 +1397,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * Bool type value.
      * 
* * bool bool_value = 3; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -1562,14 +1413,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * Bool type value.
      * 
* * bool bool_value = 3; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -1582,30 +1430,24 @@ public Builder clearBoolValue() { } /** - * - * *
      * Double type value. It's used for all float point types, like float and
      * double.
      * 
* * double double_value = 4; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueTypeCase_ == 4; } /** - * - * *
      * Double type value. It's used for all float point types, like float and
      * double.
      * 
* * double double_value = 4; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1615,15 +1457,12 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * Double type value. It's used for all float point types, like float and
      * double.
      * 
* * double double_value = 4; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1635,15 +1474,12 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * Double type value. It's used for all float point types, like float and
      * double.
      * 
* * double double_value = 4; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1656,28 +1492,22 @@ public Builder clearDoubleValue() { } /** - * - * *
      * Bytes type value, stored in CORD. It's also used for PROTO type value.
      * 
* * bytes bytes_value = 5; - * * @return Whether the bytesValue field is set. */ public boolean hasBytesValue() { return valueTypeCase_ == 5; } /** - * - * *
      * Bytes type value, stored in CORD. It's also used for PROTO type value.
      * 
* * bytes bytes_value = 5; - * * @return The bytesValue. */ public com.google.protobuf.ByteString getBytesValue() { @@ -1687,35 +1517,27 @@ public com.google.protobuf.ByteString getBytesValue() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Bytes type value, stored in CORD. It's also used for PROTO type value.
      * 
* * bytes bytes_value = 5; - * * @param value The bytesValue to set. * @return This builder for chaining. */ public Builder setBytesValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } valueTypeCase_ = 5; valueType_ = value; onChanged(); return this; } /** - * - * *
      * Bytes type value, stored in CORD. It's also used for PROTO type value.
      * 
* * bytes bytes_value = 5; - * * @return This builder for chaining. */ public Builder clearBytesValue() { @@ -1728,14 +1550,11 @@ public Builder clearBytesValue() { } /** - * - * *
      * String type value, stored in CORD.
      * 
* * string string_value = 6; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1743,14 +1562,11 @@ public boolean hasStringValue() { return valueTypeCase_ == 6; } /** - * - * *
      * String type value, stored in CORD.
      * 
* * string string_value = 6; - * * @return The stringValue. */ @java.lang.Override @@ -1760,7 +1576,8 @@ public java.lang.String getStringValue() { ref = valueType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 6) { valueType_ = s; @@ -1771,25 +1588,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * String type value, stored in CORD.
      * 
* * string string_value = 6; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 6) { ref = valueType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 6) { valueType_ = b; } @@ -1799,35 +1615,28 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * String type value, stored in CORD.
      * 
* * string string_value = 6; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } valueTypeCase_ = 6; valueType_ = value; onChanged(); return this; } /** - * - * *
      * String type value, stored in CORD.
      * 
* * string string_value = 6; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1839,21 +1648,17 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * String type value, stored in CORD.
      * 
* * string string_value = 6; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueTypeCase_ = 6; valueType_ = value; @@ -1862,20 +1667,14 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> - structValueBuilder_; + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> structValueBuilder_; /** - * - * *
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
      * 
* * .google.spanner.executor.v1.ValueList struct_value = 7; - * * @return Whether the structValue field is set. */ @java.lang.Override @@ -1883,15 +1682,12 @@ public boolean hasStructValue() { return valueTypeCase_ == 7; } /** - * - * *
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
      * 
* * .google.spanner.executor.v1.ValueList struct_value = 7; - * * @return The structValue. */ @java.lang.Override @@ -1909,8 +1705,6 @@ public com.google.spanner.executor.v1.ValueList getStructValue() { } } /** - * - * *
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
@@ -1932,8 +1726,6 @@ public Builder setStructValue(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
@@ -1953,8 +1745,6 @@ public Builder setStructValue(
       return this;
     }
     /**
-     *
-     *
      * 
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
@@ -1964,13 +1754,10 @@ public Builder setStructValue(
      */
     public Builder mergeStructValue(com.google.spanner.executor.v1.ValueList value) {
       if (structValueBuilder_ == null) {
-        if (valueTypeCase_ == 7
-            && valueType_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) {
-          valueType_ =
-              com.google.spanner.executor.v1.ValueList.newBuilder(
-                      (com.google.spanner.executor.v1.ValueList) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 7 &&
+            valueType_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) {
+          valueType_ = com.google.spanner.executor.v1.ValueList.newBuilder((com.google.spanner.executor.v1.ValueList) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -1986,8 +1773,6 @@ public Builder mergeStructValue(com.google.spanner.executor.v1.ValueList value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
@@ -2012,8 +1797,6 @@ public Builder clearStructValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
@@ -2025,8 +1808,6 @@ public com.google.spanner.executor.v1.ValueList.Builder getStructValueBuilder()
       return getStructValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
@@ -2046,8 +1827,6 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getStructValueOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Struct type value. It contains a ValueList representing the values in
      * this struct.
@@ -2056,19 +1835,14 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getStructValueOrBuilder
      * .google.spanner.executor.v1.ValueList struct_value = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> 
         getStructValueFieldBuilder() {
       if (structValueBuilder_ == null) {
         if (!(valueTypeCase_ == 7)) {
           valueType_ = com.google.spanner.executor.v1.ValueList.getDefaultInstance();
         }
-        structValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.ValueList,
-                com.google.spanner.executor.v1.ValueList.Builder,
-                com.google.spanner.executor.v1.ValueListOrBuilder>(
+        structValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>(
                 (com.google.spanner.executor.v1.ValueList) valueType_,
                 getParentForChildren(),
                 isClean());
@@ -2080,19 +1854,13 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getStructValueOrBuilder
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        timestampValueBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_;
     /**
-     *
-     *
      * 
      * Timestamp type value.
      * 
* * .google.protobuf.Timestamp timestamp_value = 8; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -2100,14 +1868,11 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 8; } /** - * - * *
      * Timestamp type value.
      * 
* * .google.protobuf.Timestamp timestamp_value = 8; - * * @return The timestampValue. */ @java.lang.Override @@ -2125,8 +1890,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * Timestamp type value.
      * 
@@ -2147,15 +1910,14 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp type value.
      * 
* * .google.protobuf.Timestamp timestamp_value = 8; */ - public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestampValue( + com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2166,8 +1928,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Timestamp type value.
      * 
@@ -2176,12 +1936,10 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo */ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { if (timestampValueBuilder_ == null) { - if (valueTypeCase_ == 8 - && valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - valueType_ = - com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_) - .mergeFrom(value) - .buildPartial(); + if (valueTypeCase_ == 8 && + valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + valueType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_) + .mergeFrom(value).buildPartial(); } else { valueType_ = value; } @@ -2197,8 +1955,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp type value.
      * 
@@ -2222,8 +1978,6 @@ public Builder clearTimestampValue() { return this; } /** - * - * *
      * Timestamp type value.
      * 
@@ -2234,8 +1988,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamp type value.
      * 
@@ -2254,8 +2006,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** - * - * *
      * Timestamp type value.
      * 
@@ -2263,20 +2013,17 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * .google.protobuf.Timestamp timestamp_value = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimestampValueFieldBuilder() { if (timestampValueBuilder_ == null) { if (!(valueTypeCase_ == 8)) { valueType_ = com.google.protobuf.Timestamp.getDefaultInstance(); } - timestampValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - (com.google.protobuf.Timestamp) valueType_, getParentForChildren(), isClean()); + timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) valueType_, + getParentForChildren(), + isClean()); valueType_ = null; } valueTypeCase_ = 8; @@ -2285,28 +2032,22 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } /** - * - * *
      * Date type value. Date is specified as a number of days since Unix epoch.
      * 
* * int32 date_days_value = 9; - * * @return Whether the dateDaysValue field is set. */ public boolean hasDateDaysValue() { return valueTypeCase_ == 9; } /** - * - * *
      * Date type value. Date is specified as a number of days since Unix epoch.
      * 
* * int32 date_days_value = 9; - * * @return The dateDaysValue. */ public int getDateDaysValue() { @@ -2316,14 +2057,11 @@ public int getDateDaysValue() { return 0; } /** - * - * *
      * Date type value. Date is specified as a number of days since Unix epoch.
      * 
* * int32 date_days_value = 9; - * * @param value The dateDaysValue to set. * @return This builder for chaining. */ @@ -2335,14 +2073,11 @@ public Builder setDateDaysValue(int value) { return this; } /** - * - * *
      * Date type value. Date is specified as a number of days since Unix epoch.
      * 
* * int32 date_days_value = 9; - * * @return This builder for chaining. */ public Builder clearDateDaysValue() { @@ -2355,28 +2090,22 @@ public Builder clearDateDaysValue() { } /** - * - * *
      * If set, holds the sentinel value for the transaction CommitTimestamp.
      * 
* * bool is_commit_timestamp = 10; - * * @return Whether the isCommitTimestamp field is set. */ public boolean hasIsCommitTimestamp() { return valueTypeCase_ == 10; } /** - * - * *
      * If set, holds the sentinel value for the transaction CommitTimestamp.
      * 
* * bool is_commit_timestamp = 10; - * * @return The isCommitTimestamp. */ public boolean getIsCommitTimestamp() { @@ -2386,14 +2115,11 @@ public boolean getIsCommitTimestamp() { return false; } /** - * - * *
      * If set, holds the sentinel value for the transaction CommitTimestamp.
      * 
* * bool is_commit_timestamp = 10; - * * @param value The isCommitTimestamp to set. * @return This builder for chaining. */ @@ -2405,14 +2131,11 @@ public Builder setIsCommitTimestamp(boolean value) { return this; } /** - * - * *
      * If set, holds the sentinel value for the transaction CommitTimestamp.
      * 
* * bool is_commit_timestamp = 10; - * * @return This builder for chaining. */ public Builder clearIsCommitTimestamp() { @@ -2425,20 +2148,14 @@ public Builder clearIsCommitTimestamp() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.ValueList, - com.google.spanner.executor.v1.ValueList.Builder, - com.google.spanner.executor.v1.ValueListOrBuilder> - arrayValueBuilder_; + com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> arrayValueBuilder_; /** - * - * *
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
      * 
* * .google.spanner.executor.v1.ValueList array_value = 11; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2446,15 +2163,12 @@ public boolean hasArrayValue() { return valueTypeCase_ == 11; } /** - * - * *
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
      * 
* * .google.spanner.executor.v1.ValueList array_value = 11; - * * @return The arrayValue. */ @java.lang.Override @@ -2472,8 +2186,6 @@ public com.google.spanner.executor.v1.ValueList getArrayValue() { } } /** - * - * *
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
@@ -2495,8 +2207,6 @@ public Builder setArrayValue(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
@@ -2504,7 +2214,8 @@ public Builder setArrayValue(com.google.spanner.executor.v1.ValueList value) {
      *
      * .google.spanner.executor.v1.ValueList array_value = 11;
      */
-    public Builder setArrayValue(com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
+    public Builder setArrayValue(
+        com.google.spanner.executor.v1.ValueList.Builder builderForValue) {
       if (arrayValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2515,8 +2226,6 @@ public Builder setArrayValue(com.google.spanner.executor.v1.ValueList.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
@@ -2526,13 +2235,10 @@ public Builder setArrayValue(com.google.spanner.executor.v1.ValueList.Builder bu
      */
     public Builder mergeArrayValue(com.google.spanner.executor.v1.ValueList value) {
       if (arrayValueBuilder_ == null) {
-        if (valueTypeCase_ == 11
-            && valueType_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) {
-          valueType_ =
-              com.google.spanner.executor.v1.ValueList.newBuilder(
-                      (com.google.spanner.executor.v1.ValueList) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 11 &&
+            valueType_ != com.google.spanner.executor.v1.ValueList.getDefaultInstance()) {
+          valueType_ = com.google.spanner.executor.v1.ValueList.newBuilder((com.google.spanner.executor.v1.ValueList) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -2548,8 +2254,6 @@ public Builder mergeArrayValue(com.google.spanner.executor.v1.ValueList value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
@@ -2574,8 +2278,6 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
@@ -2587,8 +2289,6 @@ public com.google.spanner.executor.v1.ValueList.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
@@ -2608,8 +2308,6 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getArrayValueOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * Array type value. The underlying Valuelist should have values that have
      * the same type.
@@ -2618,19 +2316,14 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getArrayValueOrBuilder(
      * .google.spanner.executor.v1.ValueList array_value = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.ValueList,
-            com.google.spanner.executor.v1.ValueList.Builder,
-            com.google.spanner.executor.v1.ValueListOrBuilder>
+        com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder> 
         getArrayValueFieldBuilder() {
       if (arrayValueBuilder_ == null) {
         if (!(valueTypeCase_ == 11)) {
           valueType_ = com.google.spanner.executor.v1.ValueList.getDefaultInstance();
         }
-        arrayValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.executor.v1.ValueList,
-                com.google.spanner.executor.v1.ValueList.Builder,
-                com.google.spanner.executor.v1.ValueListOrBuilder>(
+        arrayValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.executor.v1.ValueList, com.google.spanner.executor.v1.ValueList.Builder, com.google.spanner.executor.v1.ValueListOrBuilder>(
                 (com.google.spanner.executor.v1.ValueList) valueType_,
                 getParentForChildren(),
                 isClean());
@@ -2643,33 +2336,24 @@ public com.google.spanner.executor.v1.ValueListOrBuilder getArrayValueOrBuilder(
 
     private com.google.spanner.v1.Type arrayType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder,
-            com.google.spanner.v1.TypeOrBuilder>
-        arrayTypeBuilder_;
+        com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> arrayTypeBuilder_;
     /**
-     *
-     *
      * 
      * Type of array element. Only set if value is an array.
      * 
* * optional .google.spanner.v1.Type array_type = 12; - * * @return Whether the arrayType field is set. */ public boolean hasArrayType() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
* * optional .google.spanner.v1.Type array_type = 12; - * * @return The arrayType. */ public com.google.spanner.v1.Type getArrayType() { @@ -2680,8 +2364,6 @@ public com.google.spanner.v1.Type getArrayType() { } } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
@@ -2702,15 +2384,14 @@ public Builder setArrayType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
* * optional .google.spanner.v1.Type array_type = 12; */ - public Builder setArrayType(com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setArrayType( + com.google.spanner.v1.Type.Builder builderForValue) { if (arrayTypeBuilder_ == null) { arrayType_ = builderForValue.build(); } else { @@ -2721,8 +2402,6 @@ public Builder setArrayType(com.google.spanner.v1.Type.Builder builderForValue) return this; } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
@@ -2731,9 +2410,9 @@ public Builder setArrayType(com.google.spanner.v1.Type.Builder builderForValue) */ public Builder mergeArrayType(com.google.spanner.v1.Type value) { if (arrayTypeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && arrayType_ != null - && arrayType_ != com.google.spanner.v1.Type.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + arrayType_ != null && + arrayType_ != com.google.spanner.v1.Type.getDefaultInstance()) { getArrayTypeBuilder().mergeFrom(value); } else { arrayType_ = value; @@ -2748,8 +2427,6 @@ public Builder mergeArrayType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
@@ -2767,8 +2444,6 @@ public Builder clearArrayType() { return this; } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
@@ -2781,8 +2456,6 @@ public com.google.spanner.v1.Type.Builder getArrayTypeBuilder() { return getArrayTypeFieldBuilder().getBuilder(); } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
@@ -2793,12 +2466,11 @@ public com.google.spanner.v1.TypeOrBuilder getArrayTypeOrBuilder() { if (arrayTypeBuilder_ != null) { return arrayTypeBuilder_.getMessageOrBuilder(); } else { - return arrayType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayType_; + return arrayType_ == null ? + com.google.spanner.v1.Type.getDefaultInstance() : arrayType_; } } /** - * - * *
      * Type of array element. Only set if value is an array.
      * 
@@ -2806,24 +2478,21 @@ public com.google.spanner.v1.TypeOrBuilder getArrayTypeOrBuilder() { * optional .google.spanner.v1.Type array_type = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> getArrayTypeFieldBuilder() { if (arrayTypeBuilder_ == null) { - arrayTypeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder>( - getArrayType(), getParentForChildren(), isClean()); + arrayTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( + getArrayType(), + getParentForChildren(), + isClean()); arrayType_ = null; } return arrayTypeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2833,12 +2502,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.Value) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.Value) private static final com.google.spanner.executor.v1.Value DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.Value(); } @@ -2847,27 +2516,27 @@ public static com.google.spanner.executor.v1.Value getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Value 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value 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; @@ -2882,4 +2551,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueList.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueList.java similarity index 70% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueList.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueList.java index 403511a4647..aa5940c5c73 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueList.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueList.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,56 +5,49 @@ package com.google.spanner.executor.v1; /** - * - * *
  * List of values.
  * 
* * Protobuf type {@code google.spanner.executor.v1.ValueList} */ -public final class ValueList extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValueList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.ValueList) ValueListOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValueList.newBuilder() to construct. private ValueList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValueList() { value_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValueList(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ValueList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ValueList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ValueList.class, - com.google.spanner.executor.v1.ValueList.Builder.class); + com.google.spanner.executor.v1.ValueList.class, com.google.spanner.executor.v1.ValueList.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List value_; /** - * - * *
    * Values contained in this ValueList.
    * 
@@ -81,8 +59,6 @@ public java.util.List getValueList() { return value_; } /** - * - * *
    * Values contained in this ValueList.
    * 
@@ -90,13 +66,11 @@ public java.util.List getValueList() { * repeated .google.spanner.executor.v1.Value value = 1; */ @java.lang.Override - public java.util.List + public java.util.List getValueOrBuilderList() { return value_; } /** - * - * *
    * Values contained in this ValueList.
    * 
@@ -108,8 +82,6 @@ public int getValueCount() { return value_.size(); } /** - * - * *
    * Values contained in this ValueList.
    * 
@@ -121,8 +93,6 @@ public com.google.spanner.executor.v1.Value getValue(int index) { return value_.get(index); } /** - * - * *
    * Values contained in this ValueList.
    * 
@@ -130,12 +100,12 @@ public com.google.spanner.executor.v1.Value getValue(int index) { * repeated .google.spanner.executor.v1.Value value = 1; */ @java.lang.Override - public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder(int index) { + public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder( + int index) { return value_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,7 +117,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < value_.size(); i++) { output.writeMessage(1, value_.get(i)); } @@ -161,7 +132,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < value_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, value_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, value_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -171,14 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.ValueList)) { return super.equals(obj); } com.google.spanner.executor.v1.ValueList other = (com.google.spanner.executor.v1.ValueList) obj; - if (!getValueList().equals(other.getValueList())) return false; + if (!getValueList() + .equals(other.getValueList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -199,136 +172,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.executor.v1.ValueList parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.executor.v1.ValueList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ValueList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ValueList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ValueList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ValueList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.ValueList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.ValueList parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ValueList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ValueList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.ValueList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.ValueList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.ValueList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.ValueList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.ValueList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List of values.
    * 
* * Protobuf type {@code google.spanner.executor.v1.ValueList} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.ValueList) com.google.spanner.executor.v1.ValueListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ValueList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ValueList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.executor.v1.ValueList.class, - com.google.spanner.executor.v1.ValueList.Builder.class); + com.google.spanner.executor.v1.ValueList.class, com.google.spanner.executor.v1.ValueList.Builder.class); } // Construct using com.google.spanner.executor.v1.ValueList.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.executor.v1.CloudExecutorProto - .internal_static_google_spanner_executor_v1_ValueList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_ValueList_descriptor; } @java.lang.Override @@ -365,12 +334,9 @@ public com.google.spanner.executor.v1.ValueList build() { @java.lang.Override public com.google.spanner.executor.v1.ValueList buildPartial() { - com.google.spanner.executor.v1.ValueList result = - new com.google.spanner.executor.v1.ValueList(this); + com.google.spanner.executor.v1.ValueList result = new com.google.spanner.executor.v1.ValueList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -395,39 +361,38 @@ private void buildPartial0(com.google.spanner.executor.v1.ValueList result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.executor.v1.ValueList) { - return mergeFrom((com.google.spanner.executor.v1.ValueList) other); + return mergeFrom((com.google.spanner.executor.v1.ValueList)other); } else { super.mergeFrom(other); return this; @@ -454,10 +419,9 @@ public Builder mergeFrom(com.google.spanner.executor.v1.ValueList other) { valueBuilder_ = null; value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000001); - valueBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValueFieldBuilder() - : null; + valueBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValueFieldBuilder() : null; } else { valueBuilder_.addAllMessages(other.value_); } @@ -489,26 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.executor.v1.Value m = - input.readMessage( - com.google.spanner.executor.v1.Value.parser(), extensionRegistry); - if (valueBuilder_ == null) { - ensureValueIsMutable(); - value_.add(m); - } else { - valueBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.executor.v1.Value m = + input.readMessage( + com.google.spanner.executor.v1.Value.parser(), + extensionRegistry); + if (valueBuilder_ == null) { + ensureValueIsMutable(); + value_.add(m); + } else { + valueBuilder_.addMessage(m); + } + 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) { @@ -518,28 +481,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List value_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { value_ = new java.util.ArrayList(value_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.Value, - com.google.spanner.executor.v1.Value.Builder, - com.google.spanner.executor.v1.ValueOrBuilder> - valueBuilder_; + com.google.spanner.executor.v1.Value, com.google.spanner.executor.v1.Value.Builder, com.google.spanner.executor.v1.ValueOrBuilder> valueBuilder_; /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -554,8 +510,6 @@ public java.util.List getValueList() { } } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -570,8 +524,6 @@ public int getValueCount() { } } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -586,15 +538,14 @@ public com.google.spanner.executor.v1.Value getValue(int index) { } } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public Builder setValue(int index, com.google.spanner.executor.v1.Value value) { + public Builder setValue( + int index, com.google.spanner.executor.v1.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -608,8 +559,6 @@ public Builder setValue(int index, com.google.spanner.executor.v1.Value value) { return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -628,8 +577,6 @@ public Builder setValue( return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -650,15 +597,14 @@ public Builder addValue(com.google.spanner.executor.v1.Value value) { return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public Builder addValue(int index, com.google.spanner.executor.v1.Value value) { + public Builder addValue( + int index, com.google.spanner.executor.v1.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -672,15 +618,14 @@ public Builder addValue(int index, com.google.spanner.executor.v1.Value value) { return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public Builder addValue(com.google.spanner.executor.v1.Value.Builder builderForValue) { + public Builder addValue( + com.google.spanner.executor.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(builderForValue.build()); @@ -691,8 +636,6 @@ public Builder addValue(com.google.spanner.executor.v1.Value.Builder builderForV return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -711,8 +654,6 @@ public Builder addValue( return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -723,7 +664,8 @@ public Builder addAllValue( java.lang.Iterable values) { if (valueBuilder_ == null) { ensureValueIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, value_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, value_); onChanged(); } else { valueBuilder_.addAllMessages(values); @@ -731,8 +673,6 @@ public Builder addAllValue( return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -750,8 +690,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -769,44 +707,39 @@ public Builder removeValue(int index) { return this; } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public com.google.spanner.executor.v1.Value.Builder getValueBuilder(int index) { + public com.google.spanner.executor.v1.Value.Builder getValueBuilder( + int index) { return getValueFieldBuilder().getBuilder(index); } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder(int index) { + public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder( + int index) { if (valueBuilder_ == null) { - return value_.get(index); - } else { + return value_.get(index); } else { return valueBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public java.util.List - getValueOrBuilderList() { + public java.util.List + getValueOrBuilderList() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilderList(); } else { @@ -814,8 +747,6 @@ public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder(int index } } /** - * - * *
      * Values contained in this ValueList.
      * 
@@ -823,54 +754,49 @@ public com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder(int index * repeated .google.spanner.executor.v1.Value value = 1; */ public com.google.spanner.executor.v1.Value.Builder addValueBuilder() { - return getValueFieldBuilder() - .addBuilder(com.google.spanner.executor.v1.Value.getDefaultInstance()); + return getValueFieldBuilder().addBuilder( + com.google.spanner.executor.v1.Value.getDefaultInstance()); } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public com.google.spanner.executor.v1.Value.Builder addValueBuilder(int index) { - return getValueFieldBuilder() - .addBuilder(index, com.google.spanner.executor.v1.Value.getDefaultInstance()); + public com.google.spanner.executor.v1.Value.Builder addValueBuilder( + int index) { + return getValueFieldBuilder().addBuilder( + index, com.google.spanner.executor.v1.Value.getDefaultInstance()); } /** - * - * *
      * Values contained in this ValueList.
      * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - public java.util.List getValueBuilderList() { + public java.util.List + getValueBuilderList() { return getValueFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.Value, - com.google.spanner.executor.v1.Value.Builder, - com.google.spanner.executor.v1.ValueOrBuilder> + com.google.spanner.executor.v1.Value, com.google.spanner.executor.v1.Value.Builder, com.google.spanner.executor.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.executor.v1.Value, - com.google.spanner.executor.v1.Value.Builder, - com.google.spanner.executor.v1.ValueOrBuilder>( - value_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.executor.v1.Value, com.google.spanner.executor.v1.Value.Builder, com.google.spanner.executor.v1.ValueOrBuilder>( + value_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -880,12 +806,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.ValueList) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.ValueList) private static final com.google.spanner.executor.v1.ValueList DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.ValueList(); } @@ -894,27 +820,27 @@ public static com.google.spanner.executor.v1.ValueList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueList 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueList 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; @@ -929,4 +855,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.ValueList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueListOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueListOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueListOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueListOrBuilder.java index 00ec11bdffe..c1adc3ec469 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueListOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueListOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ValueListOrBuilder - extends +public interface ValueListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.ValueList) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Values contained in this ValueList.
    * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - java.util.List getValueList(); + java.util.List + getValueList(); /** - * - * *
    * Values contained in this ValueList.
    * 
@@ -45,8 +26,6 @@ public interface ValueListOrBuilder */ com.google.spanner.executor.v1.Value getValue(int index); /** - * - * *
    * Values contained in this ValueList.
    * 
@@ -55,23 +34,21 @@ public interface ValueListOrBuilder */ int getValueCount(); /** - * - * *
    * Values contained in this ValueList.
    * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - java.util.List getValueOrBuilderList(); + java.util.List + getValueOrBuilderList(); /** - * - * *
    * Values contained in this ValueList.
    * 
* * repeated .google.spanner.executor.v1.Value value = 1; */ - com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder(int index); + com.google.spanner.executor.v1.ValueOrBuilder getValueOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueOrBuilder.java similarity index 86% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueOrBuilder.java index 49e0a28b933..034f4a44c20 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/ValueOrBuilder.java @@ -1,224 +1,162 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface ValueOrBuilder - extends +public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.Value) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If is_null is set, then this value is null.
    * 
* * bool is_null = 1; - * * @return Whether the isNull field is set. */ boolean hasIsNull(); /** - * - * *
    * If is_null is set, then this value is null.
    * 
* * bool is_null = 1; - * * @return The isNull. */ boolean getIsNull(); /** - * - * *
    * Int type value. It's used for all integer number types, like int32 and
    * int64.
    * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ boolean hasIntValue(); /** - * - * *
    * Int type value. It's used for all integer number types, like int32 and
    * int64.
    * 
* * int64 int_value = 2; - * * @return The intValue. */ long getIntValue(); /** - * - * *
    * Bool type value.
    * 
* * bool bool_value = 3; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * Bool type value.
    * 
* * bool bool_value = 3; - * * @return The boolValue. */ boolean getBoolValue(); /** - * - * *
    * Double type value. It's used for all float point types, like float and
    * double.
    * 
* * double double_value = 4; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * Double type value. It's used for all float point types, like float and
    * double.
    * 
* * double double_value = 4; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * Bytes type value, stored in CORD. It's also used for PROTO type value.
    * 
* * bytes bytes_value = 5; - * * @return Whether the bytesValue field is set. */ boolean hasBytesValue(); /** - * - * *
    * Bytes type value, stored in CORD. It's also used for PROTO type value.
    * 
* * bytes bytes_value = 5; - * * @return The bytesValue. */ com.google.protobuf.ByteString getBytesValue(); /** - * - * *
    * String type value, stored in CORD.
    * 
* * string string_value = 6; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * String type value, stored in CORD.
    * 
* * string string_value = 6; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * String type value, stored in CORD.
    * 
* * string string_value = 6; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * Struct type value. It contains a ValueList representing the values in
    * this struct.
    * 
* * .google.spanner.executor.v1.ValueList struct_value = 7; - * * @return Whether the structValue field is set. */ boolean hasStructValue(); /** - * - * *
    * Struct type value. It contains a ValueList representing the values in
    * this struct.
    * 
* * .google.spanner.executor.v1.ValueList struct_value = 7; - * * @return The structValue. */ com.google.spanner.executor.v1.ValueList getStructValue(); /** - * - * *
    * Struct type value. It contains a ValueList representing the values in
    * this struct.
@@ -229,32 +167,24 @@ public interface ValueOrBuilder
   com.google.spanner.executor.v1.ValueListOrBuilder getStructValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * Timestamp type value.
    * 
* * .google.protobuf.Timestamp timestamp_value = 8; - * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** - * - * *
    * Timestamp type value.
    * 
* * .google.protobuf.Timestamp timestamp_value = 8; - * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** - * - * *
    * Timestamp type value.
    * 
@@ -264,84 +194,64 @@ public interface ValueOrBuilder com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** - * - * *
    * Date type value. Date is specified as a number of days since Unix epoch.
    * 
* * int32 date_days_value = 9; - * * @return Whether the dateDaysValue field is set. */ boolean hasDateDaysValue(); /** - * - * *
    * Date type value. Date is specified as a number of days since Unix epoch.
    * 
* * int32 date_days_value = 9; - * * @return The dateDaysValue. */ int getDateDaysValue(); /** - * - * *
    * If set, holds the sentinel value for the transaction CommitTimestamp.
    * 
* * bool is_commit_timestamp = 10; - * * @return Whether the isCommitTimestamp field is set. */ boolean hasIsCommitTimestamp(); /** - * - * *
    * If set, holds the sentinel value for the transaction CommitTimestamp.
    * 
* * bool is_commit_timestamp = 10; - * * @return The isCommitTimestamp. */ boolean getIsCommitTimestamp(); /** - * - * *
    * Array type value. The underlying Valuelist should have values that have
    * the same type.
    * 
* * .google.spanner.executor.v1.ValueList array_value = 11; - * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** - * - * *
    * Array type value. The underlying Valuelist should have values that have
    * the same type.
    * 
* * .google.spanner.executor.v1.ValueList array_value = 11; - * * @return The arrayValue. */ com.google.spanner.executor.v1.ValueList getArrayValue(); /** - * - * *
    * Array type value. The underlying Valuelist should have values that have
    * the same type.
@@ -352,32 +262,24 @@ public interface ValueOrBuilder
   com.google.spanner.executor.v1.ValueListOrBuilder getArrayValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * Type of array element. Only set if value is an array.
    * 
* * optional .google.spanner.v1.Type array_type = 12; - * * @return Whether the arrayType field is set. */ boolean hasArrayType(); /** - * - * *
    * Type of array element. Only set if value is an array.
    * 
* * optional .google.spanner.v1.Type array_type = 12; - * * @return The arrayType. */ com.google.spanner.v1.Type getArrayType(); /** - * - * *
    * Type of array element. Only set if value is an array.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsAction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsAction.java similarity index 65% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsAction.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsAction.java index 0701ceb948a..9bc6db13ee6 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsAction.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsAction.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto @@ -20,8 +5,6 @@ package com.google.spanner.executor.v1; /** - * - * *
  * WriteMutationAction defines an action of flushing the mutation so they
  * are visible to subsequent operations in the transaction.
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.spanner.executor.v1.WriteMutationsAction}
  */
-public final class WriteMutationsAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WriteMutationsAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.executor.v1.WriteMutationsAction)
     WriteMutationsActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WriteMutationsAction.newBuilder() to construct.
   private WriteMutationsAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private WriteMutationsAction() {}
+  private WriteMutationsAction() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WriteMutationsAction();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.executor.v1.CloudExecutorProto
-        .internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable
+    return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.executor.v1.WriteMutationsAction.class,
-            com.google.spanner.executor.v1.WriteMutationsAction.Builder.class);
+            com.google.spanner.executor.v1.WriteMutationsAction.class, com.google.spanner.executor.v1.WriteMutationsAction.Builder.class);
   }
 
   private int bitField0_;
   public static final int MUTATION_FIELD_NUMBER = 1;
   private com.google.spanner.executor.v1.MutationAction mutation_;
   /**
-   *
-   *
    * 
    * The mutation to write.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 1; - * * @return Whether the mutation field is set. */ @java.lang.Override @@ -81,25 +60,18 @@ public boolean hasMutation() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The mutation to write.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 1; - * * @return The mutation. */ @java.lang.Override public com.google.spanner.executor.v1.MutationAction getMutation() { - return mutation_ == null - ? com.google.spanner.executor.v1.MutationAction.getDefaultInstance() - : mutation_; + return mutation_ == null ? com.google.spanner.executor.v1.MutationAction.getDefaultInstance() : mutation_; } /** - * - * *
    * The mutation to write.
    * 
@@ -108,13 +80,10 @@ public com.google.spanner.executor.v1.MutationAction getMutation() { */ @java.lang.Override public com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuilder() { - return mutation_ == null - ? com.google.spanner.executor.v1.MutationAction.getDefaultInstance() - : mutation_; + return mutation_ == null ? com.google.spanner.executor.v1.MutationAction.getDefaultInstance() : mutation_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +95,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMutation()); } @@ -140,7 +110,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMutation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMutation()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +121,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.executor.v1.WriteMutationsAction)) { return super.equals(obj); } - com.google.spanner.executor.v1.WriteMutationsAction other = - (com.google.spanner.executor.v1.WriteMutationsAction) obj; + com.google.spanner.executor.v1.WriteMutationsAction other = (com.google.spanner.executor.v1.WriteMutationsAction) obj; if (hasMutation() != other.hasMutation()) return false; if (hasMutation()) { - if (!getMutation().equals(other.getMutation())) return false; + if (!getMutation() + .equals(other.getMutation())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,103 +154,98 @@ public int hashCode() { } public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.executor.v1.WriteMutationsAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.executor.v1.WriteMutationsAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.executor.v1.WriteMutationsAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.executor.v1.WriteMutationsAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * WriteMutationAction defines an action of flushing the mutation so they
    * are visible to subsequent operations in the transaction.
@@ -287,23 +253,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.executor.v1.WriteMutationsAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.executor.v1.WriteMutationsAction)
       com.google.spanner.executor.v1.WriteMutationsActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.executor.v1.WriteMutationsAction.class,
-              com.google.spanner.executor.v1.WriteMutationsAction.Builder.class);
+              com.google.spanner.executor.v1.WriteMutationsAction.class, com.google.spanner.executor.v1.WriteMutationsAction.Builder.class);
     }
 
     // Construct using com.google.spanner.executor.v1.WriteMutationsAction.newBuilder()
@@ -311,17 +275,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getMutationFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -335,9 +299,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.executor.v1.CloudExecutorProto
-          .internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.executor.v1.CloudExecutorProto.internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor;
     }
 
     @java.lang.Override
@@ -356,11 +320,8 @@ public com.google.spanner.executor.v1.WriteMutationsAction build() {
 
     @java.lang.Override
     public com.google.spanner.executor.v1.WriteMutationsAction buildPartial() {
-      com.google.spanner.executor.v1.WriteMutationsAction result =
-          new com.google.spanner.executor.v1.WriteMutationsAction(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.executor.v1.WriteMutationsAction result = new com.google.spanner.executor.v1.WriteMutationsAction(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -369,7 +330,9 @@ private void buildPartial0(com.google.spanner.executor.v1.WriteMutationsAction r
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.mutation_ = mutationBuilder_ == null ? mutation_ : mutationBuilder_.build();
+        result.mutation_ = mutationBuilder_ == null
+            ? mutation_
+            : mutationBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -379,39 +342,38 @@ private void buildPartial0(com.google.spanner.executor.v1.WriteMutationsAction r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.executor.v1.WriteMutationsAction) {
-        return mergeFrom((com.google.spanner.executor.v1.WriteMutationsAction) other);
+        return mergeFrom((com.google.spanner.executor.v1.WriteMutationsAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -419,8 +381,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.executor.v1.WriteMutationsAction other) {
-      if (other == com.google.spanner.executor.v1.WriteMutationsAction.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.executor.v1.WriteMutationsAction.getDefaultInstance()) return this;
       if (other.hasMutation()) {
         mergeMutation(other.getMutation());
       }
@@ -450,19 +411,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMutationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getMutationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -472,52 +433,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.executor.v1.MutationAction mutation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.executor.v1.MutationAction,
-            com.google.spanner.executor.v1.MutationAction.Builder,
-            com.google.spanner.executor.v1.MutationActionOrBuilder>
-        mutationBuilder_;
+        com.google.spanner.executor.v1.MutationAction, com.google.spanner.executor.v1.MutationAction.Builder, com.google.spanner.executor.v1.MutationActionOrBuilder> mutationBuilder_;
     /**
-     *
-     *
      * 
      * The mutation to write.
      * 
* * .google.spanner.executor.v1.MutationAction mutation = 1; - * * @return Whether the mutation field is set. */ public boolean hasMutation() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The mutation to write.
      * 
* * .google.spanner.executor.v1.MutationAction mutation = 1; - * * @return The mutation. */ public com.google.spanner.executor.v1.MutationAction getMutation() { if (mutationBuilder_ == null) { - return mutation_ == null - ? com.google.spanner.executor.v1.MutationAction.getDefaultInstance() - : mutation_; + return mutation_ == null ? com.google.spanner.executor.v1.MutationAction.getDefaultInstance() : mutation_; } else { return mutationBuilder_.getMessage(); } } /** - * - * *
      * The mutation to write.
      * 
@@ -538,8 +485,6 @@ public Builder setMutation(com.google.spanner.executor.v1.MutationAction value) return this; } /** - * - * *
      * The mutation to write.
      * 
@@ -558,8 +503,6 @@ public Builder setMutation( return this; } /** - * - * *
      * The mutation to write.
      * 
@@ -568,9 +511,9 @@ public Builder setMutation( */ public Builder mergeMutation(com.google.spanner.executor.v1.MutationAction value) { if (mutationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && mutation_ != null - && mutation_ != com.google.spanner.executor.v1.MutationAction.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + mutation_ != null && + mutation_ != com.google.spanner.executor.v1.MutationAction.getDefaultInstance()) { getMutationBuilder().mergeFrom(value); } else { mutation_ = value; @@ -585,8 +528,6 @@ public Builder mergeMutation(com.google.spanner.executor.v1.MutationAction value return this; } /** - * - * *
      * The mutation to write.
      * 
@@ -604,8 +545,6 @@ public Builder clearMutation() { return this; } /** - * - * *
      * The mutation to write.
      * 
@@ -618,8 +557,6 @@ public com.google.spanner.executor.v1.MutationAction.Builder getMutationBuilder( return getMutationFieldBuilder().getBuilder(); } /** - * - * *
      * The mutation to write.
      * 
@@ -630,14 +567,11 @@ public com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuild if (mutationBuilder_ != null) { return mutationBuilder_.getMessageOrBuilder(); } else { - return mutation_ == null - ? com.google.spanner.executor.v1.MutationAction.getDefaultInstance() - : mutation_; + return mutation_ == null ? + com.google.spanner.executor.v1.MutationAction.getDefaultInstance() : mutation_; } } /** - * - * *
      * The mutation to write.
      * 
@@ -645,24 +579,21 @@ public com.google.spanner.executor.v1.MutationActionOrBuilder getMutationOrBuild * .google.spanner.executor.v1.MutationAction mutation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction, - com.google.spanner.executor.v1.MutationAction.Builder, - com.google.spanner.executor.v1.MutationActionOrBuilder> + com.google.spanner.executor.v1.MutationAction, com.google.spanner.executor.v1.MutationAction.Builder, com.google.spanner.executor.v1.MutationActionOrBuilder> getMutationFieldBuilder() { if (mutationBuilder_ == null) { - mutationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.executor.v1.MutationAction, - com.google.spanner.executor.v1.MutationAction.Builder, - com.google.spanner.executor.v1.MutationActionOrBuilder>( - getMutation(), getParentForChildren(), isClean()); + mutationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.executor.v1.MutationAction, com.google.spanner.executor.v1.MutationAction.Builder, com.google.spanner.executor.v1.MutationActionOrBuilder>( + getMutation(), + getParentForChildren(), + isClean()); mutation_ = null; } return mutationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -672,12 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.executor.v1.WriteMutationsAction) } // @@protoc_insertion_point(class_scope:google.spanner.executor.v1.WriteMutationsAction) private static final com.google.spanner.executor.v1.WriteMutationsAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.executor.v1.WriteMutationsAction(); } @@ -686,27 +617,27 @@ public static com.google.spanner.executor.v1.WriteMutationsAction getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteMutationsAction 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteMutationsAction 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; @@ -721,4 +652,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.executor.v1.WriteMutationsAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsActionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsActionOrBuilder.java similarity index 59% rename from proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsActionOrBuilder.java index c623ec323e9..ed33e31eef4 100644 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/WriteMutationsActionOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/executor/v1/cloud_executor.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.executor.v1; -public interface WriteMutationsActionOrBuilder - extends +public interface WriteMutationsActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.WriteMutationsAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The mutation to write.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 1; - * * @return Whether the mutation field is set. */ boolean hasMutation(); /** - * - * *
    * The mutation to write.
    * 
* * .google.spanner.executor.v1.MutationAction mutation = 1; - * * @return The mutation. */ com.google.spanner.executor.v1.MutationAction getMutation(); /** - * - * *
    * The mutation to write.
    * 
diff --git a/proto-google-cloud-spanner-executor-v1/src/main/proto/google/spanner/executor/v1/cloud_executor.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/proto/google/spanner/executor/v1/cloud_executor.proto similarity index 100% rename from proto-google-cloud-spanner-executor-v1/src/main/proto/google/spanner/executor/v1/cloud_executor.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-executor-v1/src/main/proto/google/spanner/executor/v1/cloud_executor.proto diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java similarity index 68% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java index b282ac196e6..d8f04a19fb6 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * The request for
  * [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
@@ -29,57 +12,49 @@
  *
  * Protobuf type {@code google.spanner.v1.BatchCreateSessionsRequest}
  */
-public final class BatchCreateSessionsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateSessionsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchCreateSessionsRequest)
     BatchCreateSessionsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateSessionsRequest.newBuilder() to construct.
   private BatchCreateSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateSessionsRequest() {
     database_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateSessionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.BatchCreateSessionsRequest.class,
-            com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class);
+            com.google.spanner.v1.BatchCreateSessionsRequest.class, com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -88,31 +63,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -123,14 +96,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int SESSION_TEMPLATE_FIELD_NUMBER = 2; private com.google.spanner.v1.Session sessionTemplate_; /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return Whether the sessionTemplate field is set. */ @java.lang.Override @@ -138,25 +108,18 @@ public boolean hasSessionTemplate() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return The sessionTemplate. */ @java.lang.Override public com.google.spanner.v1.Session getSessionTemplate() { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } /** - * - * *
    * Parameters to be applied to each created session.
    * 
@@ -165,16 +128,12 @@ public com.google.spanner.v1.Session getSessionTemplate() { */ @java.lang.Override public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } public static final int SESSION_COUNT_FIELD_NUMBER = 3; private int sessionCount_ = 0; /** - * - * *
    * Required. The number of sessions to be created in this batch call.
    * The API may return fewer than the requested number of sessions. If a
@@ -185,7 +144,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ @java.lang.Override @@ -194,7 +152,6 @@ public int getSessionCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -229,10 +187,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSessionTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSessionTemplate()); } if (sessionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, sessionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, sessionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -242,20 +202,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.BatchCreateSessionsRequest)) { return super.equals(obj); } - com.google.spanner.v1.BatchCreateSessionsRequest other = - (com.google.spanner.v1.BatchCreateSessionsRequest) obj; + com.google.spanner.v1.BatchCreateSessionsRequest other = (com.google.spanner.v1.BatchCreateSessionsRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (hasSessionTemplate() != other.hasSessionTemplate()) return false; if (hasSessionTemplate()) { - if (!getSessionTemplate().equals(other.getSessionTemplate())) return false; + if (!getSessionTemplate() + .equals(other.getSessionTemplate())) return false; } - if (getSessionCount() != other.getSessionCount()) return false; + if (getSessionCount() + != other.getSessionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,104 +242,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.BatchCreateSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
@@ -385,23 +342,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.BatchCreateSessionsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchCreateSessionsRequest)
       com.google.spanner.v1.BatchCreateSessionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.BatchCreateSessionsRequest.class,
-              com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class);
+              com.google.spanner.v1.BatchCreateSessionsRequest.class, com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.BatchCreateSessionsRequest.newBuilder()
@@ -409,17 +364,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getSessionTemplateFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -435,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -456,11 +411,8 @@ public com.google.spanner.v1.BatchCreateSessionsRequest build() {
 
     @java.lang.Override
     public com.google.spanner.v1.BatchCreateSessionsRequest buildPartial() {
-      com.google.spanner.v1.BatchCreateSessionsRequest result =
-          new com.google.spanner.v1.BatchCreateSessionsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.BatchCreateSessionsRequest result = new com.google.spanner.v1.BatchCreateSessionsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -472,8 +424,9 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsRequest resu
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sessionTemplate_ =
-            sessionTemplateBuilder_ == null ? sessionTemplate_ : sessionTemplateBuilder_.build();
+        result.sessionTemplate_ = sessionTemplateBuilder_ == null
+            ? sessionTemplate_
+            : sessionTemplateBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -486,39 +439,38 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.BatchCreateSessionsRequest) {
-        return mergeFrom((com.google.spanner.v1.BatchCreateSessionsRequest) other);
+        return mergeFrom((com.google.spanner.v1.BatchCreateSessionsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -526,8 +478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsRequest other) {
-      if (other == com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -565,31 +516,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getSessionTemplateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                sessionCount_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSessionTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              sessionCount_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            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) {
@@ -599,27 +548,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -628,23 +572,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -652,39 +593,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -694,23 +624,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -720,47 +644,34 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Session sessionTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> - sessionTemplateBuilder_; + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionTemplateBuilder_; /** - * - * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; - * * @return Whether the sessionTemplate field is set. */ public boolean hasSessionTemplate() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; - * * @return The sessionTemplate. */ public com.google.spanner.v1.Session getSessionTemplate() { if (sessionTemplateBuilder_ == null) { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } else { return sessionTemplateBuilder_.getMessage(); } } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -781,15 +692,14 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; */ - public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSessionTemplate( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionTemplateBuilder_ == null) { sessionTemplate_ = builderForValue.build(); } else { @@ -800,8 +710,6 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderF return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -810,9 +718,9 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderF */ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { if (sessionTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sessionTemplate_ != null - && sessionTemplate_ != com.google.spanner.v1.Session.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sessionTemplate_ != null && + sessionTemplate_ != com.google.spanner.v1.Session.getDefaultInstance()) { getSessionTemplateBuilder().mergeFrom(value); } else { sessionTemplate_ = value; @@ -827,8 +735,6 @@ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -846,8 +752,6 @@ public Builder clearSessionTemplate() { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -860,8 +764,6 @@ public com.google.spanner.v1.Session.Builder getSessionTemplateBuilder() { return getSessionTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -872,14 +774,11 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { if (sessionTemplateBuilder_ != null) { return sessionTemplateBuilder_.getMessageOrBuilder(); } else { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? + com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -887,26 +786,21 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { * .google.spanner.v1.Session session_template = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionTemplateFieldBuilder() { if (sessionTemplateBuilder_ == null) { - sessionTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - getSessionTemplate(), getParentForChildren(), isClean()); + sessionTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + getSessionTemplate(), + getParentForChildren(), + isClean()); sessionTemplate_ = null; } return sessionTemplateBuilder_; } - private int sessionCount_; + private int sessionCount_ ; /** - * - * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -917,7 +811,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ @java.lang.Override @@ -925,8 +818,6 @@ public int getSessionCount() { return sessionCount_; } /** - * - * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -937,7 +828,6 @@ public int getSessionCount() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sessionCount to set. * @return This builder for chaining. */ @@ -949,8 +839,6 @@ public Builder setSessionCount(int value) { return this; } /** - * - * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -961,7 +849,6 @@ public Builder setSessionCount(int value) {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSessionCount() { @@ -970,9 +857,9 @@ public Builder clearSessionCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -982,12 +869,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchCreateSessionsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchCreateSessionsRequest) private static final com.google.spanner.v1.BatchCreateSessionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchCreateSessionsRequest(); } @@ -996,27 +883,27 @@ public static com.google.spanner.v1.BatchCreateSessionsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateSessionsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateSessionsRequest 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; @@ -1031,4 +918,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.v1.BatchCreateSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java index 8adf4dd6fc3..c833e7ca3f8 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java @@ -1,85 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface BatchCreateSessionsRequestOrBuilder - extends +public interface BatchCreateSessionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchCreateSessionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return Whether the sessionTemplate field is set. */ boolean hasSessionTemplate(); /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return The sessionTemplate. */ com.google.spanner.v1.Session getSessionTemplate(); /** - * - * *
    * Parameters to be applied to each created session.
    * 
@@ -89,8 +56,6 @@ public interface BatchCreateSessionsRequestOrBuilder com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder(); /** - * - * *
    * Required. The number of sessions to be created in this batch call.
    * The API may return fewer than the requested number of sessions. If a
@@ -101,7 +66,6 @@ public interface BatchCreateSessionsRequestOrBuilder
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ int getSessionCount(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java similarity index 70% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java index 3e396720e92..2edab4728ee 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * The response for
  * [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
@@ -29,48 +12,43 @@
  *
  * Protobuf type {@code google.spanner.v1.BatchCreateSessionsResponse}
  */
-public final class BatchCreateSessionsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateSessionsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchCreateSessionsResponse)
     BatchCreateSessionsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateSessionsResponse.newBuilder() to construct.
   private BatchCreateSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateSessionsResponse() {
     session_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateSessionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.BatchCreateSessionsResponse.class,
-            com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class);
+            com.google.spanner.v1.BatchCreateSessionsResponse.class, com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class);
   }
 
   public static final int SESSION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List session_;
   /**
-   *
-   *
    * 
    * The freshly created sessions.
    * 
@@ -82,8 +60,6 @@ public java.util.List getSessionList() { return session_; } /** - * - * *
    * The freshly created sessions.
    * 
@@ -91,13 +67,11 @@ public java.util.List getSessionList() { * repeated .google.spanner.v1.Session session = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionOrBuilderList() { return session_; } /** - * - * *
    * The freshly created sessions.
    * 
@@ -109,8 +83,6 @@ public int getSessionCount() { return session_.size(); } /** - * - * *
    * The freshly created sessions.
    * 
@@ -122,8 +94,6 @@ public com.google.spanner.v1.Session getSession(int index) { return session_.get(index); } /** - * - * *
    * The freshly created sessions.
    * 
@@ -131,12 +101,12 @@ public com.google.spanner.v1.Session getSession(int index) { * repeated .google.spanner.v1.Session session = 1; */ @java.lang.Override - public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( + int index) { return session_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < session_.size(); i++) { output.writeMessage(1, session_.get(i)); } @@ -162,7 +133,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < session_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, session_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, session_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,15 +144,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.BatchCreateSessionsResponse)) { return super.equals(obj); } - com.google.spanner.v1.BatchCreateSessionsResponse other = - (com.google.spanner.v1.BatchCreateSessionsResponse) obj; + com.google.spanner.v1.BatchCreateSessionsResponse other = (com.google.spanner.v1.BatchCreateSessionsResponse) obj; - if (!getSessionList().equals(other.getSessionList())) return false; + if (!getSessionList() + .equals(other.getSessionList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,103 +174,98 @@ public int hashCode() { } public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.BatchCreateSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
@@ -306,32 +273,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.BatchCreateSessionsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchCreateSessionsResponse)
       com.google.spanner.v1.BatchCreateSessionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.BatchCreateSessionsResponse.class,
-              com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class);
+              com.google.spanner.v1.BatchCreateSessionsResponse.class, com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.BatchCreateSessionsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,9 +315,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -368,18 +336,14 @@ public com.google.spanner.v1.BatchCreateSessionsResponse build() {
 
     @java.lang.Override
     public com.google.spanner.v1.BatchCreateSessionsResponse buildPartial() {
-      com.google.spanner.v1.BatchCreateSessionsResponse result =
-          new com.google.spanner.v1.BatchCreateSessionsResponse(this);
+      com.google.spanner.v1.BatchCreateSessionsResponse result = new com.google.spanner.v1.BatchCreateSessionsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.v1.BatchCreateSessionsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.v1.BatchCreateSessionsResponse result) {
       if (sessionBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           session_ = java.util.Collections.unmodifiableList(session_);
@@ -399,39 +363,38 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsResponse res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.BatchCreateSessionsResponse) {
-        return mergeFrom((com.google.spanner.v1.BatchCreateSessionsResponse) other);
+        return mergeFrom((com.google.spanner.v1.BatchCreateSessionsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -439,8 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsResponse other) {
-      if (other == com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()) return this;
       if (sessionBuilder_ == null) {
         if (!other.session_.isEmpty()) {
           if (session_.isEmpty()) {
@@ -459,10 +421,9 @@ public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsResponse other
             sessionBuilder_ = null;
             session_ = other.session_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            sessionBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSessionFieldBuilder()
-                    : null;
+            sessionBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSessionFieldBuilder() : null;
           } else {
             sessionBuilder_.addAllMessages(other.session_);
           }
@@ -494,25 +455,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.v1.Session m =
-                    input.readMessage(com.google.spanner.v1.Session.parser(), extensionRegistry);
-                if (sessionBuilder_ == null) {
-                  ensureSessionIsMutable();
-                  session_.add(m);
-                } else {
-                  sessionBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.v1.Session m =
+                  input.readMessage(
+                      com.google.spanner.v1.Session.parser(),
+                      extensionRegistry);
+              if (sessionBuilder_ == null) {
+                ensureSessionIsMutable();
+                session_.add(m);
+              } else {
+                sessionBuilder_.addMessage(m);
+              }
+              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) {
@@ -522,28 +483,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List session_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSessionIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         session_ = new java.util.ArrayList(session_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.Session,
-            com.google.spanner.v1.Session.Builder,
-            com.google.spanner.v1.SessionOrBuilder>
-        sessionBuilder_;
+        com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionBuilder_;
 
     /**
-     *
-     *
      * 
      * The freshly created sessions.
      * 
@@ -558,8 +512,6 @@ public java.util.List getSessionList() { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -574,8 +526,6 @@ public int getSessionCount() { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -590,15 +540,14 @@ public com.google.spanner.v1.Session getSession(int index) { } } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder setSession(int index, com.google.spanner.v1.Session value) { + public Builder setSession( + int index, com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -612,15 +561,14 @@ public Builder setSession(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder setSession(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSession( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.set(index, builderForValue.build()); @@ -631,8 +579,6 @@ public Builder setSession(int index, com.google.spanner.v1.Session.Builder build return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -653,15 +599,14 @@ public Builder addSession(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession(int index, com.google.spanner.v1.Session value) { + public Builder addSession( + int index, com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,15 +620,14 @@ public Builder addSession(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSession( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.add(builderForValue.build()); @@ -694,15 +638,14 @@ public Builder addSession(com.google.spanner.v1.Session.Builder builderForValue) return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSession( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.add(index, builderForValue.build()); @@ -713,8 +656,6 @@ public Builder addSession(int index, com.google.spanner.v1.Session.Builder build return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -725,7 +666,8 @@ public Builder addAllSession( java.lang.Iterable values) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, session_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, session_); onChanged(); } else { sessionBuilder_.addAllMessages(values); @@ -733,8 +675,6 @@ public Builder addAllSession( return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -752,8 +692,6 @@ public Builder clearSession() { return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -771,44 +709,39 @@ public Builder removeSession(int index) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.Session.Builder getSessionBuilder(int index) { + public com.google.spanner.v1.Session.Builder getSessionBuilder( + int index) { return getSessionFieldBuilder().getBuilder(index); } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( + int index) { if (sessionBuilder_ == null) { - return session_.get(index); - } else { + return session_.get(index); } else { return sessionBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public java.util.List - getSessionOrBuilderList() { + public java.util.List + getSessionOrBuilderList() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilderList(); } else { @@ -816,8 +749,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -825,54 +756,49 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { * repeated .google.spanner.v1.Session session = 1; */ public com.google.spanner.v1.Session.Builder addSessionBuilder() { - return getSessionFieldBuilder() - .addBuilder(com.google.spanner.v1.Session.getDefaultInstance()); + return getSessionFieldBuilder().addBuilder( + com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.Session.Builder addSessionBuilder(int index) { - return getSessionFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Session.getDefaultInstance()); + public com.google.spanner.v1.Session.Builder addSessionBuilder( + int index) { + return getSessionFieldBuilder().addBuilder( + index, com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public java.util.List getSessionBuilderList() { + public java.util.List + getSessionBuilderList() { return getSessionFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - session_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + sessionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + session_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); session_ = null; } return sessionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchCreateSessionsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchCreateSessionsResponse) private static final com.google.spanner.v1.BatchCreateSessionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchCreateSessionsResponse(); } @@ -896,27 +822,27 @@ public static com.google.spanner.v1.BatchCreateSessionsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateSessionsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateSessionsResponse 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; @@ -931,4 +857,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.spanner.v1.BatchCreateSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java similarity index 56% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java index 299c4335830..7ca6286d8c3 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface BatchCreateSessionsResponseOrBuilder - extends +public interface BatchCreateSessionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchCreateSessionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - java.util.List getSessionList(); + java.util.List + getSessionList(); /** - * - * *
    * The freshly created sessions.
    * 
@@ -45,8 +26,6 @@ public interface BatchCreateSessionsResponseOrBuilder */ com.google.spanner.v1.Session getSession(int index); /** - * - * *
    * The freshly created sessions.
    * 
@@ -55,23 +34,21 @@ public interface BatchCreateSessionsResponseOrBuilder */ int getSessionCount(); /** - * - * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - java.util.List getSessionOrBuilderList(); + java.util.List + getSessionOrBuilderList(); /** - * - * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index); + com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequest.java similarity index 66% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequest.java index 3135dd0e10b..0c603c6e080 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * The request for [BatchWrite][google.spanner.v1.Spanner.BatchWrite].
  * 
* * Protobuf type {@code google.spanner.v1.BatchWriteRequest} */ -public final class BatchWriteRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchWriteRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchWriteRequest) BatchWriteRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchWriteRequest.newBuilder() to construct. private BatchWriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchWriteRequest() { session_ = ""; mutationGroups_ = java.util.Collections.emptyList(); @@ -45,94 +27,73 @@ private BatchWriteRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchWriteRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchWriteRequest.class, - com.google.spanner.v1.BatchWriteRequest.Builder.class); + com.google.spanner.v1.BatchWriteRequest.class, com.google.spanner.v1.BatchWriteRequest.Builder.class); } - public interface MutationGroupOrBuilder - extends + public interface MutationGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchWriteRequest.MutationGroup) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsList(); + java.util.List + getMutationsList(); /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.Mutation getMutations(int index); /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationsCount(); /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsOrBuilderList(); + java.util.List + getMutationsOrBuilderList(); /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index); + com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder( + int index); } /** - * - * *
    * A group of mutations to be committed together. Related mutations should be
    * placed in a group. For example, two mutations inserting rows with the same
@@ -141,124 +102,101 @@ public interface MutationGroupOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.BatchWriteRequest.MutationGroup}
    */
-  public static final class MutationGroup extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MutationGroup extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchWriteRequest.MutationGroup)
       MutationGroupOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MutationGroup.newBuilder() to construct.
     private MutationGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MutationGroup() {
       mutations_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MutationGroup();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.BatchWriteRequest.MutationGroup.class,
-              com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder.class);
+              com.google.spanner.v1.BatchWriteRequest.MutationGroup.class, com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder.class);
     }
 
     public static final int MUTATIONS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private java.util.List mutations_;
     /**
-     *
-     *
      * 
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.Mutation getMutations(int index) { return mutations_.get(index); } /** - * - * *
      * Required. The mutations in this group.
      * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder( + int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < mutations_.size(); i++) { output.writeMessage(1, mutations_.get(i)); } @@ -284,7 +223,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, mutations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -294,15 +234,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.BatchWriteRequest.MutationGroup)) { return super.equals(obj); } - com.google.spanner.v1.BatchWriteRequest.MutationGroup other = - (com.google.spanner.v1.BatchWriteRequest.MutationGroup) obj; + com.google.spanner.v1.BatchWriteRequest.MutationGroup other = (com.google.spanner.v1.BatchWriteRequest.MutationGroup) obj; - if (!getMutationsList().equals(other.getMutationsList())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,94 +264,89 @@ public int hashCode() { } public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchWriteRequest.MutationGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.BatchWriteRequest.MutationGroup prototype) { + public static Builder newBuilder(com.google.spanner.v1.BatchWriteRequest.MutationGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -421,8 +356,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A group of mutations to be committed together. Related mutations should be
      * placed in a group. For example, two mutations inserting rows with the same
@@ -431,33 +364,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.BatchWriteRequest.MutationGroup}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchWriteRequest.MutationGroup)
         com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_fieldAccessorTable
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.BatchWriteRequest.MutationGroup.class,
-                com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder.class);
+                com.google.spanner.v1.BatchWriteRequest.MutationGroup.class, com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.BatchWriteRequest.MutationGroup.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -473,9 +406,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor;
       }
 
       @java.lang.Override
@@ -494,18 +427,14 @@ public com.google.spanner.v1.BatchWriteRequest.MutationGroup build() {
 
       @java.lang.Override
       public com.google.spanner.v1.BatchWriteRequest.MutationGroup buildPartial() {
-        com.google.spanner.v1.BatchWriteRequest.MutationGroup result =
-            new com.google.spanner.v1.BatchWriteRequest.MutationGroup(this);
+        com.google.spanner.v1.BatchWriteRequest.MutationGroup result = new com.google.spanner.v1.BatchWriteRequest.MutationGroup(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.spanner.v1.BatchWriteRequest.MutationGroup result) {
+      private void buildPartialRepeatedFields(com.google.spanner.v1.BatchWriteRequest.MutationGroup result) {
         if (mutationsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             mutations_ = java.util.Collections.unmodifiableList(mutations_);
@@ -525,41 +454,38 @@ private void buildPartial0(com.google.spanner.v1.BatchWriteRequest.MutationGroup
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.BatchWriteRequest.MutationGroup) {
-          return mergeFrom((com.google.spanner.v1.BatchWriteRequest.MutationGroup) other);
+          return mergeFrom((com.google.spanner.v1.BatchWriteRequest.MutationGroup)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -567,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.BatchWriteRequest.MutationGroup other) {
-        if (other == com.google.spanner.v1.BatchWriteRequest.MutationGroup.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.BatchWriteRequest.MutationGroup.getDefaultInstance()) return this;
         if (mutationsBuilder_ == null) {
           if (!other.mutations_.isEmpty()) {
             if (mutations_.isEmpty()) {
@@ -587,10 +512,9 @@ public Builder mergeFrom(com.google.spanner.v1.BatchWriteRequest.MutationGroup o
               mutationsBuilder_ = null;
               mutations_ = other.mutations_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              mutationsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getMutationsFieldBuilder()
-                      : null;
+              mutationsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getMutationsFieldBuilder() : null;
             } else {
               mutationsBuilder_.addAllMessages(other.mutations_);
             }
@@ -622,25 +546,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.spanner.v1.Mutation m =
-                      input.readMessage(com.google.spanner.v1.Mutation.parser(), extensionRegistry);
-                  if (mutationsBuilder_ == null) {
-                    ensureMutationsIsMutable();
-                    mutations_.add(m);
-                  } else {
-                    mutationsBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.spanner.v1.Mutation m =
+                    input.readMessage(
+                        com.google.spanner.v1.Mutation.parser(),
+                        extensionRegistry);
+                if (mutationsBuilder_ == null) {
+                  ensureMutationsIsMutable();
+                  mutations_.add(m);
+                } else {
+                  mutationsBuilder_.addMessage(m);
+                }
+                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) {
@@ -650,35 +574,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List mutations_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureMutationsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           mutations_ = new java.util.ArrayList(mutations_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.spanner.v1.Mutation,
-              com.google.spanner.v1.Mutation.Builder,
-              com.google.spanner.v1.MutationOrBuilder>
-          mutationsBuilder_;
+          com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> mutationsBuilder_;
 
       /**
-       *
-       *
        * 
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -688,15 +603,11 @@ public java.util.List getMutationsList() { } } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -706,15 +617,11 @@ public int getMutationsCount() { } } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -724,17 +631,14 @@ public com.google.spanner.v1.Mutation getMutations(int index) { } } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMutations(int index, com.google.spanner.v1.Mutation value) { + public Builder setMutations( + int index, com.google.spanner.v1.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -748,15 +652,11 @@ public Builder setMutations(int index, com.google.spanner.v1.Mutation value) { return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutations( int index, com.google.spanner.v1.Mutation.Builder builderForValue) { @@ -770,15 +670,11 @@ public Builder setMutations( return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations(com.google.spanner.v1.Mutation value) { if (mutationsBuilder_ == null) { @@ -794,17 +690,14 @@ public Builder addMutations(com.google.spanner.v1.Mutation value) { return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(int index, com.google.spanner.v1.Mutation value) { + public Builder addMutations( + int index, com.google.spanner.v1.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -818,17 +711,14 @@ public Builder addMutations(int index, com.google.spanner.v1.Mutation value) { return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForValue) { + public Builder addMutations( + com.google.spanner.v1.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); @@ -839,15 +729,11 @@ public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForVal return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations( int index, com.google.spanner.v1.Mutation.Builder builderForValue) { @@ -861,21 +747,18 @@ public Builder addMutations( return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -883,15 +766,11 @@ public Builder addAllMutations( return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -904,15 +783,11 @@ public Builder clearMutations() { return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -925,50 +800,39 @@ public Builder removeMutations(int index) { return this; } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(int index) { + public com.google.spanner.v1.Mutation.Builder getMutationsBuilder( + int index) { return getMutationsFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder( + int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); - } else { + return mutations_.get(index); } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -976,67 +840,53 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) } } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder() - .addBuilder(com.google.spanner.v1.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder().addBuilder( + com.google.spanner.v1.Mutation.getDefaultInstance()); } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(int index) { - return getMutationsFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Mutation.getDefaultInstance()); + public com.google.spanner.v1.Mutation.Builder addMutationsBuilder( + int index) { + return getMutationsFieldBuilder().addBuilder( + index, com.google.spanner.v1.Mutation.getDefaultInstance()); } /** - * - * *
        * Required. The mutations in this group.
        * 
* - * - * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.Mutation mutations = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getMutationsBuilderList() { + public java.util.List + getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Mutation, - com.google.spanner.v1.Mutation.Builder, - com.google.spanner.v1.MutationOrBuilder> + com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Mutation, - com.google.spanner.v1.Mutation.Builder, - com.google.spanner.v1.MutationOrBuilder>( - mutations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder>( + mutations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1049,12 +899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchWriteRequest.MutationGroup) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchWriteRequest.MutationGroup) private static final com.google.spanner.v1.BatchWriteRequest.MutationGroup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchWriteRequest.MutationGroup(); } @@ -1063,28 +913,27 @@ public static com.google.spanner.v1.BatchWriteRequest.MutationGroup getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutationGroup 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutationGroup 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; @@ -1099,24 +948,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.BatchWriteRequest.MutationGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the batch request is to be run.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -1125,31 +969,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the batch request is to be run.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1160,14 +1002,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 3; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -1175,25 +1014,18 @@ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -1202,87 +1034,63 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } public static final int MUTATION_GROUPS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List mutationGroups_; /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getMutationGroupsList() { + public java.util.List getMutationGroupsList() { return mutationGroups_; } /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationGroupsOrBuilderList() { return mutationGroups_; } /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationGroupsCount() { return mutationGroups_.size(); } /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.BatchWriteRequest.MutationGroup getMutationGroups(int index) { return mutationGroups_.get(index); } /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder getMutationGroupsOrBuilder( @@ -1293,8 +1101,6 @@ public com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder getMutatio public static final int EXCLUDE_TXN_FROM_CHANGE_STREAMS_FIELD_NUMBER = 5; private boolean excludeTxnFromChangeStreams_ = false; /** - * - * *
    * Optional. When `exclude_txn_from_change_streams` is set to `true`:
    *  * Mutations from all transactions in this batch write operation will not
@@ -1310,9 +1116,7 @@ public com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder getMutatio
    * transactions.
    * 
* - * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The excludeTxnFromChangeStreams. */ @java.lang.Override @@ -1321,7 +1125,6 @@ public boolean getExcludeTxnFromChangeStreams() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1333,7 +1136,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -1359,14 +1163,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequestOptions()); } for (int i = 0; i < mutationGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, mutationGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, mutationGroups_.get(i)); } if (excludeTxnFromChangeStreams_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(5, excludeTxnFromChangeStreams_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, excludeTxnFromChangeStreams_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1376,20 +1182,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.BatchWriteRequest)) { return super.equals(obj); } com.google.spanner.v1.BatchWriteRequest other = (com.google.spanner.v1.BatchWriteRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } - if (!getMutationGroupsList().equals(other.getMutationGroupsList())) return false; - if (getExcludeTxnFromChangeStreams() != other.getExcludeTxnFromChangeStreams()) return false; + if (!getMutationGroupsList() + .equals(other.getMutationGroupsList())) return false; + if (getExcludeTxnFromChangeStreams() + != other.getExcludeTxnFromChangeStreams()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1412,133 +1222,127 @@ public int hashCode() { hash = (53 * hash) + getMutationGroupsList().hashCode(); } hash = (37 * hash) + EXCLUDE_TXN_FROM_CHANGE_STREAMS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExcludeTxnFromChangeStreams()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExcludeTxnFromChangeStreams()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.BatchWriteRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.BatchWriteRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchWriteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.BatchWriteRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchWriteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.BatchWriteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [BatchWrite][google.spanner.v1.Spanner.BatchWrite].
    * 
* * Protobuf type {@code google.spanner.v1.BatchWriteRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchWriteRequest) com.google.spanner.v1.BatchWriteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchWriteRequest.class, - com.google.spanner.v1.BatchWriteRequest.Builder.class); + com.google.spanner.v1.BatchWriteRequest.class, com.google.spanner.v1.BatchWriteRequest.Builder.class); } // Construct using com.google.spanner.v1.BatchWriteRequest.newBuilder() @@ -1546,18 +1350,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRequestOptionsFieldBuilder(); getMutationGroupsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1580,9 +1384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteRequest_descriptor; } @java.lang.Override @@ -1601,12 +1405,9 @@ public com.google.spanner.v1.BatchWriteRequest build() { @java.lang.Override public com.google.spanner.v1.BatchWriteRequest buildPartial() { - com.google.spanner.v1.BatchWriteRequest result = - new com.google.spanner.v1.BatchWriteRequest(this); + com.google.spanner.v1.BatchWriteRequest result = new com.google.spanner.v1.BatchWriteRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1630,8 +1431,9 @@ private void buildPartial0(com.google.spanner.v1.BatchWriteRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestOptions_ = - requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); + result.requestOptions_ = requestOptionsBuilder_ == null + ? requestOptions_ + : requestOptionsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -1644,39 +1446,38 @@ private void buildPartial0(com.google.spanner.v1.BatchWriteRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.BatchWriteRequest) { - return mergeFrom((com.google.spanner.v1.BatchWriteRequest) other); + return mergeFrom((com.google.spanner.v1.BatchWriteRequest)other); } else { super.mergeFrom(other); return this; @@ -1711,10 +1512,9 @@ public Builder mergeFrom(com.google.spanner.v1.BatchWriteRequest other) { mutationGroupsBuilder_ = null; mutationGroups_ = other.mutationGroups_; bitField0_ = (bitField0_ & ~0x00000004); - mutationGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationGroupsFieldBuilder() - : null; + mutationGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationGroupsFieldBuilder() : null; } else { mutationGroupsBuilder_.addAllMessages(other.mutationGroups_); } @@ -1749,45 +1549,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - com.google.spanner.v1.BatchWriteRequest.MutationGroup m = - input.readMessage( - com.google.spanner.v1.BatchWriteRequest.MutationGroup.parser(), - extensionRegistry); - if (mutationGroupsBuilder_ == null) { - ensureMutationGroupsIsMutable(); - mutationGroups_.add(m); - } else { - mutationGroupsBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: - { - excludeTxnFromChangeStreams_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + input.readMessage( + getRequestOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + com.google.spanner.v1.BatchWriteRequest.MutationGroup m = + input.readMessage( + com.google.spanner.v1.BatchWriteRequest.MutationGroup.parser(), + extensionRegistry); + if (mutationGroupsBuilder_ == null) { + ensureMutationGroupsIsMutable(); + mutationGroups_.add(m); + } else { + mutationGroupsBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: { + excludeTxnFromChangeStreams_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + 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) { @@ -1797,27 +1594,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the batch request is to be run.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1826,23 +1618,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the batch request is to be run.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1850,39 +1639,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the batch request is to be run.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the batch request is to be run.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1892,23 +1670,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the batch request is to be run.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1918,47 +1690,34 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -1979,15 +1738,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -1998,8 +1756,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2008,9 +1764,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -2025,8 +1781,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2044,8 +1798,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2058,8 +1810,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -2070,14 +1820,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -2085,53 +1832,39 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } private java.util.List mutationGroups_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationGroupsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - mutationGroups_ = - new java.util.ArrayList( - mutationGroups_); + mutationGroups_ = new java.util.ArrayList(mutationGroups_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.BatchWriteRequest.MutationGroup, - com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder, - com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder> - mutationGroupsBuilder_; + com.google.spanner.v1.BatchWriteRequest.MutationGroup, com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder, com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder> mutationGroupsBuilder_; /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationGroupsList() { + public java.util.List getMutationGroupsList() { if (mutationGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(mutationGroups_); } else { @@ -2139,15 +1872,11 @@ private void ensureMutationGroupsIsMutable() { } } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationGroupsCount() { if (mutationGroupsBuilder_ == null) { @@ -2157,15 +1886,11 @@ public int getMutationGroupsCount() { } } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.BatchWriteRequest.MutationGroup getMutationGroups(int index) { if (mutationGroupsBuilder_ == null) { @@ -2175,15 +1900,11 @@ public com.google.spanner.v1.BatchWriteRequest.MutationGroup getMutationGroups(i } } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutationGroups( int index, com.google.spanner.v1.BatchWriteRequest.MutationGroup value) { @@ -2200,15 +1921,11 @@ public Builder setMutationGroups( return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutationGroups( int index, com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder builderForValue) { @@ -2222,15 +1939,11 @@ public Builder setMutationGroups( return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutationGroups(com.google.spanner.v1.BatchWriteRequest.MutationGroup value) { if (mutationGroupsBuilder_ == null) { @@ -2246,15 +1959,11 @@ public Builder addMutationGroups(com.google.spanner.v1.BatchWriteRequest.Mutatio return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutationGroups( int index, com.google.spanner.v1.BatchWriteRequest.MutationGroup value) { @@ -2271,15 +1980,11 @@ public Builder addMutationGroups( return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutationGroups( com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder builderForValue) { @@ -2293,15 +1998,11 @@ public Builder addMutationGroups( return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutationGroups( int index, com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder builderForValue) { @@ -2315,22 +2016,18 @@ public Builder addMutationGroups( return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutationGroups( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (mutationGroupsBuilder_ == null) { ensureMutationGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutationGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutationGroups_); onChanged(); } else { mutationGroupsBuilder_.addAllMessages(values); @@ -2338,15 +2035,11 @@ public Builder addAllMutationGroups( return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutationGroups() { if (mutationGroupsBuilder_ == null) { @@ -2359,15 +2052,11 @@ public Builder clearMutationGroups() { return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutationGroups(int index) { if (mutationGroupsBuilder_ == null) { @@ -2380,52 +2069,39 @@ public Builder removeMutationGroups(int index) { return this; } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder getMutationGroupsBuilder( int index) { return getMutationGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder - getMutationGroupsOrBuilder(int index) { + public com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder getMutationGroupsOrBuilder( + int index) { if (mutationGroupsBuilder_ == null) { - return mutationGroups_.get(index); - } else { + return mutationGroups_.get(index); } else { return mutationGroupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationGroupsOrBuilderList() { + public java.util.List + getMutationGroupsOrBuilderList() { if (mutationGroupsBuilder_ != null) { return mutationGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -2433,65 +2109,45 @@ public com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder getMutation } } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder - addMutationGroupsBuilder() { - return getMutationGroupsFieldBuilder() - .addBuilder(com.google.spanner.v1.BatchWriteRequest.MutationGroup.getDefaultInstance()); + public com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder addMutationGroupsBuilder() { + return getMutationGroupsFieldBuilder().addBuilder( + com.google.spanner.v1.BatchWriteRequest.MutationGroup.getDefaultInstance()); } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder addMutationGroupsBuilder( int index) { - return getMutationGroupsFieldBuilder() - .addBuilder( - index, com.google.spanner.v1.BatchWriteRequest.MutationGroup.getDefaultInstance()); + return getMutationGroupsFieldBuilder().addBuilder( + index, com.google.spanner.v1.BatchWriteRequest.MutationGroup.getDefaultInstance()); } /** - * - * *
      * Required. The groups of mutations to be applied.
      * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationGroupsBuilderList() { + public java.util.List + getMutationGroupsBuilderList() { return getMutationGroupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.BatchWriteRequest.MutationGroup, - com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder, - com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder> + com.google.spanner.v1.BatchWriteRequest.MutationGroup, com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder, com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder> getMutationGroupsFieldBuilder() { if (mutationGroupsBuilder_ == null) { - mutationGroupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.BatchWriteRequest.MutationGroup, - com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder, - com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder>( + mutationGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.BatchWriteRequest.MutationGroup, com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder, com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder>( mutationGroups_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -2501,10 +2157,8 @@ public com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder addMutation return mutationGroupsBuilder_; } - private boolean excludeTxnFromChangeStreams_; + private boolean excludeTxnFromChangeStreams_ ; /** - * - * *
      * Optional. When `exclude_txn_from_change_streams` is set to `true`:
      *  * Mutations from all transactions in this batch write operation will not
@@ -2520,9 +2174,7 @@ public com.google.spanner.v1.BatchWriteRequest.MutationGroup.Builder addMutation
      * transactions.
      * 
* - * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The excludeTxnFromChangeStreams. */ @java.lang.Override @@ -2530,8 +2182,6 @@ public boolean getExcludeTxnFromChangeStreams() { return excludeTxnFromChangeStreams_; } /** - * - * *
      * Optional. When `exclude_txn_from_change_streams` is set to `true`:
      *  * Mutations from all transactions in this batch write operation will not
@@ -2547,9 +2197,7 @@ public boolean getExcludeTxnFromChangeStreams() {
      * transactions.
      * 
* - * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The excludeTxnFromChangeStreams to set. * @return This builder for chaining. */ @@ -2561,8 +2209,6 @@ public Builder setExcludeTxnFromChangeStreams(boolean value) { return this; } /** - * - * *
      * Optional. When `exclude_txn_from_change_streams` is set to `true`:
      *  * Mutations from all transactions in this batch write operation will not
@@ -2578,9 +2224,7 @@ public Builder setExcludeTxnFromChangeStreams(boolean value) {
      * transactions.
      * 
* - * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearExcludeTxnFromChangeStreams() { @@ -2589,9 +2233,9 @@ public Builder clearExcludeTxnFromChangeStreams() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2601,12 +2245,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchWriteRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchWriteRequest) private static final com.google.spanner.v1.BatchWriteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchWriteRequest(); } @@ -2615,27 +2259,27 @@ public static com.google.spanner.v1.BatchWriteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchWriteRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchWriteRequest 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; @@ -2650,4 +2294,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.BatchWriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequestOrBuilder.java index 4dedf95afbf..d517c38fce6 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteRequestOrBuilder.java @@ -1,85 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface BatchWriteRequestOrBuilder - extends +public interface BatchWriteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchWriteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the batch request is to be run.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the batch request is to be run.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
@@ -89,71 +56,50 @@ public interface BatchWriteRequestOrBuilder com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(); /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationGroupsList(); + java.util.List + getMutationGroupsList(); /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.BatchWriteRequest.MutationGroup getMutationGroups(int index); /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationGroupsCount(); /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getMutationGroupsOrBuilderList(); /** - * - * *
    * Required. The groups of mutations to be applied.
    * 
* - * - * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.BatchWriteRequest.MutationGroup mutation_groups = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder getMutationGroupsOrBuilder( int index); /** - * - * *
    * Optional. When `exclude_txn_from_change_streams` is set to `true`:
    *  * Mutations from all transactions in this batch write operation will not
@@ -169,9 +115,7 @@ com.google.spanner.v1.BatchWriteRequest.MutationGroupOrBuilder getMutationGroups
    * transactions.
    * 
* - * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool exclude_txn_from_change_streams = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The excludeTxnFromChangeStreams. */ boolean getExcludeTxnFromChangeStreams(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponse.java similarity index 72% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponse.java index e85c5cc46e7..b20abcd233c 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,115 +5,99 @@ package com.google.spanner.v1; /** - * - * *
  * The result of applying a batch of mutations.
  * 
* * Protobuf type {@code google.spanner.v1.BatchWriteResponse} */ -public final class BatchWriteResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchWriteResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchWriteResponse) BatchWriteResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchWriteResponse.newBuilder() to construct. private BatchWriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchWriteResponse() { indexes_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchWriteResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchWriteResponse.class, - com.google.spanner.v1.BatchWriteResponse.Builder.class); + com.google.spanner.v1.BatchWriteResponse.class, com.google.spanner.v1.BatchWriteResponse.Builder.class); } private int bitField0_; public static final int INDEXES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.Internal.IntList indexes_ = emptyIntList(); + private com.google.protobuf.Internal.IntList indexes_ = + emptyIntList(); /** - * - * *
    * The mutation groups applied in this batch. The values index into the
    * `mutation_groups` field in the corresponding `BatchWriteRequest`.
    * 
* * repeated int32 indexes = 1; - * * @return A list containing the indexes. */ @java.lang.Override - public java.util.List getIndexesList() { + public java.util.List + getIndexesList() { return indexes_; } /** - * - * *
    * The mutation groups applied in this batch. The values index into the
    * `mutation_groups` field in the corresponding `BatchWriteRequest`.
    * 
* * repeated int32 indexes = 1; - * * @return The count of indexes. */ public int getIndexesCount() { return indexes_.size(); } /** - * - * *
    * The mutation groups applied in this batch. The values index into the
    * `mutation_groups` field in the corresponding `BatchWriteRequest`.
    * 
* * repeated int32 indexes = 1; - * * @param index The index of the element to return. * @return The indexes at the given index. */ public int getIndexes(int index) { return indexes_.getInt(index); } - private int indexesMemoizedSerializedSize = -1; public static final int STATUS_FIELD_NUMBER = 2; private com.google.rpc.Status status_; /** - * - * *
    * An `OK` status indicates success. Any other status indicates a failure.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -136,14 +105,11 @@ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * An `OK` status indicates success. Any other status indicates a failure.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -151,8 +117,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * An `OK` status indicates success. Any other status indicates a failure.
    * 
@@ -167,15 +131,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp commitTimestamp_; /** - * - * *
    * The commit timestamp of the transaction that applied this batch.
    * Present if `status` is `OK`, absent otherwise.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 3; - * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -183,26 +144,19 @@ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The commit timestamp of the transaction that applied this batch.
    * Present if `status` is `OK`, absent otherwise.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 3; - * * @return The commitTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getCommitTimestamp() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } /** - * - * *
    * The commit timestamp of the transaction that applied this batch.
    * Present if `status` is `OK`, absent otherwise.
@@ -212,13 +166,10 @@ public com.google.protobuf.Timestamp getCommitTimestamp() {
    */
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
-    return commitTimestamp_ == null
-        ? com.google.protobuf.Timestamp.getDefaultInstance()
-        : commitTimestamp_;
+    return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -230,7 +181,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
     if (getIndexesList().size() > 0) {
       output.writeUInt32NoTag(10);
@@ -257,20 +209,24 @@ public int getSerializedSize() {
     {
       int dataSize = 0;
       for (int i = 0; i < indexes_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(indexes_.getInt(i));
+        dataSize += com.google.protobuf.CodedOutputStream
+          .computeInt32SizeNoTag(indexes_.getInt(i));
       }
       size += dataSize;
       if (!getIndexesList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream
+            .computeInt32SizeNoTag(dataSize);
       }
       indexesMemoizedSerializedSize = dataSize;
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStatus());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCommitTimestamp());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getCommitTimestamp());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -280,21 +236,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.BatchWriteResponse)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.BatchWriteResponse other = (com.google.spanner.v1.BatchWriteResponse) obj;
 
-    if (!getIndexesList().equals(other.getIndexesList())) return false;
+    if (!getIndexesList()
+        .equals(other.getIndexesList())) return false;
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
     if (hasCommitTimestamp()) {
-      if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
+      if (!getCommitTimestamp()
+          .equals(other.getCommitTimestamp())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -324,127 +283,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.BatchWriteResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.BatchWriteResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.v1.BatchWriteResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.BatchWriteResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.BatchWriteResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.BatchWriteResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of applying a batch of mutations.
    * 
* * Protobuf type {@code google.spanner.v1.BatchWriteResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchWriteResponse) com.google.spanner.v1.BatchWriteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchWriteResponse.class, - com.google.spanner.v1.BatchWriteResponse.Builder.class); + com.google.spanner.v1.BatchWriteResponse.class, com.google.spanner.v1.BatchWriteResponse.Builder.class); } // Construct using com.google.spanner.v1.BatchWriteResponse.newBuilder() @@ -452,18 +404,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStatusFieldBuilder(); getCommitTimestampFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchWriteResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchWriteResponse_descriptor; } @java.lang.Override @@ -504,11 +456,8 @@ public com.google.spanner.v1.BatchWriteResponse build() { @java.lang.Override public com.google.spanner.v1.BatchWriteResponse buildPartial() { - com.google.spanner.v1.BatchWriteResponse result = - new com.google.spanner.v1.BatchWriteResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.BatchWriteResponse result = new com.google.spanner.v1.BatchWriteResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -521,12 +470,15 @@ private void buildPartial0(com.google.spanner.v1.BatchWriteResponse result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.commitTimestamp_ = - commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build(); + result.commitTimestamp_ = commitTimestampBuilder_ == null + ? commitTimestamp_ + : commitTimestampBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -536,39 +488,38 @@ private void buildPartial0(com.google.spanner.v1.BatchWriteResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.BatchWriteResponse) { - return mergeFrom((com.google.spanner.v1.BatchWriteResponse) other); + return mergeFrom((com.google.spanner.v1.BatchWriteResponse)other); } else { super.mergeFrom(other); return this; @@ -620,43 +571,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - int v = input.readInt32(); - ensureIndexesIsMutable(); - indexes_.addInt(v); - break; - } // case 8 - case 10: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureIndexesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - indexes_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } // case 10 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + int v = input.readInt32(); + ensureIndexesIsMutable(); + indexes_.addInt(v); + break; + } // case 8 + case 10: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureIndexesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + indexes_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 10 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCommitTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -666,11 +616,9 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Internal.IntList indexes_ = emptyIntList(); - private void ensureIndexesIsMutable() { if (!indexes_.isModifiable()) { indexes_ = makeMutableCopy(indexes_); @@ -678,46 +626,38 @@ private void ensureIndexesIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * The mutation groups applied in this batch. The values index into the
      * `mutation_groups` field in the corresponding `BatchWriteRequest`.
      * 
* * repeated int32 indexes = 1; - * * @return A list containing the indexes. */ - public java.util.List getIndexesList() { + public java.util.List + getIndexesList() { indexes_.makeImmutable(); return indexes_; } /** - * - * *
      * The mutation groups applied in this batch. The values index into the
      * `mutation_groups` field in the corresponding `BatchWriteRequest`.
      * 
* * repeated int32 indexes = 1; - * * @return The count of indexes. */ public int getIndexesCount() { return indexes_.size(); } /** - * - * *
      * The mutation groups applied in this batch. The values index into the
      * `mutation_groups` field in the corresponding `BatchWriteRequest`.
      * 
* * repeated int32 indexes = 1; - * * @param index The index of the element to return. * @return The indexes at the given index. */ @@ -725,20 +665,18 @@ public int getIndexes(int index) { return indexes_.getInt(index); } /** - * - * *
      * The mutation groups applied in this batch. The values index into the
      * `mutation_groups` field in the corresponding `BatchWriteRequest`.
      * 
* * repeated int32 indexes = 1; - * * @param index The index to set the value at. * @param value The indexes to set. * @return This builder for chaining. */ - public Builder setIndexes(int index, int value) { + public Builder setIndexes( + int index, int value) { ensureIndexesIsMutable(); indexes_.setInt(index, value); @@ -747,15 +685,12 @@ public Builder setIndexes(int index, int value) { return this; } /** - * - * *
      * The mutation groups applied in this batch. The values index into the
      * `mutation_groups` field in the corresponding `BatchWriteRequest`.
      * 
* * repeated int32 indexes = 1; - * * @param value The indexes to add. * @return This builder for chaining. */ @@ -768,35 +703,31 @@ public Builder addIndexes(int value) { return this; } /** - * - * *
      * The mutation groups applied in this batch. The values index into the
      * `mutation_groups` field in the corresponding `BatchWriteRequest`.
      * 
* * repeated int32 indexes = 1; - * * @param values The indexes to add. * @return This builder for chaining. */ - public Builder addAllIndexes(java.lang.Iterable values) { + public Builder addAllIndexes( + java.lang.Iterable values) { ensureIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexes_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The mutation groups applied in this batch. The values index into the
      * `mutation_groups` field in the corresponding `BatchWriteRequest`.
      * 
* * repeated int32 indexes = 1; - * * @return This builder for chaining. */ public Builder clearIndexes() { @@ -808,31 +739,24 @@ public Builder clearIndexes() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -843,8 +767,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
@@ -865,15 +787,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
* * .google.rpc.Status status = 2; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -884,8 +805,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
@@ -894,9 +813,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && status_ != null - && status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + status_ != null && + status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -911,8 +830,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
@@ -930,8 +847,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
@@ -944,8 +859,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
@@ -956,12 +869,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * An `OK` status indicates success. Any other status indicates a failure.
      * 
@@ -969,14 +881,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -984,49 +896,36 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private com.google.protobuf.Timestamp commitTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampBuilder_; /** - * - * *
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 3; - * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 3; - * * @return The commitTimestamp. */ public com.google.protobuf.Timestamp getCommitTimestamp() { if (commitTimestampBuilder_ == null) { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } else { return commitTimestampBuilder_.getMessage(); } } /** - * - * *
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
@@ -1048,8 +947,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
@@ -1057,7 +954,8 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_timestamp = 3;
      */
-    public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTimestamp(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimestampBuilder_ == null) {
         commitTimestamp_ = builderForValue.build();
       } else {
@@ -1068,8 +966,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
@@ -1079,9 +975,9 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF
      */
     public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) {
       if (commitTimestampBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && commitTimestamp_ != null
-            && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          commitTimestamp_ != null &&
+          commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimestampBuilder().mergeFrom(value);
         } else {
           commitTimestamp_ = value;
@@ -1096,8 +992,6 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
@@ -1116,8 +1010,6 @@ public Builder clearCommitTimestamp() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
@@ -1131,8 +1023,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() {
       return getCommitTimestampFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
@@ -1144,14 +1034,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
       if (commitTimestampBuilder_ != null) {
         return commitTimestampBuilder_.getMessageOrBuilder();
       } else {
-        return commitTimestamp_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : commitTimestamp_;
+        return commitTimestamp_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_;
       }
     }
     /**
-     *
-     *
      * 
      * The commit timestamp of the transaction that applied this batch.
      * Present if `status` is `OK`, absent otherwise.
@@ -1160,24 +1047,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * .google.protobuf.Timestamp commit_timestamp = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCommitTimestampFieldBuilder() {
       if (commitTimestampBuilder_ == null) {
-        commitTimestampBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCommitTimestamp(), getParentForChildren(), isClean());
+        commitTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCommitTimestamp(),
+                getParentForChildren(),
+                isClean());
         commitTimestamp_ = null;
       }
       return commitTimestampBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1187,12 +1071,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchWriteResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchWriteResponse)
   private static final com.google.spanner.v1.BatchWriteResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.BatchWriteResponse();
   }
@@ -1201,27 +1085,27 @@ public static com.google.spanner.v1.BatchWriteResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchWriteResponse 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchWriteResponse 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;
@@ -1236,4 +1120,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.BatchWriteResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponseOrBuilder.java
similarity index 78%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponseOrBuilder.java
index 02b7a9286bd..2ddb5697582 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchWriteResponseOrBuilder.java
@@ -1,97 +1,64 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface BatchWriteResponseOrBuilder
-    extends
+public interface BatchWriteResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchWriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The mutation groups applied in this batch. The values index into the
    * `mutation_groups` field in the corresponding `BatchWriteRequest`.
    * 
* * repeated int32 indexes = 1; - * * @return A list containing the indexes. */ java.util.List getIndexesList(); /** - * - * *
    * The mutation groups applied in this batch. The values index into the
    * `mutation_groups` field in the corresponding `BatchWriteRequest`.
    * 
* * repeated int32 indexes = 1; - * * @return The count of indexes. */ int getIndexesCount(); /** - * - * *
    * The mutation groups applied in this batch. The values index into the
    * `mutation_groups` field in the corresponding `BatchWriteRequest`.
    * 
* * repeated int32 indexes = 1; - * * @param index The index of the element to return. * @return The indexes at the given index. */ int getIndexes(int index); /** - * - * *
    * An `OK` status indicates success. Any other status indicates a failure.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * An `OK` status indicates success. Any other status indicates a failure.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * An `OK` status indicates success. Any other status indicates a failure.
    * 
@@ -101,34 +68,26 @@ public interface BatchWriteResponseOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * The commit timestamp of the transaction that applied this batch.
    * Present if `status` is `OK`, absent otherwise.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 3; - * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** - * - * *
    * The commit timestamp of the transaction that applied this batch.
    * Present if `status` is `OK`, absent otherwise.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 3; - * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** - * - * *
    * The commit timestamp of the transaction that applied this batch.
    * Present if `status` is `OK`, absent otherwise.
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java
similarity index 66%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java
index d1d71bf700c..9413f6a3cdc 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
@@ -29,57 +12,49 @@
  *
  * Protobuf type {@code google.spanner.v1.BeginTransactionRequest}
  */
-public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BeginTransactionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.BeginTransactionRequest)
     BeginTransactionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BeginTransactionRequest.newBuilder() to construct.
   private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BeginTransactionRequest() {
     session_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BeginTransactionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.BeginTransactionRequest.class,
-            com.google.spanner.v1.BeginTransactionRequest.Builder.class);
+            com.google.spanner.v1.BeginTransactionRequest.class, com.google.spanner.v1.BeginTransactionRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SESSION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object session_ = "";
   /**
-   *
-   *
    * 
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -88,31 +63,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -123,16 +96,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionOptions options_; /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the options field is set. */ @java.lang.Override @@ -140,47 +108,32 @@ public boolean hasOptions() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The options. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getOptions() { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } public static final int REQUEST_OPTIONS_FIELD_NUMBER = 3; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -190,7 +143,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -198,8 +150,6 @@ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -209,18 +159,13 @@ public boolean hasRequestOptions() {
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -233,13 +178,10 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() {
    */
   @java.lang.Override
   public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() {
-    return requestOptions_ == null
-        ? com.google.spanner.v1.RequestOptions.getDefaultInstance()
-        : requestOptions_;
+    return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -251,7 +193,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_);
     }
@@ -274,10 +217,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOptions());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestOptions());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRequestOptions());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -287,22 +232,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.BeginTransactionRequest)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.BeginTransactionRequest other =
-        (com.google.spanner.v1.BeginTransactionRequest) obj;
+    com.google.spanner.v1.BeginTransactionRequest other = (com.google.spanner.v1.BeginTransactionRequest) obj;
 
-    if (!getSession().equals(other.getSession())) return false;
+    if (!getSession()
+        .equals(other.getSession())) return false;
     if (hasOptions() != other.hasOptions()) return false;
     if (hasOptions()) {
-      if (!getOptions().equals(other.getOptions())) return false;
+      if (!getOptions()
+          .equals(other.getOptions())) return false;
     }
     if (hasRequestOptions() != other.hasRequestOptions()) return false;
     if (hasRequestOptions()) {
-      if (!getRequestOptions().equals(other.getRequestOptions())) return false;
+      if (!getRequestOptions()
+          .equals(other.getRequestOptions())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -330,104 +277,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.BeginTransactionRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
@@ -435,23 +377,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.BeginTransactionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.BeginTransactionRequest)
       com.google.spanner.v1.BeginTransactionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.BeginTransactionRequest.class,
-              com.google.spanner.v1.BeginTransactionRequest.Builder.class);
+              com.google.spanner.v1.BeginTransactionRequest.class, com.google.spanner.v1.BeginTransactionRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.BeginTransactionRequest.newBuilder()
@@ -459,18 +399,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOptionsFieldBuilder();
         getRequestOptionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -490,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
@@ -511,11 +451,8 @@ public com.google.spanner.v1.BeginTransactionRequest build() {
 
     @java.lang.Override
     public com.google.spanner.v1.BeginTransactionRequest buildPartial() {
-      com.google.spanner.v1.BeginTransactionRequest result =
-          new com.google.spanner.v1.BeginTransactionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.BeginTransactionRequest result = new com.google.spanner.v1.BeginTransactionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -527,12 +464,15 @@ private void buildPartial0(com.google.spanner.v1.BeginTransactionRequest result)
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build();
+        result.options_ = optionsBuilder_ == null
+            ? options_
+            : optionsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.requestOptions_ =
-            requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build();
+        result.requestOptions_ = requestOptionsBuilder_ == null
+            ? requestOptions_
+            : requestOptionsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -542,39 +482,38 @@ private void buildPartial0(com.google.spanner.v1.BeginTransactionRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.BeginTransactionRequest) {
-        return mergeFrom((com.google.spanner.v1.BeginTransactionRequest) other);
+        return mergeFrom((com.google.spanner.v1.BeginTransactionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -620,31 +559,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                session_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              session_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getRequestOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -654,27 +593,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object session_ = "";
     /**
-     *
-     *
      * 
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -683,23 +617,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -707,39 +638,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -749,23 +669,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -775,58 +689,39 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionOptions options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> - optionsBuilder_; + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> optionsBuilder_; /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the options field is set. */ public boolean hasOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The options. */ public com.google.spanner.v1.TransactionOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOptions(com.google.spanner.v1.TransactionOptions value) { if (optionsBuilder_ == null) { @@ -842,17 +737,14 @@ public Builder setOptions(com.google.spanner.v1.TransactionOptions value) { return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOptions(com.google.spanner.v1.TransactionOptions.Builder builderForValue) { + public Builder setOptions( + com.google.spanner.v1.TransactionOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); } else { @@ -863,21 +755,17 @@ public Builder setOptions(com.google.spanner.v1.TransactionOptions.Builder build return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOptions(com.google.spanner.v1.TransactionOptions value) { if (optionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && options_ != null - && options_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + options_ != null && + options_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) { getOptionsBuilder().mergeFrom(value); } else { options_ = value; @@ -892,15 +780,11 @@ public Builder mergeOptions(com.google.spanner.v1.TransactionOptions value) { return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOptions() { bitField0_ = (bitField0_ & ~0x00000002); @@ -913,15 +797,11 @@ public Builder clearOptions() { return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000002; @@ -929,48 +809,36 @@ public com.google.spanner.v1.TransactionOptions.Builder getOptionsBuilder() { return getOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? + com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); options_ = null; } return optionsBuilder_; @@ -978,13 +846,8 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -994,15 +857,12 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1012,21 +872,16 @@ public boolean hasRequestOptions() {
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1051,8 +906,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1063,7 +916,8 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) {
      *
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
-    public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) {
+    public Builder setRequestOptions(
+        com.google.spanner.v1.RequestOptions.Builder builderForValue) {
       if (requestOptionsBuilder_ == null) {
         requestOptions_ = builderForValue.build();
       } else {
@@ -1074,8 +928,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1088,9 +940,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu
      */
     public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       if (requestOptionsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && requestOptions_ != null
-            && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          requestOptions_ != null &&
+          requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) {
           getRequestOptionsBuilder().mergeFrom(value);
         } else {
           requestOptions_ = value;
@@ -1105,8 +957,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1128,8 +978,6 @@ public Builder clearRequestOptions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1146,8 +994,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() {
       return getRequestOptionsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1162,14 +1008,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
       if (requestOptionsBuilder_ != null) {
         return requestOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return requestOptions_ == null
-            ? com.google.spanner.v1.RequestOptions.getDefaultInstance()
-            : requestOptions_;
+        return requestOptions_ == null ?
+            com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_;
       }
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1181,24 +1024,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.RequestOptions,
-            com.google.spanner.v1.RequestOptions.Builder,
-            com.google.spanner.v1.RequestOptionsOrBuilder>
+        com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> 
         getRequestOptionsFieldBuilder() {
       if (requestOptionsBuilder_ == null) {
-        requestOptionsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.RequestOptions,
-                com.google.spanner.v1.RequestOptions.Builder,
-                com.google.spanner.v1.RequestOptionsOrBuilder>(
-                getRequestOptions(), getParentForChildren(), isClean());
+        requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>(
+                getRequestOptions(),
+                getParentForChildren(),
+                isClean());
         requestOptions_ = null;
       }
       return requestOptionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1208,12 +1048,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.BeginTransactionRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.BeginTransactionRequest)
   private static final com.google.spanner.v1.BeginTransactionRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.BeginTransactionRequest();
   }
@@ -1222,27 +1062,27 @@ public static com.google.spanner.v1.BeginTransactionRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BeginTransactionRequest 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BeginTransactionRequest 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;
@@ -1257,4 +1097,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.BeginTransactionRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
similarity index 63%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
index a77b0f7d4d5..ddfe82e05c6 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
@@ -1,102 +1,61 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface BeginTransactionRequestOrBuilder
-    extends
+public interface BeginTransactionRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.BeginTransactionRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the options field is set. */ boolean hasOptions(); /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The options. */ com.google.spanner.v1.TransactionOptions getOptions(); /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder(); /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -106,13 +65,10 @@ public interface BeginTransactionRequestOrBuilder
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -122,13 +78,10 @@ public interface BeginTransactionRequestOrBuilder
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
similarity index 75%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
index 2f4de4a4f46..4dde18401e2 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
@@ -20,24 +5,21 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [Commit][google.spanner.v1.Spanner.Commit].
  * 
* * Protobuf type {@code google.spanner.v1.CommitRequest} */ -public final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitRequest) CommitRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitRequest.newBuilder() to construct. private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitRequest() { session_ = ""; mutations_ = java.util.Collections.emptyList(); @@ -45,40 +27,35 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitRequest.class, - com.google.spanner.v1.CommitRequest.Builder.class); + com.google.spanner.v1.CommitRequest.class, com.google.spanner.v1.CommitRequest.Builder.class); } private int bitField0_; private int transactionCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object transaction_; - public enum TransactionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION_ID(2), SINGLE_USE_TRANSACTION(3), TRANSACTION_NOT_SET(0); private final int value; - private TransactionCase(int value) { this.value = value; } @@ -94,41 +71,32 @@ public static TransactionCase valueOf(int value) { public static TransactionCase forNumber(int value) { switch (value) { - case 2: - return TRANSACTION_ID; - case 3: - return SINGLE_USE_TRANSACTION; - case 0: - return TRANSACTION_NOT_SET; - default: - return null; + case 2: return TRANSACTION_ID; + case 3: return SINGLE_USE_TRANSACTION; + case 0: return TRANSACTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransactionCase getTransactionCase() { - return TransactionCase.forNumber(transactionCase_); + public TransactionCase + getTransactionCase() { + return TransactionCase.forNumber( + transactionCase_); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -137,31 +105,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -171,14 +137,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return Whether the transactionId field is set. */ @java.lang.Override @@ -186,14 +149,11 @@ public boolean hasTransactionId() { return transactionCase_ == 2; } /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return The transactionId. */ @java.lang.Override @@ -206,8 +166,6 @@ public com.google.protobuf.ByteString getTransactionId() { public static final int SINGLE_USE_TRANSACTION_FIELD_NUMBER = 3; /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -221,7 +179,6 @@ public com.google.protobuf.ByteString getTransactionId() {
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -229,8 +186,6 @@ public boolean hasSingleUseTransaction() { return transactionCase_ == 3; } /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -244,19 +199,16 @@ public boolean hasSingleUseTransaction() {
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return The singleUseTransaction. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() { if (transactionCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions) transaction_; + return (com.google.spanner.v1.TransactionOptions) transaction_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -274,18 +226,15 @@ public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder() {
     if (transactionCase_ == 3) {
-      return (com.google.spanner.v1.TransactionOptions) transaction_;
+       return (com.google.spanner.v1.TransactionOptions) transaction_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int MUTATIONS_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List mutations_;
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -299,8 +248,6 @@ public java.util.List getMutationsList() {
     return mutations_;
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -310,13 +257,11 @@ public java.util.List getMutationsList() {
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMutationsOrBuilderList() {
     return mutations_;
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -330,8 +275,6 @@ public int getMutationsCount() {
     return mutations_.size();
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -345,8 +288,6 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
     return mutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -356,15 +297,14 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
   @java.lang.Override
-  public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
+  public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
+      int index) {
     return mutations_.get(index);
   }
 
   public static final int RETURN_COMMIT_STATS_FIELD_NUMBER = 5;
   private boolean returnCommitStats_ = false;
   /**
-   *
-   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats].
@@ -372,7 +312,6 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
    * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ @java.lang.Override @@ -383,8 +322,6 @@ public boolean getReturnCommitStats() { public static final int MAX_COMMIT_DELAY_FIELD_NUMBER = 8; private com.google.protobuf.Duration maxCommitDelay_; /** - * - * *
    * Optional. The amount of latency this request is willing to incur in order
    * to improve throughput. If this field is not set, Spanner assumes requests
@@ -393,9 +330,7 @@ public boolean getReturnCommitStats() {
    * and 500 ms.
    * 
* - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxCommitDelay field is set. */ @java.lang.Override @@ -403,8 +338,6 @@ public boolean hasMaxCommitDelay() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Optional. The amount of latency this request is willing to incur in order
    * to improve throughput. If this field is not set, Spanner assumes requests
@@ -413,20 +346,14 @@ public boolean hasMaxCommitDelay() {
    * and 500 ms.
    * 
* - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxCommitDelay. */ @java.lang.Override public com.google.protobuf.Duration getMaxCommitDelay() { - return maxCommitDelay_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxCommitDelay_; + return maxCommitDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCommitDelay_; } /** - * - * *
    * Optional. The amount of latency this request is willing to incur in order
    * to improve throughput. If this field is not set, Spanner assumes requests
@@ -435,27 +362,21 @@ public com.google.protobuf.Duration getMaxCommitDelay() {
    * and 500 ms.
    * 
* - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMaxCommitDelayOrBuilder() { - return maxCommitDelay_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxCommitDelay_; + return maxCommitDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCommitDelay_; } public static final int REQUEST_OPTIONS_FIELD_NUMBER = 6; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -463,25 +384,18 @@ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -490,13 +404,10 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -508,12 +419,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } if (transactionCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) transaction_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) transaction_); } if (transactionCase_ == 3) { output.writeMessage(3, (com.google.spanner.v1.TransactionOptions) transaction_); @@ -543,26 +456,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transactionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) transaction_); } if (transactionCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.spanner.v1.TransactionOptions) transaction_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions) transaction_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, mutations_.get(i)); } if (returnCommitStats_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, returnCommitStats_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, returnCommitStats_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRequestOptions()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMaxCommitDelay()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getMaxCommitDelay()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -572,31 +488,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.CommitRequest)) { return super.equals(obj); } com.google.spanner.v1.CommitRequest other = (com.google.spanner.v1.CommitRequest) obj; - if (!getSession().equals(other.getSession())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; - if (getReturnCommitStats() != other.getReturnCommitStats()) return false; + if (!getSession() + .equals(other.getSession())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; + if (getReturnCommitStats() + != other.getReturnCommitStats()) return false; if (hasMaxCommitDelay() != other.hasMaxCommitDelay()) return false; if (hasMaxCommitDelay()) { - if (!getMaxCommitDelay().equals(other.getMaxCommitDelay())) return false; + if (!getMaxCommitDelay() + .equals(other.getMaxCommitDelay())) return false; } if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } if (!getTransactionCase().equals(other.getTransactionCase())) return false; switch (transactionCase_) { case 2: - if (!getTransactionId().equals(other.getTransactionId())) return false; + if (!getTransactionId() + .equals(other.getTransactionId())) return false; break; case 3: - if (!getSingleUseTransaction().equals(other.getSingleUseTransaction())) return false; + if (!getSingleUseTransaction() + .equals(other.getSingleUseTransaction())) return false; break; case 0: default: @@ -619,7 +542,8 @@ public int hashCode() { hash = (53 * hash) + getMutationsList().hashCode(); } hash = (37 * hash) + RETURN_COMMIT_STATS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnCommitStats()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReturnCommitStats()); if (hasMaxCommitDelay()) { hash = (37 * hash) + MAX_COMMIT_DELAY_FIELD_NUMBER; hash = (53 * hash) + getMaxCommitDelay().hashCode(); @@ -645,126 +569,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.CommitRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.CommitRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.CommitRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.CommitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.CommitRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.CommitRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [Commit][google.spanner.v1.Spanner.Commit].
    * 
* * Protobuf type {@code google.spanner.v1.CommitRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitRequest) com.google.spanner.v1.CommitRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitRequest.class, - com.google.spanner.v1.CommitRequest.Builder.class); + com.google.spanner.v1.CommitRequest.class, com.google.spanner.v1.CommitRequest.Builder.class); } // Construct using com.google.spanner.v1.CommitRequest.newBuilder() @@ -772,19 +690,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMutationsFieldBuilder(); getMaxCommitDelayFieldBuilder(); getRequestOptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -817,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override @@ -840,9 +758,7 @@ public com.google.spanner.v1.CommitRequest build() { public com.google.spanner.v1.CommitRequest buildPartial() { com.google.spanner.v1.CommitRequest result = new com.google.spanner.v1.CommitRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -870,13 +786,15 @@ private void buildPartial0(com.google.spanner.v1.CommitRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000020) != 0)) { - result.maxCommitDelay_ = - maxCommitDelayBuilder_ == null ? maxCommitDelay_ : maxCommitDelayBuilder_.build(); + result.maxCommitDelay_ = maxCommitDelayBuilder_ == null + ? maxCommitDelay_ + : maxCommitDelayBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.requestOptions_ = - requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); + result.requestOptions_ = requestOptionsBuilder_ == null + ? requestOptions_ + : requestOptionsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -885,7 +803,8 @@ private void buildPartial0(com.google.spanner.v1.CommitRequest result) { private void buildPartialOneofs(com.google.spanner.v1.CommitRequest result) { result.transactionCase_ = transactionCase_; result.transaction_ = this.transaction_; - if (transactionCase_ == 3 && singleUseTransactionBuilder_ != null) { + if (transactionCase_ == 3 && + singleUseTransactionBuilder_ != null) { result.transaction_ = singleUseTransactionBuilder_.build(); } } @@ -894,39 +813,38 @@ private void buildPartialOneofs(com.google.spanner.v1.CommitRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.CommitRequest) { - return mergeFrom((com.google.spanner.v1.CommitRequest) other); + return mergeFrom((com.google.spanner.v1.CommitRequest)other); } else { super.mergeFrom(other); return this; @@ -958,10 +876,9 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000008); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -977,20 +894,17 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest other) { mergeRequestOptions(other.getRequestOptions()); } switch (other.getTransactionCase()) { - case TRANSACTION_ID: - { - setTransactionId(other.getTransactionId()); - break; - } - case SINGLE_USE_TRANSACTION: - { - mergeSingleUseTransaction(other.getSingleUseTransaction()); - break; - } - case TRANSACTION_NOT_SET: - { - break; - } + case TRANSACTION_ID: { + setTransactionId(other.getTransactionId()); + break; + } + case SINGLE_USE_TRANSACTION: { + mergeSingleUseTransaction(other.getSingleUseTransaction()); + break; + } + case TRANSACTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1018,62 +932,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - transaction_ = input.readBytes(); - transactionCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getSingleUseTransactionFieldBuilder().getBuilder(), extensionRegistry); - transactionCase_ = 3; - break; - } // case 26 - case 34: - { - com.google.spanner.v1.Mutation m = - input.readMessage(com.google.spanner.v1.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: - { - returnCommitStats_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 66: - { - input.readMessage(getMaxCommitDelayFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + transaction_ = input.readBytes(); + transactionCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getSingleUseTransactionFieldBuilder().getBuilder(), + extensionRegistry); + transactionCase_ = 3; + break; + } // case 26 + case 34: { + com.google.spanner.v1.Mutation m = + input.readMessage( + com.google.spanner.v1.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: { + returnCommitStats_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + getRequestOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 66: { + input.readMessage( + getMaxCommitDelayFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + 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) { @@ -1083,12 +996,12 @@ public Builder mergeFrom( } // finally return this; } - private int transactionCase_ = 0; private java.lang.Object transaction_; - - public TransactionCase getTransactionCase() { - return TransactionCase.forNumber(transactionCase_); + public TransactionCase + getTransactionCase() { + return TransactionCase.forNumber( + transactionCase_); } public Builder clearTransaction() { @@ -1102,22 +1015,18 @@ public Builder clearTransaction() { private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1126,23 +1035,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1150,39 +1056,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1192,23 +1087,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1217,28 +1106,22 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @return Whether the transactionId field is set. */ public boolean hasTransactionId() { return transactionCase_ == 2; } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @return The transactionId. */ public com.google.protobuf.ByteString getTransactionId() { @@ -1248,35 +1131,27 @@ public com.google.protobuf.ByteString getTransactionId() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transactionCase_ = 2; transaction_ = value; onChanged(); return this; } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @return This builder for chaining. */ public Builder clearTransactionId() { @@ -1289,13 +1164,8 @@ public Builder clearTransactionId() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> - singleUseTransactionBuilder_; + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> singleUseTransactionBuilder_; /** - * - * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1309,7 +1179,6 @@ public Builder clearTransactionId() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -1317,8 +1186,6 @@ public boolean hasSingleUseTransaction() { return transactionCase_ == 3; } /** - * - * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1332,7 +1199,6 @@ public boolean hasSingleUseTransaction() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return The singleUseTransaction. */ @java.lang.Override @@ -1350,8 +1216,6 @@ public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() { } } /** - * - * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1380,8 +1244,6 @@ public Builder setSingleUseTransaction(com.google.spanner.v1.TransactionOptions
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1408,8 +1270,6 @@ public Builder setSingleUseTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1426,13 +1286,10 @@ public Builder setSingleUseTransaction(
      */
     public Builder mergeSingleUseTransaction(com.google.spanner.v1.TransactionOptions value) {
       if (singleUseTransactionBuilder_ == null) {
-        if (transactionCase_ == 3
-            && transaction_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          transaction_ =
-              com.google.spanner.v1.TransactionOptions.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions) transaction_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (transactionCase_ == 3 &&
+            transaction_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          transaction_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) transaction_)
+              .mergeFrom(value).buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1448,8 +1305,6 @@ public Builder mergeSingleUseTransaction(com.google.spanner.v1.TransactionOption
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1481,8 +1336,6 @@ public Builder clearSingleUseTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1501,8 +1354,6 @@ public com.google.spanner.v1.TransactionOptions.Builder getSingleUseTransactionB
       return getSingleUseTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1529,8 +1380,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
       }
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1546,19 +1395,14 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
      * .google.spanner.v1.TransactionOptions single_use_transaction = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
         getSingleUseTransactionFieldBuilder() {
       if (singleUseTransactionBuilder_ == null) {
         if (!(transactionCase_ == 3)) {
           transaction_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseTransactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions,
-                com.google.spanner.v1.TransactionOptions.Builder,
-                com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        singleUseTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) transaction_,
                 getParentForChildren(),
                 isClean());
@@ -1570,24 +1414,18 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
     }
 
     private java.util.List mutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMutationsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         mutations_ = new java.util.ArrayList(mutations_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.Mutation,
-            com.google.spanner.v1.Mutation.Builder,
-            com.google.spanner.v1.MutationOrBuilder>
-        mutationsBuilder_;
+        com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> mutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1604,8 +1442,6 @@ public java.util.List getMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1622,8 +1458,6 @@ public int getMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1640,8 +1474,6 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1650,7 +1482,8 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder setMutations(int index, com.google.spanner.v1.Mutation value) {
+    public Builder setMutations(
+        int index, com.google.spanner.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1664,8 +1497,6 @@ public Builder setMutations(int index, com.google.spanner.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1674,7 +1505,8 @@ public Builder setMutations(int index, com.google.spanner.v1.Mutation value) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder setMutations(int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder setMutations(
+        int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.set(index, builderForValue.build());
@@ -1685,8 +1517,6 @@ public Builder setMutations(int index, com.google.spanner.v1.Mutation.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1709,8 +1539,6 @@ public Builder addMutations(com.google.spanner.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1719,7 +1547,8 @@ public Builder addMutations(com.google.spanner.v1.Mutation value) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(int index, com.google.spanner.v1.Mutation value) {
+    public Builder addMutations(
+        int index, com.google.spanner.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1733,8 +1562,6 @@ public Builder addMutations(int index, com.google.spanner.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1743,7 +1570,8 @@ public Builder addMutations(int index, com.google.spanner.v1.Mutation value) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(
+        com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(builderForValue.build());
@@ -1754,8 +1582,6 @@ public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1764,7 +1590,8 @@ public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForVal
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(
+        int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(index, builderForValue.build());
@@ -1775,8 +1602,6 @@ public Builder addMutations(int index, com.google.spanner.v1.Mutation.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1789,7 +1614,8 @@ public Builder addAllMutations(
         java.lang.Iterable values) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, mutations_);
         onChanged();
       } else {
         mutationsBuilder_.addAllMessages(values);
@@ -1797,8 +1623,6 @@ public Builder addAllMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1818,8 +1642,6 @@ public Builder clearMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1839,8 +1661,6 @@ public Builder removeMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1849,12 +1669,11 @@ public Builder removeMutations(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(int index) {
+    public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(
+        int index) {
       return getMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1863,16 +1682,14 @@ public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
+    public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
+        int index) {
       if (mutationsBuilder_ == null) {
-        return mutations_.get(index);
-      } else {
+        return mutations_.get(index);  } else {
         return mutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1881,8 +1698,8 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public java.util.List
-        getMutationsOrBuilderList() {
+    public java.util.List 
+         getMutationsOrBuilderList() {
       if (mutationsBuilder_ != null) {
         return mutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1890,8 +1707,6 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1901,12 +1716,10 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
     public com.google.spanner.v1.Mutation.Builder addMutationsBuilder() {
-      return getMutationsFieldBuilder()
-          .addBuilder(com.google.spanner.v1.Mutation.getDefaultInstance());
+      return getMutationsFieldBuilder().addBuilder(
+          com.google.spanner.v1.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1915,13 +1728,12 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder() {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(int index) {
-      return getMutationsFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.Mutation.getDefaultInstance());
+    public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(
+        int index) {
+      return getMutationsFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1930,31 +1742,27 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public java.util.List getMutationsBuilderList() {
+    public java.util.List 
+         getMutationsBuilderList() {
       return getMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.Mutation,
-            com.google.spanner.v1.Mutation.Builder,
-            com.google.spanner.v1.MutationOrBuilder>
+        com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> 
         getMutationsFieldBuilder() {
       if (mutationsBuilder_ == null) {
-        mutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.Mutation,
-                com.google.spanner.v1.Mutation.Builder,
-                com.google.spanner.v1.MutationOrBuilder>(
-                mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder>(
+                mutations_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         mutations_ = null;
       }
       return mutationsBuilder_;
     }
 
-    private boolean returnCommitStats_;
+    private boolean returnCommitStats_ ;
     /**
-     *
-     *
      * 
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats].
@@ -1962,7 +1770,6 @@ public java.util.List getMutationsBuilde
      * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ @java.lang.Override @@ -1970,8 +1777,6 @@ public boolean getReturnCommitStats() { return returnCommitStats_; } /** - * - * *
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats].
@@ -1979,7 +1784,6 @@ public boolean getReturnCommitStats() {
      * 
* * bool return_commit_stats = 5; - * * @param value The returnCommitStats to set. * @return This builder for chaining. */ @@ -1991,8 +1795,6 @@ public Builder setReturnCommitStats(boolean value) { return this; } /** - * - * *
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats].
@@ -2000,7 +1802,6 @@ public Builder setReturnCommitStats(boolean value) {
      * 
* * bool return_commit_stats = 5; - * * @return This builder for chaining. */ public Builder clearReturnCommitStats() { @@ -2012,13 +1813,8 @@ public Builder clearReturnCommitStats() { private com.google.protobuf.Duration maxCommitDelay_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxCommitDelayBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxCommitDelayBuilder_; /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2027,18 +1823,13 @@ public Builder clearReturnCommitStats() {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxCommitDelay field is set. */ public boolean hasMaxCommitDelay() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2047,24 +1838,17 @@ public boolean hasMaxCommitDelay() {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxCommitDelay. */ public com.google.protobuf.Duration getMaxCommitDelay() { if (maxCommitDelayBuilder_ == null) { - return maxCommitDelay_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxCommitDelay_; + return maxCommitDelay_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCommitDelay_; } else { return maxCommitDelayBuilder_.getMessage(); } } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2073,9 +1857,7 @@ public com.google.protobuf.Duration getMaxCommitDelay() {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMaxCommitDelay(com.google.protobuf.Duration value) { if (maxCommitDelayBuilder_ == null) { @@ -2091,8 +1873,6 @@ public Builder setMaxCommitDelay(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2101,11 +1881,10 @@ public Builder setMaxCommitDelay(com.google.protobuf.Duration value) {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setMaxCommitDelay(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setMaxCommitDelay( + com.google.protobuf.Duration.Builder builderForValue) { if (maxCommitDelayBuilder_ == null) { maxCommitDelay_ = builderForValue.build(); } else { @@ -2116,8 +1895,6 @@ public Builder setMaxCommitDelay(com.google.protobuf.Duration.Builder builderFor return this; } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2126,15 +1903,13 @@ public Builder setMaxCommitDelay(com.google.protobuf.Duration.Builder builderFor
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMaxCommitDelay(com.google.protobuf.Duration value) { if (maxCommitDelayBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && maxCommitDelay_ != null - && maxCommitDelay_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + maxCommitDelay_ != null && + maxCommitDelay_ != com.google.protobuf.Duration.getDefaultInstance()) { getMaxCommitDelayBuilder().mergeFrom(value); } else { maxCommitDelay_ = value; @@ -2149,8 +1924,6 @@ public Builder mergeMaxCommitDelay(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2159,9 +1932,7 @@ public Builder mergeMaxCommitDelay(com.google.protobuf.Duration value) {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMaxCommitDelay() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2174,8 +1945,6 @@ public Builder clearMaxCommitDelay() { return this; } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2184,9 +1953,7 @@ public Builder clearMaxCommitDelay() {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getMaxCommitDelayBuilder() { bitField0_ |= 0x00000020; @@ -2194,8 +1961,6 @@ public com.google.protobuf.Duration.Builder getMaxCommitDelayBuilder() { return getMaxCommitDelayFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2204,22 +1969,17 @@ public com.google.protobuf.Duration.Builder getMaxCommitDelayBuilder() {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getMaxCommitDelayOrBuilder() { if (maxCommitDelayBuilder_ != null) { return maxCommitDelayBuilder_.getMessageOrBuilder(); } else { - return maxCommitDelay_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxCommitDelay_; + return maxCommitDelay_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : maxCommitDelay_; } } /** - * - * *
      * Optional. The amount of latency this request is willing to incur in order
      * to improve throughput. If this field is not set, Spanner assumes requests
@@ -2228,22 +1988,17 @@ public com.google.protobuf.DurationOrBuilder getMaxCommitDelayOrBuilder() {
      * and 500 ms.
      * 
* - * - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMaxCommitDelayFieldBuilder() { if (maxCommitDelayBuilder_ == null) { - maxCommitDelayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getMaxCommitDelay(), getParentForChildren(), isClean()); + maxCommitDelayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getMaxCommitDelay(), + getParentForChildren(), + isClean()); maxCommitDelay_ = null; } return maxCommitDelayBuilder_; @@ -2251,47 +2006,34 @@ public com.google.protobuf.DurationOrBuilder getMaxCommitDelayOrBuilder() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -2312,15 +2054,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -2331,8 +2072,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2341,9 +2080,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -2358,8 +2097,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2377,8 +2114,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2391,8 +2126,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -2403,14 +2136,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -2418,24 +2148,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2445,12 +2172,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitRequest) private static final com.google.spanner.v1.CommitRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.CommitRequest(); } @@ -2459,27 +2186,27 @@ public static com.google.spanner.v1.CommitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitRequest 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; @@ -2494,4 +2221,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java index 30b844c195f..6144be7b50d 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java @@ -1,86 +1,53 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface CommitRequestOrBuilder - extends +public interface CommitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return Whether the transactionId field is set. */ boolean hasTransactionId(); /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return The transactionId. */ com.google.protobuf.ByteString getTransactionId(); /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -94,13 +61,10 @@ public interface CommitRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return Whether the singleUseTransaction field is set. */ boolean hasSingleUseTransaction(); /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -114,13 +78,10 @@ public interface CommitRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return The singleUseTransaction. */ com.google.spanner.v1.TransactionOptions getSingleUseTransaction(); /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -138,8 +99,6 @@ public interface CommitRequestOrBuilder
   com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -148,10 +107,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  java.util.List getMutationsList();
+  java.util.List 
+      getMutationsList();
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -162,8 +120,6 @@ public interface CommitRequestOrBuilder
    */
   com.google.spanner.v1.Mutation getMutations(int index);
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -174,8 +130,6 @@ public interface CommitRequestOrBuilder
    */
   int getMutationsCount();
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -184,10 +138,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  java.util.List getMutationsOrBuilderList();
+  java.util.List 
+      getMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -196,11 +149,10 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index);
+  com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats].
@@ -208,14 +160,11 @@ public interface CommitRequestOrBuilder
    * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ boolean getReturnCommitStats(); /** - * - * *
    * Optional. The amount of latency this request is willing to incur in order
    * to improve throughput. If this field is not set, Spanner assumes requests
@@ -224,15 +173,11 @@ public interface CommitRequestOrBuilder
    * and 500 ms.
    * 
* - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the maxCommitDelay field is set. */ boolean hasMaxCommitDelay(); /** - * - * *
    * Optional. The amount of latency this request is willing to incur in order
    * to improve throughput. If this field is not set, Spanner assumes requests
@@ -241,15 +186,11 @@ public interface CommitRequestOrBuilder
    * and 500 ms.
    * 
* - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The maxCommitDelay. */ com.google.protobuf.Duration getMaxCommitDelay(); /** - * - * *
    * Optional. The amount of latency this request is willing to incur in order
    * to improve throughput. If this field is not set, Spanner assumes requests
@@ -258,38 +199,29 @@ public interface CommitRequestOrBuilder
    * and 500 ms.
    * 
* - * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration max_commit_delay = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getMaxCommitDelayOrBuilder(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java similarity index 71% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java index b04a6b9825e..55a91d47540 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/commit_response.proto @@ -20,55 +5,49 @@ package com.google.spanner.v1; /** - * - * *
  * The response for [Commit][google.spanner.v1.Spanner.Commit].
  * 
* * Protobuf type {@code google.spanner.v1.CommitResponse} */ -public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitResponse) CommitResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommitResponse() {} + private CommitResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.class, - com.google.spanner.v1.CommitResponse.Builder.class); + com.google.spanner.v1.CommitResponse.class, com.google.spanner.v1.CommitResponse.Builder.class); } - public interface CommitStatsOrBuilder - extends + public interface CommitStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitResponse.CommitStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The total number of mutations for the transaction. Knowing the
      * `mutation_count` value can help you maximize the number of mutations
@@ -80,58 +59,52 @@ public interface CommitStatsOrBuilder
      * 
* * int64 mutation_count = 1; - * * @return The mutationCount. */ long getMutationCount(); } /** - * - * *
    * Additional statistics about a commit.
    * 
* * Protobuf type {@code google.spanner.v1.CommitResponse.CommitStats} */ - public static final class CommitStats extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CommitStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitResponse.CommitStats) CommitStatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitStats.newBuilder() to construct. private CommitStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommitStats() {} + private CommitStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitStats(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.CommitStats.class, - com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); + com.google.spanner.v1.CommitResponse.CommitStats.class, com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); } public static final int MUTATION_COUNT_FIELD_NUMBER = 1; private long mutationCount_ = 0L; /** - * - * *
      * The total number of mutations for the transaction. Knowing the
      * `mutation_count` value can help you maximize the number of mutations
@@ -143,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int64 mutation_count = 1; - * * @return The mutationCount. */ @java.lang.Override @@ -152,7 +124,6 @@ public long getMutationCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mutationCount_ != 0L) { output.writeInt64(1, mutationCount_); } @@ -178,7 +150,8 @@ public int getSerializedSize() { size = 0; if (mutationCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, mutationCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, mutationCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -188,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.CommitResponse.CommitStats)) { return super.equals(obj); } - com.google.spanner.v1.CommitResponse.CommitStats other = - (com.google.spanner.v1.CommitResponse.CommitStats) obj; + com.google.spanner.v1.CommitResponse.CommitStats other = (com.google.spanner.v1.CommitResponse.CommitStats) obj; - if (getMutationCount() != other.getMutationCount()) return false; + if (getMutationCount() + != other.getMutationCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -209,100 +182,97 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MUTATION_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMutationCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMutationCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.CommitResponse.CommitStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -312,41 +282,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Additional statistics about a commit.
      * 
* * Protobuf type {@code google.spanner.v1.CommitResponse.CommitStats} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitResponse.CommitStats) com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.CommitStats.class, - com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); + com.google.spanner.v1.CommitResponse.CommitStats.class, com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); } // Construct using com.google.spanner.v1.CommitResponse.CommitStats.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -356,9 +324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override @@ -377,11 +345,8 @@ public com.google.spanner.v1.CommitResponse.CommitStats build() { @java.lang.Override public com.google.spanner.v1.CommitResponse.CommitStats buildPartial() { - com.google.spanner.v1.CommitResponse.CommitStats result = - new com.google.spanner.v1.CommitResponse.CommitStats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.CommitResponse.CommitStats result = new com.google.spanner.v1.CommitResponse.CommitStats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -397,41 +362,38 @@ private void buildPartial0(com.google.spanner.v1.CommitResponse.CommitStats resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.CommitResponse.CommitStats) { - return mergeFrom((com.google.spanner.v1.CommitResponse.CommitStats) other); + return mergeFrom((com.google.spanner.v1.CommitResponse.CommitStats)other); } else { super.mergeFrom(other); return this; @@ -439,8 +401,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.CommitResponse.CommitStats other) { - if (other == com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) return this; if (other.getMutationCount() != 0L) { setMutationCount(other.getMutationCount()); } @@ -470,19 +431,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - mutationCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + mutationCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + 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) { @@ -492,13 +451,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long mutationCount_; + private long mutationCount_ ; /** - * - * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -510,7 +466,6 @@ public Builder mergeFrom(
        * 
* * int64 mutation_count = 1; - * * @return The mutationCount. */ @java.lang.Override @@ -518,8 +473,6 @@ public long getMutationCount() { return mutationCount_; } /** - * - * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -531,7 +484,6 @@ public long getMutationCount() {
        * 
* * int64 mutation_count = 1; - * * @param value The mutationCount to set. * @return This builder for chaining. */ @@ -543,8 +495,6 @@ public Builder setMutationCount(long value) { return this; } /** - * - * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -556,7 +506,6 @@ public Builder setMutationCount(long value) {
        * 
* * int64 mutation_count = 1; - * * @return This builder for chaining. */ public Builder clearMutationCount() { @@ -565,7 +514,6 @@ public Builder clearMutationCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -578,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitResponse.CommitStats) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitResponse.CommitStats) private static final com.google.spanner.v1.CommitResponse.CommitStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.CommitResponse.CommitStats(); } @@ -592,28 +540,27 @@ public static com.google.spanner.v1.CommitResponse.CommitStats getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitStats 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitStats 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; @@ -628,20 +575,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CommitResponse.CommitStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp commitTimestamp_; /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -649,25 +594,18 @@ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return The commitTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getCommitTimestamp() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
@@ -676,16 +614,12 @@ public com.google.protobuf.Timestamp getCommitTimestamp() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } public static final int COMMIT_STATS_FIELD_NUMBER = 2; private com.google.spanner.v1.CommitResponse.CommitStats commitStats_; /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -693,7 +627,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return Whether the commitStats field is set. */ @java.lang.Override @@ -701,8 +634,6 @@ public boolean hasCommitStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -710,18 +641,13 @@ public boolean hasCommitStats() {
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return The commitStats. */ @java.lang.Override public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() { - return commitStats_ == null - ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() - : commitStats_; + return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_; } /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -732,13 +658,10 @@ public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() {
    */
   @java.lang.Override
   public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder() {
-    return commitStats_ == null
-        ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()
-        : commitStats_;
+    return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -750,7 +673,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getCommitTimestamp());
     }
@@ -767,10 +691,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTimestamp());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCommitTimestamp());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCommitStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCommitStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -780,7 +706,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.CommitResponse)) {
       return super.equals(obj);
@@ -789,11 +715,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
     if (hasCommitTimestamp()) {
-      if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
+      if (!getCommitTimestamp()
+          .equals(other.getCommitTimestamp())) return false;
     }
     if (hasCommitStats() != other.hasCommitStats()) return false;
     if (hasCommitStats()) {
-      if (!getCommitStats().equals(other.getCommitStats())) return false;
+      if (!getCommitStats()
+          .equals(other.getCommitStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -819,126 +747,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.CommitResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.CommitResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.CommitResponse parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.CommitResponse parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.CommitResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.CommitResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.CommitResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response for [Commit][google.spanner.v1.Spanner.Commit].
    * 
* * Protobuf type {@code google.spanner.v1.CommitResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitResponse) com.google.spanner.v1.CommitResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.class, - com.google.spanner.v1.CommitResponse.Builder.class); + com.google.spanner.v1.CommitResponse.class, com.google.spanner.v1.CommitResponse.Builder.class); } // Construct using com.google.spanner.v1.CommitResponse.newBuilder() @@ -946,18 +868,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCommitTimestampFieldBuilder(); getCommitStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -976,9 +898,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override @@ -998,9 +920,7 @@ public com.google.spanner.v1.CommitResponse build() { @java.lang.Override public com.google.spanner.v1.CommitResponse buildPartial() { com.google.spanner.v1.CommitResponse result = new com.google.spanner.v1.CommitResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1009,13 +929,15 @@ private void buildPartial0(com.google.spanner.v1.CommitResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTimestamp_ = - commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build(); + result.commitTimestamp_ = commitTimestampBuilder_ == null + ? commitTimestamp_ + : commitTimestampBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.commitStats_ = - commitStatsBuilder_ == null ? commitStats_ : commitStatsBuilder_.build(); + result.commitStats_ = commitStatsBuilder_ == null + ? commitStats_ + : commitStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -1025,39 +947,38 @@ private void buildPartial0(com.google.spanner.v1.CommitResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.CommitResponse) { - return mergeFrom((com.google.spanner.v1.CommitResponse) other); + return mergeFrom((com.google.spanner.v1.CommitResponse)other); } else { super.mergeFrom(other); return this; @@ -1098,25 +1019,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCommitStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommitTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCommitStatsFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -1126,52 +1048,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp commitTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampBuilder_; /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return The commitTimestamp. */ public com.google.protobuf.Timestamp getCommitTimestamp() { if (commitTimestampBuilder_ == null) { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } else { return commitTimestampBuilder_.getMessage(); } } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1192,15 +1100,14 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; */ - public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimestampBuilder_ == null) { commitTimestamp_ = builderForValue.build(); } else { @@ -1211,8 +1118,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1221,9 +1126,9 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && commitTimestamp_ != null - && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + commitTimestamp_ != null && + commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimestampBuilder().mergeFrom(value); } else { commitTimestamp_ = value; @@ -1238,8 +1143,6 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1257,8 +1160,6 @@ public Builder clearCommitTimestamp() { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1271,8 +1172,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { return getCommitTimestampFieldBuilder().getBuilder(); } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1283,14 +1182,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { if (commitTimestampBuilder_ != null) { return commitTimestampBuilder_.getMessageOrBuilder(); } else { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1298,17 +1194,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { * .google.protobuf.Timestamp commit_timestamp = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCommitTimestampFieldBuilder() { if (commitTimestampBuilder_ == null) { - commitTimestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCommitTimestamp(), getParentForChildren(), isClean()); + commitTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCommitTimestamp(), + getParentForChildren(), + isClean()); commitTimestamp_ = null; } return commitTimestampBuilder_; @@ -1316,13 +1209,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { private com.google.spanner.v1.CommitResponse.CommitStats commitStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.CommitResponse.CommitStats, - com.google.spanner.v1.CommitResponse.CommitStats.Builder, - com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> - commitStatsBuilder_; + com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> commitStatsBuilder_; /** - * - * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1330,15 +1218,12 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return Whether the commitStats field is set. */ public boolean hasCommitStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1346,21 +1231,16 @@ public boolean hasCommitStats() {
      * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return The commitStats. */ public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() { if (commitStatsBuilder_ == null) { - return commitStats_ == null - ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() - : commitStats_; + return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_; } else { return commitStatsBuilder_.getMessage(); } } /** - * - * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1383,8 +1263,6 @@ public Builder setCommitStats(com.google.spanner.v1.CommitResponse.CommitStats v
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1405,8 +1283,6 @@ public Builder setCommitStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1417,10 +1293,9 @@ public Builder setCommitStats(
      */
     public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats value) {
       if (commitStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && commitStats_ != null
-            && commitStats_
-                != com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          commitStats_ != null &&
+          commitStats_ != com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) {
           getCommitStatsBuilder().mergeFrom(value);
         } else {
           commitStats_ = value;
@@ -1435,8 +1310,6 @@ public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1456,8 +1329,6 @@ public Builder clearCommitStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1472,8 +1343,6 @@ public com.google.spanner.v1.CommitResponse.CommitStats.Builder getCommitStatsBu
       return getCommitStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1486,14 +1355,11 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
       if (commitStatsBuilder_ != null) {
         return commitStatsBuilder_.getMessageOrBuilder();
       } else {
-        return commitStats_ == null
-            ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()
-            : commitStats_;
+        return commitStats_ == null ?
+            com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_;
       }
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1503,24 +1369,21 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
      * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.CommitResponse.CommitStats,
-            com.google.spanner.v1.CommitResponse.CommitStats.Builder,
-            com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>
+        com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> 
         getCommitStatsFieldBuilder() {
       if (commitStatsBuilder_ == null) {
-        commitStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.CommitResponse.CommitStats,
-                com.google.spanner.v1.CommitResponse.CommitStats.Builder,
-                com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>(
-                getCommitStats(), getParentForChildren(), isClean());
+        commitStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>(
+                getCommitStats(),
+                getParentForChildren(),
+                isClean());
         commitStats_ = null;
       }
       return commitStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1530,12 +1393,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitResponse)
   private static final com.google.spanner.v1.CommitResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.CommitResponse();
   }
@@ -1544,27 +1407,27 @@ public static com.google.spanner.v1.CommitResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommitResponse 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommitResponse 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;
@@ -1579,4 +1442,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.CommitResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
similarity index 75%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
index 3057af243c3..ac348c72970 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/commit_response.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface CommitResponseOrBuilder
-    extends
+public interface CommitResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
@@ -60,8 +36,6 @@ public interface CommitResponseOrBuilder com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder(); /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -69,13 +43,10 @@ public interface CommitResponseOrBuilder
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return Whether the commitStats field is set. */ boolean hasCommitStats(); /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -83,13 +54,10 @@ public interface CommitResponseOrBuilder
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return The commitStats. */ com.google.spanner.v1.CommitResponse.CommitStats getCommitStats(); /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java
new file mode 100644
index 00000000000..0fc3c698217
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java
@@ -0,0 +1,71 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/commit_response.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.spanner.v1;
+
+public final class CommitResponseProto {
+  private CommitResponseProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_CommitResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_CommitResponse_CommitStats_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\'google/spanner/v1/commit_response.prot" +
+      "o\022\021google.spanner.v1\032\037google/protobuf/ti" +
+      "mestamp.proto\"\262\001\n\016CommitResponse\0224\n\020comm" +
+      "it_timestamp\030\001 \001(\0132\032.google.protobuf.Tim" +
+      "estamp\022C\n\014commit_stats\030\002 \001(\0132-.google.sp" +
+      "anner.v1.CommitResponse.CommitStats\032%\n\013C" +
+      "ommitStats\022\026\n\016mutation_count\030\001 \001(\003B\266\001\n\025c" +
+      "om.google.spanner.v1B\023CommitResponseProt" +
+      "oP\001Z5cloud.google.com/go/spanner/apiv1/s" +
+      "pannerpb;spannerpb\252\002\027Google.Cloud.Spanne" +
+      "r.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google:" +
+      ":Cloud::Spanner::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_CommitResponse_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_CommitResponse_descriptor,
+        new java.lang.String[] { "CommitTimestamp", "CommitStats", });
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor =
+      internal_static_google_spanner_v1_CommitResponse_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor,
+        new java.lang.String[] { "MutationCount", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
similarity index 65%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
index 710971c2464..b60cf0f704b 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
@@ -20,65 +5,55 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
  * 
* * Protobuf type {@code google.spanner.v1.CreateSessionRequest} */ -public final class CreateSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CreateSessionRequest) CreateSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSessionRequest.newBuilder() to construct. private CreateSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSessionRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSessionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CreateSessionRequest.class, - com.google.spanner.v1.CreateSessionRequest.Builder.class); + com.google.spanner.v1.CreateSessionRequest.class, com.google.spanner.v1.CreateSessionRequest.Builder.class); } private int bitField0_; public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -87,31 +62,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -122,14 +95,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int SESSION_FIELD_NUMBER = 2; private com.google.spanner.v1.Session session_; /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the session field is set. */ @java.lang.Override @@ -137,14 +107,11 @@ public boolean hasSession() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The session. */ @java.lang.Override @@ -152,8 +119,6 @@ public com.google.spanner.v1.Session getSession() { return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; } /** - * - * *
    * Required. The session to create.
    * 
@@ -166,7 +131,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +142,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -198,7 +163,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSession()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSession()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -208,18 +174,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.CreateSessionRequest)) { return super.equals(obj); } - com.google.spanner.v1.CreateSessionRequest other = - (com.google.spanner.v1.CreateSessionRequest) obj; + com.google.spanner.v1.CreateSessionRequest other = (com.google.spanner.v1.CreateSessionRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (hasSession() != other.hasSession()) return false; if (hasSession()) { - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -243,127 +210,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.CreateSessionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.CreateSessionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.CreateSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
    * 
* * Protobuf type {@code google.spanner.v1.CreateSessionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CreateSessionRequest) com.google.spanner.v1.CreateSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CreateSessionRequest.class, - com.google.spanner.v1.CreateSessionRequest.Builder.class); + com.google.spanner.v1.CreateSessionRequest.class, com.google.spanner.v1.CreateSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.CreateSessionRequest.newBuilder() @@ -371,17 +331,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getSessionFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +356,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override @@ -417,11 +377,8 @@ public com.google.spanner.v1.CreateSessionRequest build() { @java.lang.Override public com.google.spanner.v1.CreateSessionRequest buildPartial() { - com.google.spanner.v1.CreateSessionRequest result = - new com.google.spanner.v1.CreateSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.CreateSessionRequest result = new com.google.spanner.v1.CreateSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -433,7 +390,9 @@ private void buildPartial0(com.google.spanner.v1.CreateSessionRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.session_ = sessionBuilder_ == null ? session_ : sessionBuilder_.build(); + result.session_ = sessionBuilder_ == null + ? session_ + : sessionBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -443,39 +402,38 @@ private void buildPartial0(com.google.spanner.v1.CreateSessionRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.CreateSessionRequest) { - return mergeFrom((com.google.spanner.v1.CreateSessionRequest) other); + return mergeFrom((com.google.spanner.v1.CreateSessionRequest)other); } else { super.mergeFrom(other); return this; @@ -518,25 +476,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getSessionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getSessionFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -546,27 +503,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -575,23 +527,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -599,39 +548,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -641,23 +579,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -667,35 +599,24 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Session session_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> - sessionBuilder_; + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionBuilder_; /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The session. */ public com.google.spanner.v1.Session getSession() { @@ -706,14 +627,11 @@ public com.google.spanner.v1.Session getSession() { } } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSession(com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { @@ -729,16 +647,14 @@ public Builder setSession(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSession(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSession( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { session_ = builderForValue.build(); } else { @@ -749,20 +665,17 @@ public Builder setSession(com.google.spanner.v1.Session.Builder builderForValue) return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSession(com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && session_ != null - && session_ != com.google.spanner.v1.Session.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + session_ != null && + session_ != com.google.spanner.v1.Session.getDefaultInstance()) { getSessionBuilder().mergeFrom(value); } else { session_ = value; @@ -777,14 +690,11 @@ public Builder mergeSession(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000002); @@ -797,14 +707,11 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.Session.Builder getSessionBuilder() { bitField0_ |= 0x00000002; @@ -812,51 +719,43 @@ public com.google.spanner.v1.Session.Builder getSessionBuilder() { return getSessionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { - return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; + return session_ == null ? + com.google.spanner.v1.Session.getDefaultInstance() : session_; } } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - getSession(), getParentForChildren(), isClean()); + sessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + getSession(), + getParentForChildren(), + isClean()); session_ = null; } return sessionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +765,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.CreateSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CreateSessionRequest) private static final com.google.spanner.v1.CreateSessionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.CreateSessionRequest(); } @@ -880,27 +779,27 @@ public static com.google.spanner.v1.CreateSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSessionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSessionRequest 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; @@ -915,4 +814,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CreateSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java index 2c6e1e16d99..982c0998c9a 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java @@ -1,85 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface CreateSessionRequestOrBuilder - extends +public interface CreateSessionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CreateSessionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the session field is set. */ boolean hasSession(); /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The session. */ com.google.spanner.v1.Session getSession(); /** - * - * *
    * Required. The session to create.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java similarity index 61% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java index 7be12c31fda..997017a7c50 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,64 +5,54 @@ package com.google.spanner.v1; /** - * - * *
  * The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
  * 
* * Protobuf type {@code google.spanner.v1.DeleteSessionRequest} */ -public final class DeleteSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.DeleteSessionRequest) DeleteSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteSessionRequest.newBuilder() to construct. private DeleteSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteSessionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteSessionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.DeleteSessionRequest.class, - com.google.spanner.v1.DeleteSessionRequest.Builder.class); + com.google.spanner.v1.DeleteSessionRequest.class, com.google.spanner.v1.DeleteSessionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the session to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the session to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -155,15 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.DeleteSessionRequest)) { return super.equals(obj); } - com.google.spanner.v1.DeleteSessionRequest other = - (com.google.spanner.v1.DeleteSessionRequest) obj; + com.google.spanner.v1.DeleteSessionRequest other = (com.google.spanner.v1.DeleteSessionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,136 +155,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.DeleteSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
    * 
* * Protobuf type {@code google.spanner.v1.DeleteSessionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.DeleteSessionRequest) com.google.spanner.v1.DeleteSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.DeleteSessionRequest.class, - com.google.spanner.v1.DeleteSessionRequest.Builder.class); + com.google.spanner.v1.DeleteSessionRequest.class, com.google.spanner.v1.DeleteSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.DeleteSessionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override @@ -342,11 +311,8 @@ public com.google.spanner.v1.DeleteSessionRequest build() { @java.lang.Override public com.google.spanner.v1.DeleteSessionRequest buildPartial() { - com.google.spanner.v1.DeleteSessionRequest result = - new com.google.spanner.v1.DeleteSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.DeleteSessionRequest result = new com.google.spanner.v1.DeleteSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +328,38 @@ private void buildPartial0(com.google.spanner.v1.DeleteSessionRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.DeleteSessionRequest) { - return mergeFrom((com.google.spanner.v1.DeleteSessionRequest) other); + return mergeFrom((com.google.spanner.v1.DeleteSessionRequest)other); } else { super.mergeFrom(other); return this; @@ -434,19 +399,17 @@ public Builder mergeFrom( 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: + 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) { @@ -456,27 +419,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -485,23 +443,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -509,39 +464,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -551,32 +495,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -586,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.DeleteSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.DeleteSessionRequest) private static final com.google.spanner.v1.DeleteSessionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.DeleteSessionRequest(); } @@ -600,27 +538,27 @@ public static com.google.spanner.v1.DeleteSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSessionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSessionRequest 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; @@ -635,4 +573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.DeleteSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java new file mode 100644 index 00000000000..25c83d30581 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.v1; + +public interface DeleteSessionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.DeleteSessionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the session to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the session to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptions.java similarity index 68% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptions.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptions.java index 859715c962f..15ac76e387f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptions.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * The DirectedReadOptions can be used to indicate which replicas or regions
  * should be used for non-transactional reads or queries.
@@ -32,97 +15,82 @@
  *
  * Protobuf type {@code google.spanner.v1.DirectedReadOptions}
  */
-public final class DirectedReadOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DirectedReadOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.DirectedReadOptions)
     DirectedReadOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DirectedReadOptions.newBuilder() to construct.
   private DirectedReadOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DirectedReadOptions() {}
+  private DirectedReadOptions() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DirectedReadOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_DirectedReadOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_DirectedReadOptions_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.DirectedReadOptions.class,
-            com.google.spanner.v1.DirectedReadOptions.Builder.class);
+            com.google.spanner.v1.DirectedReadOptions.class, com.google.spanner.v1.DirectedReadOptions.Builder.class);
   }
 
-  public interface ReplicaSelectionOrBuilder
-      extends
+  public interface ReplicaSelectionOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.DirectedReadOptions.ReplicaSelection)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The location or region of the serving requests, e.g. "us-east1".
      * 
* * string location = 1; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
      * The location or region of the serving requests, e.g. "us-east1".
      * 
* * string location = 1; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @return The type. */ com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type getType(); } /** - * - * *
    * The directed read replica selector.
    * Callers must provide one or more of the following fields for replica
@@ -146,16 +114,15 @@ public interface ReplicaSelectionOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.DirectedReadOptions.ReplicaSelection}
    */
-  public static final class ReplicaSelection extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ReplicaSelection extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.DirectedReadOptions.ReplicaSelection)
       ReplicaSelectionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ReplicaSelection.newBuilder() to construct.
     private ReplicaSelection(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ReplicaSelection() {
       location_ = "";
       type_ = 0;
@@ -163,38 +130,34 @@ private ReplicaSelection() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ReplicaSelection();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.class,
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder.class);
+              com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.class, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Indicates the type of replica.
      * 
* * Protobuf enum {@code google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Not specified.
        * 
@@ -203,8 +166,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * Read-write replicas support both reads and writes.
        * 
@@ -213,8 +174,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ READ_WRITE(1), /** - * - * *
        * Read-only replicas only support reads (not writes).
        * 
@@ -226,8 +185,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Not specified.
        * 
@@ -236,8 +193,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Read-write replicas support both reads and writes.
        * 
@@ -246,8 +201,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READ_WRITE_VALUE = 1; /** - * - * *
        * Read-only replicas only support reads (not writes).
        * 
@@ -256,6 +209,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READ_ONLY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -280,51 +234,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return READ_WRITE; - case 2: - return READ_ONLY; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return READ_WRITE; + case 2: return READ_ONLY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -342,18 +294,14 @@ private Type(int value) { } public static final int LOCATION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
      * The location or region of the serving requests, e.g. "us-east1".
      * 
* * string location = 1; - * * @return The location. */ @java.lang.Override @@ -362,29 +310,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
      * The location or region of the serving requests, e.g. "us-east1".
      * 
* * string location = 1; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -395,42 +343,30 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type getType() { - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type result = - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.forNumber(type_); - return result == null - ? com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type getType() { + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type result = com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.forNumber(type_); + return result == null ? com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -442,13 +378,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } - if (type_ - != com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } getUnknownFields().writeTo(output); @@ -463,10 +398,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, location_); } - if (type_ - != com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -476,15 +410,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.DirectedReadOptions.ReplicaSelection)) { return super.equals(obj); } - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection other = - (com.google.spanner.v1.DirectedReadOptions.ReplicaSelection) obj; + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection other = (com.google.spanner.v1.DirectedReadOptions.ReplicaSelection) obj; - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -507,94 +441,89 @@ public int hashCode() { } public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection prototype) { + public static Builder newBuilder(com.google.spanner.v1.DirectedReadOptions.ReplicaSelection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -604,8 +533,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The directed read replica selector.
      * Callers must provide one or more of the following fields for replica
@@ -629,33 +556,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.DirectedReadOptions.ReplicaSelection}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.DirectedReadOptions.ReplicaSelection)
         com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_fieldAccessorTable
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.class,
-                com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder.class);
+                com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.class, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -666,14 +593,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor;
       }
 
       @java.lang.Override
-      public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection
-          getDefaultInstanceForType() {
+      public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getDefaultInstanceForType() {
         return com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance();
       }
 
@@ -688,17 +614,13 @@ public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection build() {
 
       @java.lang.Override
       public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection buildPartial() {
-        com.google.spanner.v1.DirectedReadOptions.ReplicaSelection result =
-            new com.google.spanner.v1.DirectedReadOptions.ReplicaSelection(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.v1.DirectedReadOptions.ReplicaSelection result = new com.google.spanner.v1.DirectedReadOptions.ReplicaSelection(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.spanner.v1.DirectedReadOptions.ReplicaSelection result) {
+      private void buildPartial0(com.google.spanner.v1.DirectedReadOptions.ReplicaSelection result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.location_ = location_;
@@ -712,41 +634,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.DirectedReadOptions.ReplicaSelection) {
-          return mergeFrom((com.google.spanner.v1.DirectedReadOptions.ReplicaSelection) other);
+          return mergeFrom((com.google.spanner.v1.DirectedReadOptions.ReplicaSelection)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -754,9 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.DirectedReadOptions.ReplicaSelection other) {
-        if (other
-            == com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()) return this;
         if (!other.getLocation().isEmpty()) {
           location_ = other.location_;
           bitField0_ |= 0x00000001;
@@ -791,25 +708,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  location_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  type_ = input.readEnum();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                location_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                type_ = input.readEnum();
+                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) {
@@ -819,25 +733,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object location_ = "";
       /**
-       *
-       *
        * 
        * The location or region of the serving requests, e.g. "us-east1".
        * 
* * string location = 1; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -846,21 +757,20 @@ public java.lang.String getLocation() { } } /** - * - * *
        * The location or region of the serving requests, e.g. "us-east1".
        * 
* * string location = 1; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -868,35 +778,28 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
        * The location or region of the serving requests, e.g. "us-east1".
        * 
* * string location = 1; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The location or region of the serving requests, e.g. "us-east1".
        * 
* * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -906,21 +809,17 @@ public Builder clearLocation() { return this; } /** - * - * *
        * The location or region of the serving requests, e.g. "us-east1".
        * 
* * string location = 1; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000001; @@ -930,29 +829,22 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * The type of replica.
        * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The type of replica.
        * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -963,38 +855,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * The type of replica.
        * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @return The type. */ @java.lang.Override public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type getType() { - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type result = - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.forNumber(type_); - return result == null - ? com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.UNRECOGNIZED - : result; + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type result = com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.forNumber(type_); + return result == null ? com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type.UNRECOGNIZED : result; } /** - * - * *
        * The type of replica.
        * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type value) { + public Builder setType(com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type value) { if (value == null) { throw new NullPointerException(); } @@ -1004,14 +886,11 @@ public Builder setType( return this; } /** - * - * *
        * The type of replica.
        * 
* * .google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1020,7 +899,6 @@ public Builder clearType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1033,13 +911,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.DirectedReadOptions.ReplicaSelection) } // @@protoc_insertion_point(class_scope:google.spanner.v1.DirectedReadOptions.ReplicaSelection) - private static final com.google.spanner.v1.DirectedReadOptions.ReplicaSelection - DEFAULT_INSTANCE; - + private static final com.google.spanner.v1.DirectedReadOptions.ReplicaSelection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.v1.DirectedReadOptions.ReplicaSelection(); } @@ -1048,28 +925,27 @@ public static com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicaSelection 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicaSelection 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; @@ -1084,80 +960,58 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IncludeReplicasOrBuilder - extends + public interface IncludeReplicasOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.DirectedReadOptions.IncludeReplicas) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - java.util.List + java.util.List getReplicaSelectionsList(); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections(int index); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ int getReplicaSelectionsCount(); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - java.util.List + java.util.List getReplicaSelectionsOrBuilderList(); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder - getReplicaSelectionsOrBuilder(int index); + com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder( + int index); /** - * - * *
      * If true, Spanner will not route requests to a replica outside the
      * include_replicas list when all of the specified replicas are unavailable
@@ -1165,14 +1019,11 @@ public interface IncludeReplicasOrBuilder
      * 
* * bool auto_failover_disabled = 2; - * * @return The autoFailoverDisabled. */ boolean getAutoFailoverDisabled(); } /** - * - * *
    * An IncludeReplicas contains a repeated set of ReplicaSelection which
    * indicates the order in which replicas should be considered.
@@ -1180,132 +1031,103 @@ public interface IncludeReplicasOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.DirectedReadOptions.IncludeReplicas}
    */
-  public static final class IncludeReplicas extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class IncludeReplicas extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.DirectedReadOptions.IncludeReplicas)
       IncludeReplicasOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use IncludeReplicas.newBuilder() to construct.
     private IncludeReplicas(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private IncludeReplicas() {
       replicaSelections_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new IncludeReplicas();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.class,
-              com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder.class);
+              com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.class, com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder.class);
     }
 
     public static final int REPLICA_SELECTIONS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
-    private java.util.List
-        replicaSelections_;
+    private java.util.List replicaSelections_;
     /**
-     *
-     *
      * 
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public java.util.List - getReplicaSelectionsList() { + public java.util.List getReplicaSelectionsList() { return replicaSelections_; } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> + public java.util.List getReplicaSelectionsOrBuilderList() { return replicaSelections_; } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override public int getReplicaSelectionsCount() { return replicaSelections_.size(); } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections( - int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections(int index) { return replicaSelections_.get(index); } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder - getReplicaSelectionsOrBuilder(int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder( + int index) { return replicaSelections_.get(index); } public static final int AUTO_FAILOVER_DISABLED_FIELD_NUMBER = 2; private boolean autoFailoverDisabled_ = false; /** - * - * *
      * If true, Spanner will not route requests to a replica outside the
      * include_replicas list when all of the specified replicas are unavailable
@@ -1313,7 +1135,6 @@ public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSele
      * 
* * bool auto_failover_disabled = 2; - * * @return The autoFailoverDisabled. */ @java.lang.Override @@ -1322,7 +1143,6 @@ public boolean getAutoFailoverDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1334,7 +1154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < replicaSelections_.size(); i++) { output.writeMessage(1, replicaSelections_.get(i)); } @@ -1351,11 +1172,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < replicaSelections_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, replicaSelections_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, replicaSelections_.get(i)); } if (autoFailoverDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, autoFailoverDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, autoFailoverDisabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1365,16 +1187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.DirectedReadOptions.IncludeReplicas)) { return super.equals(obj); } - com.google.spanner.v1.DirectedReadOptions.IncludeReplicas other = - (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) obj; + com.google.spanner.v1.DirectedReadOptions.IncludeReplicas other = (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) obj; - if (!getReplicaSelectionsList().equals(other.getReplicaSelectionsList())) return false; - if (getAutoFailoverDisabled() != other.getAutoFailoverDisabled()) return false; + if (!getReplicaSelectionsList() + .equals(other.getReplicaSelectionsList())) return false; + if (getAutoFailoverDisabled() + != other.getAutoFailoverDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1391,101 +1214,97 @@ public int hashCode() { hash = (53 * hash) + getReplicaSelectionsList().hashCode(); } hash = (37 * hash) + AUTO_FAILOVER_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoFailoverDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoFailoverDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.DirectedReadOptions.IncludeReplicas prototype) { + public static Builder newBuilder(com.google.spanner.v1.DirectedReadOptions.IncludeReplicas prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1495,8 +1314,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An IncludeReplicas contains a repeated set of ReplicaSelection which
      * indicates the order in which replicas should be considered.
@@ -1504,33 +1321,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.DirectedReadOptions.IncludeReplicas}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.DirectedReadOptions.IncludeReplicas)
         com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_fieldAccessorTable
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.class,
-                com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder.class);
+                com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.class, com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1547,9 +1364,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor;
       }
 
       @java.lang.Override
@@ -1568,18 +1385,14 @@ public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas build() {
 
       @java.lang.Override
       public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas buildPartial() {
-        com.google.spanner.v1.DirectedReadOptions.IncludeReplicas result =
-            new com.google.spanner.v1.DirectedReadOptions.IncludeReplicas(this);
+        com.google.spanner.v1.DirectedReadOptions.IncludeReplicas result = new com.google.spanner.v1.DirectedReadOptions.IncludeReplicas(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.spanner.v1.DirectedReadOptions.IncludeReplicas result) {
+      private void buildPartialRepeatedFields(com.google.spanner.v1.DirectedReadOptions.IncludeReplicas result) {
         if (replicaSelectionsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             replicaSelections_ = java.util.Collections.unmodifiableList(replicaSelections_);
@@ -1602,41 +1415,38 @@ private void buildPartial0(com.google.spanner.v1.DirectedReadOptions.IncludeRepl
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) {
-          return mergeFrom((com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) other);
+          return mergeFrom((com.google.spanner.v1.DirectedReadOptions.IncludeReplicas)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1644,8 +1454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.DirectedReadOptions.IncludeReplicas other) {
-        if (other == com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance()) return this;
         if (replicaSelectionsBuilder_ == null) {
           if (!other.replicaSelections_.isEmpty()) {
             if (replicaSelections_.isEmpty()) {
@@ -1664,10 +1473,9 @@ public Builder mergeFrom(com.google.spanner.v1.DirectedReadOptions.IncludeReplic
               replicaSelectionsBuilder_ = null;
               replicaSelections_ = other.replicaSelections_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              replicaSelectionsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getReplicaSelectionsFieldBuilder()
-                      : null;
+              replicaSelectionsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getReplicaSelectionsFieldBuilder() : null;
             } else {
               replicaSelectionsBuilder_.addAllMessages(other.replicaSelections_);
             }
@@ -1702,33 +1510,30 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.spanner.v1.DirectedReadOptions.ReplicaSelection m =
-                      input.readMessage(
-                          com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.parser(),
-                          extensionRegistry);
-                  if (replicaSelectionsBuilder_ == null) {
-                    ensureReplicaSelectionsIsMutable();
-                    replicaSelections_.add(m);
-                  } else {
-                    replicaSelectionsBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              case 16:
-                {
-                  autoFailoverDisabled_ = input.readBool();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.spanner.v1.DirectedReadOptions.ReplicaSelection m =
+                    input.readMessage(
+                        com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.parser(),
+                        extensionRegistry);
+                if (replicaSelectionsBuilder_ == null) {
+                  ensureReplicaSelectionsIsMutable();
+                  replicaSelections_.add(m);
+                } else {
+                  replicaSelectionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              case 16: {
+                autoFailoverDisabled_ = 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) {
@@ -1738,40 +1543,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List
-          replicaSelections_ = java.util.Collections.emptyList();
-
+      private java.util.List replicaSelections_ =
+        java.util.Collections.emptyList();
       private void ensureReplicaSelectionsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          replicaSelections_ =
-              new java.util.ArrayList(
-                  replicaSelections_);
+          replicaSelections_ = new java.util.ArrayList(replicaSelections_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelection,
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder,
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder>
-          replicaSelectionsBuilder_;
+          com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> replicaSelectionsBuilder_;
 
       /**
-       *
-       *
        * 
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public java.util.List - getReplicaSelectionsList() { + public java.util.List getReplicaSelectionsList() { if (replicaSelectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(replicaSelections_); } else { @@ -1779,15 +1572,11 @@ private void ensureReplicaSelectionsIsMutable() { } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public int getReplicaSelectionsCount() { if (replicaSelectionsBuilder_ == null) { @@ -1797,18 +1586,13 @@ public int getReplicaSelectionsCount() { } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections( - int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections(int index) { if (replicaSelectionsBuilder_ == null) { return replicaSelections_.get(index); } else { @@ -1816,15 +1600,11 @@ public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSele } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder setReplicaSelections( int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { @@ -1841,19 +1621,14 @@ public Builder setReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder setReplicaSelections( - int index, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { + int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { if (replicaSelectionsBuilder_ == null) { ensureReplicaSelectionsIsMutable(); replicaSelections_.set(index, builderForValue.build()); @@ -1864,18 +1639,13 @@ public Builder setReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public Builder addReplicaSelections( - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { + public Builder addReplicaSelections(com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { if (replicaSelectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1889,15 +1659,11 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addReplicaSelections( int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { @@ -1914,15 +1680,11 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addReplicaSelections( com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { @@ -1936,19 +1698,14 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addReplicaSelections( - int index, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { + int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { if (replicaSelectionsBuilder_ == null) { ensureReplicaSelectionsIsMutable(); replicaSelections_.add(index, builderForValue.build()); @@ -1959,22 +1716,18 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addAllReplicaSelections( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (replicaSelectionsBuilder_ == null) { ensureReplicaSelectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicaSelections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, replicaSelections_); onChanged(); } else { replicaSelectionsBuilder_.addAllMessages(values); @@ -1982,15 +1735,11 @@ public Builder addAllReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder clearReplicaSelections() { if (replicaSelectionsBuilder_ == null) { @@ -2003,15 +1752,11 @@ public Builder clearReplicaSelections() { return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder removeReplicaSelections(int index) { if (replicaSelectionsBuilder_ == null) { @@ -2024,53 +1769,39 @@ public Builder removeReplicaSelections(int index) { return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder - getReplicaSelectionsBuilder(int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder getReplicaSelectionsBuilder( + int index) { return getReplicaSelectionsFieldBuilder().getBuilder(index); } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder - getReplicaSelectionsOrBuilder(int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder( + int index) { if (replicaSelectionsBuilder_ == null) { - return replicaSelections_.get(index); - } else { + return replicaSelections_.get(index); } else { return replicaSelectionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public java.util.List< - ? extends com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> - getReplicaSelectionsOrBuilderList() { + public java.util.List + getReplicaSelectionsOrBuilderList() { if (replicaSelectionsBuilder_ != null) { return replicaSelectionsBuilder_.getMessageOrBuilderList(); } else { @@ -2078,67 +1809,45 @@ public Builder removeReplicaSelections(int index) { } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder - addReplicaSelectionsBuilder() { - return getReplicaSelectionsFieldBuilder() - .addBuilder( - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder addReplicaSelectionsBuilder() { + return getReplicaSelectionsFieldBuilder().addBuilder( + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder - addReplicaSelectionsBuilder(int index) { - return getReplicaSelectionsFieldBuilder() - .addBuilder( - index, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder addReplicaSelectionsBuilder( + int index) { + return getReplicaSelectionsFieldBuilder().addBuilder( + index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public java.util.List - getReplicaSelectionsBuilderList() { + public java.util.List + getReplicaSelectionsBuilderList() { return getReplicaSelectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> getReplicaSelectionsFieldBuilder() { if (replicaSelectionsBuilder_ == null) { - replicaSelectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder>( + replicaSelectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder>( replicaSelections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2148,10 +1857,8 @@ public Builder removeReplicaSelections(int index) { return replicaSelectionsBuilder_; } - private boolean autoFailoverDisabled_; + private boolean autoFailoverDisabled_ ; /** - * - * *
        * If true, Spanner will not route requests to a replica outside the
        * include_replicas list when all of the specified replicas are unavailable
@@ -2159,7 +1866,6 @@ public Builder removeReplicaSelections(int index) {
        * 
* * bool auto_failover_disabled = 2; - * * @return The autoFailoverDisabled. */ @java.lang.Override @@ -2167,8 +1873,6 @@ public boolean getAutoFailoverDisabled() { return autoFailoverDisabled_; } /** - * - * *
        * If true, Spanner will not route requests to a replica outside the
        * include_replicas list when all of the specified replicas are unavailable
@@ -2176,7 +1880,6 @@ public boolean getAutoFailoverDisabled() {
        * 
* * bool auto_failover_disabled = 2; - * * @param value The autoFailoverDisabled to set. * @return This builder for chaining. */ @@ -2188,8 +1891,6 @@ public Builder setAutoFailoverDisabled(boolean value) { return this; } /** - * - * *
        * If true, Spanner will not route requests to a replica outside the
        * include_replicas list when all of the specified replicas are unavailable
@@ -2197,7 +1898,6 @@ public Builder setAutoFailoverDisabled(boolean value) {
        * 
* * bool auto_failover_disabled = 2; - * * @return This builder for chaining. */ public Builder clearAutoFailoverDisabled() { @@ -2206,7 +1906,6 @@ public Builder clearAutoFailoverDisabled() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2219,12 +1918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.DirectedReadOptions.IncludeReplicas) } // @@protoc_insertion_point(class_scope:google.spanner.v1.DirectedReadOptions.IncludeReplicas) private static final com.google.spanner.v1.DirectedReadOptions.IncludeReplicas DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.DirectedReadOptions.IncludeReplicas(); } @@ -2233,28 +1932,27 @@ public static com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncludeReplicas 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncludeReplicas 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; @@ -2269,80 +1967,58 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ExcludeReplicasOrBuilder - extends + public interface ExcludeReplicasOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.DirectedReadOptions.ExcludeReplicas) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - java.util.List + java.util.List getReplicaSelectionsList(); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections(int index); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ int getReplicaSelectionsCount(); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - java.util.List + java.util.List getReplicaSelectionsOrBuilderList(); /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder - getReplicaSelectionsOrBuilder(int index); + com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder( + int index); } /** - * - * *
    * An ExcludeReplicas contains a repeated set of ReplicaSelection that should
    * be excluded from serving requests.
@@ -2350,129 +2026,101 @@ public interface ExcludeReplicasOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.DirectedReadOptions.ExcludeReplicas}
    */
-  public static final class ExcludeReplicas extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ExcludeReplicas extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.DirectedReadOptions.ExcludeReplicas)
       ExcludeReplicasOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ExcludeReplicas.newBuilder() to construct.
     private ExcludeReplicas(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ExcludeReplicas() {
       replicaSelections_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ExcludeReplicas();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.class,
-              com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder.class);
+              com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.class, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder.class);
     }
 
     public static final int REPLICA_SELECTIONS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
-    private java.util.List
-        replicaSelections_;
+    private java.util.List replicaSelections_;
     /**
-     *
-     *
      * 
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public java.util.List - getReplicaSelectionsList() { + public java.util.List getReplicaSelectionsList() { return replicaSelections_; } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> + public java.util.List getReplicaSelectionsOrBuilderList() { return replicaSelections_; } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override public int getReplicaSelectionsCount() { return replicaSelections_.size(); } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections( - int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections(int index) { return replicaSelections_.get(index); } /** - * - * *
      * The directed read replica selector.
      * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ @java.lang.Override - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder - getReplicaSelectionsOrBuilder(int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder( + int index) { return replicaSelections_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2484,7 +2132,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < replicaSelections_.size(); i++) { output.writeMessage(1, replicaSelections_.get(i)); } @@ -2498,8 +2147,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < replicaSelections_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, replicaSelections_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, replicaSelections_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2509,15 +2158,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas)) { return super.equals(obj); } - com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas other = - (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) obj; + com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas other = (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) obj; - if (!getReplicaSelectionsList().equals(other.getReplicaSelectionsList())) return false; + if (!getReplicaSelectionsList() + .equals(other.getReplicaSelectionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2539,94 +2188,89 @@ public int hashCode() { } public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas prototype) { + public static Builder newBuilder(com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2636,8 +2280,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An ExcludeReplicas contains a repeated set of ReplicaSelection that should
      * be excluded from serving requests.
@@ -2645,33 +2287,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.DirectedReadOptions.ExcludeReplicas}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.DirectedReadOptions.ExcludeReplicas)
         com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_fieldAccessorTable
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.class,
-                com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder.class);
+                com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.class, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2687,9 +2329,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.SpannerProto
-            .internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor;
       }
 
       @java.lang.Override
@@ -2708,18 +2350,14 @@ public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas build() {
 
       @java.lang.Override
       public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas buildPartial() {
-        com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas result =
-            new com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas(this);
+        com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas result = new com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas result) {
+      private void buildPartialRepeatedFields(com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas result) {
         if (replicaSelectionsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             replicaSelections_ = java.util.Collections.unmodifiableList(replicaSelections_);
@@ -2739,41 +2377,38 @@ private void buildPartial0(com.google.spanner.v1.DirectedReadOptions.ExcludeRepl
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) {
-          return mergeFrom((com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) other);
+          return mergeFrom((com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2781,8 +2416,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas other) {
-        if (other == com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance()) return this;
         if (replicaSelectionsBuilder_ == null) {
           if (!other.replicaSelections_.isEmpty()) {
             if (replicaSelections_.isEmpty()) {
@@ -2801,10 +2435,9 @@ public Builder mergeFrom(com.google.spanner.v1.DirectedReadOptions.ExcludeReplic
               replicaSelectionsBuilder_ = null;
               replicaSelections_ = other.replicaSelections_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              replicaSelectionsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getReplicaSelectionsFieldBuilder()
-                      : null;
+              replicaSelectionsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getReplicaSelectionsFieldBuilder() : null;
             } else {
               replicaSelectionsBuilder_.addAllMessages(other.replicaSelections_);
             }
@@ -2836,27 +2469,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.spanner.v1.DirectedReadOptions.ReplicaSelection m =
-                      input.readMessage(
-                          com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.parser(),
-                          extensionRegistry);
-                  if (replicaSelectionsBuilder_ == null) {
-                    ensureReplicaSelectionsIsMutable();
-                    replicaSelections_.add(m);
-                  } else {
-                    replicaSelectionsBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.spanner.v1.DirectedReadOptions.ReplicaSelection m =
+                    input.readMessage(
+                        com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.parser(),
+                        extensionRegistry);
+                if (replicaSelectionsBuilder_ == null) {
+                  ensureReplicaSelectionsIsMutable();
+                  replicaSelections_.add(m);
+                } else {
+                  replicaSelectionsBuilder_.addMessage(m);
+                }
+                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) {
@@ -2866,40 +2497,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List
-          replicaSelections_ = java.util.Collections.emptyList();
-
+      private java.util.List replicaSelections_ =
+        java.util.Collections.emptyList();
       private void ensureReplicaSelectionsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          replicaSelections_ =
-              new java.util.ArrayList(
-                  replicaSelections_);
+          replicaSelections_ = new java.util.ArrayList(replicaSelections_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelection,
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder,
-              com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder>
-          replicaSelectionsBuilder_;
+          com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> replicaSelectionsBuilder_;
 
       /**
-       *
-       *
        * 
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public java.util.List - getReplicaSelectionsList() { + public java.util.List getReplicaSelectionsList() { if (replicaSelectionsBuilder_ == null) { return java.util.Collections.unmodifiableList(replicaSelections_); } else { @@ -2907,15 +2526,11 @@ private void ensureReplicaSelectionsIsMutable() { } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public int getReplicaSelectionsCount() { if (replicaSelectionsBuilder_ == null) { @@ -2925,18 +2540,13 @@ public int getReplicaSelectionsCount() { } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections( - int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSelections(int index) { if (replicaSelectionsBuilder_ == null) { return replicaSelections_.get(index); } else { @@ -2944,15 +2554,11 @@ public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection getReplicaSele } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder setReplicaSelections( int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { @@ -2969,19 +2575,14 @@ public Builder setReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder setReplicaSelections( - int index, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { + int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { if (replicaSelectionsBuilder_ == null) { ensureReplicaSelectionsIsMutable(); replicaSelections_.set(index, builderForValue.build()); @@ -2992,18 +2593,13 @@ public Builder setReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public Builder addReplicaSelections( - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { + public Builder addReplicaSelections(com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { if (replicaSelectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3017,15 +2613,11 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addReplicaSelections( int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection value) { @@ -3042,15 +2634,11 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addReplicaSelections( com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { @@ -3064,19 +2652,14 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addReplicaSelections( - int index, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { + int index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder builderForValue) { if (replicaSelectionsBuilder_ == null) { ensureReplicaSelectionsIsMutable(); replicaSelections_.add(index, builderForValue.build()); @@ -3087,22 +2670,18 @@ public Builder addReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder addAllReplicaSelections( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (replicaSelectionsBuilder_ == null) { ensureReplicaSelectionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicaSelections_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, replicaSelections_); onChanged(); } else { replicaSelectionsBuilder_.addAllMessages(values); @@ -3110,15 +2689,11 @@ public Builder addAllReplicaSelections( return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder clearReplicaSelections() { if (replicaSelectionsBuilder_ == null) { @@ -3131,15 +2706,11 @@ public Builder clearReplicaSelections() { return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ public Builder removeReplicaSelections(int index) { if (replicaSelectionsBuilder_ == null) { @@ -3152,53 +2723,39 @@ public Builder removeReplicaSelections(int index) { return this; } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder - getReplicaSelectionsBuilder(int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder getReplicaSelectionsBuilder( + int index) { return getReplicaSelectionsFieldBuilder().getBuilder(index); } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder - getReplicaSelectionsOrBuilder(int index) { + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder getReplicaSelectionsOrBuilder( + int index) { if (replicaSelectionsBuilder_ == null) { - return replicaSelections_.get(index); - } else { + return replicaSelections_.get(index); } else { return replicaSelectionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public java.util.List< - ? extends com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> - getReplicaSelectionsOrBuilderList() { + public java.util.List + getReplicaSelectionsOrBuilderList() { if (replicaSelectionsBuilder_ != null) { return replicaSelectionsBuilder_.getMessageOrBuilderList(); } else { @@ -3206,67 +2763,45 @@ public Builder removeReplicaSelections(int index) { } } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder - addReplicaSelectionsBuilder() { - return getReplicaSelectionsFieldBuilder() - .addBuilder( - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder addReplicaSelectionsBuilder() { + return getReplicaSelectionsFieldBuilder().addBuilder( + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder - addReplicaSelectionsBuilder(int index) { - return getReplicaSelectionsFieldBuilder() - .addBuilder( - index, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); + public com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder addReplicaSelectionsBuilder( + int index) { + return getReplicaSelectionsFieldBuilder().addBuilder( + index, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.getDefaultInstance()); } /** - * - * *
        * The directed read replica selector.
        * 
* - * - * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; - * + * repeated .google.spanner.v1.DirectedReadOptions.ReplicaSelection replica_selections = 1; */ - public java.util.List - getReplicaSelectionsBuilderList() { + public java.util.List + getReplicaSelectionsBuilderList() { return getReplicaSelectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder> getReplicaSelectionsFieldBuilder() { if (replicaSelectionsBuilder_ == null) { - replicaSelectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, - com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder>( + replicaSelectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.DirectedReadOptions.ReplicaSelection, com.google.spanner.v1.DirectedReadOptions.ReplicaSelection.Builder, com.google.spanner.v1.DirectedReadOptions.ReplicaSelectionOrBuilder>( replicaSelections_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3275,7 +2810,6 @@ public Builder removeReplicaSelections(int index) { } return replicaSelectionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3288,12 +2822,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.DirectedReadOptions.ExcludeReplicas) } // @@protoc_insertion_point(class_scope:google.spanner.v1.DirectedReadOptions.ExcludeReplicas) private static final com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas(); } @@ -3302,28 +2836,27 @@ public static com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExcludeReplicas 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExcludeReplicas 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; @@ -3338,22 +2871,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int replicasCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object replicas_; - public enum ReplicasCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INCLUDE_REPLICAS(1), EXCLUDE_REPLICAS(2), REPLICAS_NOT_SET(0); private final int value; - private ReplicasCase(int value) { this.value = value; } @@ -3369,30 +2899,25 @@ public static ReplicasCase valueOf(int value) { public static ReplicasCase forNumber(int value) { switch (value) { - case 1: - return INCLUDE_REPLICAS; - case 2: - return EXCLUDE_REPLICAS; - case 0: - return REPLICAS_NOT_SET; - default: - return null; + case 1: return INCLUDE_REPLICAS; + case 2: return EXCLUDE_REPLICAS; + case 0: return REPLICAS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ReplicasCase getReplicasCase() { - return ReplicasCase.forNumber(replicasCase_); + public ReplicasCase + getReplicasCase() { + return ReplicasCase.forNumber( + replicasCase_); } public static final int INCLUDE_REPLICAS_FIELD_NUMBER = 1; /** - * - * *
    * Include_replicas indicates the order of replicas (as they appear in
    * this list) to process the request. If auto_failover_disabled is set to
@@ -3402,7 +2927,6 @@ public ReplicasCase getReplicasCase() {
    * 
* * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; - * * @return Whether the includeReplicas field is set. */ @java.lang.Override @@ -3410,8 +2934,6 @@ public boolean hasIncludeReplicas() { return replicasCase_ == 1; } /** - * - * *
    * Include_replicas indicates the order of replicas (as they appear in
    * this list) to process the request. If auto_failover_disabled is set to
@@ -3421,19 +2943,16 @@ public boolean hasIncludeReplicas() {
    * 
* * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; - * * @return The includeReplicas. */ @java.lang.Override public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getIncludeReplicas() { if (replicasCase_ == 1) { - return (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_; + return (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_; } return com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance(); } /** - * - * *
    * Include_replicas indicates the order of replicas (as they appear in
    * this list) to process the request. If auto_failover_disabled is set to
@@ -3445,18 +2964,15 @@ public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getIncludeRepli
    * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder
-      getIncludeReplicasOrBuilder() {
+  public com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder getIncludeReplicasOrBuilder() {
     if (replicasCase_ == 1) {
-      return (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_;
+       return (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_;
     }
     return com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance();
   }
 
   public static final int EXCLUDE_REPLICAS_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Exclude_replicas indicates that specified replicas should be excluded
    * from serving requests. Spanner will not route requests to the replicas
@@ -3464,7 +2980,6 @@ public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getIncludeRepli
    * 
* * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; - * * @return Whether the excludeReplicas field is set. */ @java.lang.Override @@ -3472,8 +2987,6 @@ public boolean hasExcludeReplicas() { return replicasCase_ == 2; } /** - * - * *
    * Exclude_replicas indicates that specified replicas should be excluded
    * from serving requests. Spanner will not route requests to the replicas
@@ -3481,19 +2994,16 @@ public boolean hasExcludeReplicas() {
    * 
* * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; - * * @return The excludeReplicas. */ @java.lang.Override public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas getExcludeReplicas() { if (replicasCase_ == 2) { - return (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_; + return (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_; } return com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance(); } /** - * - * *
    * Exclude_replicas indicates that specified replicas should be excluded
    * from serving requests. Spanner will not route requests to the replicas
@@ -3503,16 +3013,14 @@ public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas getExcludeRepli
    * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;
    */
   @java.lang.Override
-  public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder
-      getExcludeReplicasOrBuilder() {
+  public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder getExcludeReplicasOrBuilder() {
     if (replicasCase_ == 2) {
-      return (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_;
+       return (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_;
     }
     return com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -3524,7 +3032,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (replicasCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_);
     }
@@ -3541,14 +3050,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (replicasCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_);
     }
     if (replicasCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -3558,21 +3065,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.DirectedReadOptions)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.DirectedReadOptions other =
-        (com.google.spanner.v1.DirectedReadOptions) obj;
+    com.google.spanner.v1.DirectedReadOptions other = (com.google.spanner.v1.DirectedReadOptions) obj;
 
     if (!getReplicasCase().equals(other.getReplicasCase())) return false;
     switch (replicasCase_) {
       case 1:
-        if (!getIncludeReplicas().equals(other.getIncludeReplicas())) return false;
+        if (!getIncludeReplicas()
+            .equals(other.getIncludeReplicas())) return false;
         break;
       case 2:
-        if (!getExcludeReplicas().equals(other.getExcludeReplicas())) return false;
+        if (!getExcludeReplicas()
+            .equals(other.getExcludeReplicas())) return false;
         break;
       case 0:
       default:
@@ -3605,104 +3113,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.DirectedReadOptions parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.DirectedReadOptions parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.v1.DirectedReadOptions parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.DirectedReadOptions parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.DirectedReadOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.DirectedReadOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.DirectedReadOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The DirectedReadOptions can be used to indicate which replicas or regions
    * should be used for non-transactional reads or queries.
@@ -3713,32 +3216,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.DirectedReadOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.DirectedReadOptions)
       com.google.spanner.v1.DirectedReadOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.DirectedReadOptions.class,
-              com.google.spanner.v1.DirectedReadOptions.Builder.class);
+              com.google.spanner.v1.DirectedReadOptions.class, com.google.spanner.v1.DirectedReadOptions.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.DirectedReadOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3755,9 +3259,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_DirectedReadOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DirectedReadOptions_descriptor;
     }
 
     @java.lang.Override
@@ -3776,11 +3280,8 @@ public com.google.spanner.v1.DirectedReadOptions build() {
 
     @java.lang.Override
     public com.google.spanner.v1.DirectedReadOptions buildPartial() {
-      com.google.spanner.v1.DirectedReadOptions result =
-          new com.google.spanner.v1.DirectedReadOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.DirectedReadOptions result = new com.google.spanner.v1.DirectedReadOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3793,10 +3294,12 @@ private void buildPartial0(com.google.spanner.v1.DirectedReadOptions result) {
     private void buildPartialOneofs(com.google.spanner.v1.DirectedReadOptions result) {
       result.replicasCase_ = replicasCase_;
       result.replicas_ = this.replicas_;
-      if (replicasCase_ == 1 && includeReplicasBuilder_ != null) {
+      if (replicasCase_ == 1 &&
+          includeReplicasBuilder_ != null) {
         result.replicas_ = includeReplicasBuilder_.build();
       }
-      if (replicasCase_ == 2 && excludeReplicasBuilder_ != null) {
+      if (replicasCase_ == 2 &&
+          excludeReplicasBuilder_ != null) {
         result.replicas_ = excludeReplicasBuilder_.build();
       }
     }
@@ -3805,39 +3308,38 @@ private void buildPartialOneofs(com.google.spanner.v1.DirectedReadOptions result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.DirectedReadOptions) {
-        return mergeFrom((com.google.spanner.v1.DirectedReadOptions) other);
+        return mergeFrom((com.google.spanner.v1.DirectedReadOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3847,20 +3349,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.DirectedReadOptions other) {
       if (other == com.google.spanner.v1.DirectedReadOptions.getDefaultInstance()) return this;
       switch (other.getReplicasCase()) {
-        case INCLUDE_REPLICAS:
-          {
-            mergeIncludeReplicas(other.getIncludeReplicas());
-            break;
-          }
-        case EXCLUDE_REPLICAS:
-          {
-            mergeExcludeReplicas(other.getExcludeReplicas());
-            break;
-          }
-        case REPLICAS_NOT_SET:
-          {
-            break;
-          }
+        case INCLUDE_REPLICAS: {
+          mergeIncludeReplicas(other.getIncludeReplicas());
+          break;
+        }
+        case EXCLUDE_REPLICAS: {
+          mergeExcludeReplicas(other.getExcludeReplicas());
+          break;
+        }
+        case REPLICAS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3888,25 +3387,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getIncludeReplicasFieldBuilder().getBuilder(), extensionRegistry);
-                replicasCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getExcludeReplicasFieldBuilder().getBuilder(), extensionRegistry);
-                replicasCase_ = 2;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getIncludeReplicasFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              replicasCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getExcludeReplicasFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              replicasCase_ = 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) {
@@ -3916,12 +3416,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int replicasCase_ = 0;
     private java.lang.Object replicas_;
-
-    public ReplicasCase getReplicasCase() {
-      return ReplicasCase.forNumber(replicasCase_);
+    public ReplicasCase
+        getReplicasCase() {
+      return ReplicasCase.forNumber(
+          replicasCase_);
     }
 
     public Builder clearReplicas() {
@@ -3934,13 +3434,8 @@ public Builder clearReplicas() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.DirectedReadOptions.IncludeReplicas,
-            com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder,
-            com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder>
-        includeReplicasBuilder_;
+        com.google.spanner.v1.DirectedReadOptions.IncludeReplicas, com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder, com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder> includeReplicasBuilder_;
     /**
-     *
-     *
      * 
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -3950,7 +3445,6 @@ public Builder clearReplicas() {
      * 
* * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; - * * @return Whether the includeReplicas field is set. */ @java.lang.Override @@ -3958,8 +3452,6 @@ public boolean hasIncludeReplicas() { return replicasCase_ == 1; } /** - * - * *
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -3969,7 +3461,6 @@ public boolean hasIncludeReplicas() {
      * 
* * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; - * * @return The includeReplicas. */ @java.lang.Override @@ -3987,8 +3478,6 @@ public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getIncludeRepli } } /** - * - * *
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -3999,8 +3488,7 @@ public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getIncludeRepli
      *
      * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;
      */
-    public Builder setIncludeReplicas(
-        com.google.spanner.v1.DirectedReadOptions.IncludeReplicas value) {
+    public Builder setIncludeReplicas(com.google.spanner.v1.DirectedReadOptions.IncludeReplicas value) {
       if (includeReplicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4014,8 +3502,6 @@ public Builder setIncludeReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -4038,8 +3524,6 @@ public Builder setIncludeReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -4050,17 +3534,12 @@ public Builder setIncludeReplicas(
      *
      * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;
      */
-    public Builder mergeIncludeReplicas(
-        com.google.spanner.v1.DirectedReadOptions.IncludeReplicas value) {
+    public Builder mergeIncludeReplicas(com.google.spanner.v1.DirectedReadOptions.IncludeReplicas value) {
       if (includeReplicasBuilder_ == null) {
-        if (replicasCase_ == 1
-            && replicas_
-                != com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance()) {
-          replicas_ =
-              com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.newBuilder(
-                      (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (replicasCase_ == 1 &&
+            replicas_ != com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance()) {
+          replicas_ = com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.newBuilder((com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_)
+              .mergeFrom(value).buildPartial();
         } else {
           replicas_ = value;
         }
@@ -4076,8 +3555,6 @@ public Builder mergeIncludeReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -4105,8 +3582,6 @@ public Builder clearIncludeReplicas() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -4117,13 +3592,10 @@ public Builder clearIncludeReplicas() {
      *
      * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;
      */
-    public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder
-        getIncludeReplicasBuilder() {
+    public com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder getIncludeReplicasBuilder() {
       return getIncludeReplicasFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -4135,8 +3607,7 @@ public Builder clearIncludeReplicas() {
      * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;
      */
     @java.lang.Override
-    public com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder
-        getIncludeReplicasOrBuilder() {
+    public com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder getIncludeReplicasOrBuilder() {
       if ((replicasCase_ == 1) && (includeReplicasBuilder_ != null)) {
         return includeReplicasBuilder_.getMessageOrBuilder();
       } else {
@@ -4147,8 +3618,6 @@ public Builder clearIncludeReplicas() {
       }
     }
     /**
-     *
-     *
      * 
      * Include_replicas indicates the order of replicas (as they appear in
      * this list) to process the request. If auto_failover_disabled is set to
@@ -4160,20 +3629,14 @@ public Builder clearIncludeReplicas() {
      * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.DirectedReadOptions.IncludeReplicas,
-            com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder,
-            com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder>
+        com.google.spanner.v1.DirectedReadOptions.IncludeReplicas, com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder, com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder> 
         getIncludeReplicasFieldBuilder() {
       if (includeReplicasBuilder_ == null) {
         if (!(replicasCase_ == 1)) {
-          replicas_ =
-              com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance();
+          replicas_ = com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.getDefaultInstance();
         }
-        includeReplicasBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.DirectedReadOptions.IncludeReplicas,
-                com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder,
-                com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder>(
+        includeReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.DirectedReadOptions.IncludeReplicas, com.google.spanner.v1.DirectedReadOptions.IncludeReplicas.Builder, com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder>(
                 (com.google.spanner.v1.DirectedReadOptions.IncludeReplicas) replicas_,
                 getParentForChildren(),
                 isClean());
@@ -4185,13 +3648,8 @@ public Builder clearIncludeReplicas() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas,
-            com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder,
-            com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder>
-        excludeReplicasBuilder_;
+        com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder> excludeReplicasBuilder_;
     /**
-     *
-     *
      * 
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4199,7 +3657,6 @@ public Builder clearIncludeReplicas() {
      * 
* * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; - * * @return Whether the excludeReplicas field is set. */ @java.lang.Override @@ -4207,8 +3664,6 @@ public boolean hasExcludeReplicas() { return replicasCase_ == 2; } /** - * - * *
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4216,7 +3671,6 @@ public boolean hasExcludeReplicas() {
      * 
* * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; - * * @return The excludeReplicas. */ @java.lang.Override @@ -4234,8 +3688,6 @@ public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas getExcludeRepli } } /** - * - * *
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4244,8 +3696,7 @@ public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas getExcludeRepli
      *
      * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;
      */
-    public Builder setExcludeReplicas(
-        com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas value) {
+    public Builder setExcludeReplicas(com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas value) {
       if (excludeReplicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4259,8 +3710,6 @@ public Builder setExcludeReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4281,8 +3730,6 @@ public Builder setExcludeReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4291,17 +3738,12 @@ public Builder setExcludeReplicas(
      *
      * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;
      */
-    public Builder mergeExcludeReplicas(
-        com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas value) {
+    public Builder mergeExcludeReplicas(com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas value) {
       if (excludeReplicasBuilder_ == null) {
-        if (replicasCase_ == 2
-            && replicas_
-                != com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance()) {
-          replicas_ =
-              com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.newBuilder(
-                      (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (replicasCase_ == 2 &&
+            replicas_ != com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance()) {
+          replicas_ = com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.newBuilder((com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_)
+              .mergeFrom(value).buildPartial();
         } else {
           replicas_ = value;
         }
@@ -4317,8 +3759,6 @@ public Builder mergeExcludeReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4344,8 +3784,6 @@ public Builder clearExcludeReplicas() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4354,13 +3792,10 @@ public Builder clearExcludeReplicas() {
      *
      * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;
      */
-    public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder
-        getExcludeReplicasBuilder() {
+    public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder getExcludeReplicasBuilder() {
       return getExcludeReplicasFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4370,8 +3805,7 @@ public Builder clearExcludeReplicas() {
      * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;
      */
     @java.lang.Override
-    public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder
-        getExcludeReplicasOrBuilder() {
+    public com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder getExcludeReplicasOrBuilder() {
       if ((replicasCase_ == 2) && (excludeReplicasBuilder_ != null)) {
         return excludeReplicasBuilder_.getMessageOrBuilder();
       } else {
@@ -4382,8 +3816,6 @@ public Builder clearExcludeReplicas() {
       }
     }
     /**
-     *
-     *
      * 
      * Exclude_replicas indicates that specified replicas should be excluded
      * from serving requests. Spanner will not route requests to the replicas
@@ -4393,20 +3825,14 @@ public Builder clearExcludeReplicas() {
      * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas,
-            com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder,
-            com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder>
+        com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder> 
         getExcludeReplicasFieldBuilder() {
       if (excludeReplicasBuilder_ == null) {
         if (!(replicasCase_ == 2)) {
-          replicas_ =
-              com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance();
+          replicas_ = com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.getDefaultInstance();
         }
-        excludeReplicasBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas,
-                com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder,
-                com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder>(
+        excludeReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas.Builder, com.google.spanner.v1.DirectedReadOptions.ExcludeReplicasOrBuilder>(
                 (com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas) replicas_,
                 getParentForChildren(),
                 isClean());
@@ -4416,9 +3842,9 @@ public Builder clearExcludeReplicas() {
       onChanged();
       return excludeReplicasBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4428,12 +3854,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.DirectedReadOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.DirectedReadOptions)
   private static final com.google.spanner.v1.DirectedReadOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.DirectedReadOptions();
   }
@@ -4442,27 +3868,27 @@ public static com.google.spanner.v1.DirectedReadOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DirectedReadOptions 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DirectedReadOptions 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;
@@ -4477,4 +3903,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.DirectedReadOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptionsOrBuilder.java
similarity index 82%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptionsOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptionsOrBuilder.java
index 2b94c3cac7f..c6f9ad3e734 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptionsOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DirectedReadOptionsOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface DirectedReadOptionsOrBuilder
-    extends
+public interface DirectedReadOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.DirectedReadOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Include_replicas indicates the order of replicas (as they appear in
    * this list) to process the request. If auto_failover_disabled is set to
@@ -36,13 +18,10 @@ public interface DirectedReadOptionsOrBuilder
    * 
* * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; - * * @return Whether the includeReplicas field is set. */ boolean hasIncludeReplicas(); /** - * - * *
    * Include_replicas indicates the order of replicas (as they appear in
    * this list) to process the request. If auto_failover_disabled is set to
@@ -52,13 +31,10 @@ public interface DirectedReadOptionsOrBuilder
    * 
* * .google.spanner.v1.DirectedReadOptions.IncludeReplicas include_replicas = 1; - * * @return The includeReplicas. */ com.google.spanner.v1.DirectedReadOptions.IncludeReplicas getIncludeReplicas(); /** - * - * *
    * Include_replicas indicates the order of replicas (as they appear in
    * this list) to process the request. If auto_failover_disabled is set to
@@ -72,8 +48,6 @@ public interface DirectedReadOptionsOrBuilder
   com.google.spanner.v1.DirectedReadOptions.IncludeReplicasOrBuilder getIncludeReplicasOrBuilder();
 
   /**
-   *
-   *
    * 
    * Exclude_replicas indicates that specified replicas should be excluded
    * from serving requests. Spanner will not route requests to the replicas
@@ -81,13 +55,10 @@ public interface DirectedReadOptionsOrBuilder
    * 
* * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; - * * @return Whether the excludeReplicas field is set. */ boolean hasExcludeReplicas(); /** - * - * *
    * Exclude_replicas indicates that specified replicas should be excluded
    * from serving requests. Spanner will not route requests to the replicas
@@ -95,13 +66,10 @@ public interface DirectedReadOptionsOrBuilder
    * 
* * .google.spanner.v1.DirectedReadOptions.ExcludeReplicas exclude_replicas = 2; - * * @return The excludeReplicas. */ com.google.spanner.v1.DirectedReadOptions.ExcludeReplicas getExcludeReplicas(); /** - * - * *
    * Exclude_replicas indicates that specified replicas should be excluded
    * from serving requests. Spanner will not route requests to the replicas
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
similarity index 73%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
index ea1b056a0b1..8de9f2abfbe 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
@@ -20,24 +5,21 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
  * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest} */ -public final class ExecuteBatchDmlRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExecuteBatchDmlRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest) ExecuteBatchDmlRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExecuteBatchDmlRequest.newBuilder() to construct. private ExecuteBatchDmlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecuteBatchDmlRequest() { session_ = ""; statements_ = java.util.Collections.emptyList(); @@ -45,58 +27,49 @@ private ExecuteBatchDmlRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecuteBatchDmlRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); } - public interface StatementOrBuilder - extends + public interface StatementOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest.Statement) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      *
@@ -113,13 +86,10 @@ public interface StatementOrBuilder
      * 
* * .google.protobuf.Struct params = 2; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      *
@@ -136,13 +106,10 @@ public interface StatementOrBuilder
      * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      *
@@ -163,8 +130,6 @@ public interface StatementOrBuilder
     com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -182,8 +147,6 @@ public interface StatementOrBuilder
      */
     int getParamTypesCount();
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -199,13 +162,15 @@ public interface StatementOrBuilder
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    boolean containsParamTypes(java.lang.String key);
-    /** Use {@link #getParamTypesMap()} instead. */
+    boolean containsParamTypes(
+        java.lang.String key);
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getParamTypes();
+    java.util.Map
+    getParamTypes();
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -221,10 +186,9 @@ public interface StatementOrBuilder
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    java.util.Map getParamTypesMap();
+    java.util.Map
+    getParamTypesMap();
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -241,13 +205,11 @@ public interface StatementOrBuilder
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     /* nullable */
-    com.google.spanner.v1.Type getParamTypesOrDefault(
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue);
+com.google.spanner.v1.Type defaultValue);
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -263,40 +225,39 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
+    com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * A single DML statement.
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement} */ - public static final class Statement extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Statement extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement) StatementOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Statement.newBuilder() to construct. private Statement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Statement() { sql_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Statement(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -307,34 +268,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 3: return internalGetParamTypes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); } private int bitField0_; public static final int SQL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object sql_ = ""; /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -343,29 +298,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -376,8 +331,6 @@ public com.google.protobuf.ByteString getSqlBytes() { public static final int PARAMS_FIELD_NUMBER = 2; private com.google.protobuf.Struct params_; /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      *
@@ -394,7 +347,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
      * 
* * .google.protobuf.Struct params = 2; - * * @return Whether the params field is set. */ @java.lang.Override @@ -402,8 +354,6 @@ public boolean hasParams() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      *
@@ -420,7 +370,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ @java.lang.Override @@ -428,8 +377,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      *
@@ -453,38 +400,32 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
     }
 
     public static final int PARAM_TYPES_FIELD_NUMBER = 3;
-
     private static final class ParamTypesDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry
-          defaultEntry =
+      static final com.google.protobuf.MapEntry<
+          java.lang.String, com.google.spanner.v1.Type> defaultEntry =
               com.google.protobuf.MapEntry
-                  .newDefaultInstance(
-                      com.google.spanner.v1.SpannerProto
-                          .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor,
-                      com.google.protobuf.WireFormat.FieldType.STRING,
-                      "",
-                      com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                      com.google.spanner.v1.Type.getDefaultInstance());
+              .newDefaultInstance(
+                  com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor, 
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "",
+                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                  com.google.spanner.v1.Type.getDefaultInstance());
     }
-
     @SuppressWarnings("serial")
-    private com.google.protobuf.MapField paramTypes_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
     private com.google.protobuf.MapField
-        internalGetParamTypes() {
+    internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
       }
       return paramTypes_;
     }
-
     public int getParamTypesCount() {
       return internalGetParamTypes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -501,21 +442,20 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public boolean containsParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetParamTypes().getMap().containsKey(key);
     }
-    /** Use {@link #getParamTypesMap()} instead. */
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -536,8 +476,6 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -554,20 +492,17 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.spanner.v1.Type defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -584,10 +519,9 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       if (!map.containsKey(key)) {
@@ -597,7 +531,6 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -609,15 +542,20 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sql_);
       }
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(2, getParams());
       }
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 3);
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetParamTypes(),
+          ParamTypesDefaultEntryHolder.defaultEntry,
+          3);
       getUnknownFields().writeTo(output);
     }
 
@@ -631,17 +569,18 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sql_);
       }
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getParams());
-      }
-      for (java.util.Map.Entry entry :
-          internalGetParamTypes().getMap().entrySet()) {
-        com.google.protobuf.MapEntry paramTypes__ =
-            ParamTypesDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, paramTypes__);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getParams());
+      }
+      for (java.util.Map.Entry entry
+           : internalGetParamTypes().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(3, paramTypes__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -651,20 +590,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.spanner.v1.ExecuteBatchDmlRequest.Statement)) {
         return super.equals(obj);
       }
-      com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other =
-          (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) obj;
+      com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other = (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) obj;
 
-      if (!getSql().equals(other.getSql())) return false;
+      if (!getSql()
+          .equals(other.getSql())) return false;
       if (hasParams() != other.hasParams()) return false;
       if (hasParams()) {
-        if (!getParams().equals(other.getParams())) return false;
+        if (!getParams()
+            .equals(other.getParams())) return false;
       }
-      if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false;
+      if (!internalGetParamTypes().equals(
+          other.internalGetParamTypes())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -692,94 +633,89 @@ public int hashCode() {
     }
 
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.spanner.v1.ExecuteBatchDmlRequest.Statement prototype) {
+    public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -789,22 +725,19 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A single DML statement.
      * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement) com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -814,10 +747,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 3: return internalGetParamTypes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -825,18 +758,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 3: return internalGetMutableParamTypes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); } // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.newBuilder() @@ -844,17 +775,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getParamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -870,9 +801,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; } @java.lang.Override @@ -891,11 +822,8 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement build() { @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement buildPartial() { - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = - new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -907,12 +835,13 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest.Statemen } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null + ? params_ + : paramsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.paramTypes_ = - internalGetParamTypes().build(ParamTypesDefaultEntryHolder.defaultEntry); + result.paramTypes_ = internalGetParamTypes().build(ParamTypesDefaultEntryHolder.defaultEntry); } result.bitField0_ |= to_bitField0_; } @@ -921,41 +850,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest.Statemen public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) { - return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) other); + return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest.Statement)other); } else { super.mergeFrom(other); return this; @@ -963,8 +889,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other) { - if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()) return this; if (!other.getSql().isEmpty()) { sql_ = other.sql_; bitField0_ |= 0x00000001; @@ -973,7 +898,8 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom( + other.internalGetParamTypes()); bitField0_ |= 0x00000004; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1001,38 +927,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.protobuf.MapEntry - paramTypes__ = - input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableParamTypes() - .ensureBuilderMap() - .put(paramTypes__.getKey(), paramTypes__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + paramTypes__ = input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableParamTypes().ensureBuilderMap().put( + paramTypes__.getKey(), paramTypes__.getValue()); + bitField0_ |= 0x00000004; + 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) { @@ -1042,25 +963,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object sql_ = ""; /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -1069,21 +987,20 @@ public java.lang.String getSql() { } } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1091,35 +1008,28 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -1129,21 +1039,17 @@ public Builder clearSql() { return this; } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000001; @@ -1153,13 +1059,8 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1176,15 +1077,12 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.Struct params = 2; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1201,7 +1099,6 @@ public boolean hasParams() {
        * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1212,8 +1109,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1245,8 +1140,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1264,7 +1157,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
        *
        * .google.protobuf.Struct params = 2;
        */
-      public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+      public Builder setParams(
+          com.google.protobuf.Struct.Builder builderForValue) {
         if (paramsBuilder_ == null) {
           params_ = builderForValue.build();
         } else {
@@ -1275,8 +1169,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1296,9 +1188,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
        */
       public Builder mergeParams(com.google.protobuf.Struct value) {
         if (paramsBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && params_ != null
-              && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            params_ != null &&
+            params_ != com.google.protobuf.Struct.getDefaultInstance()) {
             getParamsBuilder().mergeFrom(value);
           } else {
             params_ = value;
@@ -1313,8 +1205,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1343,8 +1233,6 @@ public Builder clearParams() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1368,8 +1256,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
         return getParamsFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1391,12 +1277,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
         if (paramsBuilder_ != null) {
           return paramsBuilder_.getMessageOrBuilder();
         } else {
-          return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+          return params_ == null ?
+              com.google.protobuf.Struct.getDefaultInstance() : params_;
         }
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        *
@@ -1415,66 +1300,43 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
        * .google.protobuf.Struct params = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Struct,
-              com.google.protobuf.Struct.Builder,
-              com.google.protobuf.StructOrBuilder>
+          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
           getParamsFieldBuilder() {
         if (paramsBuilder_ == null) {
-          paramsBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Struct,
-                  com.google.protobuf.Struct.Builder,
-                  com.google.protobuf.StructOrBuilder>(
-                  getParams(), getParentForChildren(), isClean());
+          paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                  getParams(),
+                  getParentForChildren(),
+                  isClean());
           params_ = null;
         }
         return paramsBuilder_;
       }
 
-      private static final class ParamTypesConverter
-          implements com.google.protobuf.MapFieldBuilder.Converter<
-              java.lang.String, com.google.spanner.v1.TypeOrBuilder, com.google.spanner.v1.Type> {
+      private static final class ParamTypesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
         @java.lang.Override
         public com.google.spanner.v1.Type build(com.google.spanner.v1.TypeOrBuilder val) {
-          if (val instanceof com.google.spanner.v1.Type) {
-            return (com.google.spanner.v1.Type) val;
-          }
+          if (val instanceof com.google.spanner.v1.Type) { return (com.google.spanner.v1.Type) val; }
           return ((com.google.spanner.v1.Type.Builder) val).build();
         }
 
         @java.lang.Override
-        public com.google.protobuf.MapEntry
-            defaultEntry() {
+        public com.google.protobuf.MapEntry defaultEntry() {
           return ParamTypesDefaultEntryHolder.defaultEntry;
         }
       };
-
       private static final ParamTypesConverter paramTypesConverter = new ParamTypesConverter();
 
       private com.google.protobuf.MapFieldBuilder<
-              java.lang.String,
-              com.google.spanner.v1.TypeOrBuilder,
-              com.google.spanner.v1.Type,
-              com.google.spanner.v1.Type.Builder>
-          paramTypes_;
-
-      private com.google.protobuf.MapFieldBuilder<
-              java.lang.String,
-              com.google.spanner.v1.TypeOrBuilder,
-              com.google.spanner.v1.Type,
-              com.google.spanner.v1.Type.Builder>
+          java.lang.String, com.google.spanner.v1.TypeOrBuilder, com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder> paramTypes_;
+      private com.google.protobuf.MapFieldBuilder
           internalGetParamTypes() {
         if (paramTypes_ == null) {
           return new com.google.protobuf.MapFieldBuilder<>(paramTypesConverter);
         }
         return paramTypes_;
       }
-
-      private com.google.protobuf.MapFieldBuilder<
-              java.lang.String,
-              com.google.spanner.v1.TypeOrBuilder,
-              com.google.spanner.v1.Type,
-              com.google.spanner.v1.Type.Builder>
+      private com.google.protobuf.MapFieldBuilder
           internalGetMutableParamTypes() {
         if (paramTypes_ == null) {
           paramTypes_ = new com.google.protobuf.MapFieldBuilder<>(paramTypesConverter);
@@ -1483,13 +1345,10 @@ public com.google.spanner.v1.Type build(com.google.spanner.v1.TypeOrBuilder val)
         onChanged();
         return paramTypes_;
       }
-
       public int getParamTypesCount() {
         return internalGetParamTypes().ensureBuilderMap().size();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1506,21 +1365,20 @@ public int getParamTypesCount() {
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public boolean containsParamTypes(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsParamTypes(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetParamTypes().ensureBuilderMap().containsKey(key);
       }
-      /** Use {@link #getParamTypesMap()} instead. */
+      /**
+       * Use {@link #getParamTypesMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getParamTypes() {
         return getParamTypesMap();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1541,8 +1399,6 @@ public java.util.Map getParamTypes
         return internalGetParamTypes().getImmutableMap();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1559,20 +1415,16 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+      public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
           java.lang.String key,
           /* nullable */
-          com.google.spanner.v1.Type defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map =
-            internalGetMutableParamTypes().ensureBuilderMap();
+com.google.spanner.v1.Type defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map = internalGetMutableParamTypes().ensureBuilderMap();
         return map.containsKey(key) ? paramTypesConverter.build(map.get(key)) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1589,26 +1441,21 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map =
-            internalGetMutableParamTypes().ensureBuilderMap();
+      public com.google.spanner.v1.Type getParamTypesOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map = internalGetMutableParamTypes().ensureBuilderMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return paramTypesConverter.build(map.get(key));
       }
-
       public Builder clearParamTypes() {
         bitField0_ = (bitField0_ & ~0x00000004);
         internalGetMutableParamTypes().clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1624,22 +1471,23 @@ public Builder clearParamTypes() {
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-      public Builder removeParamTypes(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableParamTypes().ensureBuilderMap().remove(key);
+      public Builder removeParamTypes(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableParamTypes().ensureBuilderMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableParamTypes() {
+      public java.util.Map
+          getMutableParamTypes() {
         bitField0_ |= 0x00000004;
         return internalGetMutableParamTypes().ensureMessageMap();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1655,20 +1503,17 @@ public java.util.Map getMutablePar
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-      public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        if (value == null) {
-          throw new NullPointerException("map value");
-        }
-        internalGetMutableParamTypes().ensureBuilderMap().put(key, value);
+      public Builder putParamTypes(
+          java.lang.String key,
+          com.google.spanner.v1.Type value) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        if (value == null) { throw new NullPointerException("map value"); }
+        internalGetMutableParamTypes().ensureBuilderMap()
+            .put(key, value);
         bitField0_ |= 0x00000004;
         return this;
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1686,19 +1531,17 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
        */
       public Builder putAllParamTypes(
           java.util.Map values) {
-        for (java.util.Map.Entry e :
-            values.entrySet()) {
+        for (java.util.Map.Entry e : values.entrySet()) {
           if (e.getKey() == null || e.getValue() == null) {
             throw new NullPointerException();
           }
         }
-        internalGetMutableParamTypes().ensureBuilderMap().putAll(values);
+        internalGetMutableParamTypes().ensureBuilderMap()
+            .putAll(values);
         bitField0_ |= 0x00000004;
         return this;
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1714,9 +1557,9 @@ public Builder putAllParamTypes(
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-      public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(java.lang.String key) {
-        java.util.Map builderMap =
-            internalGetMutableParamTypes().ensureBuilderMap();
+      public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(
+          java.lang.String key) {
+        java.util.Map builderMap = internalGetMutableParamTypes().ensureBuilderMap();
         com.google.spanner.v1.TypeOrBuilder entry = builderMap.get(key);
         if (entry == null) {
           entry = com.google.spanner.v1.Type.newBuilder();
@@ -1728,7 +1571,6 @@ public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(java.lang
         }
         return (com.google.spanner.v1.Type.Builder) entry;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1741,12 +1583,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
     private static final com.google.spanner.v1.ExecuteBatchDmlRequest.Statement DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement();
     }
@@ -1755,28 +1597,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Statement 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();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Statement 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;
@@ -1791,24 +1632,19 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int bitField0_;
   public static final int SESSION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object session_ = "";
   /**
-   *
-   *
    * 
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -1817,31 +1653,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1852,8 +1686,6 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    *
@@ -1862,10 +1694,7 @@ public com.google.protobuf.ByteString getSessionBytes() {
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transaction field is set. */ @java.lang.Override @@ -1873,8 +1702,6 @@ public boolean hasTransaction() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    *
@@ -1883,21 +1710,14 @@ public boolean hasTransaction() {
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    *
@@ -1906,24 +1726,17 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } public static final int STATEMENTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List statements_; /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -1933,18 +1746,13 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getStatementsList() { + public java.util.List getStatementsList() { return statements_; } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -1954,18 +1762,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getStatementsOrBuilderList() { return statements_; } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -1975,17 +1779,13 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -1995,17 +1795,13 @@ public int getStatementsCount() {
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) { return statements_.get(index); } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -2015,9 +1811,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( @@ -2028,8 +1822,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem public static final int SEQNO_FIELD_NUMBER = 4; private long seqno_ = 0L; /** - * - * *
    * Required. A per-transaction sequence number used to identify this request.
    * This field makes each request idempotent such that if the request is
@@ -2042,7 +1834,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ @java.lang.Override @@ -2053,14 +1844,11 @@ public long getSeqno() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 5; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -2068,25 +1856,18 @@ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -2095,13 +1876,10 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2113,7 +1891,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -2142,16 +1921,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } for (int i = 0; i < statements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, statements_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, statements_.get(i)); } if (seqno_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, seqno_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, seqno_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRequestOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2161,24 +1944,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ExecuteBatchDmlRequest)) { return super.equals(obj); } - com.google.spanner.v1.ExecuteBatchDmlRequest other = - (com.google.spanner.v1.ExecuteBatchDmlRequest) obj; + com.google.spanner.v1.ExecuteBatchDmlRequest other = (com.google.spanner.v1.ExecuteBatchDmlRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } - if (!getStatementsList().equals(other.getStatementsList())) return false; - if (getSeqno() != other.getSeqno()) return false; + if (!getStatementsList() + .equals(other.getStatementsList())) return false; + if (getSeqno() + != other.getSeqno()) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2202,7 +1989,8 @@ public int hashCode() { hash = (53 * hash) + getStatementsList().hashCode(); } hash = (37 * hash) + SEQNO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSeqno()); if (hasRequestOptions()) { hash = (37 * hash) + REQUEST_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getRequestOptions().hashCode(); @@ -2212,127 +2000,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest) com.google.spanner.v1.ExecuteBatchDmlRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); } // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.newBuilder() @@ -2340,19 +2121,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTransactionFieldBuilder(); getStatementsFieldBuilder(); getRequestOptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2380,9 +2161,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override @@ -2401,12 +2182,9 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest build() { @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest buildPartial() { - com.google.spanner.v1.ExecuteBatchDmlRequest result = - new com.google.spanner.v1.ExecuteBatchDmlRequest(this); + com.google.spanner.v1.ExecuteBatchDmlRequest result = new com.google.spanner.v1.ExecuteBatchDmlRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2430,16 +2208,18 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest result) } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.seqno_ = seqno_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.requestOptions_ = - requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); + result.requestOptions_ = requestOptionsBuilder_ == null + ? requestOptions_ + : requestOptionsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -2449,39 +2229,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.ExecuteBatchDmlRequest) { - return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest) other); + return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest)other); } else { super.mergeFrom(other); return this; @@ -2516,10 +2295,9 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest other) { statementsBuilder_ = null; statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000004); - statementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStatementsFieldBuilder() - : null; + statementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStatementsFieldBuilder() : null; } else { statementsBuilder_.addAllMessages(other.statements_); } @@ -2557,51 +2335,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement m = - input.readMessage( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.parser(), - extensionRegistry); - if (statementsBuilder_ == null) { - ensureStatementsIsMutable(); - statements_.add(m); - } else { - statementsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - seqno_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement m = + input.readMessage( + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.parser(), + extensionRegistry); + if (statementsBuilder_ == null) { + ensureStatementsIsMutable(); + statements_.add(m); + } else { + statementsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + seqno_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getRequestOptionsFieldBuilder().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) { @@ -2611,27 +2387,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -2640,23 +2411,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -2664,39 +2432,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -2706,23 +2463,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -2732,13 +2483,8 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2747,18 +2493,13 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2767,24 +2508,17 @@ public boolean hasTransaction() {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2793,9 +2527,7 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) { if (transactionBuilder_ == null) { @@ -2811,8 +2543,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) { return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2821,9 +2551,7 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransaction( com.google.spanner.v1.TransactionSelector.Builder builderForValue) { @@ -2837,8 +2565,6 @@ public Builder setTransaction( return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2847,15 +2573,13 @@ public Builder setTransaction(
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) { if (transactionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && transaction_ != null - && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + transaction_ != null && + transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) { getTransactionBuilder().mergeFrom(value); } else { transaction_ = value; @@ -2870,8 +2594,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2880,9 +2602,7 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransaction() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2895,8 +2615,6 @@ public Builder clearTransaction() { return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2905,9 +2623,7 @@ public Builder clearTransaction() {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() { bitField0_ |= 0x00000002; @@ -2915,8 +2631,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() return getTransactionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2925,22 +2639,17 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? + com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      *
@@ -2949,48 +2658,35 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { - transactionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder>( - getTransaction(), getParentForChildren(), isClean()); + transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>( + getTransaction(), + getParentForChildren(), + isClean()); transaction_ = null; } return transactionBuilder_; } private java.util.List statements_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - statements_ = - new java.util.ArrayList( - statements_); + statements_ = new java.util.ArrayList(statements_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> - statementsBuilder_; + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> statementsBuilder_; /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3000,12 +2696,9 @@ private void ensureStatementsIsMutable() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getStatementsList() { + public java.util.List getStatementsList() { if (statementsBuilder_ == null) { return java.util.Collections.unmodifiableList(statements_); } else { @@ -3013,8 +2706,6 @@ private void ensureStatementsIsMutable() { } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3024,9 +2715,7 @@ private void ensureStatementsIsMutable() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getStatementsCount() { if (statementsBuilder_ == null) { @@ -3036,8 +2725,6 @@ public int getStatementsCount() { } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3047,9 +2734,7 @@ public int getStatementsCount() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) { if (statementsBuilder_ == null) { @@ -3059,8 +2744,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3070,9 +2753,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { @@ -3089,8 +2770,6 @@ public Builder setStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3100,9 +2779,7 @@ public Builder setStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -3116,8 +2793,6 @@ public Builder setStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3127,9 +2802,7 @@ public Builder setStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { if (statementsBuilder_ == null) { @@ -3145,8 +2818,6 @@ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statem return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3156,9 +2827,7 @@ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statem
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { @@ -3175,8 +2844,6 @@ public Builder addStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3186,9 +2853,7 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements( com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -3202,8 +2867,6 @@ public Builder addStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3213,9 +2876,7 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -3229,8 +2890,6 @@ public Builder addStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3240,16 +2899,14 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllStatements( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (statementsBuilder_ == null) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); onChanged(); } else { statementsBuilder_.addAllMessages(values); @@ -3257,8 +2914,6 @@ public Builder addAllStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3268,9 +2923,7 @@ public Builder addAllStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStatements() { if (statementsBuilder_ == null) { @@ -3283,8 +2936,6 @@ public Builder clearStatements() { return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3294,9 +2945,7 @@ public Builder clearStatements() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeStatements(int index) { if (statementsBuilder_ == null) { @@ -3309,8 +2958,6 @@ public Builder removeStatements(int index) { return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3320,17 +2967,13 @@ public Builder removeStatements(int index) {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder getStatementsBuilder( int index) { return getStatementsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3340,21 +2983,16 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder getStateme
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( int index) { if (statementsBuilder_ == null) { - return statements_.get(index); - } else { + return statements_.get(index); } else { return statementsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3364,12 +3002,10 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getStatementsOrBuilderList() { + public java.util.List + getStatementsOrBuilderList() { if (statementsBuilder_ != null) { return statementsBuilder_.getMessageOrBuilderList(); } else { @@ -3377,8 +3013,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3388,17 +3022,13 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder() { - return getStatementsFieldBuilder() - .addBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); + return getStatementsFieldBuilder().addBuilder( + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3408,19 +3038,14 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder( int index) { - return getStatementsFieldBuilder() - .addBuilder( - index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); + return getStatementsFieldBuilder().addBuilder( + index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are
      * executed serially, such that the effects of statement `i` are visible to
@@ -3430,36 +3055,29 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getStatementsBuilderList() { + public java.util.List + getStatementsBuilderList() { return getStatementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> getStatementsFieldBuilder() { if (statementsBuilder_ == null) { - statementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>( - statements_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + statementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>( + statements_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); statements_ = null; } return statementsBuilder_; } - private long seqno_; + private long seqno_ ; /** - * - * *
      * Required. A per-transaction sequence number used to identify this request.
      * This field makes each request idempotent such that if the request is
@@ -3472,7 +3090,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ @java.lang.Override @@ -3480,8 +3097,6 @@ public long getSeqno() { return seqno_; } /** - * - * *
      * Required. A per-transaction sequence number used to identify this request.
      * This field makes each request idempotent such that if the request is
@@ -3494,7 +3109,6 @@ public long getSeqno() {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The seqno to set. * @return This builder for chaining. */ @@ -3506,8 +3120,6 @@ public Builder setSeqno(long value) { return this; } /** - * - * *
      * Required. A per-transaction sequence number used to identify this request.
      * This field makes each request idempotent such that if the request is
@@ -3520,7 +3132,6 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSeqno() { @@ -3532,47 +3143,34 @@ public Builder clearSeqno() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -3593,15 +3191,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -3612,8 +3209,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3622,9 +3217,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -3639,8 +3234,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3658,8 +3251,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3672,8 +3263,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -3684,14 +3273,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -3699,24 +3285,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3726,12 +3309,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest) private static final com.google.spanner.v1.ExecuteBatchDmlRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest(); } @@ -3740,27 +3323,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecuteBatchDmlRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteBatchDmlRequest 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; @@ -3775,4 +3358,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java index 7efd8f3d875..e4b71f4b0f1 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java @@ -1,61 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface ExecuteBatchDmlRequestOrBuilder - extends +public interface ExecuteBatchDmlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    *
@@ -64,16 +37,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    *
@@ -82,16 +50,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    *
@@ -100,15 +63,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -118,14 +77,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -135,14 +91,10 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -152,14 +104,10 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getStatementsCount(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -169,15 +117,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getStatementsOrBuilderList(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are
    * executed serially, such that the effects of statement `i` are visible to
@@ -187,15 +131,12 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder(int index); + com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( + int index); /** - * - * *
    * Required. A per-transaction sequence number used to identify this request.
    * This field makes each request idempotent such that if the request is
@@ -208,38 +149,29 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ long getSeqno(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java similarity index 81% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java index 9a496542f87..70c4807ba29 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * The response for
  * [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
@@ -58,49 +41,44 @@
  *
  * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
  */
-public final class ExecuteBatchDmlResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExecuteBatchDmlResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlResponse)
     ExecuteBatchDmlResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExecuteBatchDmlResponse.newBuilder() to construct.
   private ExecuteBatchDmlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExecuteBatchDmlResponse() {
     resultSets_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExecuteBatchDmlResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ExecuteBatchDmlResponse.class,
-            com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+            com.google.spanner.v1.ExecuteBatchDmlResponse.class, com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int RESULT_SETS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List resultSets_;
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -120,8 +98,6 @@ public java.util.List getResultSetsList() {
     return resultSets_;
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -137,13 +113,11 @@ public java.util.List getResultSetsList() {
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResultSetsOrBuilderList() {
     return resultSets_;
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -163,8 +137,6 @@ public int getResultSetsCount() {
     return resultSets_.size();
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -184,8 +156,6 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
     return resultSets_.get(index);
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -201,22 +171,20 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
+  public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
+      int index) {
     return resultSets_.get(index);
   }
 
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
-   *
-   *
    * 
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -224,15 +192,12 @@ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -240,8 +205,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
@@ -255,7 +218,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -267,7 +229,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < resultSets_.size(); i++) {
       output.writeMessage(1, resultSets_.get(i));
     }
@@ -284,10 +247,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < resultSets_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resultSets_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, resultSets_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStatus());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -297,18 +262,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.ExecuteBatchDmlResponse)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.ExecuteBatchDmlResponse other =
-        (com.google.spanner.v1.ExecuteBatchDmlResponse) obj;
+    com.google.spanner.v1.ExecuteBatchDmlResponse other = (com.google.spanner.v1.ExecuteBatchDmlResponse) obj;
 
-    if (!getResultSetsList().equals(other.getResultSetsList())) return false;
+    if (!getResultSetsList()
+        .equals(other.getResultSetsList())) return false;
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -334,104 +300,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response for
    * [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
@@ -468,23 +429,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlResponse)
       com.google.spanner.v1.ExecuteBatchDmlResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ExecuteBatchDmlResponse.class,
-              com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+              com.google.spanner.v1.ExecuteBatchDmlResponse.class, com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ExecuteBatchDmlResponse.newBuilder()
@@ -492,18 +451,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getResultSetsFieldBuilder();
         getStatusFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -524,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
     }
 
     @java.lang.Override
@@ -545,12 +504,9 @@ public com.google.spanner.v1.ExecuteBatchDmlResponse build() {
 
     @java.lang.Override
     public com.google.spanner.v1.ExecuteBatchDmlResponse buildPartial() {
-      com.google.spanner.v1.ExecuteBatchDmlResponse result =
-          new com.google.spanner.v1.ExecuteBatchDmlResponse(this);
+      com.google.spanner.v1.ExecuteBatchDmlResponse result = new com.google.spanner.v1.ExecuteBatchDmlResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -571,7 +527,9 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlResponse result)
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
+        result.status_ = statusBuilder_ == null
+            ? status_
+            : statusBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -581,39 +539,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlResponse result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.ExecuteBatchDmlResponse) {
-        return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlResponse) other);
+        return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -640,10 +597,9 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlResponse other) {
             resultSetsBuilder_ = null;
             resultSets_ = other.resultSets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resultSetsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResultSetsFieldBuilder()
-                    : null;
+            resultSetsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResultSetsFieldBuilder() : null;
           } else {
             resultSetsBuilder_.addAllMessages(other.resultSets_);
           }
@@ -678,31 +634,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.v1.ResultSet m =
-                    input.readMessage(com.google.spanner.v1.ResultSet.parser(), extensionRegistry);
-                if (resultSetsBuilder_ == null) {
-                  ensureResultSetsIsMutable();
-                  resultSets_.add(m);
-                } else {
-                  resultSetsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.v1.ResultSet m =
+                  input.readMessage(
+                      com.google.spanner.v1.ResultSet.parser(),
+                      extensionRegistry);
+              if (resultSetsBuilder_ == null) {
+                ensureResultSetsIsMutable();
+                resultSets_.add(m);
+              } else {
+                resultSetsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -712,28 +669,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List resultSets_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureResultSetsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         resultSets_ = new java.util.ArrayList(resultSets_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.ResultSet,
-            com.google.spanner.v1.ResultSet.Builder,
-            com.google.spanner.v1.ResultSetOrBuilder>
-        resultSetsBuilder_;
+        com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder> resultSetsBuilder_;
 
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -756,8 +706,6 @@ public java.util.List getResultSetsList() {
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -780,8 +728,6 @@ public int getResultSetsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -804,8 +750,6 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -820,7 +764,8 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder setResultSets(int index, com.google.spanner.v1.ResultSet value) {
+    public Builder setResultSets(
+        int index, com.google.spanner.v1.ResultSet value) {
       if (resultSetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -834,8 +779,6 @@ public Builder setResultSets(int index, com.google.spanner.v1.ResultSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -862,8 +805,6 @@ public Builder setResultSets(
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -892,8 +833,6 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -908,7 +847,8 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet value) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
+    public Builder addResultSets(
+        int index, com.google.spanner.v1.ResultSet value) {
       if (resultSetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -922,8 +862,6 @@ public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -938,7 +876,8 @@ public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder addResultSets(com.google.spanner.v1.ResultSet.Builder builderForValue) {
+    public Builder addResultSets(
+        com.google.spanner.v1.ResultSet.Builder builderForValue) {
       if (resultSetsBuilder_ == null) {
         ensureResultSetsIsMutable();
         resultSets_.add(builderForValue.build());
@@ -949,8 +888,6 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -977,8 +914,6 @@ public Builder addResultSets(
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -997,7 +932,8 @@ public Builder addAllResultSets(
         java.lang.Iterable values) {
       if (resultSetsBuilder_ == null) {
         ensureResultSetsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resultSets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, resultSets_);
         onChanged();
       } else {
         resultSetsBuilder_.addAllMessages(values);
@@ -1005,8 +941,6 @@ public Builder addAllResultSets(
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1032,8 +966,6 @@ public Builder clearResultSets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1059,8 +991,6 @@ public Builder removeResultSets(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1075,12 +1005,11 @@ public Builder removeResultSets(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(int index) {
+    public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(
+        int index) {
       return getResultSetsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1095,16 +1024,14 @@ public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
+    public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
+        int index) {
       if (resultSetsBuilder_ == null) {
-        return resultSets_.get(index);
-      } else {
+        return resultSets_.get(index);  } else {
         return resultSetsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1119,8 +1046,8 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public java.util.List
-        getResultSetsOrBuilderList() {
+    public java.util.List 
+         getResultSetsOrBuilderList() {
       if (resultSetsBuilder_ != null) {
         return resultSetsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1128,8 +1055,6 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1145,12 +1070,10 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
     public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder() {
-      return getResultSetsFieldBuilder()
-          .addBuilder(com.google.spanner.v1.ResultSet.getDefaultInstance());
+      return getResultSetsFieldBuilder().addBuilder(
+          com.google.spanner.v1.ResultSet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1165,13 +1088,12 @@ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder() {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(int index) {
-      return getResultSetsFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.ResultSet.getDefaultInstance());
+    public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(
+        int index) {
+      return getResultSetsFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.ResultSet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
      * request that ran successfully, in the same order as the statements in the
@@ -1186,22 +1108,20 @@ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public java.util.List getResultSetsBuilderList() {
+    public java.util.List 
+         getResultSetsBuilderList() {
       return getResultSetsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.ResultSet,
-            com.google.spanner.v1.ResultSet.Builder,
-            com.google.spanner.v1.ResultSetOrBuilder>
+        com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder> 
         getResultSetsFieldBuilder() {
       if (resultSetsBuilder_ == null) {
-        resultSetsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.ResultSet,
-                com.google.spanner.v1.ResultSet.Builder,
-                com.google.spanner.v1.ResultSetOrBuilder>(
-                resultSets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        resultSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder>(
+                resultSets_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         resultSets_ = null;
       }
       return resultSetsBuilder_;
@@ -1209,33 +1129,26 @@ public java.util.List getResultSetsBuil
 
     private com.google.rpc.Status status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        statusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1246,8 +1159,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1269,8 +1180,6 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1278,7 +1187,8 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 2;
      */
-    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
       } else {
@@ -1289,8 +1199,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1300,9 +1208,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
      */
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && status_ != null
-            && status_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          status_ != null &&
+          status_ != com.google.rpc.Status.getDefaultInstance()) {
           getStatusBuilder().mergeFrom(value);
         } else {
           status_ = value;
@@ -1317,8 +1225,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1337,8 +1243,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1352,8 +1256,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
       return getStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1365,12 +1267,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilder();
       } else {
-        return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+        return status_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : status_;
       }
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1379,21 +1280,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * .google.rpc.Status status = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+        statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getStatus(),
+                getParentForChildren(),
+                isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1403,12 +1304,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlResponse)
   private static final com.google.spanner.v1.ExecuteBatchDmlResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlResponse();
   }
@@ -1417,27 +1318,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExecuteBatchDmlResponse 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExecuteBatchDmlResponse 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;
@@ -1452,4 +1353,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
similarity index 84%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
index c63e8364b07..91f54734e9c 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface ExecuteBatchDmlResponseOrBuilder
-    extends
+public interface ExecuteBatchDmlResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -41,10 +23,9 @@ public interface ExecuteBatchDmlResponseOrBuilder
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  java.util.List getResultSetsList();
+  java.util.List 
+      getResultSetsList();
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -61,8 +42,6 @@ public interface ExecuteBatchDmlResponseOrBuilder
    */
   com.google.spanner.v1.ResultSet getResultSets(int index);
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -79,8 +58,6 @@ public interface ExecuteBatchDmlResponseOrBuilder
    */
   int getResultSetsCount();
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -95,10 +72,9 @@ public interface ExecuteBatchDmlResponseOrBuilder
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  java.util.List getResultSetsOrBuilderList();
+  java.util.List 
+      getResultSetsOrBuilderList();
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the
    * request that ran successfully, in the same order as the statements in the
@@ -113,37 +89,30 @@ public interface ExecuteBatchDmlResponseOrBuilder
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index);
+  com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
similarity index 78%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
index b24ad8077d4..a41ea2fae10 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
  * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest}
  */
-public final class ExecuteSqlRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExecuteSqlRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteSqlRequest)
     ExecuteSqlRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExecuteSqlRequest.newBuilder() to construct.
   private ExecuteSqlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExecuteSqlRequest() {
     session_ = "";
     sql_ = "";
@@ -49,13 +31,14 @@ private ExecuteSqlRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExecuteSqlRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -66,33 +49,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 5:
         return internalGetParamTypes();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ExecuteSqlRequest.class,
-            com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
+            com.google.spanner.v1.ExecuteSqlRequest.class, com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Mode in which the statement must be processed.
    * 
* * Protobuf enum {@code google.spanner.v1.ExecuteSqlRequest.QueryMode} */ - public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum { + public enum QueryMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default mode. Only the statement results are returned.
      * 
@@ -101,8 +79,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum { */ NORMAL(0), /** - * - * *
      * This mode returns only the query plan, without any results or
      * execution statistics information.
@@ -112,8 +88,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     PLAN(1),
     /**
-     *
-     *
      * 
      * This mode returns both the query plan and the execution statistics along
      * with the results.
@@ -126,8 +100,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The default mode. Only the statement results are returned.
      * 
@@ -136,8 +108,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NORMAL_VALUE = 0; /** - * - * *
      * This mode returns only the query plan, without any results or
      * execution statistics information.
@@ -147,8 +117,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PLAN_VALUE = 1;
     /**
-     *
-     *
      * 
      * This mode returns both the query plan and the execution statistics along
      * with the results.
@@ -158,6 +126,7 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PROFILE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -182,49 +151,49 @@ public static QueryMode valueOf(int value) {
      */
     public static QueryMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return NORMAL;
-        case 1:
-          return PLAN;
-        case 2:
-          return PROFILE;
-        default:
-          return null;
+        case 0: return NORMAL;
+        case 1: return PLAN;
+        case 2: return PROFILE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        QueryMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public QueryMode findValueByNumber(int number) {
+              return QueryMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public QueryMode findValueByNumber(int number) {
-            return QueryMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.spanner.v1.ExecuteSqlRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final QueryMode[] VALUES = values();
 
-    public static QueryMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static QueryMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -241,14 +210,11 @@ private QueryMode(int value) {
     // @@protoc_insertion_point(enum_scope:google.spanner.v1.ExecuteSqlRequest.QueryMode)
   }
 
-  public interface QueryOptionsOrBuilder
-      extends
+  public interface QueryOptionsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteSqlRequest.QueryOptions)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * An option to control the selection of optimizer version.
      *
@@ -275,13 +241,10 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_version = 1; - * * @return The optimizerVersion. */ java.lang.String getOptimizerVersion(); /** - * - * *
      * An option to control the selection of optimizer version.
      *
@@ -308,14 +271,12 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_version = 1; - * * @return The bytes for optimizerVersion. */ - com.google.protobuf.ByteString getOptimizerVersionBytes(); + com.google.protobuf.ByteString + getOptimizerVersionBytes(); /** - * - * *
      * An option to control the selection of optimizer statistics package.
      *
@@ -344,13 +305,10 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_statistics_package = 2; - * * @return The optimizerStatisticsPackage. */ java.lang.String getOptimizerStatisticsPackage(); /** - * - * *
      * An option to control the selection of optimizer statistics package.
      *
@@ -379,30 +337,27 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_statistics_package = 2; - * * @return The bytes for optimizerStatisticsPackage. */ - com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes(); + com.google.protobuf.ByteString + getOptimizerStatisticsPackageBytes(); } /** - * - * *
    * Query optimizer configuration.
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest.QueryOptions} */ - public static final class QueryOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteSqlRequest.QueryOptions) QueryOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryOptions.newBuilder() to construct. private QueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryOptions() { optimizerVersion_ = ""; optimizerStatisticsPackage_ = ""; @@ -410,32 +365,28 @@ private QueryOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); } public static final int OPTIMIZER_VERSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object optimizerVersion_ = ""; /** - * - * *
      * An option to control the selection of optimizer version.
      *
@@ -462,7 +413,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string optimizer_version = 1; - * * @return The optimizerVersion. */ @java.lang.Override @@ -471,15 +421,14 @@ public java.lang.String getOptimizerVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerVersion_ = s; return s; } } /** - * - * *
      * An option to control the selection of optimizer version.
      *
@@ -506,15 +455,16 @@ public java.lang.String getOptimizerVersion() {
      * 
* * string optimizer_version = 1; - * * @return The bytes for optimizerVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizerVersionBytes() { + public com.google.protobuf.ByteString + getOptimizerVersionBytes() { java.lang.Object ref = optimizerVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerVersion_ = b; return b; } else { @@ -523,12 +473,9 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() { } public static final int OPTIMIZER_STATISTICS_PACKAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object optimizerStatisticsPackage_ = ""; /** - * - * *
      * An option to control the selection of optimizer statistics package.
      *
@@ -557,7 +504,6 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() {
      * 
* * string optimizer_statistics_package = 2; - * * @return The optimizerStatisticsPackage. */ @java.lang.Override @@ -566,15 +512,14 @@ public java.lang.String getOptimizerStatisticsPackage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerStatisticsPackage_ = s; return s; } } /** - * - * *
      * An option to control the selection of optimizer statistics package.
      *
@@ -603,15 +548,16 @@ public java.lang.String getOptimizerStatisticsPackage() {
      * 
* * string optimizer_statistics_package = 2; - * * @return The bytes for optimizerStatisticsPackage. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { + public com.google.protobuf.ByteString + getOptimizerStatisticsPackageBytes() { java.lang.Object ref = optimizerStatisticsPackage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerStatisticsPackage_ = b; return b; } else { @@ -620,7 +566,6 @@ public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -632,7 +577,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizerVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, optimizerVersion_); } @@ -652,9 +598,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, optimizerVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizerStatisticsPackage_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 2, optimizerStatisticsPackage_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, optimizerStatisticsPackage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -664,17 +608,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ExecuteSqlRequest.QueryOptions)) { return super.equals(obj); } - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other = - (com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) obj; + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other = (com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) obj; - if (!getOptimizerVersion().equals(other.getOptimizerVersion())) return false; - if (!getOptimizerStatisticsPackage().equals(other.getOptimizerStatisticsPackage())) - return false; + if (!getOptimizerVersion() + .equals(other.getOptimizerVersion())) return false; + if (!getOptimizerStatisticsPackage() + .equals(other.getOptimizerStatisticsPackage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -696,94 +640,89 @@ public int hashCode() { } public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions prototype) { + public static Builder newBuilder(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -793,41 +732,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Query optimizer configuration.
      * 
* * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest.QueryOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteSqlRequest.QueryOptions) com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); } // Construct using com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -838,9 +775,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override @@ -859,11 +796,8 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions build() { @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions buildPartial() { - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = - new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -882,41 +816,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) { - return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) other); + return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest.QueryOptions)other); } else { super.mergeFrom(other); return this; @@ -924,8 +855,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other) { - if (other == com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) return this; if (!other.getOptimizerVersion().isEmpty()) { optimizerVersion_ = other.optimizerVersion_; bitField0_ |= 0x00000001; @@ -962,25 +892,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - optimizerVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - optimizerStatisticsPackage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + optimizerVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + optimizerStatisticsPackage_ = 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) { @@ -990,13 +917,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object optimizerVersion_ = ""; /** - * - * *
        * An option to control the selection of optimizer version.
        *
@@ -1023,13 +947,13 @@ public Builder mergeFrom(
        * 
* * string optimizer_version = 1; - * * @return The optimizerVersion. */ public java.lang.String getOptimizerVersion() { java.lang.Object ref = optimizerVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerVersion_ = s; return s; @@ -1038,8 +962,6 @@ public java.lang.String getOptimizerVersion() { } } /** - * - * *
        * An option to control the selection of optimizer version.
        *
@@ -1066,14 +988,15 @@ public java.lang.String getOptimizerVersion() {
        * 
* * string optimizer_version = 1; - * * @return The bytes for optimizerVersion. */ - public com.google.protobuf.ByteString getOptimizerVersionBytes() { + public com.google.protobuf.ByteString + getOptimizerVersionBytes() { java.lang.Object ref = optimizerVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerVersion_ = b; return b; } else { @@ -1081,8 +1004,6 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() { } } /** - * - * *
        * An option to control the selection of optimizer version.
        *
@@ -1109,22 +1030,18 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() {
        * 
* * string optimizer_version = 1; - * * @param value The optimizerVersion to set. * @return This builder for chaining. */ - public Builder setOptimizerVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizerVersion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer version.
        *
@@ -1151,7 +1068,6 @@ public Builder setOptimizerVersion(java.lang.String value) {
        * 
* * string optimizer_version = 1; - * * @return This builder for chaining. */ public Builder clearOptimizerVersion() { @@ -1161,8 +1077,6 @@ public Builder clearOptimizerVersion() { return this; } /** - * - * *
        * An option to control the selection of optimizer version.
        *
@@ -1189,14 +1103,12 @@ public Builder clearOptimizerVersion() {
        * 
* * string optimizer_version = 1; - * * @param value The bytes for optimizerVersion to set. * @return This builder for chaining. */ - public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizerVersion_ = value; bitField0_ |= 0x00000001; @@ -1206,8 +1118,6 @@ public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object optimizerStatisticsPackage_ = ""; /** - * - * *
        * An option to control the selection of optimizer statistics package.
        *
@@ -1236,13 +1146,13 @@ public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) {
        * 
* * string optimizer_statistics_package = 2; - * * @return The optimizerStatisticsPackage. */ public java.lang.String getOptimizerStatisticsPackage() { java.lang.Object ref = optimizerStatisticsPackage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerStatisticsPackage_ = s; return s; @@ -1251,8 +1161,6 @@ public java.lang.String getOptimizerStatisticsPackage() { } } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        *
@@ -1281,14 +1189,15 @@ public java.lang.String getOptimizerStatisticsPackage() {
        * 
* * string optimizer_statistics_package = 2; - * * @return The bytes for optimizerStatisticsPackage. */ - public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { + public com.google.protobuf.ByteString + getOptimizerStatisticsPackageBytes() { java.lang.Object ref = optimizerStatisticsPackage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerStatisticsPackage_ = b; return b; } else { @@ -1296,8 +1205,6 @@ public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { } } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        *
@@ -1326,22 +1233,18 @@ public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() {
        * 
* * string optimizer_statistics_package = 2; - * * @param value The optimizerStatisticsPackage to set. * @return This builder for chaining. */ - public Builder setOptimizerStatisticsPackage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerStatisticsPackage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizerStatisticsPackage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        *
@@ -1370,7 +1273,6 @@ public Builder setOptimizerStatisticsPackage(java.lang.String value) {
        * 
* * string optimizer_statistics_package = 2; - * * @return This builder for chaining. */ public Builder clearOptimizerStatisticsPackage() { @@ -1380,8 +1282,6 @@ public Builder clearOptimizerStatisticsPackage() { return this; } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        *
@@ -1410,21 +1310,18 @@ public Builder clearOptimizerStatisticsPackage() {
        * 
* * string optimizer_statistics_package = 2; - * * @param value The bytes for optimizerStatisticsPackage to set. * @return This builder for chaining. */ - public Builder setOptimizerStatisticsPackageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerStatisticsPackageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizerStatisticsPackage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1437,12 +1334,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteSqlRequest.QueryOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteSqlRequest.QueryOptions) private static final com.google.spanner.v1.ExecuteSqlRequest.QueryOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(); } @@ -1451,28 +1348,27 @@ public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryOptions 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryOptions 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; @@ -1487,24 +1383,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -1513,31 +1404,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1548,8 +1437,6 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * The transaction to use.
    *
@@ -1564,7 +1451,6 @@ public com.google.protobuf.ByteString getSessionBytes() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -1572,8 +1458,6 @@ public boolean hasTransaction() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The transaction to use.
    *
@@ -1588,18 +1472,13 @@ public boolean hasTransaction() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * The transaction to use.
    *
@@ -1617,24 +1496,18 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int SQL_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sql_ = "";
   /**
-   *
-   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -1643,29 +1516,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1676,8 +1549,6 @@ public com.google.protobuf.ByteString getSqlBytes() { public static final int PARAMS_FIELD_NUMBER = 4; private com.google.protobuf.Struct params_; /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -1695,7 +1566,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ @java.lang.Override @@ -1703,8 +1573,6 @@ public boolean hasParams() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -1722,7 +1590,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ @java.lang.Override @@ -1730,8 +1597,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -1756,37 +1621,32 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int PARAM_TYPES_FIELD_NUMBER = 5;
-
   private static final class ParamTypesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.spanner.v1.Type> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.spanner.v1.SpannerProto
-                        .internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.spanner.v1.Type.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.spanner.v1.Type.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField paramTypes_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.spanner.v1.Type> paramTypes_;
   private com.google.protobuf.MapField
-      internalGetParamTypes() {
+  internalGetParamTypes() {
     if (paramTypes_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          ParamTypesDefaultEntryHolder.defaultEntry);
     }
     return paramTypes_;
   }
-
   public int getParamTypesCount() {
     return internalGetParamTypes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1802,21 +1662,20 @@ public int getParamTypesCount() {
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public boolean containsParamTypes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsParamTypes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetParamTypes().getMap().containsKey(key);
   }
-  /** Use {@link #getParamTypesMap()} instead. */
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getParamTypes() {
     return getParamTypesMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1836,8 +1695,6 @@ public java.util.Map getParamTypes
     return internalGetParamTypes().getMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1853,20 +1710,17 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+  public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.spanner.v1.Type defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1882,10 +1736,9 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     if (!map.containsKey(key)) {
@@ -1897,8 +1750,6 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
   public static final int RESUME_TOKEN_FIELD_NUMBER = 6;
   private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -1909,7 +1760,6 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
    * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ @java.lang.Override @@ -1920,8 +1770,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int QUERY_MODE_FIELD_NUMBER = 7; private int queryMode_ = 0; /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -1932,16 +1780,12 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The enum numeric value on the wire for queryMode. */ - @java.lang.Override - public int getQueryModeValue() { + @java.lang.Override public int getQueryModeValue() { return queryMode_; } /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -1952,21 +1796,16 @@ public int getQueryModeValue() {
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The queryMode. */ - @java.lang.Override - public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = - com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); + @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); return result == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED : result; } public static final int PARTITION_TOKEN_FIELD_NUMBER = 8; private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -1975,7 +1814,6 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() {
    * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ @java.lang.Override @@ -1986,8 +1824,6 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int SEQNO_FIELD_NUMBER = 9; private long seqno_ = 0L; /** - * - * *
    * A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -2002,7 +1838,6 @@ public com.google.protobuf.ByteString getPartitionToken() {
    * 
* * int64 seqno = 9; - * * @return The seqno. */ @java.lang.Override @@ -2013,14 +1848,11 @@ public long getSeqno() { public static final int QUERY_OPTIONS_FIELD_NUMBER = 10; private com.google.spanner.v1.ExecuteSqlRequest.QueryOptions queryOptions_; /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return Whether the queryOptions field is set. */ @java.lang.Override @@ -2028,25 +1860,18 @@ public boolean hasQueryOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return The queryOptions. */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
@@ -2055,22 +1880,17 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder() { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } public static final int REQUEST_OPTIONS_FIELD_NUMBER = 11; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -2078,25 +1898,18 @@ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -2105,22 +1918,17 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } public static final int DIRECTED_READ_OPTIONS_FIELD_NUMBER = 15; private com.google.spanner.v1.DirectedReadOptions directedReadOptions_; /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 15; - * * @return Whether the directedReadOptions field is set. */ @java.lang.Override @@ -2128,25 +1936,18 @@ public boolean hasDirectedReadOptions() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 15; - * * @return The directedReadOptions. */ @java.lang.Override public com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions() { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } /** - * - * *
    * Directed read options for this request.
    * 
@@ -2155,16 +1956,12 @@ public com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions() { */ @java.lang.Override public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptionsOrBuilder() { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } public static final int DATA_BOOST_ENABLED_FIELD_NUMBER = 16; private boolean dataBoostEnabled_ = false; /** - * - * *
    * If this is for a partitioned query and this field is set to `true`, the
    * request is executed with Spanner Data Boost independent compute resources.
@@ -2174,7 +1971,6 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions
    * 
* * bool data_boost_enabled = 16; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -2183,7 +1979,6 @@ public boolean getDataBoostEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2195,7 +1990,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -2208,8 +2004,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getParams()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetParamTypes(), + ParamTypesDefaultEntryHolder.defaultEntry, + 5); if (!resumeToken_.isEmpty()) { output.writeBytes(6, resumeToken_); } @@ -2247,48 +2047,57 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sql_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getParams()); - } - for (java.util.Map.Entry entry : - internalGetParamTypes().getMap().entrySet()) { - com.google.protobuf.MapEntry paramTypes__ = - ParamTypesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, paramTypes__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getParams()); + } + for (java.util.Map.Entry entry + : internalGetParamTypes().getMap().entrySet()) { + com.google.protobuf.MapEntry + paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, paramTypes__); } if (!resumeToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, resumeToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, resumeToken_); } if (queryMode_ != com.google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, queryMode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, queryMode_); } if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(8, partitionToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(8, partitionToken_); } if (seqno_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, seqno_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, seqno_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getQueryOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getQueryOptions()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getRequestOptions()); } if (((bitField0_ & 0x00000010) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(15, getDirectedReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getDirectedReadOptions()); } if (dataBoostEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, dataBoostEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, dataBoostEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2298,41 +2107,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ExecuteSqlRequest)) { return super.equals(obj); } com.google.spanner.v1.ExecuteSqlRequest other = (com.google.spanner.v1.ExecuteSqlRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } - if (!getSql().equals(other.getSql())) return false; + if (!getSql() + .equals(other.getSql())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false; - if (!getResumeToken().equals(other.getResumeToken())) return false; + if (!internalGetParamTypes().equals( + other.internalGetParamTypes())) return false; + if (!getResumeToken() + .equals(other.getResumeToken())) return false; if (queryMode_ != other.queryMode_) return false; - if (!getPartitionToken().equals(other.getPartitionToken())) return false; - if (getSeqno() != other.getSeqno()) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; + if (getSeqno() + != other.getSeqno()) return false; if (hasQueryOptions() != other.hasQueryOptions()) return false; if (hasQueryOptions()) { - if (!getQueryOptions().equals(other.getQueryOptions())) return false; + if (!getQueryOptions() + .equals(other.getQueryOptions())) return false; } if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } if (hasDirectedReadOptions() != other.hasDirectedReadOptions()) return false; if (hasDirectedReadOptions()) { - if (!getDirectedReadOptions().equals(other.getDirectedReadOptions())) return false; + if (!getDirectedReadOptions() + .equals(other.getDirectedReadOptions())) return false; } - if (getDataBoostEnabled() != other.getDataBoostEnabled()) return false; + if (getDataBoostEnabled() + != other.getDataBoostEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2367,7 +2188,8 @@ public int hashCode() { hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPartitionToken().hashCode(); hash = (37 * hash) + SEQNO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSeqno()); if (hasQueryOptions()) { hash = (37 * hash) + QUERY_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getQueryOptions().hashCode(); @@ -2381,110 +2203,106 @@ public int hashCode() { hash = (53 * hash) + getDirectedReadOptions().hashCode(); } hash = (37 * hash) + DATA_BOOST_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataBoostEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDataBoostEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ExecuteSqlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
    * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
@@ -2492,13 +2310,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteSqlRequest)
       com.google.spanner.v1.ExecuteSqlRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -2508,10 +2326,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 5:
           return internalGetParamTypes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -2519,18 +2337,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 5:
           return internalGetMutableParamTypes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ExecuteSqlRequest.class,
-              com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
+              com.google.spanner.v1.ExecuteSqlRequest.class, com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ExecuteSqlRequest.newBuilder()
@@ -2538,13 +2354,14 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransactionFieldBuilder();
         getParamsFieldBuilder();
         getQueryOptionsFieldBuilder();
@@ -2552,7 +2369,6 @@ private void maybeForceBuilderInitialization() {
         getDirectedReadOptionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2594,9 +2410,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2615,11 +2431,8 @@ public com.google.spanner.v1.ExecuteSqlRequest build() {
 
     @java.lang.Override
     public com.google.spanner.v1.ExecuteSqlRequest buildPartial() {
-      com.google.spanner.v1.ExecuteSqlRequest result =
-          new com.google.spanner.v1.ExecuteSqlRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.ExecuteSqlRequest result = new com.google.spanner.v1.ExecuteSqlRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2631,20 +2444,22 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ =
-            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
+        result.transaction_ = transactionBuilder_ == null
+            ? transaction_
+            : transactionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.sql_ = sql_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build();
+        result.params_ = paramsBuilder_ == null
+            ? params_
+            : paramsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.paramTypes_ =
-            internalGetParamTypes().build(ParamTypesDefaultEntryHolder.defaultEntry);
+        result.paramTypes_ = internalGetParamTypes().build(ParamTypesDefaultEntryHolder.defaultEntry);
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.resumeToken_ = resumeToken_;
@@ -2659,20 +2474,21 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest result) {
         result.seqno_ = seqno_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.queryOptions_ =
-            queryOptionsBuilder_ == null ? queryOptions_ : queryOptionsBuilder_.build();
+        result.queryOptions_ = queryOptionsBuilder_ == null
+            ? queryOptions_
+            : queryOptionsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.requestOptions_ =
-            requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build();
+        result.requestOptions_ = requestOptionsBuilder_ == null
+            ? requestOptions_
+            : requestOptionsBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.directedReadOptions_ =
-            directedReadOptionsBuilder_ == null
-                ? directedReadOptions_
-                : directedReadOptionsBuilder_.build();
+        result.directedReadOptions_ = directedReadOptionsBuilder_ == null
+            ? directedReadOptions_
+            : directedReadOptionsBuilder_.build();
         to_bitField0_ |= 0x00000010;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
@@ -2685,39 +2501,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.ExecuteSqlRequest) {
-        return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest) other);
+        return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2742,7 +2557,8 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest other) {
       if (other.hasParams()) {
         mergeParams(other.getParams());
       }
-      internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes());
+      internalGetMutableParamTypes().mergeFrom(
+          other.internalGetParamTypes());
       bitField0_ |= 0x00000010;
       if (other.getResumeToken() != com.google.protobuf.ByteString.EMPTY) {
         setResumeToken(other.getResumeToken());
@@ -2794,99 +2610,91 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                session_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sql_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry
-                    paramTypes__ =
-                        input.readMessage(
-                            ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableParamTypes()
-                    .ensureBuilderMap()
-                    .put(paramTypes__.getKey(), paramTypes__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                resumeToken_ = input.readBytes();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 56:
-              {
-                queryMode_ = input.readEnum();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 56
-            case 66:
-              {
-                partitionToken_ = input.readBytes();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            case 72:
-              {
-                seqno_ = input.readInt64();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 82:
-              {
-                input.readMessage(getQueryOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 90
-            case 122:
-              {
-                input.readMessage(
-                    getDirectedReadOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 122
-            case 128:
-              {
-                dataBoostEnabled_ = input.readBool();
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 128
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              session_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sql_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getParamsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              paramTypes__ = input.readMessage(
+                  ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableParamTypes().ensureBuilderMap().put(
+                  paramTypes__.getKey(), paramTypes__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              resumeToken_ = input.readBytes();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 56: {
+              queryMode_ = input.readEnum();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 56
+            case 66: {
+              partitionToken_ = input.readBytes();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 66
+            case 72: {
+              seqno_ = input.readInt64();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 82: {
+              input.readMessage(
+                  getQueryOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getRequestOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 90
+            case 122: {
+              input.readMessage(
+                  getDirectedReadOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 122
+            case 128: {
+              dataBoostEnabled_ = input.readBool();
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 128
+            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) {
@@ -2896,27 +2704,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object session_ = "";
     /**
-     *
-     *
      * 
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -2925,23 +2728,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -2949,39 +2749,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -2991,23 +2780,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -3017,13 +2800,8 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * The transaction to use.
      *
@@ -3038,15 +2816,12 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The transaction to use.
      *
@@ -3061,21 +2836,16 @@ public boolean hasTransaction() {
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * The transaction to use.
      *
@@ -3105,8 +2875,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      *
@@ -3134,8 +2902,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      *
@@ -3153,9 +2919,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -3170,8 +2936,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      *
@@ -3198,8 +2962,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      *
@@ -3221,8 +2983,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      *
@@ -3242,14 +3002,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      *
@@ -3266,17 +3023,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -3284,20 +3038,18 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object sql_ = "";
     /**
-     *
-     *
      * 
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -3306,21 +3058,20 @@ public java.lang.String getSql() { } } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -3328,35 +3079,28 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -3366,21 +3110,17 @@ public Builder clearSql() { return this; } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000004; @@ -3390,13 +3130,8 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3414,15 +3149,12 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3440,7 +3172,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -3451,8 +3182,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3485,8 +3214,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3505,7 +3232,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 4;
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -3516,8 +3244,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3538,9 +3264,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -3555,8 +3281,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3586,8 +3310,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3612,8 +3334,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3636,12 +3356,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -3661,66 +3380,43 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
-    private static final class ParamTypesConverter
-        implements com.google.protobuf.MapFieldBuilder.Converter<
-            java.lang.String, com.google.spanner.v1.TypeOrBuilder, com.google.spanner.v1.Type> {
+    private static final class ParamTypesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
       @java.lang.Override
       public com.google.spanner.v1.Type build(com.google.spanner.v1.TypeOrBuilder val) {
-        if (val instanceof com.google.spanner.v1.Type) {
-          return (com.google.spanner.v1.Type) val;
-        }
+        if (val instanceof com.google.spanner.v1.Type) { return (com.google.spanner.v1.Type) val; }
         return ((com.google.spanner.v1.Type.Builder) val).build();
       }
 
       @java.lang.Override
-      public com.google.protobuf.MapEntry
-          defaultEntry() {
+      public com.google.protobuf.MapEntry defaultEntry() {
         return ParamTypesDefaultEntryHolder.defaultEntry;
       }
     };
-
     private static final ParamTypesConverter paramTypesConverter = new ParamTypesConverter();
 
     private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.spanner.v1.TypeOrBuilder,
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder>
-        paramTypes_;
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.spanner.v1.TypeOrBuilder,
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder>
+        java.lang.String, com.google.spanner.v1.TypeOrBuilder, com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder> paramTypes_;
+    private com.google.protobuf.MapFieldBuilder
         internalGetParamTypes() {
       if (paramTypes_ == null) {
         return new com.google.protobuf.MapFieldBuilder<>(paramTypesConverter);
       }
       return paramTypes_;
     }
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.spanner.v1.TypeOrBuilder,
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder>
+    private com.google.protobuf.MapFieldBuilder
         internalGetMutableParamTypes() {
       if (paramTypes_ == null) {
         paramTypes_ = new com.google.protobuf.MapFieldBuilder<>(paramTypesConverter);
@@ -3729,13 +3425,10 @@ public com.google.spanner.v1.Type build(com.google.spanner.v1.TypeOrBuilder val)
       onChanged();
       return paramTypes_;
     }
-
     public int getParamTypesCount() {
       return internalGetParamTypes().ensureBuilderMap().size();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3751,21 +3444,20 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public boolean containsParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetParamTypes().ensureBuilderMap().containsKey(key);
     }
-    /** Use {@link #getParamTypesMap()} instead. */
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3785,8 +3477,6 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getImmutableMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3802,20 +3492,16 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableParamTypes().ensureBuilderMap();
+com.google.spanner.v1.Type defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableParamTypes().ensureBuilderMap();
       return map.containsKey(key) ? paramTypesConverter.build(map.get(key)) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3831,26 +3517,21 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableParamTypes().ensureBuilderMap();
+    public com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableParamTypes().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return paramTypesConverter.build(map.get(key));
     }
-
     public Builder clearParamTypes() {
       bitField0_ = (bitField0_ & ~0x00000010);
       internalGetMutableParamTypes().clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3865,22 +3546,23 @@ public Builder clearParamTypes() {
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder removeParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableParamTypes().ensureBuilderMap().remove(key);
+    public Builder removeParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableParamTypes().ensureBuilderMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableParamTypes() {
+    public java.util.Map
+        getMutableParamTypes() {
       bitField0_ |= 0x00000010;
       return internalGetMutableParamTypes().ensureMessageMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3895,20 +3577,17 @@ public java.util.Map getMutablePar
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableParamTypes().ensureBuilderMap().put(key, value);
+    public Builder putParamTypes(
+        java.lang.String key,
+        com.google.spanner.v1.Type value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableParamTypes().ensureBuilderMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3925,19 +3604,17 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
      */
     public Builder putAllParamTypes(
         java.util.Map values) {
-      for (java.util.Map.Entry e :
-          values.entrySet()) {
+      for (java.util.Map.Entry e : values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableParamTypes().ensureBuilderMap().putAll(values);
+      internalGetMutableParamTypes().ensureBuilderMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3952,9 +3629,9 @@ public Builder putAllParamTypes(
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(java.lang.String key) {
-      java.util.Map builderMap =
-          internalGetMutableParamTypes().ensureBuilderMap();
+    public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(
+        java.lang.String key) {
+      java.util.Map builderMap = internalGetMutableParamTypes().ensureBuilderMap();
       com.google.spanner.v1.TypeOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.spanner.v1.Type.newBuilder();
@@ -3969,8 +3646,6 @@ public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(java.lang
 
     private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3981,7 +3656,6 @@ public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(java.lang
      * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ @java.lang.Override @@ -3989,8 +3663,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -4001,22 +3673,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 6; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -4027,7 +3694,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 6; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -4039,8 +3705,6 @@ public Builder clearResumeToken() { private int queryMode_ = 0; /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -4051,16 +3715,12 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The enum numeric value on the wire for queryMode. */ - @java.lang.Override - public int getQueryModeValue() { + @java.lang.Override public int getQueryModeValue() { return queryMode_; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -4071,7 +3731,6 @@ public int getQueryModeValue() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @param value The enum numeric value on the wire for queryMode to set. * @return This builder for chaining. */ @@ -4082,8 +3741,6 @@ public Builder setQueryModeValue(int value) { return this; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -4094,20 +3751,14 @@ public Builder setQueryModeValue(int value) {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The queryMode. */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = - com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); - return result == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED - : result; + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); + return result == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED : result; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -4118,7 +3769,6 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @param value The queryMode to set. * @return This builder for chaining. */ @@ -4132,8 +3782,6 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va return this; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -4144,7 +3792,6 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return This builder for chaining. */ public Builder clearQueryMode() { @@ -4156,8 +3803,6 @@ public Builder clearQueryMode() { private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -4166,7 +3811,6 @@ public Builder clearQueryMode() {
      * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ @java.lang.Override @@ -4174,8 +3818,6 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -4184,22 +3826,17 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 8; - * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -4208,7 +3845,6 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 8; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -4218,10 +3854,8 @@ public Builder clearPartitionToken() { return this; } - private long seqno_; + private long seqno_ ; /** - * - * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -4236,7 +3870,6 @@ public Builder clearPartitionToken() {
      * 
* * int64 seqno = 9; - * * @return The seqno. */ @java.lang.Override @@ -4244,8 +3877,6 @@ public long getSeqno() { return seqno_; } /** - * - * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -4260,7 +3891,6 @@ public long getSeqno() {
      * 
* * int64 seqno = 9; - * * @param value The seqno to set. * @return This builder for chaining. */ @@ -4272,8 +3902,6 @@ public Builder setSeqno(long value) { return this; } /** - * - * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -4288,7 +3916,6 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 9; - * * @return This builder for chaining. */ public Builder clearSeqno() { @@ -4300,47 +3927,34 @@ public Builder clearSeqno() { private com.google.spanner.v1.ExecuteSqlRequest.QueryOptions queryOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> - queryOptionsBuilder_; + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> queryOptionsBuilder_; /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return Whether the queryOptions field is set. */ public boolean hasQueryOptions() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return The queryOptions. */ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { if (queryOptionsBuilder_ == null) { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } else { return queryOptionsBuilder_.getMessage(); } } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4361,8 +3975,6 @@ public Builder setQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOpti return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4381,8 +3993,6 @@ public Builder setQueryOptions( return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4391,10 +4001,9 @@ public Builder setQueryOptions( */ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions value) { if (queryOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && queryOptions_ != null - && queryOptions_ - != com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + queryOptions_ != null && + queryOptions_ != com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) { getQueryOptionsBuilder().mergeFrom(value); } else { queryOptions_ = value; @@ -4409,8 +4018,6 @@ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOp return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4428,8 +4035,6 @@ public Builder clearQueryOptions() { return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4442,27 +4047,21 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOpti return getQueryOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ - public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder - getQueryOptionsOrBuilder() { + public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder() { if (queryOptionsBuilder_ != null) { return queryOptionsBuilder_.getMessageOrBuilder(); } else { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4470,17 +4069,14 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOpti * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> getQueryOptionsFieldBuilder() { if (queryOptionsBuilder_ == null) { - queryOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder>( - getQueryOptions(), getParentForChildren(), isClean()); + queryOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder>( + getQueryOptions(), + getParentForChildren(), + isClean()); queryOptions_ = null; } return queryOptionsBuilder_; @@ -4488,47 +4084,34 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOpti private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -4549,15 +4132,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -4568,8 +4150,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4578,9 +4158,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -4595,8 +4175,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4614,8 +4192,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4628,8 +4204,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -4640,14 +4214,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -4655,17 +4226,14 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; @@ -4673,47 +4241,34 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( private com.google.spanner.v1.DirectedReadOptions directedReadOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions, - com.google.spanner.v1.DirectedReadOptions.Builder, - com.google.spanner.v1.DirectedReadOptionsOrBuilder> - directedReadOptionsBuilder_; + com.google.spanner.v1.DirectedReadOptions, com.google.spanner.v1.DirectedReadOptions.Builder, com.google.spanner.v1.DirectedReadOptionsOrBuilder> directedReadOptionsBuilder_; /** - * - * *
      * Directed read options for this request.
      * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 15; - * * @return Whether the directedReadOptions field is set. */ public boolean hasDirectedReadOptions() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Directed read options for this request.
      * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 15; - * * @return The directedReadOptions. */ public com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions() { if (directedReadOptionsBuilder_ == null) { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } else { return directedReadOptionsBuilder_.getMessage(); } } /** - * - * *
      * Directed read options for this request.
      * 
@@ -4734,8 +4289,6 @@ public Builder setDirectedReadOptions(com.google.spanner.v1.DirectedReadOptions return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -4754,8 +4307,6 @@ public Builder setDirectedReadOptions( return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -4764,10 +4315,9 @@ public Builder setDirectedReadOptions( */ public Builder mergeDirectedReadOptions(com.google.spanner.v1.DirectedReadOptions value) { if (directedReadOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && directedReadOptions_ != null - && directedReadOptions_ - != com.google.spanner.v1.DirectedReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + directedReadOptions_ != null && + directedReadOptions_ != com.google.spanner.v1.DirectedReadOptions.getDefaultInstance()) { getDirectedReadOptionsBuilder().mergeFrom(value); } else { directedReadOptions_ = value; @@ -4782,8 +4332,6 @@ public Builder mergeDirectedReadOptions(com.google.spanner.v1.DirectedReadOption return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -4801,8 +4349,6 @@ public Builder clearDirectedReadOptions() { return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -4815,8 +4361,6 @@ public com.google.spanner.v1.DirectedReadOptions.Builder getDirectedReadOptionsB return getDirectedReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Directed read options for this request.
      * 
@@ -4827,14 +4371,11 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions if (directedReadOptionsBuilder_ != null) { return directedReadOptionsBuilder_.getMessageOrBuilder(); } else { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? + com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } } /** - * - * *
      * Directed read options for this request.
      * 
@@ -4842,26 +4383,21 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions * .google.spanner.v1.DirectedReadOptions directed_read_options = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions, - com.google.spanner.v1.DirectedReadOptions.Builder, - com.google.spanner.v1.DirectedReadOptionsOrBuilder> + com.google.spanner.v1.DirectedReadOptions, com.google.spanner.v1.DirectedReadOptions.Builder, com.google.spanner.v1.DirectedReadOptionsOrBuilder> getDirectedReadOptionsFieldBuilder() { if (directedReadOptionsBuilder_ == null) { - directedReadOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions, - com.google.spanner.v1.DirectedReadOptions.Builder, - com.google.spanner.v1.DirectedReadOptionsOrBuilder>( - getDirectedReadOptions(), getParentForChildren(), isClean()); + directedReadOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.DirectedReadOptions, com.google.spanner.v1.DirectedReadOptions.Builder, com.google.spanner.v1.DirectedReadOptionsOrBuilder>( + getDirectedReadOptions(), + getParentForChildren(), + isClean()); directedReadOptions_ = null; } return directedReadOptionsBuilder_; } - private boolean dataBoostEnabled_; + private boolean dataBoostEnabled_ ; /** - * - * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request is executed with Spanner Data Boost independent compute resources.
@@ -4871,7 +4407,6 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions
      * 
* * bool data_boost_enabled = 16; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -4879,8 +4414,6 @@ public boolean getDataBoostEnabled() { return dataBoostEnabled_; } /** - * - * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request is executed with Spanner Data Boost independent compute resources.
@@ -4890,7 +4423,6 @@ public boolean getDataBoostEnabled() {
      * 
* * bool data_boost_enabled = 16; - * * @param value The dataBoostEnabled to set. * @return This builder for chaining. */ @@ -4902,8 +4434,6 @@ public Builder setDataBoostEnabled(boolean value) { return this; } /** - * - * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request is executed with Spanner Data Boost independent compute resources.
@@ -4913,7 +4443,6 @@ public Builder setDataBoostEnabled(boolean value) {
      * 
* * bool data_boost_enabled = 16; - * * @return This builder for chaining. */ public Builder clearDataBoostEnabled() { @@ -4922,9 +4451,9 @@ public Builder clearDataBoostEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4934,12 +4463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteSqlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteSqlRequest) private static final com.google.spanner.v1.ExecuteSqlRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteSqlRequest(); } @@ -4948,27 +4477,27 @@ public static com.google.spanner.v1.ExecuteSqlRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecuteSqlRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteSqlRequest 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; @@ -4983,4 +4512,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteSqlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java index f31dac6857a..c60d82ff22c 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java @@ -1,61 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface ExecuteSqlRequestOrBuilder - extends +public interface ExecuteSqlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteSqlRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * The transaction to use.
    *
@@ -70,13 +43,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * The transaction to use.
    *
@@ -91,13 +61,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * The transaction to use.
    *
@@ -116,33 +83,26 @@ public interface ExecuteSqlRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -160,13 +120,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -184,13 +141,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -212,8 +166,6 @@ public interface ExecuteSqlRequestOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -230,8 +182,6 @@ public interface ExecuteSqlRequestOrBuilder
    */
   int getParamTypesCount();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -246,13 +196,15 @@ public interface ExecuteSqlRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  boolean containsParamTypes(java.lang.String key);
-  /** Use {@link #getParamTypesMap()} instead. */
+  boolean containsParamTypes(
+      java.lang.String key);
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getParamTypes();
+  java.util.Map
+  getParamTypes();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -267,10 +219,9 @@ public interface ExecuteSqlRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  java.util.Map getParamTypesMap();
+  java.util.Map
+  getParamTypesMap();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -286,13 +237,11 @@ public interface ExecuteSqlRequestOrBuilder
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   /* nullable */
-  com.google.spanner.v1.Type getParamTypesOrDefault(
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue);
+com.google.spanner.v1.Type defaultValue);
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -307,11 +256,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
+  com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -322,14 +270,11 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -340,13 +285,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The enum numeric value on the wire for queryMode. */ int getQueryModeValue(); /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If
@@ -357,14 +299,11 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The queryMode. */ com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode(); /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -373,14 +312,11 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ com.google.protobuf.ByteString getPartitionToken(); /** - * - * *
    * A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -395,38 +331,29 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * int64 seqno = 9; - * * @return The seqno. */ long getSeqno(); /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return Whether the queryOptions field is set. */ boolean hasQueryOptions(); /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return The queryOptions. */ com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions(); /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
@@ -436,32 +363,24 @@ com.google.spanner.v1.Type getParamTypesOrDefault( com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
@@ -471,32 +390,24 @@ com.google.spanner.v1.Type getParamTypesOrDefault( com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(); /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 15; - * * @return Whether the directedReadOptions field is set. */ boolean hasDirectedReadOptions(); /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 15; - * * @return The directedReadOptions. */ com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions(); /** - * - * *
    * Directed read options for this request.
    * 
@@ -506,8 +417,6 @@ com.google.spanner.v1.Type getParamTypesOrDefault( com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptionsOrBuilder(); /** - * - * *
    * If this is for a partitioned query and this field is set to `true`, the
    * request is executed with Spanner Data Boost independent compute resources.
@@ -517,7 +426,6 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * bool data_boost_enabled = 16; - * * @return The dataBoostEnabled. */ boolean getDataBoostEnabled(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java similarity index 62% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java index 5a4cd1d8891..b77fb36cd46 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,64 +5,54 @@ package com.google.spanner.v1; /** - * - * *
  * The request for [GetSession][google.spanner.v1.Spanner.GetSession].
  * 
* * Protobuf type {@code google.spanner.v1.GetSessionRequest} */ -public final class GetSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.GetSessionRequest) GetSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetSessionRequest.newBuilder() to construct. private GetSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSessionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSessionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.GetSessionRequest.class, - com.google.spanner.v1.GetSessionRequest.Builder.class); + com.google.spanner.v1.GetSessionRequest.class, com.google.spanner.v1.GetSessionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the session to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,31 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the session to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -119,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -155,14 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.GetSessionRequest)) { return super.equals(obj); } com.google.spanner.v1.GetSessionRequest other = (com.google.spanner.v1.GetSessionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,136 +155,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.GetSessionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.GetSessionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.GetSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [GetSession][google.spanner.v1.Spanner.GetSession].
    * 
* * Protobuf type {@code google.spanner.v1.GetSessionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.GetSessionRequest) com.google.spanner.v1.GetSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.GetSessionRequest.class, - com.google.spanner.v1.GetSessionRequest.Builder.class); + com.google.spanner.v1.GetSessionRequest.class, com.google.spanner.v1.GetSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.GetSessionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override @@ -341,11 +311,8 @@ public com.google.spanner.v1.GetSessionRequest build() { @java.lang.Override public com.google.spanner.v1.GetSessionRequest buildPartial() { - com.google.spanner.v1.GetSessionRequest result = - new com.google.spanner.v1.GetSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.GetSessionRequest result = new com.google.spanner.v1.GetSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -361,39 +328,38 @@ private void buildPartial0(com.google.spanner.v1.GetSessionRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.GetSessionRequest) { - return mergeFrom((com.google.spanner.v1.GetSessionRequest) other); + return mergeFrom((com.google.spanner.v1.GetSessionRequest)other); } else { super.mergeFrom(other); return this; @@ -433,19 +399,17 @@ public Builder mergeFrom( 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: + 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) { @@ -455,27 +419,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -484,23 +443,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -508,39 +464,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -550,32 +495,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @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(); - } + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.GetSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.GetSessionRequest) private static final com.google.spanner.v1.GetSessionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.GetSessionRequest(); } @@ -599,27 +538,27 @@ public static com.google.spanner.v1.GetSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSessionRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSessionRequest 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; @@ -634,4 +573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.GetSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java new file mode 100644 index 00000000000..26c3ba0b1bb --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.v1; + +public interface GetSessionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.GetSessionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the session to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the session to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java similarity index 76% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java index 7293e5c15c8..9aee6fa4ef1 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/keys.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * KeyRange represents a range of rows in a table or index.
  *
@@ -115,51 +98,48 @@
  *
  * Protobuf type {@code google.spanner.v1.KeyRange}
  */
-public final class KeyRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class KeyRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.KeyRange)
     KeyRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use KeyRange.newBuilder() to construct.
   private KeyRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private KeyRange() {}
+  private KeyRange() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new KeyRange();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.KeysProto
-        .internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
+    return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.KeyRange.class, com.google.spanner.v1.KeyRange.Builder.class);
   }
 
   private int startKeyTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object startKeyType_;
-
   public enum StartKeyTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_CLOSED(1),
     START_OPEN(2),
     STARTKEYTYPE_NOT_SET(0);
     private final int value;
-
     private StartKeyTypeCase(int value) {
       this.value = value;
     }
@@ -175,40 +155,33 @@ public static StartKeyTypeCase valueOf(int value) {
 
     public static StartKeyTypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return START_CLOSED;
-        case 2:
-          return START_OPEN;
-        case 0:
-          return STARTKEYTYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return START_CLOSED;
+        case 2: return START_OPEN;
+        case 0: return STARTKEYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartKeyTypeCase getStartKeyTypeCase() {
-    return StartKeyTypeCase.forNumber(startKeyTypeCase_);
+  public StartKeyTypeCase
+  getStartKeyTypeCase() {
+    return StartKeyTypeCase.forNumber(
+        startKeyTypeCase_);
   }
 
   private int endKeyTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object endKeyType_;
-
   public enum EndKeyTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     END_CLOSED(3),
     END_OPEN(4),
     ENDKEYTYPE_NOT_SET(0);
     private final int value;
-
     private EndKeyTypeCase(int value) {
       this.value = value;
     }
@@ -224,37 +197,31 @@ public static EndKeyTypeCase valueOf(int value) {
 
     public static EndKeyTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return END_CLOSED;
-        case 4:
-          return END_OPEN;
-        case 0:
-          return ENDKEYTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return END_CLOSED;
+        case 4: return END_OPEN;
+        case 0: return ENDKEYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EndKeyTypeCase getEndKeyTypeCase() {
-    return EndKeyTypeCase.forNumber(endKeyTypeCase_);
+  public EndKeyTypeCase
+  getEndKeyTypeCase() {
+    return EndKeyTypeCase.forNumber(
+        endKeyTypeCase_);
   }
 
   public static final int START_CLOSED_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return Whether the startClosed field is set. */ @java.lang.Override @@ -262,27 +229,22 @@ public boolean hasStartClosed() { return startKeyTypeCase_ == 1; } /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return The startClosed. */ @java.lang.Override public com.google.protobuf.ListValue getStartClosed() { if (startKeyTypeCase_ == 1) { - return (com.google.protobuf.ListValue) startKeyType_; + return (com.google.protobuf.ListValue) startKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -293,22 +255,19 @@ public com.google.protobuf.ListValue getStartClosed() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
     if (startKeyTypeCase_ == 1) {
-      return (com.google.protobuf.ListValue) startKeyType_;
+       return (com.google.protobuf.ListValue) startKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int START_OPEN_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return Whether the startOpen field is set. */ @java.lang.Override @@ -316,27 +275,22 @@ public boolean hasStartOpen() { return startKeyTypeCase_ == 2; } /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return The startOpen. */ @java.lang.Override public com.google.protobuf.ListValue getStartOpen() { if (startKeyTypeCase_ == 2) { - return (com.google.protobuf.ListValue) startKeyType_; + return (com.google.protobuf.ListValue) startKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
@@ -347,22 +301,19 @@ public com.google.protobuf.ListValue getStartOpen() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
     if (startKeyTypeCase_ == 2) {
-      return (com.google.protobuf.ListValue) startKeyType_;
+       return (com.google.protobuf.ListValue) startKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int END_CLOSED_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return Whether the endClosed field is set. */ @java.lang.Override @@ -370,27 +321,22 @@ public boolean hasEndClosed() { return endKeyTypeCase_ == 3; } /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return The endClosed. */ @java.lang.Override public com.google.protobuf.ListValue getEndClosed() { if (endKeyTypeCase_ == 3) { - return (com.google.protobuf.ListValue) endKeyType_; + return (com.google.protobuf.ListValue) endKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -401,22 +347,19 @@ public com.google.protobuf.ListValue getEndClosed() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
     if (endKeyTypeCase_ == 3) {
-      return (com.google.protobuf.ListValue) endKeyType_;
+       return (com.google.protobuf.ListValue) endKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int END_OPEN_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return Whether the endOpen field is set. */ @java.lang.Override @@ -424,27 +367,22 @@ public boolean hasEndOpen() { return endKeyTypeCase_ == 4; } /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return The endOpen. */ @java.lang.Override public com.google.protobuf.ListValue getEndOpen() { if (endKeyTypeCase_ == 4) { - return (com.google.protobuf.ListValue) endKeyType_; + return (com.google.protobuf.ListValue) endKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
@@ -455,13 +393,12 @@ public com.google.protobuf.ListValue getEndOpen() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
     if (endKeyTypeCase_ == 4) {
-      return (com.google.protobuf.ListValue) endKeyType_;
+       return (com.google.protobuf.ListValue) endKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -473,7 +410,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startKeyTypeCase_ == 1) {
       output.writeMessage(1, (com.google.protobuf.ListValue) startKeyType_);
     }
@@ -496,24 +434,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (startKeyTypeCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.protobuf.ListValue) startKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.protobuf.ListValue) startKeyType_);
     }
     if (startKeyTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.protobuf.ListValue) startKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.protobuf.ListValue) startKeyType_);
     }
     if (endKeyTypeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.protobuf.ListValue) endKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.protobuf.ListValue) endKeyType_);
     }
     if (endKeyTypeCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.ListValue) endKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.ListValue) endKeyType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -523,7 +457,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.KeyRange)) {
       return super.equals(obj);
@@ -533,10 +467,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getStartKeyTypeCase().equals(other.getStartKeyTypeCase())) return false;
     switch (startKeyTypeCase_) {
       case 1:
-        if (!getStartClosed().equals(other.getStartClosed())) return false;
+        if (!getStartClosed()
+            .equals(other.getStartClosed())) return false;
         break;
       case 2:
-        if (!getStartOpen().equals(other.getStartOpen())) return false;
+        if (!getStartOpen()
+            .equals(other.getStartOpen())) return false;
         break;
       case 0:
       default:
@@ -544,10 +480,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getEndKeyTypeCase().equals(other.getEndKeyTypeCase())) return false;
     switch (endKeyTypeCase_) {
       case 3:
-        if (!getEndClosed().equals(other.getEndClosed())) return false;
+        if (!getEndClosed()
+            .equals(other.getEndClosed())) return false;
         break;
       case 4:
-        if (!getEndOpen().equals(other.getEndOpen())) return false;
+        if (!getEndOpen()
+            .equals(other.getEndOpen())) return false;
         break;
       case 0:
       default:
@@ -592,103 +530,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.KeyRange parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.KeyRange parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.KeyRange parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.KeyRange parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.KeyRange parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.KeyRange parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.KeyRange parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.spanner.v1.KeyRange parseFrom(
+      com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.KeyRange prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * KeyRange represents a range of rows in a table or index.
    *
@@ -782,30 +716,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.KeyRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.KeyRange)
       com.google.spanner.v1.KeyRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.KeysProto
-          .internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
+      return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.KeyRange.class, com.google.spanner.v1.KeyRange.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.KeyRange.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -830,7 +767,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
     }
 
@@ -851,9 +789,7 @@ public com.google.spanner.v1.KeyRange build() {
     @java.lang.Override
     public com.google.spanner.v1.KeyRange buildPartial() {
       com.google.spanner.v1.KeyRange result = new com.google.spanner.v1.KeyRange(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -866,18 +802,22 @@ private void buildPartial0(com.google.spanner.v1.KeyRange result) {
     private void buildPartialOneofs(com.google.spanner.v1.KeyRange result) {
       result.startKeyTypeCase_ = startKeyTypeCase_;
       result.startKeyType_ = this.startKeyType_;
-      if (startKeyTypeCase_ == 1 && startClosedBuilder_ != null) {
+      if (startKeyTypeCase_ == 1 &&
+          startClosedBuilder_ != null) {
         result.startKeyType_ = startClosedBuilder_.build();
       }
-      if (startKeyTypeCase_ == 2 && startOpenBuilder_ != null) {
+      if (startKeyTypeCase_ == 2 &&
+          startOpenBuilder_ != null) {
         result.startKeyType_ = startOpenBuilder_.build();
       }
       result.endKeyTypeCase_ = endKeyTypeCase_;
       result.endKeyType_ = this.endKeyType_;
-      if (endKeyTypeCase_ == 3 && endClosedBuilder_ != null) {
+      if (endKeyTypeCase_ == 3 &&
+          endClosedBuilder_ != null) {
         result.endKeyType_ = endClosedBuilder_.build();
       }
-      if (endKeyTypeCase_ == 4 && endOpenBuilder_ != null) {
+      if (endKeyTypeCase_ == 4 &&
+          endOpenBuilder_ != null) {
         result.endKeyType_ = endOpenBuilder_.build();
       }
     }
@@ -886,39 +826,38 @@ private void buildPartialOneofs(com.google.spanner.v1.KeyRange result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.KeyRange) {
-        return mergeFrom((com.google.spanner.v1.KeyRange) other);
+        return mergeFrom((com.google.spanner.v1.KeyRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -928,36 +867,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.KeyRange other) {
       if (other == com.google.spanner.v1.KeyRange.getDefaultInstance()) return this;
       switch (other.getStartKeyTypeCase()) {
-        case START_CLOSED:
-          {
-            mergeStartClosed(other.getStartClosed());
-            break;
-          }
-        case START_OPEN:
-          {
-            mergeStartOpen(other.getStartOpen());
-            break;
-          }
-        case STARTKEYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case START_CLOSED: {
+          mergeStartClosed(other.getStartClosed());
+          break;
+        }
+        case START_OPEN: {
+          mergeStartOpen(other.getStartOpen());
+          break;
+        }
+        case STARTKEYTYPE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getEndKeyTypeCase()) {
-        case END_CLOSED:
-          {
-            mergeEndClosed(other.getEndClosed());
-            break;
-          }
-        case END_OPEN:
-          {
-            mergeEndOpen(other.getEndOpen());
-            break;
-          }
-        case ENDKEYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case END_CLOSED: {
+          mergeEndClosed(other.getEndClosed());
+          break;
+        }
+        case END_OPEN: {
+          mergeEndOpen(other.getEndOpen());
+          break;
+        }
+        case ENDKEYTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -985,37 +918,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStartClosedFieldBuilder().getBuilder(), extensionRegistry);
-                startKeyTypeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartOpenFieldBuilder().getBuilder(), extensionRegistry);
-                startKeyTypeCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndClosedFieldBuilder().getBuilder(), extensionRegistry);
-                endKeyTypeCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndOpenFieldBuilder().getBuilder(), extensionRegistry);
-                endKeyTypeCase_ = 4;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStartClosedFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startKeyTypeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartOpenFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startKeyTypeCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndClosedFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              endKeyTypeCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndOpenFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              endKeyTypeCase_ = 4;
+              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) {
@@ -1025,12 +961,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startKeyTypeCase_ = 0;
     private java.lang.Object startKeyType_;
-
-    public StartKeyTypeCase getStartKeyTypeCase() {
-      return StartKeyTypeCase.forNumber(startKeyTypeCase_);
+    public StartKeyTypeCase
+        getStartKeyTypeCase() {
+      return StartKeyTypeCase.forNumber(
+          startKeyTypeCase_);
     }
 
     public Builder clearStartKeyType() {
@@ -1042,9 +978,10 @@ public Builder clearStartKeyType() {
 
     private int endKeyTypeCase_ = 0;
     private java.lang.Object endKeyType_;
-
-    public EndKeyTypeCase getEndKeyTypeCase() {
-      return EndKeyTypeCase.forNumber(endKeyTypeCase_);
+    public EndKeyTypeCase
+        getEndKeyTypeCase() {
+      return EndKeyTypeCase.forNumber(
+          endKeyTypeCase_);
     }
 
     public Builder clearEndKeyType() {
@@ -1057,20 +994,14 @@ public Builder clearEndKeyType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        startClosedBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> startClosedBuilder_;
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
      * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return Whether the startClosed field is set. */ @java.lang.Override @@ -1078,15 +1009,12 @@ public boolean hasStartClosed() { return startKeyTypeCase_ == 1; } /** - * - * *
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
      * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return The startClosed. */ @java.lang.Override @@ -1104,8 +1032,6 @@ public com.google.protobuf.ListValue getStartClosed() { } } /** - * - * *
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1127,8 +1053,6 @@ public Builder setStartClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1136,7 +1060,8 @@ public Builder setStartClosed(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue start_closed = 1;
      */
-    public Builder setStartClosed(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setStartClosed(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (startClosedBuilder_ == null) {
         startKeyType_ = builderForValue.build();
         onChanged();
@@ -1147,8 +1072,6 @@ public Builder setStartClosed(com.google.protobuf.ListValue.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1158,13 +1081,10 @@ public Builder setStartClosed(com.google.protobuf.ListValue.Builder builderForVa
      */
     public Builder mergeStartClosed(com.google.protobuf.ListValue value) {
       if (startClosedBuilder_ == null) {
-        if (startKeyTypeCase_ == 1
-            && startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          startKeyType_ =
-              com.google.protobuf.ListValue.newBuilder(
-                      (com.google.protobuf.ListValue) startKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startKeyTypeCase_ == 1 &&
+            startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          startKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) startKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           startKeyType_ = value;
         }
@@ -1180,8 +1100,6 @@ public Builder mergeStartClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1206,8 +1124,6 @@ public Builder clearStartClosed() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1219,8 +1135,6 @@ public com.google.protobuf.ListValue.Builder getStartClosedBuilder() {
       return getStartClosedFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1240,8 +1154,6 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1250,20 +1162,17 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
      * .google.protobuf.ListValue start_closed = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getStartClosedFieldBuilder() {
       if (startClosedBuilder_ == null) {
         if (!(startKeyTypeCase_ == 1)) {
           startKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        startClosedBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) startKeyType_, getParentForChildren(), isClean());
+        startClosedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) startKeyType_,
+                getParentForChildren(),
+                isClean());
         startKeyType_ = null;
       }
       startKeyTypeCase_ = 1;
@@ -1272,20 +1181,14 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        startOpenBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> startOpenBuilder_;
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
      * 
* * .google.protobuf.ListValue start_open = 2; - * * @return Whether the startOpen field is set. */ @java.lang.Override @@ -1293,15 +1196,12 @@ public boolean hasStartOpen() { return startKeyTypeCase_ == 2; } /** - * - * *
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
      * 
* * .google.protobuf.ListValue start_open = 2; - * * @return The startOpen. */ @java.lang.Override @@ -1319,8 +1219,6 @@ public com.google.protobuf.ListValue getStartOpen() { } } /** - * - * *
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1342,8 +1240,6 @@ public Builder setStartOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1351,7 +1247,8 @@ public Builder setStartOpen(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue start_open = 2;
      */
-    public Builder setStartOpen(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setStartOpen(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (startOpenBuilder_ == null) {
         startKeyType_ = builderForValue.build();
         onChanged();
@@ -1362,8 +1259,6 @@ public Builder setStartOpen(com.google.protobuf.ListValue.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1373,13 +1268,10 @@ public Builder setStartOpen(com.google.protobuf.ListValue.Builder builderForValu
      */
     public Builder mergeStartOpen(com.google.protobuf.ListValue value) {
       if (startOpenBuilder_ == null) {
-        if (startKeyTypeCase_ == 2
-            && startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          startKeyType_ =
-              com.google.protobuf.ListValue.newBuilder(
-                      (com.google.protobuf.ListValue) startKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startKeyTypeCase_ == 2 &&
+            startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          startKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) startKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           startKeyType_ = value;
         }
@@ -1395,8 +1287,6 @@ public Builder mergeStartOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1421,8 +1311,6 @@ public Builder clearStartOpen() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1434,8 +1322,6 @@ public com.google.protobuf.ListValue.Builder getStartOpenBuilder() {
       return getStartOpenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1455,8 +1341,6 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1465,20 +1349,17 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
      * .google.protobuf.ListValue start_open = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getStartOpenFieldBuilder() {
       if (startOpenBuilder_ == null) {
         if (!(startKeyTypeCase_ == 2)) {
           startKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        startOpenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) startKeyType_, getParentForChildren(), isClean());
+        startOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) startKeyType_,
+                getParentForChildren(),
+                isClean());
         startKeyType_ = null;
       }
       startKeyTypeCase_ = 2;
@@ -1487,20 +1368,14 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        endClosedBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> endClosedBuilder_;
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
      * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return Whether the endClosed field is set. */ @java.lang.Override @@ -1508,15 +1383,12 @@ public boolean hasEndClosed() { return endKeyTypeCase_ == 3; } /** - * - * *
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
      * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return The endClosed. */ @java.lang.Override @@ -1534,8 +1406,6 @@ public com.google.protobuf.ListValue getEndClosed() { } } /** - * - * *
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1557,8 +1427,6 @@ public Builder setEndClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1566,7 +1434,8 @@ public Builder setEndClosed(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue end_closed = 3;
      */
-    public Builder setEndClosed(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setEndClosed(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (endClosedBuilder_ == null) {
         endKeyType_ = builderForValue.build();
         onChanged();
@@ -1577,8 +1446,6 @@ public Builder setEndClosed(com.google.protobuf.ListValue.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1588,12 +1455,10 @@ public Builder setEndClosed(com.google.protobuf.ListValue.Builder builderForValu
      */
     public Builder mergeEndClosed(com.google.protobuf.ListValue value) {
       if (endClosedBuilder_ == null) {
-        if (endKeyTypeCase_ == 3
-            && endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          endKeyType_ =
-              com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (endKeyTypeCase_ == 3 &&
+            endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          endKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           endKeyType_ = value;
         }
@@ -1609,8 +1474,6 @@ public Builder mergeEndClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1635,8 +1498,6 @@ public Builder clearEndClosed() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1648,8 +1509,6 @@ public com.google.protobuf.ListValue.Builder getEndClosedBuilder() {
       return getEndClosedFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1669,8 +1528,6 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1679,20 +1536,17 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
      * .google.protobuf.ListValue end_closed = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getEndClosedFieldBuilder() {
       if (endClosedBuilder_ == null) {
         if (!(endKeyTypeCase_ == 3)) {
           endKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        endClosedBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) endKeyType_, getParentForChildren(), isClean());
+        endClosedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) endKeyType_,
+                getParentForChildren(),
+                isClean());
         endKeyType_ = null;
       }
       endKeyTypeCase_ = 3;
@@ -1701,20 +1555,14 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        endOpenBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> endOpenBuilder_;
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
      * 
* * .google.protobuf.ListValue end_open = 4; - * * @return Whether the endOpen field is set. */ @java.lang.Override @@ -1722,15 +1570,12 @@ public boolean hasEndOpen() { return endKeyTypeCase_ == 4; } /** - * - * *
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
      * 
* * .google.protobuf.ListValue end_open = 4; - * * @return The endOpen. */ @java.lang.Override @@ -1748,8 +1593,6 @@ public com.google.protobuf.ListValue getEndOpen() { } } /** - * - * *
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1771,8 +1614,6 @@ public Builder setEndOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1780,7 +1621,8 @@ public Builder setEndOpen(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue end_open = 4;
      */
-    public Builder setEndOpen(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setEndOpen(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (endOpenBuilder_ == null) {
         endKeyType_ = builderForValue.build();
         onChanged();
@@ -1791,8 +1633,6 @@ public Builder setEndOpen(com.google.protobuf.ListValue.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1802,12 +1642,10 @@ public Builder setEndOpen(com.google.protobuf.ListValue.Builder builderForValue)
      */
     public Builder mergeEndOpen(com.google.protobuf.ListValue value) {
       if (endOpenBuilder_ == null) {
-        if (endKeyTypeCase_ == 4
-            && endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          endKeyType_ =
-              com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (endKeyTypeCase_ == 4 &&
+            endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          endKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           endKeyType_ = value;
         }
@@ -1823,8 +1661,6 @@ public Builder mergeEndOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1849,8 +1685,6 @@ public Builder clearEndOpen() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1862,8 +1696,6 @@ public com.google.protobuf.ListValue.Builder getEndOpenBuilder() {
       return getEndOpenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1883,8 +1715,6 @@ public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1893,29 +1723,26 @@ public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
      * .google.protobuf.ListValue end_open = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getEndOpenFieldBuilder() {
       if (endOpenBuilder_ == null) {
         if (!(endKeyTypeCase_ == 4)) {
           endKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        endOpenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) endKeyType_, getParentForChildren(), isClean());
+        endOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) endKeyType_,
+                getParentForChildren(),
+                isClean());
         endKeyType_ = null;
       }
       endKeyTypeCase_ = 4;
       onChanged();
       return endOpenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1925,12 +1752,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.KeyRange)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.KeyRange)
   private static final com.google.spanner.v1.KeyRange DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.KeyRange();
   }
@@ -1939,27 +1766,27 @@ public static com.google.spanner.v1.KeyRange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public KeyRange 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public KeyRange 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;
@@ -1974,4 +1801,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.KeyRange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
similarity index 83%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
index eb46485f9ff..0e7c0fa586c 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
@@ -1,58 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/keys.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface KeyRangeOrBuilder
-    extends
+public interface KeyRangeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.KeyRange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return Whether the startClosed field is set. */ boolean hasStartClosed(); /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return The startClosed. */ com.google.protobuf.ListValue getStartClosed(); /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -63,34 +39,26 @@ public interface KeyRangeOrBuilder
   com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return Whether the startOpen field is set. */ boolean hasStartOpen(); /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return The startOpen. */ com.google.protobuf.ListValue getStartOpen(); /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
@@ -101,34 +69,26 @@ public interface KeyRangeOrBuilder
   com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return Whether the endClosed field is set. */ boolean hasEndClosed(); /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return The endClosed. */ com.google.protobuf.ListValue getEndClosed(); /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -139,34 +99,26 @@ public interface KeyRangeOrBuilder
   com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return Whether the endOpen field is set. */ boolean hasEndOpen(); /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return The endOpen. */ com.google.protobuf.ListValue getEndOpen(); /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
similarity index 78%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
index 9d7db7337a4..890401ae551 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/keys.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
  * the keys are expected to be in the same table or index. The keys need
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.spanner.v1.KeySet}
  */
-public final class KeySet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class KeySet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.KeySet)
     KeySetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use KeySet.newBuilder() to construct.
   private KeySet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private KeySet() {
     keys_ = java.util.Collections.emptyList();
     ranges_ = java.util.Collections.emptyList();
@@ -51,30 +33,28 @@ private KeySet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new KeySet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.KeysProto
-        .internal_static_google_spanner_v1_KeySet_fieldAccessorTable
+    return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.KeySet.class, com.google.spanner.v1.KeySet.Builder.class);
   }
 
   public static final int KEYS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List keys_;
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -89,8 +69,6 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -101,12 +79,11 @@ public java.util.List getKeysList() {
    * repeated .google.protobuf.ListValue keys = 1;
    */
   @java.lang.Override
-  public java.util.List getKeysOrBuilderList() {
+  public java.util.List 
+      getKeysOrBuilderList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -121,8 +98,6 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -137,8 +112,6 @@ public com.google.protobuf.ListValue getKeys(int index) {
     return keys_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -149,17 +122,15 @@ public com.google.protobuf.ListValue getKeys(int index) {
    * repeated .google.protobuf.ListValue keys = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
+  public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
+      int index) {
     return keys_.get(index);
   }
 
   public static final int RANGES_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List ranges_;
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -172,8 +143,6 @@ public java.util.List getRangesList() {
     return ranges_;
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -182,13 +151,11 @@ public java.util.List getRangesList() {
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRangesOrBuilderList() {
     return ranges_;
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -201,8 +168,6 @@ public int getRangesCount() {
     return ranges_.size();
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -215,8 +180,6 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
     return ranges_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -225,15 +188,14 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
   @java.lang.Override
-  public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
+  public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
+      int index) {
     return ranges_.get(index);
   }
 
   public static final int ALL_FIELD_NUMBER = 3;
   private boolean all_ = false;
   /**
-   *
-   *
    * 
    * For convenience `all` can be set to `true` to indicate that this
    * `KeySet` matches all keys in the table or index. Note that any keys
@@ -241,7 +203,6 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
    * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -250,7 +211,6 @@ public boolean getAll() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -282,13 +243,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, keys_.get(i)); } for (int i = 0; i < ranges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, ranges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, ranges_.get(i)); } if (all_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, all_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, all_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,16 +262,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.KeySet)) { return super.equals(obj); } com.google.spanner.v1.KeySet other = (com.google.spanner.v1.KeySet) obj; - if (!getKeysList().equals(other.getKeysList())) return false; - if (!getRangesList().equals(other.getRangesList())) return false; - if (getAll() != other.getAll()) return false; + if (!getKeysList() + .equals(other.getKeysList())) return false; + if (!getRangesList() + .equals(other.getRangesList())) return false; + if (getAll() + != other.getAll()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,109 +295,106 @@ public int hashCode() { hash = (53 * hash) + getRangesList().hashCode(); } hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAll()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.KeySet parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.KeySet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.KeySet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.KeySet parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.KeySet parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.KeySet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.KeySet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.KeySet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.KeySet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.KeySet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.KeySet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.KeySet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.KeySet parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.spanner.v1.KeySet parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.KeySet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.KeySet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
    * the keys are expected to be in the same table or index. The keys need
@@ -443,30 +407,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.KeySet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.KeySet)
       com.google.spanner.v1.KeySetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.KeysProto
-          .internal_static_google_spanner_v1_KeySet_fieldAccessorTable
+      return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.KeySet.class, com.google.spanner.v1.KeySet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.KeySet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -490,7 +457,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
     }
 
@@ -512,9 +480,7 @@ public com.google.spanner.v1.KeySet build() {
     public com.google.spanner.v1.KeySet buildPartial() {
       com.google.spanner.v1.KeySet result = new com.google.spanner.v1.KeySet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -551,39 +517,38 @@ private void buildPartial0(com.google.spanner.v1.KeySet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.KeySet) {
-        return mergeFrom((com.google.spanner.v1.KeySet) other);
+        return mergeFrom((com.google.spanner.v1.KeySet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -610,10 +575,9 @@ public Builder mergeFrom(com.google.spanner.v1.KeySet other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            keysBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getKeysFieldBuilder()
-                    : null;
+            keysBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getKeysFieldBuilder() : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -637,10 +601,9 @@ public Builder mergeFrom(com.google.spanner.v1.KeySet other) {
             rangesBuilder_ = null;
             ranges_ = other.ranges_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rangesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRangesFieldBuilder()
-                    : null;
+            rangesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRangesFieldBuilder() : null;
           } else {
             rangesBuilder_.addAllMessages(other.ranges_);
           }
@@ -675,43 +638,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.ListValue m =
-                    input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
-                if (keysBuilder_ == null) {
-                  ensureKeysIsMutable();
-                  keys_.add(m);
-                } else {
-                  keysBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.spanner.v1.KeyRange m =
-                    input.readMessage(com.google.spanner.v1.KeyRange.parser(), extensionRegistry);
-                if (rangesBuilder_ == null) {
-                  ensureRangesIsMutable();
-                  ranges_.add(m);
-                } else {
-                  rangesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                all_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.ListValue m =
+                  input.readMessage(
+                      com.google.protobuf.ListValue.parser(),
+                      extensionRegistry);
+              if (keysBuilder_ == null) {
+                ensureKeysIsMutable();
+                keys_.add(m);
+              } else {
+                keysBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.spanner.v1.KeyRange m =
+                  input.readMessage(
+                      com.google.spanner.v1.KeyRange.parser(),
+                      extensionRegistry);
+              if (rangesBuilder_ == null) {
+                ensureRangesIsMutable();
+                ranges_.add(m);
+              } else {
+                rangesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              all_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            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) {
@@ -721,27 +684,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List keys_ = java.util.Collections.emptyList();
-
+    private java.util.List keys_ =
+      java.util.Collections.emptyList();
     private void ensureKeysIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         keys_ = new java.util.ArrayList(keys_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        keysBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> keysBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -759,8 +716,6 @@ public java.util.List getKeysList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -778,8 +733,6 @@ public int getKeysCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -797,8 +750,6 @@ public com.google.protobuf.ListValue getKeys(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -808,7 +759,8 @@ public com.google.protobuf.ListValue getKeys(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder setKeys(int index, com.google.protobuf.ListValue value) {
+    public Builder setKeys(
+        int index, com.google.protobuf.ListValue value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -822,8 +774,6 @@ public Builder setKeys(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -833,7 +783,8 @@ public Builder setKeys(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder setKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setKeys(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -844,8 +795,6 @@ public Builder setKeys(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -869,8 +818,6 @@ public Builder addKeys(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -880,7 +827,8 @@ public Builder addKeys(com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(int index, com.google.protobuf.ListValue value) {
+    public Builder addKeys(
+        int index, com.google.protobuf.ListValue value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -894,8 +842,6 @@ public Builder addKeys(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -905,7 +851,8 @@ public Builder addKeys(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addKeys(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -916,8 +863,6 @@ public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -927,7 +872,8 @@ public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addKeys(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -938,8 +884,6 @@ public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -949,10 +893,12 @@ public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderF
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addAllKeys(java.lang.Iterable values) {
+    public Builder addAllKeys(
+        java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -960,8 +906,6 @@ public Builder addAllKeys(java.lang.Iterable
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -982,8 +926,6 @@ public Builder clearKeys() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1004,8 +946,6 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1015,12 +955,11 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValue.Builder getKeysBuilder(int index) {
+    public com.google.protobuf.ListValue.Builder getKeysBuilder(
+        int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1030,16 +969,14 @@ public com.google.protobuf.ListValue.Builder getKeysBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
+    public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
+        int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);
-      } else {
+        return keys_.get(index);  } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1049,7 +986,8 @@ public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public java.util.List getKeysOrBuilderList() {
+    public java.util.List 
+         getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -1057,8 +995,6 @@ public java.util.List getKeysO
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1069,11 +1005,10 @@ public java.util.List getKeysO
      * repeated .google.protobuf.ListValue keys = 1;
      */
     public com.google.protobuf.ListValue.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(
+          com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1083,13 +1018,12 @@ public com.google.protobuf.ListValue.Builder addKeysBuilder() {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValue.Builder addKeysBuilder(int index) {
-      return getKeysFieldBuilder()
-          .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
+    public com.google.protobuf.ListValue.Builder addKeysBuilder(
+        int index) {
+      return getKeysFieldBuilder().addBuilder(
+          index, com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1099,46 +1033,38 @@ public com.google.protobuf.ListValue.Builder addKeysBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public java.util.List getKeysBuilderList() {
+    public java.util.List 
+         getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                keys_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
 
     private java.util.List ranges_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRangesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         ranges_ = new java.util.ArrayList(ranges_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.KeyRange,
-            com.google.spanner.v1.KeyRange.Builder,
-            com.google.spanner.v1.KeyRangeOrBuilder>
-        rangesBuilder_;
+        com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder> rangesBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1154,8 +1080,6 @@ public java.util.List getRangesList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1171,8 +1095,6 @@ public int getRangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1188,8 +1110,6 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1197,7 +1117,8 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder setRanges(int index, com.google.spanner.v1.KeyRange value) {
+    public Builder setRanges(
+        int index, com.google.spanner.v1.KeyRange value) {
       if (rangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1211,8 +1132,6 @@ public Builder setRanges(int index, com.google.spanner.v1.KeyRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1220,7 +1139,8 @@ public Builder setRanges(int index, com.google.spanner.v1.KeyRange value) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder setRanges(int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder setRanges(
+        int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.set(index, builderForValue.build());
@@ -1231,8 +1151,6 @@ public Builder setRanges(int index, com.google.spanner.v1.KeyRange.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1254,8 +1172,6 @@ public Builder addRanges(com.google.spanner.v1.KeyRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1263,7 +1179,8 @@ public Builder addRanges(com.google.spanner.v1.KeyRange value) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(int index, com.google.spanner.v1.KeyRange value) {
+    public Builder addRanges(
+        int index, com.google.spanner.v1.KeyRange value) {
       if (rangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1277,8 +1194,6 @@ public Builder addRanges(int index, com.google.spanner.v1.KeyRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1286,7 +1201,8 @@ public Builder addRanges(int index, com.google.spanner.v1.KeyRange value) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder addRanges(
+        com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.add(builderForValue.build());
@@ -1297,8 +1213,6 @@ public Builder addRanges(com.google.spanner.v1.KeyRange.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1306,7 +1220,8 @@ public Builder addRanges(com.google.spanner.v1.KeyRange.Builder builderForValue)
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder addRanges(
+        int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.add(index, builderForValue.build());
@@ -1317,8 +1232,6 @@ public Builder addRanges(int index, com.google.spanner.v1.KeyRange.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1330,7 +1243,8 @@ public Builder addAllRanges(
         java.lang.Iterable values) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ranges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, ranges_);
         onChanged();
       } else {
         rangesBuilder_.addAllMessages(values);
@@ -1338,8 +1252,6 @@ public Builder addAllRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1358,8 +1270,6 @@ public Builder clearRanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1378,8 +1288,6 @@ public Builder removeRanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1387,12 +1295,11 @@ public Builder removeRanges(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(int index) {
+    public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(
+        int index) {
       return getRangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1400,16 +1307,14 @@ public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
+    public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
+        int index) {
       if (rangesBuilder_ == null) {
-        return ranges_.get(index);
-      } else {
+        return ranges_.get(index);  } else {
         return rangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1417,8 +1322,8 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public java.util.List
-        getRangesOrBuilderList() {
+    public java.util.List 
+         getRangesOrBuilderList() {
       if (rangesBuilder_ != null) {
         return rangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1426,8 +1331,6 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1436,12 +1339,10 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
     public com.google.spanner.v1.KeyRange.Builder addRangesBuilder() {
-      return getRangesFieldBuilder()
-          .addBuilder(com.google.spanner.v1.KeyRange.getDefaultInstance());
+      return getRangesFieldBuilder().addBuilder(
+          com.google.spanner.v1.KeyRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1449,13 +1350,12 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder() {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(int index) {
-      return getRangesFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.KeyRange.getDefaultInstance());
+    public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(
+        int index) {
+      return getRangesFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.KeyRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1463,31 +1363,27 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public java.util.List getRangesBuilderList() {
+    public java.util.List 
+         getRangesBuilderList() {
       return getRangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.KeyRange,
-            com.google.spanner.v1.KeyRange.Builder,
-            com.google.spanner.v1.KeyRangeOrBuilder>
+        com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder> 
         getRangesFieldBuilder() {
       if (rangesBuilder_ == null) {
-        rangesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.KeyRange,
-                com.google.spanner.v1.KeyRange.Builder,
-                com.google.spanner.v1.KeyRangeOrBuilder>(
-                ranges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        rangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder>(
+                ranges_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         ranges_ = null;
       }
       return rangesBuilder_;
     }
 
-    private boolean all_;
+    private boolean all_ ;
     /**
-     *
-     *
      * 
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1495,7 +1391,6 @@ public java.util.List getRangesBuilderLi
      * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -1503,8 +1398,6 @@ public boolean getAll() { return all_; } /** - * - * *
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1512,7 +1405,6 @@ public boolean getAll() {
      * 
* * bool all = 3; - * * @param value The all to set. * @return This builder for chaining. */ @@ -1524,8 +1416,6 @@ public Builder setAll(boolean value) { return this; } /** - * - * *
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1533,7 +1423,6 @@ public Builder setAll(boolean value) {
      * 
* * bool all = 3; - * * @return This builder for chaining. */ public Builder clearAll() { @@ -1542,9 +1431,9 @@ public Builder clearAll() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1554,12 +1443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.KeySet) } // @@protoc_insertion_point(class_scope:google.spanner.v1.KeySet) private static final com.google.spanner.v1.KeySet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.KeySet(); } @@ -1568,27 +1457,27 @@ public static com.google.spanner.v1.KeySet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeySet 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KeySet 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; @@ -1603,4 +1492,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.KeySet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java index 68c35c14a7b..10f1dfba265 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/keys.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface KeySetOrBuilder - extends +public interface KeySetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.KeySet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -36,10 +18,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  java.util.List getKeysList();
+  java.util.List 
+      getKeysList();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -51,8 +32,6 @@ public interface KeySetOrBuilder
    */
   com.google.protobuf.ListValue getKeys(int index);
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -64,8 +43,6 @@ public interface KeySetOrBuilder
    */
   int getKeysCount();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -75,10 +52,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  java.util.List getKeysOrBuilderList();
+  java.util.List 
+      getKeysOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -88,11 +64,10 @@ public interface KeySetOrBuilder
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index);
+  com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -100,10 +75,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  java.util.List getRangesList();
+  java.util.List 
+      getRangesList();
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -113,8 +87,6 @@ public interface KeySetOrBuilder
    */
   com.google.spanner.v1.KeyRange getRanges(int index);
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -124,8 +96,6 @@ public interface KeySetOrBuilder
    */
   int getRangesCount();
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -133,10 +103,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  java.util.List getRangesOrBuilderList();
+  java.util.List 
+      getRangesOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -144,11 +113,10 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index);
+  com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * For convenience `all` can be set to `true` to indicate that this
    * `KeySet` matches all keys in the table or index. Note that any keys
@@ -156,7 +124,6 @@ public interface KeySetOrBuilder
    * 
* * bool all = 3; - * * @return The all. */ boolean getAll(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java new file mode 100644 index 00000000000..784034b9121 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/keys.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.v1; + +public final class KeysProto { + private KeysProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_KeyRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_KeyRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_KeySet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_KeySet_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\034google/spanner/v1/keys.proto\022\021google.s" + + "panner.v1\032\034google/protobuf/struct.proto\"" + + "\364\001\n\010KeyRange\0222\n\014start_closed\030\001 \001(\0132\032.goo" + + "gle.protobuf.ListValueH\000\0220\n\nstart_open\030\002" + + " \001(\0132\032.google.protobuf.ListValueH\000\0220\n\nen" + + "d_closed\030\003 \001(\0132\032.google.protobuf.ListVal" + + "ueH\001\022.\n\010end_open\030\004 \001(\0132\032.google.protobuf" + + ".ListValueH\001B\020\n\016start_key_typeB\016\n\014end_ke" + + "y_type\"l\n\006KeySet\022(\n\004keys\030\001 \003(\0132\032.google." + + "protobuf.ListValue\022+\n\006ranges\030\002 \003(\0132\033.goo" + + "gle.spanner.v1.KeyRange\022\013\n\003all\030\003 \001(\010B\254\001\n" + + "\025com.google.spanner.v1B\tKeysProtoP\001Z5clo" + + "ud.google.com/go/spanner/apiv1/spannerpb" + + ";spannerpb\252\002\027Google.Cloud.Spanner.V1\312\002\027G" + + "oogle\\Cloud\\Spanner\\V1\352\002\032Google::Cloud::" + + "Spanner::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.StructProto.getDescriptor(), + }); + internal_static_google_spanner_v1_KeyRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_v1_KeyRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_KeyRange_descriptor, + new java.lang.String[] { "StartClosed", "StartOpen", "EndClosed", "EndOpen", "StartKeyType", "EndKeyType", }); + internal_static_google_spanner_v1_KeySet_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_v1_KeySet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_KeySet_descriptor, + new java.lang.String[] { "Keys", "Ranges", "All", }); + com.google.protobuf.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java similarity index 70% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java index ee629e3b76d..d60d361081e 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
  * 
* * Protobuf type {@code google.spanner.v1.ListSessionsRequest} */ -public final class ListSessionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSessionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ListSessionsRequest) ListSessionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSessionsRequest.newBuilder() to construct. private ListSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSessionsRequest() { database_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListSessionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSessionsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsRequest.class, - com.google.spanner.v1.ListSessionsRequest.Builder.class); + com.google.spanner.v1.ListSessionsRequest.class, com.google.spanner.v1.ListSessionsRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -88,31 +63,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of sessions to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,12 +110,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -154,7 +121,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -163,15 +129,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -180,15 +145,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -197,12 +163,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -217,7 +180,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -226,15 +188,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -249,15 +210,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -266,7 +228,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +239,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -304,7 +266,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -320,18 +283,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ListSessionsRequest)) { return super.equals(obj); } - com.google.spanner.v1.ListSessionsRequest other = - (com.google.spanner.v1.ListSessionsRequest) obj; - - if (!getDatabase().equals(other.getDatabase())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.spanner.v1.ListSessionsRequest other = (com.google.spanner.v1.ListSessionsRequest) obj; + + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,136 +322,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ListSessionsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ListSessionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ListSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
    * 
* * Protobuf type {@code google.spanner.v1.ListSessionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ListSessionsRequest) com.google.spanner.v1.ListSessionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsRequest.class, - com.google.spanner.v1.ListSessionsRequest.Builder.class); + com.google.spanner.v1.ListSessionsRequest.class, com.google.spanner.v1.ListSessionsRequest.Builder.class); } // Construct using com.google.spanner.v1.ListSessionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +460,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override @@ -519,11 +481,8 @@ public com.google.spanner.v1.ListSessionsRequest build() { @java.lang.Override public com.google.spanner.v1.ListSessionsRequest buildPartial() { - com.google.spanner.v1.ListSessionsRequest result = - new com.google.spanner.v1.ListSessionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ListSessionsRequest result = new com.google.spanner.v1.ListSessionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -548,39 +507,38 @@ private void buildPartial0(com.google.spanner.v1.ListSessionsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.ListSessionsRequest) { - return mergeFrom((com.google.spanner.v1.ListSessionsRequest) other); + return mergeFrom((com.google.spanner.v1.ListSessionsRequest)other); } else { super.mergeFrom(other); return this; @@ -633,37 +591,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = 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) { @@ -673,27 +626,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -702,23 +650,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -726,39 +671,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -768,23 +702,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -792,17 +720,14 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -810,15 +735,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -830,15 +752,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -850,8 +769,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -860,13 +777,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -875,8 +792,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -885,14 +800,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -900,8 +816,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -910,22 +824,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -934,7 +844,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -944,8 +853,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -954,14 +861,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -971,8 +876,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -987,13 +890,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1002,8 +905,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1018,14 +919,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1033,8 +935,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1049,22 +949,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1079,7 +975,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1089,8 +984,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1105,23 +998,21 @@ public Builder clearFilter() {
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1131,12 +1022,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ListSessionsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ListSessionsRequest) private static final com.google.spanner.v1.ListSessionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ListSessionsRequest(); } @@ -1145,27 +1036,27 @@ public static com.google.spanner.v1.ListSessionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsRequest 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; @@ -1180,4 +1071,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ListSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java index 7a5971cd15e..33cd436370f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java @@ -1,75 +1,45 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface ListSessionsRequestOrBuilder - extends +public interface ListSessionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ListSessionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Number of sessions to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -78,13 +48,10 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
@@ -93,14 +60,12 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -115,13 +80,10 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -136,8 +98,8 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java similarity index 71% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java index 3f0f9ba467e..02c5e32f766 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
  * 
* * Protobuf type {@code google.spanner.v1.ListSessionsResponse} */ -public final class ListSessionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSessionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ListSessionsResponse) ListSessionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSessionsResponse.newBuilder() to construct. private ListSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSessionsResponse() { sessions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,32 +27,28 @@ private ListSessionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSessionsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsResponse.class, - com.google.spanner.v1.ListSessionsResponse.Builder.class); + com.google.spanner.v1.ListSessionsResponse.class, com.google.spanner.v1.ListSessionsResponse.Builder.class); } public static final int SESSIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List sessions_; /** - * - * *
    * The list of requested sessions.
    * 
@@ -82,8 +60,6 @@ public java.util.List getSessionsList() { return sessions_; } /** - * - * *
    * The list of requested sessions.
    * 
@@ -91,13 +67,11 @@ public java.util.List getSessionsList() { * repeated .google.spanner.v1.Session sessions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionsOrBuilderList() { return sessions_; } /** - * - * *
    * The list of requested sessions.
    * 
@@ -109,8 +83,6 @@ public int getSessionsCount() { return sessions_.size(); } /** - * - * *
    * The list of requested sessions.
    * 
@@ -122,8 +94,6 @@ public com.google.spanner.v1.Session getSessions(int index) { return sessions_.get(index); } /** - * - * *
    * The list of requested sessions.
    * 
@@ -131,17 +101,15 @@ public com.google.spanner.v1.Session getSessions(int index) { * repeated .google.spanner.v1.Session sessions = 1; */ @java.lang.Override - public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( + int index) { return sessions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -149,7 +117,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +125,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -174,15 +140,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < sessions_.size(); i++) { output.writeMessage(1, sessions_.get(i)); } @@ -220,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sessions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sessions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, sessions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -233,16 +201,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ListSessionsResponse)) { return super.equals(obj); } - com.google.spanner.v1.ListSessionsResponse other = - (com.google.spanner.v1.ListSessionsResponse) obj; + com.google.spanner.v1.ListSessionsResponse other = (com.google.spanner.v1.ListSessionsResponse) obj; - if (!getSessionsList().equals(other.getSessionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSessionsList() + .equals(other.getSessionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,136 +234,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ListSessionsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ListSessionsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ListSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
    * 
* * Protobuf type {@code google.spanner.v1.ListSessionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ListSessionsResponse) com.google.spanner.v1.ListSessionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsResponse.class, - com.google.spanner.v1.ListSessionsResponse.Builder.class); + com.google.spanner.v1.ListSessionsResponse.class, com.google.spanner.v1.ListSessionsResponse.Builder.class); } // Construct using com.google.spanner.v1.ListSessionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override @@ -432,12 +397,9 @@ public com.google.spanner.v1.ListSessionsResponse build() { @java.lang.Override public com.google.spanner.v1.ListSessionsResponse buildPartial() { - com.google.spanner.v1.ListSessionsResponse result = - new com.google.spanner.v1.ListSessionsResponse(this); + com.google.spanner.v1.ListSessionsResponse result = new com.google.spanner.v1.ListSessionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -465,39 +427,38 @@ private void buildPartial0(com.google.spanner.v1.ListSessionsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.ListSessionsResponse) { - return mergeFrom((com.google.spanner.v1.ListSessionsResponse) other); + return mergeFrom((com.google.spanner.v1.ListSessionsResponse)other); } else { super.mergeFrom(other); return this; @@ -524,10 +485,9 @@ public Builder mergeFrom(com.google.spanner.v1.ListSessionsResponse other) { sessionsBuilder_ = null; sessions_ = other.sessions_; bitField0_ = (bitField0_ & ~0x00000001); - sessionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSessionsFieldBuilder() - : null; + sessionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSessionsFieldBuilder() : null; } else { sessionsBuilder_.addAllMessages(other.sessions_); } @@ -564,31 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.v1.Session m = - input.readMessage(com.google.spanner.v1.Session.parser(), extensionRegistry); - if (sessionsBuilder_ == null) { - ensureSessionsIsMutable(); - sessions_.add(m); - } else { - sessionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.v1.Session m = + input.readMessage( + com.google.spanner.v1.Session.parser(), + extensionRegistry); + if (sessionsBuilder_ == null) { + ensureSessionsIsMutable(); + sessions_.add(m); + } else { + sessionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = 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) { @@ -598,28 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List sessions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSessionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sessions_ = new java.util.ArrayList(sessions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> - sessionsBuilder_; + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionsBuilder_; /** - * - * *
      * The list of requested sessions.
      * 
@@ -634,8 +586,6 @@ public java.util.List getSessionsList() { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -650,8 +600,6 @@ public int getSessionsCount() { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -666,15 +614,14 @@ public com.google.spanner.v1.Session getSessions(int index) { } } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder setSessions(int index, com.google.spanner.v1.Session value) { + public Builder setSessions( + int index, com.google.spanner.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -688,15 +635,14 @@ public Builder setSessions(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder setSessions(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSessions( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.set(index, builderForValue.build()); @@ -707,8 +653,6 @@ public Builder setSessions(int index, com.google.spanner.v1.Session.Builder buil return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -729,15 +673,14 @@ public Builder addSessions(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions(int index, com.google.spanner.v1.Session value) { + public Builder addSessions( + int index, com.google.spanner.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,15 +694,14 @@ public Builder addSessions(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSessions( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(builderForValue.build()); @@ -770,15 +712,14 @@ public Builder addSessions(com.google.spanner.v1.Session.Builder builderForValue return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSessions( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(index, builderForValue.build()); @@ -789,8 +730,6 @@ public Builder addSessions(int index, com.google.spanner.v1.Session.Builder buil return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -801,7 +740,8 @@ public Builder addAllSessions( java.lang.Iterable values) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sessions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sessions_); onChanged(); } else { sessionsBuilder_.addAllMessages(values); @@ -809,8 +749,6 @@ public Builder addAllSessions( return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -828,8 +766,6 @@ public Builder clearSessions() { return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -847,44 +783,39 @@ public Builder removeSessions(int index) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.Session.Builder getSessionsBuilder(int index) { + public com.google.spanner.v1.Session.Builder getSessionsBuilder( + int index) { return getSessionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( + int index) { if (sessionsBuilder_ == null) { - return sessions_.get(index); - } else { + return sessions_.get(index); } else { return sessionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public java.util.List - getSessionsOrBuilderList() { + public java.util.List + getSessionsOrBuilderList() { if (sessionsBuilder_ != null) { return sessionsBuilder_.getMessageOrBuilderList(); } else { @@ -892,8 +823,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -901,47 +830,42 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { * repeated .google.spanner.v1.Session sessions = 1; */ public com.google.spanner.v1.Session.Builder addSessionsBuilder() { - return getSessionsFieldBuilder() - .addBuilder(com.google.spanner.v1.Session.getDefaultInstance()); + return getSessionsFieldBuilder().addBuilder( + com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.Session.Builder addSessionsBuilder(int index) { - return getSessionsFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Session.getDefaultInstance()); + public com.google.spanner.v1.Session.Builder addSessionsBuilder( + int index) { + return getSessionsFieldBuilder().addBuilder( + index, com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public java.util.List getSessionsBuilderList() { + public java.util.List + getSessionsBuilderList() { return getSessionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionsFieldBuilder() { if (sessionsBuilder_ == null) { - sessionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - sessions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + sessionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + sessions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); sessions_ = null; } return sessionsBuilder_; @@ -949,8 +873,6 @@ public java.util.List getSessionsBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -958,13 +880,13 @@ public java.util.List getSessionsBuilderL
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -973,8 +895,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -982,14 +902,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -997,8 +918,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -1006,22 +925,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -1029,7 +944,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1039,8 +953,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -1048,23 +960,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ListSessionsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ListSessionsResponse) private static final com.google.spanner.v1.ListSessionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ListSessionsResponse(); } @@ -1088,27 +998,27 @@ public static com.google.spanner.v1.ListSessionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsResponse 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; @@ -1123,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ListSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java index bd57be27dfa..a09ddea812c 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface ListSessionsResponseOrBuilder - extends +public interface ListSessionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ListSessionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - java.util.List getSessionsList(); + java.util.List + getSessionsList(); /** - * - * *
    * The list of requested sessions.
    * 
@@ -45,8 +26,6 @@ public interface ListSessionsResponseOrBuilder */ com.google.spanner.v1.Session getSessions(int index); /** - * - * *
    * The list of requested sessions.
    * 
@@ -55,29 +34,25 @@ public interface ListSessionsResponseOrBuilder */ int getSessionsCount(); /** - * - * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - java.util.List getSessionsOrBuilderList(); + java.util.List + getSessionsOrBuilderList(); /** - * - * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index); + com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -85,13 +60,10 @@ public interface ListSessionsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more
@@ -99,8 +71,8 @@ public interface ListSessionsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java similarity index 80% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java index ef756891433..103429439ba 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/mutation.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * A modification to one or more Cloud Spanner rows.  Mutations can be
  * applied to a Cloud Spanner database by sending them in a
@@ -30,71 +13,63 @@
  *
  * Protobuf type {@code google.spanner.v1.Mutation}
  */
-public final class Mutation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Mutation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.Mutation)
     MutationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Mutation.newBuilder() to construct.
   private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Mutation() {}
+  private Mutation() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Mutation();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.MutationProto
-        .internal_static_google_spanner_v1_Mutation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.MutationProto
-        .internal_static_google_spanner_v1_Mutation_fieldAccessorTable
+    return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.Mutation.class, com.google.spanner.v1.Mutation.Builder.class);
   }
 
-  public interface WriteOrBuilder
-      extends
+  public interface WriteOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation.Write)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -104,13 +79,11 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @return A list containing the columns. */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -120,13 +93,10 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @return The count of columns. */ int getColumnsCount(); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -136,14 +106,11 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -153,15 +120,13 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString getColumnsBytes(int index); + com.google.protobuf.ByteString + getColumnsBytes(int index); /** - * - * *
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -175,10 +140,9 @@ public interface WriteOrBuilder
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    java.util.List getValuesList();
+    java.util.List 
+        getValuesList();
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -194,8 +158,6 @@ public interface WriteOrBuilder
      */
     com.google.protobuf.ListValue getValues(int index);
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -211,8 +173,6 @@ public interface WriteOrBuilder
      */
     int getValuesCount();
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -226,10 +186,9 @@ public interface WriteOrBuilder
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    java.util.List getValuesOrBuilderList();
+    java.util.List 
+        getValuesOrBuilderList();
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -243,11 +202,10 @@ public interface WriteOrBuilder
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index);
+    com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
    * [replace][google.spanner.v1.Mutation.replace] operations.
@@ -255,56 +213,51 @@ public interface WriteOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.Mutation.Write}
    */
-  public static final class Write extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Write extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.Mutation.Write)
       WriteOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Write.newBuilder() to construct.
     private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Write() {
       table_ = "";
-      columns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      columns_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       values_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Write();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_Write_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.Mutation.Write.class,
-              com.google.spanner.v1.Mutation.Write.Builder.class);
+              com.google.spanner.v1.Mutation.Write.class, com.google.spanner.v1.Mutation.Write.Builder.class);
     }
 
     public static final int TABLE_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -313,29 +266,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -344,13 +297,10 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int COLUMNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -360,15 +310,13 @@ public com.google.protobuf.ByteString getTableBytes() {
      * 
* * repeated string columns = 2; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_; } /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -378,15 +326,12 @@ public com.google.protobuf.ProtocolStringList getColumnsList() {
      * 
* * repeated string columns = 2; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -396,7 +341,6 @@ public int getColumnsCount() {
      * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -404,8 +348,6 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      *
@@ -415,21 +357,18 @@ public java.lang.String getColumns(int index) {
      * 
* * repeated string columns = 2; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int VALUES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List values_; /** - * - * *
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -448,8 +387,6 @@ public java.util.List getValuesList() {
       return values_;
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -464,13 +401,11 @@ public java.util.List getValuesList() {
      * repeated .google.protobuf.ListValue values = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getValuesOrBuilderList() {
       return values_;
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -489,8 +424,6 @@ public int getValuesCount() {
       return values_.size();
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -509,8 +442,6 @@ public com.google.protobuf.ListValue getValues(int index) {
       return values_.get(index);
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -525,12 +456,12 @@ public com.google.protobuf.ListValue getValues(int index) {
      * repeated .google.protobuf.ListValue values = 3;
      */
     @java.lang.Override
-    public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
+    public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
+        int index) {
       return values_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -542,7 +473,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_);
       }
@@ -573,7 +505,8 @@ public int getSerializedSize() {
         size += 1 * getColumnsList().size();
       }
       for (int i = 0; i < values_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, values_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, values_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -583,16 +516,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.spanner.v1.Mutation.Write)) {
         return super.equals(obj);
       }
       com.google.spanner.v1.Mutation.Write other = (com.google.spanner.v1.Mutation.Write) obj;
 
-      if (!getTable().equals(other.getTable())) return false;
-      if (!getColumnsList().equals(other.getColumnsList())) return false;
-      if (!getValuesList().equals(other.getValuesList())) return false;
+      if (!getTable()
+          .equals(other.getTable())) return false;
+      if (!getColumnsList()
+          .equals(other.getColumnsList())) return false;
+      if (!getValuesList()
+          .equals(other.getValuesList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -619,94 +555,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.spanner.v1.Mutation.Write parseFrom(java.nio.ByteBuffer data)
+    public static com.google.spanner.v1.Mutation.Write parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     public static com.google.spanner.v1.Mutation.Write parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.spanner.v1.Mutation.Write parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.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);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.spanner.v1.Mutation.Write prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -716,8 +648,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
      * [replace][google.spanner.v1.Mutation.replace] operations.
@@ -725,39 +655,40 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.Mutation.Write}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.Mutation.Write)
         com.google.spanner.v1.Mutation.WriteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.MutationProto
-            .internal_static_google_spanner_v1_Mutation_Write_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.MutationProto
-            .internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
+        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.Mutation.Write.class,
-                com.google.spanner.v1.Mutation.Write.Builder.class);
+                com.google.spanner.v1.Mutation.Write.class, com.google.spanner.v1.Mutation.Write.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.Mutation.Write.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         table_ = "";
-        columns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        columns_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         if (valuesBuilder_ == null) {
           values_ = java.util.Collections.emptyList();
         } else {
@@ -769,9 +700,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.MutationProto
-            .internal_static_google_spanner_v1_Mutation_Write_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
       }
 
       @java.lang.Override
@@ -790,12 +721,9 @@ public com.google.spanner.v1.Mutation.Write build() {
 
       @java.lang.Override
       public com.google.spanner.v1.Mutation.Write buildPartial() {
-        com.google.spanner.v1.Mutation.Write result =
-            new com.google.spanner.v1.Mutation.Write(this);
+        com.google.spanner.v1.Mutation.Write result = new com.google.spanner.v1.Mutation.Write(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -827,41 +755,38 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Write result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.Mutation.Write) {
-          return mergeFrom((com.google.spanner.v1.Mutation.Write) other);
+          return mergeFrom((com.google.spanner.v1.Mutation.Write)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -903,10 +828,9 @@ public Builder mergeFrom(com.google.spanner.v1.Mutation.Write other) {
               valuesBuilder_ = null;
               values_ = other.values_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              valuesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getValuesFieldBuilder()
-                      : null;
+              valuesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getValuesFieldBuilder() : null;
             } else {
               valuesBuilder_.addAllMessages(other.values_);
             }
@@ -938,38 +862,36 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  table_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureColumnsIsMutable();
-                  columns_.add(s);
-                  break;
-                } // case 18
-              case 26:
-                {
-                  com.google.protobuf.ListValue m =
-                      input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
-                  if (valuesBuilder_ == null) {
-                    ensureValuesIsMutable();
-                    values_.add(m);
-                  } else {
-                    valuesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                table_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureColumnsIsMutable();
+                columns_.add(s);
+                break;
+              } // case 18
+              case 26: {
+                com.google.protobuf.ListValue m =
+                    input.readMessage(
+                        com.google.protobuf.ListValue.parser(),
+                        extensionRegistry);
+                if (valuesBuilder_ == null) {
+                  ensureValuesIsMutable();
+                  values_.add(m);
+                } else {
+                  valuesBuilder_.addMessage(m);
+                }
+                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) {
@@ -979,25 +901,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object table_ = "";
       /**
-       *
-       *
        * 
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1006,21 +925,20 @@ public java.lang.String getTable() { } } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -1028,35 +946,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1066,21 +977,17 @@ public Builder clearTable() { return this; } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -1090,7 +997,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureColumnsIsMutable() { if (!columns_.isModifiable()) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); @@ -1098,8 +1004,6 @@ private void ensureColumnsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1109,16 +1013,14 @@ private void ensureColumnsIsMutable() {
        * 
* * repeated string columns = 2; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { columns_.makeImmutable(); return columns_; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1128,15 +1030,12 @@ public com.google.protobuf.ProtocolStringList getColumnsList() {
        * 
* * repeated string columns = 2; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1146,7 +1045,6 @@ public int getColumnsCount() {
        * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1154,8 +1052,6 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1165,16 +1061,14 @@ public java.lang.String getColumns(int index) {
        * 
* * repeated string columns = 2; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1184,15 +1078,13 @@ public com.google.protobuf.ByteString getColumnsBytes(int index) {
        * 
* * repeated string columns = 2; - * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); bitField0_ |= 0x00000002; @@ -1200,8 +1092,6 @@ public Builder setColumns(int index, java.lang.String value) { return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1211,14 +1101,12 @@ public Builder setColumns(int index, java.lang.String value) {
        * 
* * repeated string columns = 2; - * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); bitField0_ |= 0x00000002; @@ -1226,8 +1114,6 @@ public Builder addColumns(java.lang.String value) { return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1237,20 +1123,19 @@ public Builder addColumns(java.lang.String value) {
        * 
* * repeated string columns = 2; - * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns(java.lang.Iterable values) { + public Builder addAllColumns( + java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1260,19 +1145,16 @@ public Builder addAllColumns(java.lang.Iterable values) {
        * 
* * repeated string columns = 2; - * * @return This builder for chaining. */ public Builder clearColumns() { - columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + columns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        *
@@ -1282,14 +1164,12 @@ public Builder clearColumns() {
        * 
* * repeated string columns = 2; - * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1299,24 +1179,18 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) { } private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.ListValue, - com.google.protobuf.ListValue.Builder, - com.google.protobuf.ListValueOrBuilder> - valuesBuilder_; + com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> valuesBuilder_; /** - * - * *
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1338,8 +1212,6 @@ public java.util.List getValuesList() {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1361,8 +1233,6 @@ public int getValuesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1384,8 +1254,6 @@ public com.google.protobuf.ListValue getValues(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1399,7 +1267,8 @@ public com.google.protobuf.ListValue getValues(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder setValues(int index, com.google.protobuf.ListValue value) {
+      public Builder setValues(
+          int index, com.google.protobuf.ListValue value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1413,8 +1282,6 @@ public Builder setValues(int index, com.google.protobuf.ListValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1428,7 +1295,8 @@ public Builder setValues(int index, com.google.protobuf.ListValue value) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder setValues(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder setValues(
+          int index, com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.set(index, builderForValue.build());
@@ -1439,8 +1307,6 @@ public Builder setValues(int index, com.google.protobuf.ListValue.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1468,8 +1334,6 @@ public Builder addValues(com.google.protobuf.ListValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1483,7 +1347,8 @@ public Builder addValues(com.google.protobuf.ListValue value) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(int index, com.google.protobuf.ListValue value) {
+      public Builder addValues(
+          int index, com.google.protobuf.ListValue value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1497,8 +1362,6 @@ public Builder addValues(int index, com.google.protobuf.ListValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1512,7 +1375,8 @@ public Builder addValues(int index, com.google.protobuf.ListValue value) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder addValues(
+          com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.add(builderForValue.build());
@@ -1523,8 +1387,6 @@ public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1538,7 +1400,8 @@ public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue)
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder addValues(
+          int index, com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.add(index, builderForValue.build());
@@ -1549,8 +1412,6 @@ public Builder addValues(int index, com.google.protobuf.ListValue.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1568,7 +1429,8 @@ public Builder addAllValues(
           java.lang.Iterable values) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, values_);
           onChanged();
         } else {
           valuesBuilder_.addAllMessages(values);
@@ -1576,8 +1438,6 @@ public Builder addAllValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1602,8 +1462,6 @@ public Builder clearValues() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1628,8 +1486,6 @@ public Builder removeValues(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1643,12 +1499,11 @@ public Builder removeValues(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValue.Builder getValuesBuilder(int index) {
+      public com.google.protobuf.ListValue.Builder getValuesBuilder(
+          int index) {
         return getValuesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1662,16 +1517,14 @@ public com.google.protobuf.ListValue.Builder getValuesBuilder(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
+      public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
+          int index) {
         if (valuesBuilder_ == null) {
-          return values_.get(index);
-        } else {
+          return values_.get(index);  } else {
           return valuesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1685,8 +1538,8 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public java.util.List
-          getValuesOrBuilderList() {
+      public java.util.List 
+           getValuesOrBuilderList() {
         if (valuesBuilder_ != null) {
           return valuesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1694,8 +1547,6 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1710,12 +1561,10 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
        * repeated .google.protobuf.ListValue values = 3;
        */
       public com.google.protobuf.ListValue.Builder addValuesBuilder() {
-        return getValuesFieldBuilder()
-            .addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
+        return getValuesFieldBuilder().addBuilder(
+            com.google.protobuf.ListValue.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1729,13 +1578,12 @@ public com.google.protobuf.ListValue.Builder addValuesBuilder() {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValue.Builder addValuesBuilder(int index) {
-        return getValuesFieldBuilder()
-            .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
+      public com.google.protobuf.ListValue.Builder addValuesBuilder(
+          int index) {
+        return getValuesFieldBuilder().addBuilder(
+            index, com.google.protobuf.ListValue.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1749,27 +1597,24 @@ public com.google.protobuf.ListValue.Builder addValuesBuilder(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public java.util.List getValuesBuilderList() {
+      public java.util.List 
+           getValuesBuilderList() {
         return getValuesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.protobuf.ListValue,
-              com.google.protobuf.ListValue.Builder,
-              com.google.protobuf.ListValueOrBuilder>
+          com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
           getValuesFieldBuilder() {
         if (valuesBuilder_ == null) {
-          valuesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.protobuf.ListValue,
-                  com.google.protobuf.ListValue.Builder,
-                  com.google.protobuf.ListValueOrBuilder>(
-                  values_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+          valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                  values_,
+                  ((bitField0_ & 0x00000004) != 0),
+                  getParentForChildren(),
+                  isClean());
           values_ = null;
         }
         return valuesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1782,12 +1627,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation.Write)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation.Write)
     private static final com.google.spanner.v1.Mutation.Write DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation.Write();
     }
@@ -1796,28 +1641,27 @@ public static com.google.spanner.v1.Mutation.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();
-          }
-        };
+    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;
@@ -1832,41 +1676,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.Mutation.Write getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DeleteOrBuilder
-      extends
+  public interface DeleteOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation.Delete)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1877,13 +1714,10 @@ public interface DeleteOrBuilder
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1894,13 +1728,10 @@ public interface DeleteOrBuilder
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1915,63 +1746,55 @@ public interface DeleteOrBuilder
     com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
    * 
* * Protobuf type {@code google.spanner.v1.Mutation.Delete} */ - public static final class Delete extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Delete extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Mutation.Delete) DeleteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Delete.newBuilder() to construct. private Delete(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Delete() { table_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Delete(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Mutation.Delete.class, - com.google.spanner.v1.Mutation.Delete.Builder.class); + com.google.spanner.v1.Mutation.Delete.class, com.google.spanner.v1.Mutation.Delete.Builder.class); } private int bitField0_; public static final int TABLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -1980,29 +1803,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -2013,8 +1836,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int KEY_SET_FIELD_NUMBER = 2; private com.google.spanner.v1.KeySet keySet_; /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -2025,7 +1846,6 @@ public com.google.protobuf.ByteString getTableBytes() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ @java.lang.Override @@ -2033,8 +1853,6 @@ public boolean hasKeySet() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -2045,7 +1863,6 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -2053,8 +1870,6 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -2072,7 +1887,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2084,7 +1898,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_);
       }
@@ -2104,7 +1919,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_);
       }
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getKeySet());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getKeySet());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2114,17 +1930,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.spanner.v1.Mutation.Delete)) {
         return super.equals(obj);
       }
       com.google.spanner.v1.Mutation.Delete other = (com.google.spanner.v1.Mutation.Delete) obj;
 
-      if (!getTable().equals(other.getTable())) return false;
+      if (!getTable()
+          .equals(other.getTable())) return false;
       if (hasKeySet() != other.hasKeySet()) return false;
       if (hasKeySet()) {
-        if (!getKeySet().equals(other.getKeySet())) return false;
+        if (!getKeySet()
+            .equals(other.getKeySet())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2148,94 +1966,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.spanner.v1.Mutation.Delete parseFrom(java.nio.ByteBuffer data)
+    public static com.google.spanner.v1.Mutation.Delete parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.spanner.v1.Mutation.Delete prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2245,32 +2059,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
      * 
* * Protobuf type {@code google.spanner.v1.Mutation.Delete} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Mutation.Delete) com.google.spanner.v1.Mutation.DeleteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Mutation.Delete.class, - com.google.spanner.v1.Mutation.Delete.Builder.class); + com.google.spanner.v1.Mutation.Delete.class, com.google.spanner.v1.Mutation.Delete.Builder.class); } // Construct using com.google.spanner.v1.Mutation.Delete.newBuilder() @@ -2278,17 +2087,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getKeySetFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2303,9 +2112,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override @@ -2324,11 +2133,8 @@ public com.google.spanner.v1.Mutation.Delete build() { @java.lang.Override public com.google.spanner.v1.Mutation.Delete buildPartial() { - com.google.spanner.v1.Mutation.Delete result = - new com.google.spanner.v1.Mutation.Delete(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.Mutation.Delete result = new com.google.spanner.v1.Mutation.Delete(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2340,7 +2146,9 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Delete result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build(); + result.keySet_ = keySetBuilder_ == null + ? keySet_ + : keySetBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -2350,41 +2158,38 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Delete result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.Mutation.Delete) { - return mergeFrom((com.google.spanner.v1.Mutation.Delete) other); + return mergeFrom((com.google.spanner.v1.Mutation.Delete)other); } else { super.mergeFrom(other); return this; @@ -2427,25 +2232,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getKeySetFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -2455,25 +2259,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object table_ = ""; /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -2482,21 +2283,20 @@ public java.lang.String getTable() { } } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -2504,35 +2304,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -2542,21 +2335,17 @@ public Builder clearTable() { return this; } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -2566,13 +2355,8 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> - keySetBuilder_; + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2582,17 +2366,13 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2602,9 +2382,7 @@ public boolean hasKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -2615,8 +2393,6 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2626,8 +2402,7 @@ public com.google.spanner.v1.KeySet getKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setKeySet(com.google.spanner.v1.KeySet value) { if (keySetBuilder_ == null) { @@ -2643,8 +2418,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) { return this; } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2654,10 +2427,10 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) { + public Builder setKeySet( + com.google.spanner.v1.KeySet.Builder builderForValue) { if (keySetBuilder_ == null) { keySet_ = builderForValue.build(); } else { @@ -2668,8 +2441,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) { return this; } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2679,14 +2450,13 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) { if (keySetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && keySet_ != null - && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + keySet_ != null && + keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) { getKeySetBuilder().mergeFrom(value); } else { keySet_ = value; @@ -2701,8 +2471,6 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) { return this; } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2712,8 +2480,7 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearKeySet() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2726,8 +2493,6 @@ public Builder clearKeySet() { return this; } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2737,8 +2502,7 @@ public Builder clearKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() { bitField0_ |= 0x00000002; @@ -2746,8 +2510,6 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() { return getKeySetFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2757,19 +2519,17 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() { if (keySetBuilder_ != null) { return keySetBuilder_.getMessageOrBuilder(); } else { - return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; + return keySet_ == null ? + com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2779,26 +2539,21 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> getKeySetFieldBuilder() { if (keySetBuilder_ == null) { - keySetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder>( - getKeySet(), getParentForChildren(), isClean()); + keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>( + getKeySet(), + getParentForChildren(), + isClean()); keySet_ = null; } return keySetBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2811,12 +2566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation.Delete) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation.Delete) private static final com.google.spanner.v1.Mutation.Delete DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation.Delete(); } @@ -2825,28 +2580,27 @@ public static com.google.spanner.v1.Mutation.Delete getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Delete 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Delete 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; @@ -2861,16 +2615,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Mutation.Delete getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int operationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object operation_; - public enum OperationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSERT(1), UPDATE(2), @@ -2879,7 +2631,6 @@ public enum OperationCase DELETE(5), OPERATION_NOT_SET(0); private final int value; - private OperationCase(int value) { this.value = value; } @@ -2895,43 +2646,34 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 1: - return INSERT; - case 2: - return UPDATE; - case 3: - return INSERT_OR_UPDATE; - case 4: - return REPLACE; - case 5: - return DELETE; - case 0: - return OPERATION_NOT_SET; - default: - return null; + case 1: return INSERT; + case 2: return UPDATE; + case 3: return INSERT_OR_UPDATE; + case 4: return REPLACE; + case 5: return DELETE; + case 0: return OPERATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OperationCase getOperationCase() { - return OperationCase.forNumber(operationCase_); + public OperationCase + getOperationCase() { + return OperationCase.forNumber( + operationCase_); } public static final int INSERT_FIELD_NUMBER = 1; /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return Whether the insert field is set. */ @java.lang.Override @@ -2939,27 +2681,22 @@ public boolean hasInsert() { return operationCase_ == 1; } /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return The insert. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getInsert() { if (operationCase_ == 1) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -2970,22 +2707,19 @@ public com.google.spanner.v1.Mutation.Write getInsert() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
     if (operationCase_ == 1) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int UPDATE_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return Whether the update field is set. */ @java.lang.Override @@ -2993,27 +2727,22 @@ public boolean hasUpdate() { return operationCase_ == 2; } /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return The update. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getUpdate() { if (operationCase_ == 2) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3024,15 +2753,13 @@ public com.google.spanner.v1.Mutation.Write getUpdate() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
     if (operationCase_ == 2) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int INSERT_OR_UPDATE_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -3044,7 +2771,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return Whether the insertOrUpdate field is set. */ @java.lang.Override @@ -3052,8 +2778,6 @@ public boolean hasInsertOrUpdate() { return operationCase_ == 3; } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -3065,19 +2789,16 @@ public boolean hasInsertOrUpdate() {
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return The insertOrUpdate. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() { if (operationCase_ == 3) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -3093,15 +2814,13 @@ public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder() {
     if (operationCase_ == 3) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int REPLACE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -3115,7 +2834,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return Whether the replace field is set. */ @java.lang.Override @@ -3123,8 +2841,6 @@ public boolean hasReplace() { return operationCase_ == 4; } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -3138,19 +2854,16 @@ public boolean hasReplace() {
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return The replace. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getReplace() { if (operationCase_ == 4) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -3168,22 +2881,19 @@ public com.google.spanner.v1.Mutation.Write getReplace() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
     if (operationCase_ == 4) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int DELETE_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return Whether the delete field is set. */ @java.lang.Override @@ -3191,27 +2901,22 @@ public boolean hasDelete() { return operationCase_ == 5; } /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return The delete. */ @java.lang.Override public com.google.spanner.v1.Mutation.Delete getDelete() { if (operationCase_ == 5) { - return (com.google.spanner.v1.Mutation.Delete) operation_; + return (com.google.spanner.v1.Mutation.Delete) operation_; } return com.google.spanner.v1.Mutation.Delete.getDefaultInstance(); } /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
@@ -3222,13 +2927,12 @@ public com.google.spanner.v1.Mutation.Delete getDelete() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
     if (operationCase_ == 5) {
-      return (com.google.spanner.v1.Mutation.Delete) operation_;
+       return (com.google.spanner.v1.Mutation.Delete) operation_;
     }
     return com.google.spanner.v1.Mutation.Delete.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -3240,7 +2944,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (operationCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.Mutation.Write) operation_);
     }
@@ -3266,29 +2971,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (operationCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.spanner.v1.Mutation.Delete) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.spanner.v1.Mutation.Delete) operation_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -3298,7 +2998,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.Mutation)) {
       return super.equals(obj);
@@ -3308,19 +3008,24 @@ public boolean equals(final java.lang.Object obj) {
     if (!getOperationCase().equals(other.getOperationCase())) return false;
     switch (operationCase_) {
       case 1:
-        if (!getInsert().equals(other.getInsert())) return false;
+        if (!getInsert()
+            .equals(other.getInsert())) return false;
         break;
       case 2:
-        if (!getUpdate().equals(other.getUpdate())) return false;
+        if (!getUpdate()
+            .equals(other.getUpdate())) return false;
         break;
       case 3:
-        if (!getInsertOrUpdate().equals(other.getInsertOrUpdate())) return false;
+        if (!getInsertOrUpdate()
+            .equals(other.getInsertOrUpdate())) return false;
         break;
       case 4:
-        if (!getReplace().equals(other.getReplace())) return false;
+        if (!getReplace()
+            .equals(other.getReplace())) return false;
         break;
       case 5:
-        if (!getDelete().equals(other.getDelete())) return false;
+        if (!getDelete()
+            .equals(other.getDelete())) return false;
         break;
       case 0:
       default:
@@ -3365,103 +3070,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.Mutation parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.Mutation parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Mutation parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.Mutation parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.Mutation parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Mutation parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Mutation parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Mutation parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Mutation parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.Mutation parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.Mutation parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.Mutation parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.Mutation parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.spanner.v1.Mutation parseFrom(
+      com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.Mutation parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.Mutation prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A modification to one or more Cloud Spanner rows.  Mutations can be
    * applied to a Cloud Spanner database by sending them in a
@@ -3470,31 +3171,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.Mutation}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.Mutation)
       com.google.spanner.v1.MutationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_fieldAccessorTable
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Mutation.class, com.google.spanner.v1.Mutation.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.Mutation.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3520,9 +3223,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
     }
 
     @java.lang.Override
@@ -3542,9 +3245,7 @@ public com.google.spanner.v1.Mutation build() {
     @java.lang.Override
     public com.google.spanner.v1.Mutation buildPartial() {
       com.google.spanner.v1.Mutation result = new com.google.spanner.v1.Mutation(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3557,19 +3258,24 @@ private void buildPartial0(com.google.spanner.v1.Mutation result) {
     private void buildPartialOneofs(com.google.spanner.v1.Mutation result) {
       result.operationCase_ = operationCase_;
       result.operation_ = this.operation_;
-      if (operationCase_ == 1 && insertBuilder_ != null) {
+      if (operationCase_ == 1 &&
+          insertBuilder_ != null) {
         result.operation_ = insertBuilder_.build();
       }
-      if (operationCase_ == 2 && updateBuilder_ != null) {
+      if (operationCase_ == 2 &&
+          updateBuilder_ != null) {
         result.operation_ = updateBuilder_.build();
       }
-      if (operationCase_ == 3 && insertOrUpdateBuilder_ != null) {
+      if (operationCase_ == 3 &&
+          insertOrUpdateBuilder_ != null) {
         result.operation_ = insertOrUpdateBuilder_.build();
       }
-      if (operationCase_ == 4 && replaceBuilder_ != null) {
+      if (operationCase_ == 4 &&
+          replaceBuilder_ != null) {
         result.operation_ = replaceBuilder_.build();
       }
-      if (operationCase_ == 5 && deleteBuilder_ != null) {
+      if (operationCase_ == 5 &&
+          deleteBuilder_ != null) {
         result.operation_ = deleteBuilder_.build();
       }
     }
@@ -3578,39 +3284,38 @@ private void buildPartialOneofs(com.google.spanner.v1.Mutation result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.Mutation) {
-        return mergeFrom((com.google.spanner.v1.Mutation) other);
+        return mergeFrom((com.google.spanner.v1.Mutation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3620,35 +3325,29 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.Mutation other) {
       if (other == com.google.spanner.v1.Mutation.getDefaultInstance()) return this;
       switch (other.getOperationCase()) {
-        case INSERT:
-          {
-            mergeInsert(other.getInsert());
-            break;
-          }
-        case UPDATE:
-          {
-            mergeUpdate(other.getUpdate());
-            break;
-          }
-        case INSERT_OR_UPDATE:
-          {
-            mergeInsertOrUpdate(other.getInsertOrUpdate());
-            break;
-          }
-        case REPLACE:
-          {
-            mergeReplace(other.getReplace());
-            break;
-          }
-        case DELETE:
-          {
-            mergeDelete(other.getDelete());
-            break;
-          }
-        case OPERATION_NOT_SET:
-          {
-            break;
-          }
+        case INSERT: {
+          mergeInsert(other.getInsert());
+          break;
+        }
+        case UPDATE: {
+          mergeUpdate(other.getUpdate());
+          break;
+        }
+        case INSERT_OR_UPDATE: {
+          mergeInsertOrUpdate(other.getInsertOrUpdate());
+          break;
+        }
+        case REPLACE: {
+          mergeReplace(other.getReplace());
+          break;
+        }
+        case DELETE: {
+          mergeDelete(other.getDelete());
+          break;
+        }
+        case OPERATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3676,43 +3375,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInsertFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInsertOrUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getReplaceFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getDeleteFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 5;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInsertFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInsertOrUpdateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getReplaceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getDeleteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 5;
+              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) {
@@ -3722,12 +3425,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int operationCase_ = 0;
     private java.lang.Object operation_;
-
-    public OperationCase getOperationCase() {
-      return OperationCase.forNumber(operationCase_);
+    public OperationCase
+        getOperationCase() {
+      return OperationCase.forNumber(
+          operationCase_);
     }
 
     public Builder clearOperation() {
@@ -3740,20 +3443,14 @@ public Builder clearOperation() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        insertBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> insertBuilder_;
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
      * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return Whether the insert field is set. */ @java.lang.Override @@ -3761,15 +3458,12 @@ public boolean hasInsert() { return operationCase_ == 1; } /** - * - * *
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
      * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return The insert. */ @java.lang.Override @@ -3787,8 +3481,6 @@ public com.google.spanner.v1.Mutation.Write getInsert() { } } /** - * - * *
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3810,8 +3502,6 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3819,7 +3509,8 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write insert = 1;
      */
-    public Builder setInsert(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setInsert(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (insertBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -3830,8 +3521,6 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3841,13 +3530,10 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write.Builder builderFor
      */
     public Builder mergeInsert(com.google.spanner.v1.Mutation.Write value) {
       if (insertBuilder_ == null) {
-        if (operationCase_ == 1
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 1 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -3863,8 +3549,6 @@ public Builder mergeInsert(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3889,8 +3573,6 @@ public Builder clearInsert() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3902,8 +3584,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getInsertBuilder() {
       return getInsertFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3923,8 +3603,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3933,19 +3611,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
      * .google.spanner.v1.Mutation.Write insert = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getInsertFieldBuilder() {
       if (insertBuilder_ == null) {
         if (!(operationCase_ == 1)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        insertBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -3957,20 +3630,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        updateBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> updateBuilder_;
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
      * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return Whether the update field is set. */ @java.lang.Override @@ -3978,15 +3645,12 @@ public boolean hasUpdate() { return operationCase_ == 2; } /** - * - * *
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
      * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return The update. */ @java.lang.Override @@ -4004,8 +3668,6 @@ public com.google.spanner.v1.Mutation.Write getUpdate() { } } /** - * - * *
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4027,8 +3689,6 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4036,7 +3696,8 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write update = 2;
      */
-    public Builder setUpdate(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setUpdate(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (updateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4047,8 +3708,6 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4058,13 +3717,10 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write.Builder builderFor
      */
     public Builder mergeUpdate(com.google.spanner.v1.Mutation.Write value) {
       if (updateBuilder_ == null) {
-        if (operationCase_ == 2
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 2 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4080,8 +3736,6 @@ public Builder mergeUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4106,8 +3760,6 @@ public Builder clearUpdate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4119,8 +3771,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getUpdateBuilder() {
       return getUpdateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4140,8 +3790,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4150,19 +3798,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
      * .google.spanner.v1.Mutation.Write update = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getUpdateFieldBuilder() {
       if (updateBuilder_ == null) {
         if (!(operationCase_ == 2)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        updateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4174,13 +3817,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        insertOrUpdateBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> insertOrUpdateBuilder_;
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4192,7 +3830,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return Whether the insertOrUpdate field is set. */ @java.lang.Override @@ -4200,8 +3837,6 @@ public boolean hasInsertOrUpdate() { return operationCase_ == 3; } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4213,7 +3848,6 @@ public boolean hasInsertOrUpdate() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return The insertOrUpdate. */ @java.lang.Override @@ -4231,8 +3865,6 @@ public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() { } } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4259,8 +3891,6 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4273,7 +3903,8 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write insert_or_update = 3;
      */
-    public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setInsertOrUpdate(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (insertOrUpdateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4284,8 +3915,6 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4300,13 +3929,10 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write.Builder bu
      */
     public Builder mergeInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       if (insertOrUpdateBuilder_ == null) {
-        if (operationCase_ == 3
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 3 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4322,8 +3948,6 @@ public Builder mergeInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4353,8 +3977,6 @@ public Builder clearInsertOrUpdate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4371,8 +3993,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getInsertOrUpdateBuilder() {
       return getInsertOrUpdateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4397,8 +4017,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4412,19 +4030,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
      * .google.spanner.v1.Mutation.Write insert_or_update = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getInsertOrUpdateFieldBuilder() {
       if (insertOrUpdateBuilder_ == null) {
         if (!(operationCase_ == 3)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        insertOrUpdateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        insertOrUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4436,13 +4049,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        replaceBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> replaceBuilder_;
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4456,7 +4064,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return Whether the replace field is set. */ @java.lang.Override @@ -4464,8 +4071,6 @@ public boolean hasReplace() { return operationCase_ == 4; } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4479,7 +4084,6 @@ public boolean hasReplace() {
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return The replace. */ @java.lang.Override @@ -4497,8 +4101,6 @@ public com.google.spanner.v1.Mutation.Write getReplace() { } } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4527,8 +4129,6 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4543,7 +4143,8 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write replace = 4;
      */
-    public Builder setReplace(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setReplace(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (replaceBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4554,8 +4155,6 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4572,13 +4171,10 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write.Builder builderFo
      */
     public Builder mergeReplace(com.google.spanner.v1.Mutation.Write value) {
       if (replaceBuilder_ == null) {
-        if (operationCase_ == 4
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 4 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4594,8 +4190,6 @@ public Builder mergeReplace(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4627,8 +4221,6 @@ public Builder clearReplace() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4647,8 +4239,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getReplaceBuilder() {
       return getReplaceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4675,8 +4265,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4692,19 +4280,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
      * .google.spanner.v1.Mutation.Write replace = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getReplaceFieldBuilder() {
       if (replaceBuilder_ == null) {
         if (!(operationCase_ == 4)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        replaceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        replaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4716,20 +4299,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Delete,
-            com.google.spanner.v1.Mutation.Delete.Builder,
-            com.google.spanner.v1.Mutation.DeleteOrBuilder>
-        deleteBuilder_;
+        com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder> deleteBuilder_;
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
      * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return Whether the delete field is set. */ @java.lang.Override @@ -4737,15 +4314,12 @@ public boolean hasDelete() { return operationCase_ == 5; } /** - * - * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
      * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return The delete. */ @java.lang.Override @@ -4763,8 +4337,6 @@ public com.google.spanner.v1.Mutation.Delete getDelete() { } } /** - * - * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4786,8 +4358,6 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4795,7 +4365,8 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete value) {
      *
      * .google.spanner.v1.Mutation.Delete delete = 5;
      */
-    public Builder setDelete(com.google.spanner.v1.Mutation.Delete.Builder builderForValue) {
+    public Builder setDelete(
+        com.google.spanner.v1.Mutation.Delete.Builder builderForValue) {
       if (deleteBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4806,8 +4377,6 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4817,13 +4386,10 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete.Builder builderFo
      */
     public Builder mergeDelete(com.google.spanner.v1.Mutation.Delete value) {
       if (deleteBuilder_ == null) {
-        if (operationCase_ == 5
-            && operation_ != com.google.spanner.v1.Mutation.Delete.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Delete.newBuilder(
-                      (com.google.spanner.v1.Mutation.Delete) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 5 &&
+            operation_ != com.google.spanner.v1.Mutation.Delete.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Delete.newBuilder((com.google.spanner.v1.Mutation.Delete) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4839,8 +4405,6 @@ public Builder mergeDelete(com.google.spanner.v1.Mutation.Delete value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4865,8 +4429,6 @@ public Builder clearDelete() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4878,8 +4440,6 @@ public com.google.spanner.v1.Mutation.Delete.Builder getDeleteBuilder() {
       return getDeleteFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4899,8 +4459,6 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4909,19 +4467,14 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
      * .google.spanner.v1.Mutation.Delete delete = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Delete,
-            com.google.spanner.v1.Mutation.Delete.Builder,
-            com.google.spanner.v1.Mutation.DeleteOrBuilder>
+        com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder> 
         getDeleteFieldBuilder() {
       if (deleteBuilder_ == null) {
         if (!(operationCase_ == 5)) {
           operation_ = com.google.spanner.v1.Mutation.Delete.getDefaultInstance();
         }
-        deleteBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Delete,
-                com.google.spanner.v1.Mutation.Delete.Builder,
-                com.google.spanner.v1.Mutation.DeleteOrBuilder>(
+        deleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Delete) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4931,9 +4484,9 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       onChanged();
       return deleteBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4943,12 +4496,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation)
   private static final com.google.spanner.v1.Mutation DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation();
   }
@@ -4957,27 +4510,27 @@ public static com.google.spanner.v1.Mutation getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Mutation 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Mutation 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;
@@ -4992,4 +4545,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.Mutation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
similarity index 89%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
index b596d1adf6c..15403c4f40c 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
@@ -1,58 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/mutation.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface MutationOrBuilder
-    extends
+public interface MutationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return Whether the insert field is set. */ boolean hasInsert(); /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return The insert. */ com.google.spanner.v1.Mutation.Write getInsert(); /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -63,34 +39,26 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder();
 
   /**
-   *
-   *
    * 
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return The update. */ com.google.spanner.v1.Mutation.Write getUpdate(); /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
@@ -101,8 +69,6 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder();
 
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -114,13 +80,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return Whether the insertOrUpdate field is set. */ boolean hasInsertOrUpdate(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -132,13 +95,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return The insertOrUpdate. */ com.google.spanner.v1.Mutation.Write getInsertOrUpdate(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -154,8 +114,6 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder();
 
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -169,13 +127,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return Whether the replace field is set. */ boolean hasReplace(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -189,13 +144,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return The replace. */ com.google.spanner.v1.Mutation.Write getReplace(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -213,34 +165,26 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return Whether the delete field is set. */ boolean hasDelete(); /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return The delete. */ com.google.spanner.v1.Mutation.Delete getDelete(); /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java
new file mode 100644
index 00000000000..1401b56673a
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java
@@ -0,0 +1,100 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/mutation.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.spanner.v1;
+
+public final class MutationProto {
+  private MutationProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Mutation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Mutation_Write_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Mutation_Delete_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_Delete_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 google/spanner/v1/mutation.proto\022\021goog" +
+      "le.spanner.v1\032\037google/api/field_behavior" +
+      ".proto\032\034google/protobuf/struct.proto\032\034go" +
+      "ogle/spanner/v1/keys.proto\"\325\003\n\010Mutation\022" +
+      "3\n\006insert\030\001 \001(\0132!.google.spanner.v1.Muta" +
+      "tion.WriteH\000\0223\n\006update\030\002 \001(\0132!.google.sp" +
+      "anner.v1.Mutation.WriteH\000\022=\n\020insert_or_u" +
+      "pdate\030\003 \001(\0132!.google.spanner.v1.Mutation" +
+      ".WriteH\000\0224\n\007replace\030\004 \001(\0132!.google.spann" +
+      "er.v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\"" +
+      ".google.spanner.v1.Mutation.DeleteH\000\032X\n\005" +
+      "Write\022\022\n\005table\030\001 \001(\tB\003\340A\002\022\017\n\007columns\030\002 \003" +
+      "(\t\022*\n\006values\030\003 \003(\0132\032.google.protobuf.Lis" +
+      "tValue\032M\n\006Delete\022\022\n\005table\030\001 \001(\tB\003\340A\002\022/\n\007" +
+      "key_set\030\002 \001(\0132\031.google.spanner.v1.KeySet" +
+      "B\003\340A\002B\013\n\toperationB\260\001\n\025com.google.spanne" +
+      "r.v1B\rMutationProtoP\001Z5cloud.google.com/" +
+      "go/spanner/apiv1/spannerpb;spannerpb\252\002\027G" +
+      "oogle.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Sp" +
+      "anner\\V1\352\002\032Google::Cloud::Spanner::V1b\006p" +
+      "roto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.spanner.v1.KeysProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_Mutation_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_Mutation_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Mutation_descriptor,
+        new java.lang.String[] { "Insert", "Update", "InsertOrUpdate", "Replace", "Delete", "Operation", });
+    internal_static_google_spanner_v1_Mutation_Write_descriptor =
+      internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Mutation_Write_descriptor,
+        new java.lang.String[] { "Table", "Columns", "Values", });
+    internal_static_google_spanner_v1_Mutation_Delete_descriptor =
+      internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Mutation_Delete_descriptor,
+        new java.lang.String[] { "Table", "KeySet", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.spanner.v1.KeysProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
similarity index 89%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
index 8c863af7e0e..93af7bd2940 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Partial results from a streaming read or SQL query. Streaming reads and
  * SQL queries better tolerate large result sets, large rows, and large
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.spanner.v1.PartialResultSet}
  */
-public final class PartialResultSet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartialResultSet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartialResultSet)
     PartialResultSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartialResultSet.newBuilder() to construct.
   private PartialResultSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartialResultSet() {
     values_ = java.util.Collections.emptyList();
     resumeToken_ = com.google.protobuf.ByteString.EMPTY;
@@ -47,38 +29,34 @@ private PartialResultSet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartialResultSet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_PartialResultSet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartialResultSet.class,
-            com.google.spanner.v1.PartialResultSet.Builder.class);
+            com.google.spanner.v1.PartialResultSet.class, com.google.spanner.v1.PartialResultSet.Builder.class);
   }
 
   private int bitField0_;
   public static final int METADATA_FIELD_NUMBER = 1;
   private com.google.spanner.v1.ResultSetMetadata metadata_;
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -86,26 +64,19 @@ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadata getMetadata() { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
@@ -115,18 +86,13 @@ public com.google.spanner.v1.ResultSetMetadata getMetadata() {
    */
   @java.lang.Override
   public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
-    return metadata_ == null
-        ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()
-        : metadata_;
+    return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_;
   }
 
   public static final int VALUES_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List values_;
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -210,8 +176,6 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -291,12 +255,11 @@ public java.util.List getValuesList() {
    * repeated .google.protobuf.Value values = 2;
    */
   @java.lang.Override
-  public java.util.List getValuesOrBuilderList() {
+  public java.util.List 
+      getValuesOrBuilderList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -380,8 +343,6 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -465,8 +426,6 @@ public com.google.protobuf.Value getValues(int index) {
     return values_.get(index);
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -546,15 +505,14 @@ public com.google.protobuf.Value getValues(int index) {
    * repeated .google.protobuf.Value values = 2;
    */
   @java.lang.Override
-  public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
+  public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
+      int index) {
     return values_.get(index);
   }
 
   public static final int CHUNKED_VALUE_FIELD_NUMBER = 3;
   private boolean chunkedValue_ = false;
   /**
-   *
-   *
    * 
    * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
    * be combined with more values from subsequent `PartialResultSet`s
@@ -562,7 +520,6 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
    * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ @java.lang.Override @@ -573,8 +530,6 @@ public boolean getChunkedValue() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -584,7 +539,6 @@ public boolean getChunkedValue() {
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -595,8 +549,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int STATS_FIELD_NUMBER = 5; private com.google.spanner.v1.ResultSetStats stats_; /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -607,7 +559,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ @java.lang.Override @@ -615,8 +566,6 @@ public boolean hasStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -627,7 +576,6 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ @java.lang.Override @@ -635,8 +583,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_; } /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -654,7 +600,6 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -666,7 +611,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getMetadata());
     }
@@ -692,19 +638,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getMetadata());
     }
     for (int i = 0; i < values_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, values_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, values_.get(i));
     }
     if (chunkedValue_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, chunkedValue_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(3, chunkedValue_);
     }
     if (!resumeToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, resumeToken_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, resumeToken_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -714,7 +665,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.PartialResultSet)) {
       return super.equals(obj);
@@ -723,14 +674,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
-    }
-    if (!getValuesList().equals(other.getValuesList())) return false;
-    if (getChunkedValue() != other.getChunkedValue()) return false;
-    if (!getResumeToken().equals(other.getResumeToken())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
+    }
+    if (!getValuesList()
+        .equals(other.getValuesList())) return false;
+    if (getChunkedValue()
+        != other.getChunkedValue()) return false;
+    if (!getResumeToken()
+        .equals(other.getResumeToken())) return false;
     if (hasStats() != other.hasStats()) return false;
     if (hasStats()) {
-      if (!getStats().equals(other.getStats())) return false;
+      if (!getStats()
+          .equals(other.getStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -752,7 +708,8 @@ public int hashCode() {
       hash = (53 * hash) + getValuesList().hashCode();
     }
     hash = (37 * hash) + CHUNKED_VALUE_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChunkedValue());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getChunkedValue());
     hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER;
     hash = (53 * hash) + getResumeToken().hashCode();
     if (hasStats()) {
@@ -764,104 +721,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.PartialResultSet parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.PartialResultSet parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.PartialResultSet parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.PartialResultSet parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.PartialResultSet prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Partial results from a streaming read or SQL query. Streaming reads and
    * SQL queries better tolerate large result sets, large rows, and large
@@ -870,23 +822,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.PartialResultSet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartialResultSet)
       com.google.spanner.v1.PartialResultSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_PartialResultSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartialResultSet.class,
-              com.google.spanner.v1.PartialResultSet.Builder.class);
+              com.google.spanner.v1.PartialResultSet.class, com.google.spanner.v1.PartialResultSet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartialResultSet.newBuilder()
@@ -894,19 +844,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getMetadataFieldBuilder();
         getValuesFieldBuilder();
         getStatsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -934,9 +884,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_PartialResultSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
     }
 
     @java.lang.Override
@@ -955,12 +905,9 @@ public com.google.spanner.v1.PartialResultSet build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartialResultSet buildPartial() {
-      com.google.spanner.v1.PartialResultSet result =
-          new com.google.spanner.v1.PartialResultSet(this);
+      com.google.spanner.v1.PartialResultSet result = new com.google.spanner.v1.PartialResultSet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -981,7 +928,9 @@ private void buildPartial0(com.google.spanner.v1.PartialResultSet result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null
+            ? metadata_
+            : metadataBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -991,7 +940,9 @@ private void buildPartial0(com.google.spanner.v1.PartialResultSet result) {
         result.resumeToken_ = resumeToken_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null
+            ? stats_
+            : statsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -1001,39 +952,38 @@ private void buildPartial0(com.google.spanner.v1.PartialResultSet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.PartialResultSet) {
-        return mergeFrom((com.google.spanner.v1.PartialResultSet) other);
+        return mergeFrom((com.google.spanner.v1.PartialResultSet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1063,10 +1013,9 @@ public Builder mergeFrom(com.google.spanner.v1.PartialResultSet other) {
             valuesBuilder_ = null;
             values_ = other.values_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            valuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getValuesFieldBuilder()
-                    : null;
+            valuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getValuesFieldBuilder() : null;
           } else {
             valuesBuilder_.addAllMessages(other.values_);
           }
@@ -1107,49 +1056,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.Value m =
-                    input.readMessage(com.google.protobuf.Value.parser(), extensionRegistry);
-                if (valuesBuilder_ == null) {
-                  ensureValuesIsMutable();
-                  values_.add(m);
-                } else {
-                  valuesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                chunkedValue_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                resumeToken_ = input.readBytes();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.Value m =
+                  input.readMessage(
+                      com.google.protobuf.Value.parser(),
+                      extensionRegistry);
+              if (valuesBuilder_ == null) {
+                ensureValuesIsMutable();
+                values_.add(m);
+              } else {
+                valuesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              chunkedValue_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              resumeToken_ = input.readBytes();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getStatsFieldBuilder().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) {
@@ -1159,54 +1108,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.v1.ResultSetMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetMetadata,
-            com.google.spanner.v1.ResultSetMetadata.Builder,
-            com.google.spanner.v1.ResultSetMetadataOrBuilder>
-        metadataBuilder_;
+        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ public com.google.spanner.v1.ResultSetMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1228,8 +1163,6 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1237,7 +1170,8 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) {
      *
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
-    public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) {
+    public Builder setMetadata(
+        com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
       } else {
@@ -1248,8 +1182,6 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1259,9 +1191,9 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build
      */
     public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       if (metadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && metadata_ != null
-            && metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          metadata_ != null &&
+          metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) {
           getMetadataBuilder().mergeFrom(value);
         } else {
           metadata_ = value;
@@ -1276,8 +1208,6 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1296,8 +1226,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1311,8 +1239,6 @@ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1324,14 +1250,11 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1340,40 +1263,32 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetMetadata,
-            com.google.spanner.v1.ResultSetMetadata.Builder,
-            com.google.spanner.v1.ResultSetMetadataOrBuilder>
+        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.ResultSetMetadata,
-                com.google.spanner.v1.ResultSetMetadata.Builder,
-                com.google.spanner.v1.ResultSetMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private java.util.List values_ = java.util.Collections.emptyList();
-
+    private java.util.List values_ =
+      java.util.Collections.emptyList();
     private void ensureValuesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         values_ = new java.util.ArrayList(values_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Value,
-            com.google.protobuf.Value.Builder,
-            com.google.protobuf.ValueOrBuilder>
-        valuesBuilder_;
+        com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> valuesBuilder_;
 
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1460,8 +1375,6 @@ public java.util.List getValuesList() {
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1548,8 +1461,6 @@ public int getValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1636,8 +1547,6 @@ public com.google.protobuf.Value getValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1716,7 +1625,8 @@ public com.google.protobuf.Value getValues(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder setValues(int index, com.google.protobuf.Value value) {
+    public Builder setValues(
+        int index, com.google.protobuf.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1730,8 +1640,6 @@ public Builder setValues(int index, com.google.protobuf.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1810,7 +1718,8 @@ public Builder setValues(int index, com.google.protobuf.Value value) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder setValues(int index, com.google.protobuf.Value.Builder builderForValue) {
+    public Builder setValues(
+        int index, com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -1821,8 +1730,6 @@ public Builder setValues(int index, com.google.protobuf.Value.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1915,8 +1822,6 @@ public Builder addValues(com.google.protobuf.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1995,7 +1900,8 @@ public Builder addValues(com.google.protobuf.Value value) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(int index, com.google.protobuf.Value value) {
+    public Builder addValues(
+        int index, com.google.protobuf.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2009,8 +1915,6 @@ public Builder addValues(int index, com.google.protobuf.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2089,7 +1993,8 @@ public Builder addValues(int index, com.google.protobuf.Value value) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
+    public Builder addValues(
+        com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -2100,8 +2005,6 @@ public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2180,7 +2083,8 @@ public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(int index, com.google.protobuf.Value.Builder builderForValue) {
+    public Builder addValues(
+        int index, com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -2191,8 +2095,6 @@ public Builder addValues(int index, com.google.protobuf.Value.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2271,10 +2173,12 @@ public Builder addValues(int index, com.google.protobuf.Value.Builder builderFor
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addAllValues(java.lang.Iterable values) {
+    public Builder addAllValues(
+        java.lang.Iterable values) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, values_);
         onChanged();
       } else {
         valuesBuilder_.addAllMessages(values);
@@ -2282,8 +2186,6 @@ public Builder addAllValues(java.lang.Iterable
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2373,8 +2275,6 @@ public Builder clearValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2464,8 +2364,6 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2544,12 +2442,11 @@ public Builder removeValues(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.Value.Builder getValuesBuilder(int index) {
+    public com.google.protobuf.Value.Builder getValuesBuilder(
+        int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2628,16 +2525,14 @@ public com.google.protobuf.Value.Builder getValuesBuilder(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
+    public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
+        int index) {
       if (valuesBuilder_ == null) {
-        return values_.get(index);
-      } else {
+        return values_.get(index);  } else {
         return valuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2716,7 +2611,8 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public java.util.List getValuesOrBuilderList() {
+    public java.util.List 
+         getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2724,8 +2620,6 @@ public java.util.List getValuesOrB
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2805,11 +2699,10 @@ public java.util.List getValuesOrB
      * repeated .google.protobuf.Value values = 2;
      */
     public com.google.protobuf.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(com.google.protobuf.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(
+          com.google.protobuf.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2888,13 +2781,12 @@ public com.google.protobuf.Value.Builder addValuesBuilder() {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.Value.Builder addValuesBuilder(int index) {
-      return getValuesFieldBuilder()
-          .addBuilder(index, com.google.protobuf.Value.getDefaultInstance());
+    public com.google.protobuf.Value.Builder addValuesBuilder(
+        int index) {
+      return getValuesFieldBuilder().addBuilder(
+          index, com.google.protobuf.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2973,31 +2865,27 @@ public com.google.protobuf.Value.Builder addValuesBuilder(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public java.util.List getValuesBuilderList() {
+    public java.util.List 
+         getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Value,
-            com.google.protobuf.Value.Builder,
-            com.google.protobuf.ValueOrBuilder>
+        com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> 
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.Value,
-                com.google.protobuf.Value.Builder,
-                com.google.protobuf.ValueOrBuilder>(
-                values_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder>(
+                values_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         values_ = null;
       }
       return valuesBuilder_;
     }
 
-    private boolean chunkedValue_;
+    private boolean chunkedValue_ ;
     /**
-     *
-     *
      * 
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -3005,7 +2893,6 @@ public java.util.List getValuesBuilderList()
      * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ @java.lang.Override @@ -3013,8 +2900,6 @@ public boolean getChunkedValue() { return chunkedValue_; } /** - * - * *
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -3022,7 +2907,6 @@ public boolean getChunkedValue() {
      * 
* * bool chunked_value = 3; - * * @param value The chunkedValue to set. * @return This builder for chaining. */ @@ -3034,8 +2918,6 @@ public Builder setChunkedValue(boolean value) { return this; } /** - * - * *
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -3043,7 +2925,6 @@ public Builder setChunkedValue(boolean value) {
      * 
* * bool chunked_value = 3; - * * @return This builder for chaining. */ public Builder clearChunkedValue() { @@ -3055,8 +2936,6 @@ public Builder clearChunkedValue() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -3066,7 +2945,6 @@ public Builder clearChunkedValue() {
      * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -3074,8 +2952,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -3085,22 +2961,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 4; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -3110,7 +2981,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3122,13 +2992,8 @@ public Builder clearResumeToken() { private com.google.spanner.v1.ResultSetStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetStats, - com.google.spanner.v1.ResultSetStats.Builder, - com.google.spanner.v1.ResultSetStatsOrBuilder> - statsBuilder_; + com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> statsBuilder_; /** - * - * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3139,15 +3004,12 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3158,7 +3020,6 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -3169,8 +3030,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { } } /** - * - * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3196,8 +3055,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3209,7 +3066,8 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
      *
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
-    public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
+    public Builder setStats(
+        com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
       if (statsBuilder_ == null) {
         stats_ = builderForValue.build();
       } else {
@@ -3220,8 +3078,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3235,9 +3091,9 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
      */
     public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && stats_ != null
-            && stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          stats_ != null &&
+          stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
           getStatsBuilder().mergeFrom(value);
         } else {
           stats_ = value;
@@ -3252,8 +3108,6 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3276,8 +3130,6 @@ public Builder clearStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3295,8 +3147,6 @@ public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
       return getStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3312,12 +3162,11 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
       if (statsBuilder_ != null) {
         return statsBuilder_.getMessageOrBuilder();
       } else {
-        return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
+        return stats_ == null ?
+            com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
       }
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -3330,24 +3179,21 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats,
-            com.google.spanner.v1.ResultSetStats.Builder,
-            com.google.spanner.v1.ResultSetStatsOrBuilder>
+        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> 
         getStatsFieldBuilder() {
       if (statsBuilder_ == null) {
-        statsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.ResultSetStats,
-                com.google.spanner.v1.ResultSetStats.Builder,
-                com.google.spanner.v1.ResultSetStatsOrBuilder>(
-                getStats(), getParentForChildren(), isClean());
+        statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder>(
+                getStats(),
+                getParentForChildren(),
+                isClean());
         stats_ = null;
       }
       return statsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3357,12 +3203,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartialResultSet)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.PartialResultSet)
   private static final com.google.spanner.v1.PartialResultSet DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.PartialResultSet();
   }
@@ -3371,27 +3217,27 @@ public static com.google.spanner.v1.PartialResultSet getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PartialResultSet 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PartialResultSet 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;
@@ -3406,4 +3252,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.PartialResultSet getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
similarity index 94%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
index 88eb3e33e12..497d7c7c27f 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
@@ -1,58 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface PartialResultSetOrBuilder
-    extends
+public interface PartialResultSetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartialResultSet)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ com.google.spanner.v1.ResultSetMetadata getMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
@@ -63,8 +39,6 @@ public interface PartialResultSetOrBuilder
   com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -143,10 +117,9 @@ public interface PartialResultSetOrBuilder
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  java.util.List getValuesList();
+  java.util.List 
+      getValuesList();
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -227,8 +200,6 @@ public interface PartialResultSetOrBuilder
    */
   com.google.protobuf.Value getValues(int index);
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -309,8 +280,6 @@ public interface PartialResultSetOrBuilder
    */
   int getValuesCount();
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -389,10 +358,9 @@ public interface PartialResultSetOrBuilder
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  java.util.List getValuesOrBuilderList();
+  java.util.List 
+      getValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -471,11 +439,10 @@ public interface PartialResultSetOrBuilder
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index);
+  com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
    * be combined with more values from subsequent `PartialResultSet`s
@@ -483,14 +450,11 @@ public interface PartialResultSetOrBuilder
    * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ boolean getChunkedValue(); /** - * - * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -500,14 +464,11 @@ public interface PartialResultSetOrBuilder
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -518,13 +479,10 @@ public interface PartialResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -535,13 +493,10 @@ public interface PartialResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ com.google.spanner.v1.ResultSetStats getStats(); /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
similarity index 67%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
index 82d0a2ca846..5b982365ad9 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Information returned for each partition returned in a
  * PartitionResponse.
@@ -29,36 +12,35 @@
  *
  * Protobuf type {@code google.spanner.v1.Partition}
  */
-public final class Partition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Partition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.Partition)
     PartitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Partition.newBuilder() to construct.
   private Partition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Partition() {
     partitionToken_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Partition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_Partition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_Partition_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.Partition.class, com.google.spanner.v1.Partition.Builder.class);
   }
@@ -66,8 +48,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int PARTITION_TOKEN_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * This token can be passed to Read, StreamingRead, ExecuteSql, or
    * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes partition_token = 1; - * * @return The partitionToken. */ @java.lang.Override @@ -84,7 +63,6 @@ public com.google.protobuf.ByteString getPartitionToken() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!partitionToken_.isEmpty()) { output.writeBytes(1, partitionToken_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, partitionToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, partitionToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.Partition)) { return super.equals(obj); } com.google.spanner.v1.Partition other = (com.google.spanner.v1.Partition) obj; - if (!getPartitionToken().equals(other.getPartitionToken())) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -146,103 +127,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Partition parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.Partition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Partition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.Partition parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.Partition parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Partition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Partition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Partition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Partition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Partition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.Partition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.Partition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.Partition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Partition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.Partition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information returned for each partition returned in a
    * PartitionResponse.
@@ -250,31 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.Partition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.Partition)
       com.google.spanner.v1.PartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_Partition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_Partition_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Partition.class, com.google.spanner.v1.Partition.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.Partition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -284,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_Partition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
     }
 
     @java.lang.Override
@@ -306,9 +285,7 @@ public com.google.spanner.v1.Partition build() {
     @java.lang.Override
     public com.google.spanner.v1.Partition buildPartial() {
       com.google.spanner.v1.Partition result = new com.google.spanner.v1.Partition(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -324,39 +301,38 @@ private void buildPartial0(com.google.spanner.v1.Partition result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.Partition) {
-        return mergeFrom((com.google.spanner.v1.Partition) other);
+        return mergeFrom((com.google.spanner.v1.Partition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -394,19 +370,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                partitionToken_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              partitionToken_ = 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) {
@@ -416,13 +390,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -430,7 +401,6 @@ public Builder mergeFrom(
      * 
* * bytes partition_token = 1; - * * @return The partitionToken. */ @java.lang.Override @@ -438,8 +408,6 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** - * - * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -447,22 +415,17 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 1; - * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -470,7 +433,6 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 1; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -479,9 +441,9 @@ public Builder clearPartitionToken() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -491,12 +453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Partition) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Partition) private static final com.google.spanner.v1.Partition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Partition(); } @@ -505,27 +467,27 @@ public static com.google.spanner.v1.Partition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Partition 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Partition 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; @@ -540,4 +502,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Partition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java similarity index 70% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java index af665946256..7d954254c19 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * Options for a PartitionQueryRequest and
  * PartitionReadRequest.
@@ -29,44 +12,41 @@
  *
  * Protobuf type {@code google.spanner.v1.PartitionOptions}
  */
-public final class PartitionOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionOptions)
     PartitionOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionOptions.newBuilder() to construct.
   private PartitionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PartitionOptions() {}
+  private PartitionOptions() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartitionOptions.class,
-            com.google.spanner.v1.PartitionOptions.Builder.class);
+            com.google.spanner.v1.PartitionOptions.class, com.google.spanner.v1.PartitionOptions.Builder.class);
   }
 
   public static final int PARTITION_SIZE_BYTES_FIELD_NUMBER = 1;
   private long partitionSizeBytes_ = 0L;
   /**
-   *
-   *
    * 
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -77,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 partition_size_bytes = 1; - * * @return The partitionSizeBytes. */ @java.lang.Override @@ -88,8 +67,6 @@ public long getPartitionSizeBytes() { public static final int MAX_PARTITIONS_FIELD_NUMBER = 2; private long maxPartitions_ = 0L; /** - * - * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -102,7 +79,6 @@ public long getPartitionSizeBytes() {
    * 
* * int64 max_partitions = 2; - * * @return The maxPartitions. */ @java.lang.Override @@ -111,7 +87,6 @@ public long getMaxPartitions() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partitionSizeBytes_ != 0L) { output.writeInt64(1, partitionSizeBytes_); } @@ -140,10 +116,12 @@ public int getSerializedSize() { size = 0; if (partitionSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, partitionSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, partitionSizeBytes_); } if (maxPartitions_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxPartitions_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, maxPartitions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -153,15 +131,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PartitionOptions)) { return super.equals(obj); } com.google.spanner.v1.PartitionOptions other = (com.google.spanner.v1.PartitionOptions) obj; - if (getPartitionSizeBytes() != other.getPartitionSizeBytes()) return false; - if (getMaxPartitions() != other.getMaxPartitions()) return false; + if (getPartitionSizeBytes() + != other.getPartitionSizeBytes()) return false; + if (getMaxPartitions() + != other.getMaxPartitions()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -174,112 +154,109 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARTITION_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPartitionSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPartitionSizeBytes()); hash = (37 * hash) + MAX_PARTITIONS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPartitions()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxPartitions()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.PartitionOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.PartitionOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.PartitionOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options for a PartitionQueryRequest and
    * PartitionReadRequest.
@@ -287,32 +264,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.PartitionOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionOptions)
       com.google.spanner.v1.PartitionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartitionOptions.class,
-              com.google.spanner.v1.PartitionOptions.Builder.class);
+              com.google.spanner.v1.PartitionOptions.class, com.google.spanner.v1.PartitionOptions.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartitionOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -323,9 +301,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -344,11 +322,8 @@ public com.google.spanner.v1.PartitionOptions build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartitionOptions buildPartial() {
-      com.google.spanner.v1.PartitionOptions result =
-          new com.google.spanner.v1.PartitionOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.PartitionOptions result = new com.google.spanner.v1.PartitionOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +342,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionOptions result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.PartitionOptions) {
-        return mergeFrom((com.google.spanner.v1.PartitionOptions) other);
+        return mergeFrom((com.google.spanner.v1.PartitionOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,25 +414,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                partitionSizeBytes_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                maxPartitions_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              partitionSizeBytes_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              maxPartitions_ = input.readInt64();
+              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) {
@@ -468,13 +439,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long partitionSizeBytes_;
+    private long partitionSizeBytes_ ;
     /**
-     *
-     *
      * 
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -485,7 +453,6 @@ public Builder mergeFrom(
      * 
* * int64 partition_size_bytes = 1; - * * @return The partitionSizeBytes. */ @java.lang.Override @@ -493,8 +460,6 @@ public long getPartitionSizeBytes() { return partitionSizeBytes_; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -505,7 +470,6 @@ public long getPartitionSizeBytes() {
      * 
* * int64 partition_size_bytes = 1; - * * @param value The partitionSizeBytes to set. * @return This builder for chaining. */ @@ -517,8 +481,6 @@ public Builder setPartitionSizeBytes(long value) { return this; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -529,7 +491,6 @@ public Builder setPartitionSizeBytes(long value) {
      * 
* * int64 partition_size_bytes = 1; - * * @return This builder for chaining. */ public Builder clearPartitionSizeBytes() { @@ -539,10 +500,8 @@ public Builder clearPartitionSizeBytes() { return this; } - private long maxPartitions_; + private long maxPartitions_ ; /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -555,7 +514,6 @@ public Builder clearPartitionSizeBytes() {
      * 
* * int64 max_partitions = 2; - * * @return The maxPartitions. */ @java.lang.Override @@ -563,8 +521,6 @@ public long getMaxPartitions() { return maxPartitions_; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -577,7 +533,6 @@ public long getMaxPartitions() {
      * 
* * int64 max_partitions = 2; - * * @param value The maxPartitions to set. * @return This builder for chaining. */ @@ -589,8 +544,6 @@ public Builder setMaxPartitions(long value) { return this; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -603,7 +556,6 @@ public Builder setMaxPartitions(long value) {
      * 
* * int64 max_partitions = 2; - * * @return This builder for chaining. */ public Builder clearMaxPartitions() { @@ -612,9 +564,9 @@ public Builder clearMaxPartitions() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +576,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionOptions) private static final com.google.spanner.v1.PartitionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionOptions(); } @@ -638,27 +590,27 @@ public static com.google.spanner.v1.PartitionOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionOptions 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionOptions 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; @@ -673,4 +625,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java similarity index 67% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java index 4d894a0bbcf..574d2ef9321 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface PartitionOptionsOrBuilder - extends +public interface PartitionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -37,14 +19,11 @@ public interface PartitionOptionsOrBuilder
    * 
* * int64 partition_size_bytes = 1; - * * @return The partitionSizeBytes. */ long getPartitionSizeBytes(); /** - * - * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -57,7 +36,6 @@ public interface PartitionOptionsOrBuilder
    * 
* * int64 max_partitions = 2; - * * @return The maxPartitions. */ long getMaxPartitions(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java new file mode 100644 index 00000000000..945ab1e4a6c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java @@ -0,0 +1,22 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.v1; + +public interface PartitionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.Partition) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * This token can be passed to Read, StreamingRead, ExecuteSql, or
+   * ExecuteStreamingSql requests to restrict the results to those identified by
+   * this partition token.
+   * 
+ * + * bytes partition_token = 1; + * @return The partitionToken. + */ + com.google.protobuf.ByteString getPartitionToken(); +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java similarity index 74% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java index b370ca2f6b3..c7ff0437a5a 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
  * 
* * Protobuf type {@code google.spanner.v1.PartitionQueryRequest} */ -public final class PartitionQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartitionQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionQueryRequest) PartitionQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartitionQueryRequest.newBuilder() to construct. private PartitionQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionQueryRequest() { session_ = ""; sql_ = ""; @@ -45,13 +27,14 @@ private PartitionQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionQueryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -62,36 +45,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 5: return internalGetParamTypes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionQueryRequest.class, - com.google.spanner.v1.PartitionQueryRequest.Builder.class); + com.google.spanner.v1.PartitionQueryRequest.class, com.google.spanner.v1.PartitionQueryRequest.Builder.class); } private int bitField0_; public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -100,31 +75,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -135,15 +108,12 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -151,26 +121,19 @@ public boolean hasTransaction() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -180,18 +143,13 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int SQL_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sql_ = "";
   /**
-   *
-   *
    * 
    * Required. The query request to generate partitions for. The request will
    * fail if the query is not root partitionable. For a query to be root
@@ -208,7 +166,6 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -217,15 +174,14 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
    * Required. The query request to generate partitions for. The request will
    * fail if the query is not root partitionable. For a query to be root
@@ -242,15 +198,16 @@ public java.lang.String getSql() {
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -261,8 +218,6 @@ public com.google.protobuf.ByteString getSqlBytes() { public static final int PARAMS_FIELD_NUMBER = 4; private com.google.protobuf.Struct params_; /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -279,7 +234,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ @java.lang.Override @@ -287,8 +241,6 @@ public boolean hasParams() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -305,7 +257,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ @java.lang.Override @@ -313,8 +264,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -338,37 +287,32 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int PARAM_TYPES_FIELD_NUMBER = 5;
-
   private static final class ParamTypesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.spanner.v1.Type> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.spanner.v1.SpannerProto
-                        .internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.spanner.v1.Type.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.spanner.v1.Type.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField paramTypes_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.spanner.v1.Type> paramTypes_;
   private com.google.protobuf.MapField
-      internalGetParamTypes() {
+  internalGetParamTypes() {
     if (paramTypes_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          ParamTypesDefaultEntryHolder.defaultEntry);
     }
     return paramTypes_;
   }
-
   public int getParamTypesCount() {
     return internalGetParamTypes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -384,21 +328,20 @@ public int getParamTypesCount() {
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public boolean containsParamTypes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsParamTypes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetParamTypes().getMap().containsKey(key);
   }
-  /** Use {@link #getParamTypesMap()} instead. */
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getParamTypes() {
     return getParamTypesMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -418,8 +361,6 @@ public java.util.Map getParamTypes
     return internalGetParamTypes().getMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -435,20 +376,17 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+  public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.spanner.v1.Type defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -464,10 +402,9 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     if (!map.containsKey(key)) {
@@ -479,14 +416,11 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
   public static final int PARTITION_OPTIONS_FIELD_NUMBER = 6;
   private com.google.spanner.v1.PartitionOptions partitionOptions_;
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return Whether the partitionOptions field is set. */ @java.lang.Override @@ -494,25 +428,18 @@ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return The partitionOptions. */ @java.lang.Override public com.google.spanner.v1.PartitionOptions getPartitionOptions() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
@@ -521,13 +448,10 @@ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { */ @java.lang.Override public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuilder() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,7 +463,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -552,8 +477,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getParams()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetParamTypes(), + ParamTypesDefaultEntryHolder.defaultEntry, + 5); if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(6, getPartitionOptions()); } @@ -570,26 +499,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sql_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getParams()); - } - for (java.util.Map.Entry entry : - internalGetParamTypes().getMap().entrySet()) { - com.google.protobuf.MapEntry paramTypes__ = - ParamTypesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, paramTypes__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getParams()); + } + for (java.util.Map.Entry entry + : internalGetParamTypes().getMap().entrySet()) { + com.google.protobuf.MapEntry + paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, paramTypes__); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPartitionOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getPartitionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -599,28 +531,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PartitionQueryRequest)) { return super.equals(obj); } - com.google.spanner.v1.PartitionQueryRequest other = - (com.google.spanner.v1.PartitionQueryRequest) obj; + com.google.spanner.v1.PartitionQueryRequest other = (com.google.spanner.v1.PartitionQueryRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } - if (!getSql().equals(other.getSql())) return false; + if (!getSql() + .equals(other.getSql())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false; + if (!internalGetParamTypes().equals( + other.internalGetParamTypes())) return false; if (hasPartitionOptions() != other.hasPartitionOptions()) return false; if (hasPartitionOptions()) { - if (!getPartitionOptions().equals(other.getPartitionOptions())) return false; + if (!getPartitionOptions() + .equals(other.getPartitionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -658,117 +595,112 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
    * 
* * Protobuf type {@code google.spanner.v1.PartitionQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionQueryRequest) com.google.spanner.v1.PartitionQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -778,10 +710,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 5: return internalGetParamTypes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -789,18 +721,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 5: return internalGetMutableParamTypes(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionQueryRequest.class, - com.google.spanner.v1.PartitionQueryRequest.Builder.class); + com.google.spanner.v1.PartitionQueryRequest.class, com.google.spanner.v1.PartitionQueryRequest.Builder.class); } // Construct using com.google.spanner.v1.PartitionQueryRequest.newBuilder() @@ -808,19 +738,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTransactionFieldBuilder(); getParamsFieldBuilder(); getPartitionOptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -847,9 +777,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; } @java.lang.Override @@ -868,11 +798,8 @@ public com.google.spanner.v1.PartitionQueryRequest build() { @java.lang.Override public com.google.spanner.v1.PartitionQueryRequest buildPartial() { - com.google.spanner.v1.PartitionQueryRequest result = - new com.google.spanner.v1.PartitionQueryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.PartitionQueryRequest result = new com.google.spanner.v1.PartitionQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -884,24 +811,27 @@ private void buildPartial0(com.google.spanner.v1.PartitionQueryRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.sql_ = sql_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null + ? params_ + : paramsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.paramTypes_ = - internalGetParamTypes().build(ParamTypesDefaultEntryHolder.defaultEntry); + result.paramTypes_ = internalGetParamTypes().build(ParamTypesDefaultEntryHolder.defaultEntry); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.partitionOptions_ = - partitionOptionsBuilder_ == null ? partitionOptions_ : partitionOptionsBuilder_.build(); + result.partitionOptions_ = partitionOptionsBuilder_ == null + ? partitionOptions_ + : partitionOptionsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -911,39 +841,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionQueryRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.PartitionQueryRequest) { - return mergeFrom((com.google.spanner.v1.PartitionQueryRequest) other); + return mergeFrom((com.google.spanner.v1.PartitionQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -968,7 +897,8 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionQueryRequest other) { if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom( + other.internalGetParamTypes()); bitField0_ |= 0x00000010; if (other.hasPartitionOptions()) { mergePartitionOptions(other.getPartitionOptions()); @@ -999,57 +929,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry - paramTypes__ = - input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableParamTypes() - .ensureBuilderMap() - .put(paramTypes__.getKey(), paramTypes__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + paramTypes__ = input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableParamTypes().ensureBuilderMap().put( + paramTypes__.getKey(), paramTypes__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + 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) { @@ -1059,27 +984,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1088,23 +1008,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1112,39 +1029,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1154,23 +1060,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1180,49 +1080,36 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1244,8 +1131,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1265,8 +1150,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1276,9 +1159,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1293,8 +1176,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1313,8 +1194,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1328,8 +1207,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1341,14 +1218,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1357,17 +1231,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1375,8 +1246,6 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object sql_ = "";
     /**
-     *
-     *
      * 
      * Required. The query request to generate partitions for. The request will
      * fail if the query is not root partitionable. For a query to be root
@@ -1393,13 +1262,13 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -1408,8 +1277,6 @@ public java.lang.String getSql() { } } /** - * - * *
      * Required. The query request to generate partitions for. The request will
      * fail if the query is not root partitionable. For a query to be root
@@ -1426,14 +1293,15 @@ public java.lang.String getSql() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1441,8 +1309,6 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
      * Required. The query request to generate partitions for. The request will
      * fail if the query is not root partitionable. For a query to be root
@@ -1459,22 +1325,18 @@ public com.google.protobuf.ByteString getSqlBytes() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The query request to generate partitions for. The request will
      * fail if the query is not root partitionable. For a query to be root
@@ -1491,7 +1353,6 @@ public Builder setSql(java.lang.String value) {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -1501,8 +1362,6 @@ public Builder clearSql() { return this; } /** - * - * *
      * Required. The query request to generate partitions for. The request will
      * fail if the query is not root partitionable. For a query to be root
@@ -1519,14 +1378,12 @@ public Builder clearSql() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000004; @@ -1536,13 +1393,8 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1559,15 +1411,12 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1584,7 +1433,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1595,8 +1443,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1628,8 +1474,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1647,7 +1491,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 4;
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -1658,8 +1503,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1679,9 +1522,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -1696,8 +1539,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1726,8 +1567,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1751,8 +1590,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1774,12 +1611,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      *
@@ -1798,66 +1634,43 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
-    private static final class ParamTypesConverter
-        implements com.google.protobuf.MapFieldBuilder.Converter<
-            java.lang.String, com.google.spanner.v1.TypeOrBuilder, com.google.spanner.v1.Type> {
+    private static final class ParamTypesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
       @java.lang.Override
       public com.google.spanner.v1.Type build(com.google.spanner.v1.TypeOrBuilder val) {
-        if (val instanceof com.google.spanner.v1.Type) {
-          return (com.google.spanner.v1.Type) val;
-        }
+        if (val instanceof com.google.spanner.v1.Type) { return (com.google.spanner.v1.Type) val; }
         return ((com.google.spanner.v1.Type.Builder) val).build();
       }
 
       @java.lang.Override
-      public com.google.protobuf.MapEntry
-          defaultEntry() {
+      public com.google.protobuf.MapEntry defaultEntry() {
         return ParamTypesDefaultEntryHolder.defaultEntry;
       }
     };
-
     private static final ParamTypesConverter paramTypesConverter = new ParamTypesConverter();
 
     private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.spanner.v1.TypeOrBuilder,
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder>
-        paramTypes_;
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.spanner.v1.TypeOrBuilder,
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder>
+        java.lang.String, com.google.spanner.v1.TypeOrBuilder, com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder> paramTypes_;
+    private com.google.protobuf.MapFieldBuilder
         internalGetParamTypes() {
       if (paramTypes_ == null) {
         return new com.google.protobuf.MapFieldBuilder<>(paramTypesConverter);
       }
       return paramTypes_;
     }
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.spanner.v1.TypeOrBuilder,
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder>
+    private com.google.protobuf.MapFieldBuilder
         internalGetMutableParamTypes() {
       if (paramTypes_ == null) {
         paramTypes_ = new com.google.protobuf.MapFieldBuilder<>(paramTypesConverter);
@@ -1866,13 +1679,10 @@ public com.google.spanner.v1.Type build(com.google.spanner.v1.TypeOrBuilder val)
       onChanged();
       return paramTypes_;
     }
-
     public int getParamTypesCount() {
       return internalGetParamTypes().ensureBuilderMap().size();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1888,21 +1698,20 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public boolean containsParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetParamTypes().ensureBuilderMap().containsKey(key);
     }
-    /** Use {@link #getParamTypesMap()} instead. */
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1922,8 +1731,6 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getImmutableMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1939,20 +1746,16 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableParamTypes().ensureBuilderMap();
+com.google.spanner.v1.Type defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableParamTypes().ensureBuilderMap();
       return map.containsKey(key) ? paramTypesConverter.build(map.get(key)) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1968,26 +1771,21 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableParamTypes().ensureBuilderMap();
+    public com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableParamTypes().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return paramTypesConverter.build(map.get(key));
     }
-
     public Builder clearParamTypes() {
       bitField0_ = (bitField0_ & ~0x00000010);
       internalGetMutableParamTypes().clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -2002,22 +1800,23 @@ public Builder clearParamTypes() {
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder removeParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableParamTypes().ensureBuilderMap().remove(key);
+    public Builder removeParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableParamTypes().ensureBuilderMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableParamTypes() {
+    public java.util.Map
+        getMutableParamTypes() {
       bitField0_ |= 0x00000010;
       return internalGetMutableParamTypes().ensureMessageMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -2032,20 +1831,17 @@ public java.util.Map getMutablePar
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableParamTypes().ensureBuilderMap().put(key, value);
+    public Builder putParamTypes(
+        java.lang.String key,
+        com.google.spanner.v1.Type value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableParamTypes().ensureBuilderMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -2062,19 +1858,17 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
      */
     public Builder putAllParamTypes(
         java.util.Map values) {
-      for (java.util.Map.Entry e :
-          values.entrySet()) {
+      for (java.util.Map.Entry e : values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableParamTypes().ensureBuilderMap().putAll(values);
+      internalGetMutableParamTypes().ensureBuilderMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -2089,9 +1883,9 @@ public Builder putAllParamTypes(
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(java.lang.String key) {
-      java.util.Map builderMap =
-          internalGetMutableParamTypes().ensureBuilderMap();
+    public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(
+        java.lang.String key) {
+      java.util.Map builderMap = internalGetMutableParamTypes().ensureBuilderMap();
       com.google.spanner.v1.TypeOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.spanner.v1.Type.newBuilder();
@@ -2106,47 +1900,34 @@ public com.google.spanner.v1.Type.Builder putParamTypesBuilderIfAbsent(java.lang
 
     private com.google.spanner.v1.PartitionOptions partitionOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.PartitionOptions,
-            com.google.spanner.v1.PartitionOptions.Builder,
-            com.google.spanner.v1.PartitionOptionsOrBuilder>
-        partitionOptionsBuilder_;
+        com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> partitionOptionsBuilder_;
     /**
-     *
-     *
      * 
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return Whether the partitionOptions field is set. */ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return The partitionOptions. */ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { if (partitionOptionsBuilder_ == null) { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } else { return partitionOptionsBuilder_.getMessage(); } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2167,8 +1948,6 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2187,8 +1966,6 @@ public Builder setPartitionOptions( return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2197,9 +1974,9 @@ public Builder setPartitionOptions( */ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions value) { if (partitionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && partitionOptions_ != null - && partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + partitionOptions_ != null && + partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { getPartitionOptionsBuilder().mergeFrom(value); } else { partitionOptions_ = value; @@ -2214,8 +1991,6 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2233,8 +2008,6 @@ public Builder clearPartitionOptions() { return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2247,8 +2020,6 @@ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder return getPartitionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2259,14 +2030,11 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil if (partitionOptionsBuilder_ != null) { return partitionOptionsBuilder_.getMessageOrBuilder(); } else { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? + com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2274,24 +2042,21 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil * .google.spanner.v1.PartitionOptions partition_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder> + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> getPartitionOptionsFieldBuilder() { if (partitionOptionsBuilder_ == null) { - partitionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder>( - getPartitionOptions(), getParentForChildren(), isClean()); + partitionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder>( + getPartitionOptions(), + getParentForChildren(), + isClean()); partitionOptions_ = null; } return partitionOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2301,12 +2066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionQueryRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionQueryRequest) private static final com.google.spanner.v1.PartitionQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionQueryRequest(); } @@ -2315,27 +2080,27 @@ public static com.google.spanner.v1.PartitionQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionQueryRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionQueryRequest 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; @@ -2350,4 +2115,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java similarity index 84% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java index 7e03e8981d5..109216fd7b8 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java @@ -1,87 +1,54 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface PartitionQueryRequestOrBuilder - extends +public interface PartitionQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -92,8 +59,6 @@ public interface PartitionQueryRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The query request to generate partitions for. The request will
    * fail if the query is not root partitionable. For a query to be root
@@ -110,13 +75,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
    * Required. The query request to generate partitions for. The request will
    * fail if the query is not root partitionable. For a query to be root
@@ -133,14 +95,12 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -157,13 +117,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -180,13 +137,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    *
@@ -207,8 +161,6 @@ public interface PartitionQueryRequestOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -225,8 +177,6 @@ public interface PartitionQueryRequestOrBuilder
    */
   int getParamTypesCount();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -241,13 +191,15 @@ public interface PartitionQueryRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  boolean containsParamTypes(java.lang.String key);
-  /** Use {@link #getParamTypesMap()} instead. */
+  boolean containsParamTypes(
+      java.lang.String key);
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getParamTypes();
+  java.util.Map
+  getParamTypes();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -262,10 +214,9 @@ public interface PartitionQueryRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  java.util.Map getParamTypesMap();
+  java.util.Map
+  getParamTypesMap();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -281,13 +232,11 @@ public interface PartitionQueryRequestOrBuilder
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   /* nullable */
-  com.google.spanner.v1.Type getParamTypesOrDefault(
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue);
+com.google.spanner.v1.Type defaultValue);
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -302,35 +251,28 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
+  com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return Whether the partitionOptions field is set. */ boolean hasPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return The partitionOptions. */ com.google.spanner.v1.PartitionOptions getPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java similarity index 75% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java index ccf2667687c..07ac59f9e47 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,68 +5,59 @@ package com.google.spanner.v1; /** - * - * *
  * The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
  * 
* * Protobuf type {@code google.spanner.v1.PartitionReadRequest} */ -public final class PartitionReadRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartitionReadRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionReadRequest) PartitionReadRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartitionReadRequest.newBuilder() to construct. private PartitionReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionReadRequest() { session_ = ""; table_ = ""; index_ = ""; - columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + columns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionReadRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionReadRequest.class, - com.google.spanner.v1.PartitionReadRequest.Builder.class); + com.google.spanner.v1.PartitionReadRequest.class, com.google.spanner.v1.PartitionReadRequest.Builder.class); } private int bitField0_; public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -90,31 +66,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -125,15 +99,12 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -141,26 +112,19 @@ public boolean hasTransaction() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -170,24 +134,18 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int TABLE_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object table_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -196,29 +154,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -227,12 +185,9 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int INDEX_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -243,7 +198,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * string index = 4; - * * @return The index. */ @java.lang.Override @@ -252,15 +206,14 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -271,15 +224,16 @@ public java.lang.String getIndex() {
    * 
* * string index = 4; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -288,50 +242,41 @@ public com.google.protobuf.ByteString getIndexBytes() { } public static final int COLUMNS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_; } /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -339,27 +284,23 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int KEY_SET_FIELD_NUMBER = 6; private com.google.spanner.v1.KeySet keySet_; /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in
@@ -374,7 +315,6 @@ public com.google.protobuf.ByteString getColumnsBytes(int index) {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ @java.lang.Override @@ -382,8 +322,6 @@ public boolean hasKeySet() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in
@@ -398,7 +336,6 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -406,8 +343,6 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in
@@ -431,14 +366,11 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int PARTITION_OPTIONS_FIELD_NUMBER = 9;
   private com.google.spanner.v1.PartitionOptions partitionOptions_;
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return Whether the partitionOptions field is set. */ @java.lang.Override @@ -446,25 +378,18 @@ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return The partitionOptions. */ @java.lang.Override public com.google.spanner.v1.PartitionOptions getPartitionOptions() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
@@ -473,13 +398,10 @@ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { */ @java.lang.Override public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuilder() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -491,7 +413,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -526,7 +449,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); @@ -543,10 +467,12 @@ public int getSerializedSize() { size += 1 * getColumnsList().size(); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getKeySet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getKeySet()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPartitionOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getPartitionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -556,29 +482,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PartitionReadRequest)) { return super.equals(obj); } - com.google.spanner.v1.PartitionReadRequest other = - (com.google.spanner.v1.PartitionReadRequest) obj; + com.google.spanner.v1.PartitionReadRequest other = (com.google.spanner.v1.PartitionReadRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; - } - if (!getTable().equals(other.getTable())) return false; - if (!getIndex().equals(other.getIndex())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; + } + if (!getTable() + .equals(other.getTable())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (hasKeySet() != other.hasKeySet()) return false; if (hasKeySet()) { - if (!getKeySet().equals(other.getKeySet())) return false; + if (!getKeySet() + .equals(other.getKeySet())) return false; } if (hasPartitionOptions() != other.hasPartitionOptions()) return false; if (hasPartitionOptions()) { - if (!getPartitionOptions().equals(other.getPartitionOptions())) return false; + if (!getPartitionOptions() + .equals(other.getPartitionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -618,127 +550,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionReadRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionReadRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionReadRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
    * 
* * Protobuf type {@code google.spanner.v1.PartitionReadRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionReadRequest) com.google.spanner.v1.PartitionReadRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionReadRequest.class, - com.google.spanner.v1.PartitionReadRequest.Builder.class); + com.google.spanner.v1.PartitionReadRequest.class, com.google.spanner.v1.PartitionReadRequest.Builder.class); } // Construct using com.google.spanner.v1.PartitionReadRequest.newBuilder() @@ -746,19 +671,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTransactionFieldBuilder(); getKeySetFieldBuilder(); getPartitionOptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -771,7 +696,8 @@ public Builder clear() { } table_ = ""; index_ = ""; - columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); + columns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); keySet_ = null; if (keySetBuilder_ != null) { keySetBuilder_.dispose(); @@ -786,9 +712,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override @@ -807,11 +733,8 @@ public com.google.spanner.v1.PartitionReadRequest build() { @java.lang.Override public com.google.spanner.v1.PartitionReadRequest buildPartial() { - com.google.spanner.v1.PartitionReadRequest result = - new com.google.spanner.v1.PartitionReadRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.PartitionReadRequest result = new com.google.spanner.v1.PartitionReadRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -823,8 +746,9 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -838,12 +762,15 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest result) { result.columns_ = columns_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build(); + result.keySet_ = keySetBuilder_ == null + ? keySet_ + : keySetBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.partitionOptions_ = - partitionOptionsBuilder_ == null ? partitionOptions_ : partitionOptionsBuilder_.build(); + result.partitionOptions_ = partitionOptionsBuilder_ == null + ? partitionOptions_ + : partitionOptionsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -853,39 +780,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.PartitionReadRequest) { - return mergeFrom((com.google.spanner.v1.PartitionReadRequest) other); + return mergeFrom((com.google.spanner.v1.PartitionReadRequest)other); } else { super.mergeFrom(other); return this; @@ -954,57 +880,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - index_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureColumnsIsMutable(); - columns_.add(s); - break; - } // case 42 - case 50: - { - input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 74: - { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + index_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureColumnsIsMutable(); + columns_.add(s); + break; + } // case 42 + case 50: { + input.readMessage( + getKeySetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 74: { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 74 + 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) { @@ -1014,27 +937,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1043,23 +961,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1067,39 +982,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1109,23 +1013,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1135,49 +1033,36 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1199,8 +1084,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1220,8 +1103,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1231,9 +1112,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1248,8 +1129,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1268,8 +1147,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1283,8 +1160,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1296,14 +1171,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1312,17 +1184,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1330,20 +1199,18 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1352,21 +1219,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -1374,35 +1240,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1412,21 +1271,17 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; @@ -1436,8 +1291,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object index_ = ""; /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -1448,13 +1301,13 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * string index = 4; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1463,8 +1316,6 @@ public java.lang.String getIndex() { } } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -1475,14 +1326,15 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -1490,8 +1342,6 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -1502,22 +1352,18 @@ public com.google.protobuf.ByteString getIndexBytes() {
      * 
* * string index = 4; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -1528,7 +1374,6 @@ public Builder setIndex(java.lang.String value) {
      * 
* * string index = 4; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1538,8 +1383,6 @@ public Builder clearIndex() { return this; } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -1550,14 +1393,12 @@ public Builder clearIndex() {
      * 
* * string index = 4; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000008; @@ -1567,7 +1408,6 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureColumnsIsMutable() { if (!columns_.isModifiable()) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); @@ -1575,46 +1415,38 @@ private void ensureColumnsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { columns_.makeImmutable(); return columns_; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1622,39 +1454,33 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); bitField0_ |= 0x00000010; @@ -1662,22 +1488,18 @@ public Builder setColumns(int index, java.lang.String value) { return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); bitField0_ |= 0x00000010; @@ -1685,61 +1507,53 @@ public Builder addColumns(java.lang.String value) { return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns(java.lang.Iterable values) { + public Builder addAllColumns( + java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @return This builder for chaining. */ public Builder clearColumns() { - columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + columns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5; - * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1750,13 +1564,8 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> - keySetBuilder_; + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1771,15 +1580,12 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1794,7 +1600,6 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -1805,8 +1610,6 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1836,8 +1639,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1853,7 +1654,8 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
      *
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
+    public Builder setKeySet(
+        com.google.spanner.v1.KeySet.Builder builderForValue) {
       if (keySetBuilder_ == null) {
         keySet_ = builderForValue.build();
       } else {
@@ -1864,8 +1666,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1883,9 +1683,9 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
      */
     public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && keySet_ != null
-            && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          keySet_ != null &&
+          keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
           getKeySetBuilder().mergeFrom(value);
         } else {
           keySet_ = value;
@@ -1900,8 +1700,6 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1928,8 +1726,6 @@ public Builder clearKeySet() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1951,8 +1747,6 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
       return getKeySetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1972,12 +1766,11 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
       if (keySetBuilder_ != null) {
         return keySetBuilder_.getMessageOrBuilder();
       } else {
-        return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
+        return keySet_ == null ?
+            com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in
@@ -1994,17 +1787,14 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.KeySet,
-            com.google.spanner.v1.KeySet.Builder,
-            com.google.spanner.v1.KeySetOrBuilder>
+        com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> 
         getKeySetFieldBuilder() {
       if (keySetBuilder_ == null) {
-        keySetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.KeySet,
-                com.google.spanner.v1.KeySet.Builder,
-                com.google.spanner.v1.KeySetOrBuilder>(
-                getKeySet(), getParentForChildren(), isClean());
+        keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>(
+                getKeySet(),
+                getParentForChildren(),
+                isClean());
         keySet_ = null;
       }
       return keySetBuilder_;
@@ -2012,47 +1802,34 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
 
     private com.google.spanner.v1.PartitionOptions partitionOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.PartitionOptions,
-            com.google.spanner.v1.PartitionOptions.Builder,
-            com.google.spanner.v1.PartitionOptionsOrBuilder>
-        partitionOptionsBuilder_;
+        com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> partitionOptionsBuilder_;
     /**
-     *
-     *
      * 
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return Whether the partitionOptions field is set. */ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return The partitionOptions. */ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { if (partitionOptionsBuilder_ == null) { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } else { return partitionOptionsBuilder_.getMessage(); } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2073,8 +1850,6 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2093,8 +1868,6 @@ public Builder setPartitionOptions( return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2103,9 +1876,9 @@ public Builder setPartitionOptions( */ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions value) { if (partitionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && partitionOptions_ != null - && partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + partitionOptions_ != null && + partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { getPartitionOptionsBuilder().mergeFrom(value); } else { partitionOptions_ = value; @@ -2120,8 +1893,6 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2139,8 +1910,6 @@ public Builder clearPartitionOptions() { return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2153,8 +1922,6 @@ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder return getPartitionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2165,14 +1932,11 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil if (partitionOptionsBuilder_ != null) { return partitionOptionsBuilder_.getMessageOrBuilder(); } else { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? + com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2180,24 +1944,21 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil * .google.spanner.v1.PartitionOptions partition_options = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder> + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> getPartitionOptionsFieldBuilder() { if (partitionOptionsBuilder_ == null) { - partitionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder>( - getPartitionOptions(), getParentForChildren(), isClean()); + partitionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder>( + getPartitionOptions(), + getParentForChildren(), + isClean()); partitionOptions_ = null; } return partitionOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2207,12 +1968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionReadRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionReadRequest) private static final com.google.spanner.v1.PartitionReadRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionReadRequest(); } @@ -2221,27 +1982,27 @@ public static com.google.spanner.v1.PartitionReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionReadRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionReadRequest 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; @@ -2256,4 +2017,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java index 8a0f5215469..9dfe87f9557 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java @@ -1,87 +1,54 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface PartitionReadRequestOrBuilder - extends +public interface PartitionReadRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionReadRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -92,33 +59,26 @@ public interface PartitionReadRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -129,13 +89,10 @@ public interface PartitionReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.PartitionReadRequest.table]. This index is used
@@ -146,69 +103,57 @@ public interface PartitionReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @return A list containing the columns. */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @return The count of columns. */ int getColumnsCount(); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString getColumnsBytes(int index); + com.google.protobuf.ByteString + getColumnsBytes(int index); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in
@@ -223,13 +168,10 @@ public interface PartitionReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in
@@ -244,13 +186,10 @@ public interface PartitionReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in
@@ -269,32 +208,24 @@ public interface PartitionReadRequestOrBuilder
   com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return Whether the partitionOptions field is set. */ boolean hasPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return The partitionOptions. */ com.google.spanner.v1.PartitionOptions getPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java similarity index 72% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java index 70cb408c1c8..cc00b4032d6 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
  * or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
@@ -29,49 +12,44 @@
  *
  * Protobuf type {@code google.spanner.v1.PartitionResponse}
  */
-public final class PartitionResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionResponse)
     PartitionResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionResponse.newBuilder() to construct.
   private PartitionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartitionResponse() {
     partitions_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartitionResponse.class,
-            com.google.spanner.v1.PartitionResponse.Builder.class);
+            com.google.spanner.v1.PartitionResponse.class, com.google.spanner.v1.PartitionResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARTITIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List partitions_;
   /**
-   *
-   *
    * 
    * Partitions created by this request.
    * 
@@ -83,8 +61,6 @@ public java.util.List getPartitionsList() { return partitions_; } /** - * - * *
    * Partitions created by this request.
    * 
@@ -92,13 +68,11 @@ public java.util.List getPartitionsList() { * repeated .google.spanner.v1.Partition partitions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPartitionsOrBuilderList() { return partitions_; } /** - * - * *
    * Partitions created by this request.
    * 
@@ -110,8 +84,6 @@ public int getPartitionsCount() { return partitions_.size(); } /** - * - * *
    * Partitions created by this request.
    * 
@@ -123,8 +95,6 @@ public com.google.spanner.v1.Partition getPartitions(int index) { return partitions_.get(index); } /** - * - * *
    * Partitions created by this request.
    * 
@@ -132,21 +102,19 @@ public com.google.spanner.v1.Partition getPartitions(int index) { * repeated .google.spanner.v1.Partition partitions = 1; */ @java.lang.Override - public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { + public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index) { return partitions_.get(index); } public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.Transaction transaction_; /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -154,25 +122,18 @@ public boolean hasTransaction() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.Transaction getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } /** - * - * *
    * Transaction created by this request.
    * 
@@ -181,13 +142,10 @@ public com.google.spanner.v1.Transaction getTransaction() { */ @java.lang.Override public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -216,10 +175,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, partitions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, partitions_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,17 +190,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PartitionResponse)) { return super.equals(obj); } com.google.spanner.v1.PartitionResponse other = (com.google.spanner.v1.PartitionResponse) obj; - if (!getPartitionsList().equals(other.getPartitionsList())) return false; + if (!getPartitionsList() + .equals(other.getPartitionsList())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -265,104 +228,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
    * or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
@@ -370,23 +328,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.PartitionResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionResponse)
       com.google.spanner.v1.PartitionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartitionResponse.class,
-              com.google.spanner.v1.PartitionResponse.Builder.class);
+              com.google.spanner.v1.PartitionResponse.class, com.google.spanner.v1.PartitionResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartitionResponse.newBuilder()
@@ -394,18 +350,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPartitionsFieldBuilder();
         getTransactionFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +382,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
     }
 
     @java.lang.Override
@@ -447,12 +403,9 @@ public com.google.spanner.v1.PartitionResponse build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartitionResponse buildPartial() {
-      com.google.spanner.v1.PartitionResponse result =
-          new com.google.spanner.v1.PartitionResponse(this);
+      com.google.spanner.v1.PartitionResponse result = new com.google.spanner.v1.PartitionResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -473,8 +426,9 @@ private void buildPartial0(com.google.spanner.v1.PartitionResponse result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ =
-            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
+        result.transaction_ = transactionBuilder_ == null
+            ? transaction_
+            : transactionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -484,39 +438,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionResponse result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.PartitionResponse) {
-        return mergeFrom((com.google.spanner.v1.PartitionResponse) other);
+        return mergeFrom((com.google.spanner.v1.PartitionResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,10 +496,9 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionResponse other) {
             partitionsBuilder_ = null;
             partitions_ = other.partitions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            partitionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPartitionsFieldBuilder()
-                    : null;
+            partitionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPartitionsFieldBuilder() : null;
           } else {
             partitionsBuilder_.addAllMessages(other.partitions_);
           }
@@ -581,31 +533,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.v1.Partition m =
-                    input.readMessage(com.google.spanner.v1.Partition.parser(), extensionRegistry);
-                if (partitionsBuilder_ == null) {
-                  ensurePartitionsIsMutable();
-                  partitions_.add(m);
-                } else {
-                  partitionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.v1.Partition m =
+                  input.readMessage(
+                      com.google.spanner.v1.Partition.parser(),
+                      extensionRegistry);
+              if (partitionsBuilder_ == null) {
+                ensurePartitionsIsMutable();
+                partitions_.add(m);
+              } else {
+                partitionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              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) {
@@ -615,28 +568,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List partitions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePartitionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         partitions_ = new java.util.ArrayList(partitions_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.Partition,
-            com.google.spanner.v1.Partition.Builder,
-            com.google.spanner.v1.PartitionOrBuilder>
-        partitionsBuilder_;
+        com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder> partitionsBuilder_;
 
     /**
-     *
-     *
      * 
      * Partitions created by this request.
      * 
@@ -651,8 +597,6 @@ public java.util.List getPartitionsList() { } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -667,8 +611,6 @@ public int getPartitionsCount() { } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -683,15 +625,14 @@ public com.google.spanner.v1.Partition getPartitions(int index) { } } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder setPartitions(int index, com.google.spanner.v1.Partition value) { + public Builder setPartitions( + int index, com.google.spanner.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -705,8 +646,6 @@ public Builder setPartitions(int index, com.google.spanner.v1.Partition value) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -725,8 +664,6 @@ public Builder setPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -747,15 +684,14 @@ public Builder addPartitions(com.google.spanner.v1.Partition value) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder addPartitions(int index, com.google.spanner.v1.Partition value) { + public Builder addPartitions( + int index, com.google.spanner.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -769,15 +705,14 @@ public Builder addPartitions(int index, com.google.spanner.v1.Partition value) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder addPartitions(com.google.spanner.v1.Partition.Builder builderForValue) { + public Builder addPartitions( + com.google.spanner.v1.Partition.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.add(builderForValue.build()); @@ -788,8 +723,6 @@ public Builder addPartitions(com.google.spanner.v1.Partition.Builder builderForV return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -808,8 +741,6 @@ public Builder addPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -820,7 +751,8 @@ public Builder addAllPartitions( java.lang.Iterable values) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partitions_); onChanged(); } else { partitionsBuilder_.addAllMessages(values); @@ -828,8 +760,6 @@ public Builder addAllPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -847,8 +777,6 @@ public Builder clearPartitions() { return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -866,44 +794,39 @@ public Builder removePartitions(int index) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.Partition.Builder getPartitionsBuilder(int index) { + public com.google.spanner.v1.Partition.Builder getPartitionsBuilder( + int index) { return getPartitionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { + public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index) { if (partitionsBuilder_ == null) { - return partitions_.get(index); - } else { + return partitions_.get(index); } else { return partitionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsOrBuilderList() { + public java.util.List + getPartitionsOrBuilderList() { if (partitionsBuilder_ != null) { return partitionsBuilder_.getMessageOrBuilderList(); } else { @@ -911,8 +834,6 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -920,47 +841,42 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index * repeated .google.spanner.v1.Partition partitions = 1; */ public com.google.spanner.v1.Partition.Builder addPartitionsBuilder() { - return getPartitionsFieldBuilder() - .addBuilder(com.google.spanner.v1.Partition.getDefaultInstance()); + return getPartitionsFieldBuilder().addBuilder( + com.google.spanner.v1.Partition.getDefaultInstance()); } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.Partition.Builder addPartitionsBuilder(int index) { - return getPartitionsFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Partition.getDefaultInstance()); + public com.google.spanner.v1.Partition.Builder addPartitionsBuilder( + int index) { + return getPartitionsFieldBuilder().addBuilder( + index, com.google.spanner.v1.Partition.getDefaultInstance()); } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public java.util.List getPartitionsBuilderList() { + public java.util.List + getPartitionsBuilderList() { return getPartitionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Partition, - com.google.spanner.v1.Partition.Builder, - com.google.spanner.v1.PartitionOrBuilder> + com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder> getPartitionsFieldBuilder() { if (partitionsBuilder_ == null) { - partitionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Partition, - com.google.spanner.v1.Partition.Builder, - com.google.spanner.v1.PartitionOrBuilder>( - partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder>( + partitions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); partitions_ = null; } return partitionsBuilder_; @@ -968,47 +884,34 @@ public java.util.List getPartitionsBuil private com.google.spanner.v1.Transaction transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, - com.google.spanner.v1.Transaction.Builder, - com.google.spanner.v1.TransactionOrBuilder> - transactionBuilder_; + com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> transactionBuilder_; /** - * - * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.Transaction getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1029,15 +932,14 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) { return this; } /** - * - * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; */ - public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderForValue) { + public Builder setTransaction( + com.google.spanner.v1.Transaction.Builder builderForValue) { if (transactionBuilder_ == null) { transaction_ = builderForValue.build(); } else { @@ -1048,8 +950,6 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1058,9 +958,9 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF */ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { if (transactionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && transaction_ != null - && transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + transaction_ != null && + transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) { getTransactionBuilder().mergeFrom(value); } else { transaction_ = value; @@ -1075,8 +975,6 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1094,8 +992,6 @@ public Builder clearTransaction() { return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1108,8 +1004,6 @@ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() { return getTransactionFieldBuilder().getBuilder(); } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1120,14 +1014,11 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? + com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1135,24 +1026,21 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { * .google.spanner.v1.Transaction transaction = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, - com.google.spanner.v1.Transaction.Builder, - com.google.spanner.v1.TransactionOrBuilder> + com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { - transactionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, - com.google.spanner.v1.Transaction.Builder, - com.google.spanner.v1.TransactionOrBuilder>( - getTransaction(), getParentForChildren(), isClean()); + transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder>( + getTransaction(), + getParentForChildren(), + isClean()); transaction_ = null; } return transactionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1162,12 +1050,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionResponse) private static final com.google.spanner.v1.PartitionResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionResponse(); } @@ -1176,27 +1064,27 @@ public static com.google.spanner.v1.PartitionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionResponse 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionResponse 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; @@ -1211,4 +1099,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java index 7076f9f25ac..306e951783d 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface PartitionResponseOrBuilder - extends +public interface PartitionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - java.util.List getPartitionsList(); + java.util.List + getPartitionsList(); /** - * - * *
    * Partitions created by this request.
    * 
@@ -45,8 +26,6 @@ public interface PartitionResponseOrBuilder */ com.google.spanner.v1.Partition getPartitions(int index); /** - * - * *
    * Partitions created by this request.
    * 
@@ -55,53 +34,43 @@ public interface PartitionResponseOrBuilder */ int getPartitionsCount(); /** - * - * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - java.util.List getPartitionsOrBuilderList(); + java.util.List + getPartitionsOrBuilderList(); /** - * - * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index); + com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index); /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.Transaction getTransaction(); /** - * - * *
    * Transaction created by this request.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java similarity index 75% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java index fcfd85d6919..a56a9d85d0d 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/query_plan.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
  * 
* * Protobuf type {@code google.spanner.v1.PlanNode} */ -public final class PlanNode extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PlanNode extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode) PlanNodeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PlanNode.newBuilder() to construct. private PlanNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PlanNode() { kind_ = 0; displayName_ = ""; @@ -46,27 +28,25 @@ private PlanNode() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PlanNode(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.PlanNode.class, com.google.spanner.v1.PlanNode.Builder.class); } /** - * - * *
    * The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between the two different kinds of
    * nodes that can appear in a query plan.
@@ -74,10 +54,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.spanner.v1.PlanNode.Kind}
    */
-  public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Kind
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -86,8 +65,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ KIND_UNSPECIFIED(0), /** - * - * *
      * Denotes a Relational operator node in the expression tree. Relational
      * operators represent iterative processing of rows during query execution.
@@ -98,8 +75,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
      */
     RELATIONAL(1),
     /**
-     *
-     *
      * 
      * Denotes a Scalar node in the expression tree. Scalar nodes represent
      * non-iterable entities in the query plan. For example, constants or
@@ -114,8 +89,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -124,8 +97,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KIND_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Denotes a Relational operator node in the expression tree. Relational
      * operators represent iterative processing of rows during query execution.
@@ -136,8 +107,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RELATIONAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * Denotes a Scalar node in the expression tree. Scalar nodes represent
      * non-iterable entities in the query plan. For example, constants or
@@ -149,6 +118,7 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCALAR_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -173,49 +143,49 @@ public static Kind valueOf(int value) {
      */
     public static Kind forNumber(int value) {
       switch (value) {
-        case 0:
-          return KIND_UNSPECIFIED;
-        case 1:
-          return RELATIONAL;
-        case 2:
-          return SCALAR;
-        default:
-          return null;
+        case 0: return KIND_UNSPECIFIED;
+        case 1: return RELATIONAL;
+        case 2: return SCALAR;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Kind> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Kind findValueByNumber(int number) {
+              return Kind.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Kind findValueByNumber(int number) {
-            return Kind.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.spanner.v1.PlanNode.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Kind[] VALUES = values();
 
-    public static Kind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Kind valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -232,27 +202,21 @@ private Kind(int value) {
     // @@protoc_insertion_point(enum_scope:google.spanner.v1.PlanNode.Kind)
   }
 
-  public interface ChildLinkOrBuilder
-      extends
+  public interface ChildLinkOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode.ChildLink)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; - * * @return The childIndex. */ int getChildIndex(); /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -261,13 +225,10 @@ public interface ChildLinkOrBuilder
      * 
* * string type = 2; - * * @return The type. */ java.lang.String getType(); /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -276,14 +237,12 @@ public interface ChildLinkOrBuilder
      * 
* * string type = 2; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -296,13 +255,10 @@ public interface ChildLinkOrBuilder
      * 
* * string variable = 3; - * * @return The variable. */ java.lang.String getVariable(); /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -315,14 +271,12 @@ public interface ChildLinkOrBuilder
      * 
* * string variable = 3; - * * @return The bytes for variable. */ - com.google.protobuf.ByteString getVariableBytes(); + com.google.protobuf.ByteString + getVariableBytes(); } /** - * - * *
    * Metadata associated with a parent-child relationship appearing in a
    * [PlanNode][google.spanner.v1.PlanNode].
@@ -330,16 +284,15 @@ public interface ChildLinkOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.PlanNode.ChildLink}
    */
-  public static final class ChildLink extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ChildLink extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode.ChildLink)
       ChildLinkOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ChildLink.newBuilder() to construct.
     private ChildLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ChildLink() {
       type_ = "";
       variable_ = "";
@@ -347,36 +300,32 @@ private ChildLink() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ChildLink();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PlanNode.ChildLink.class,
-              com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
+              com.google.spanner.v1.PlanNode.ChildLink.class, com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
     }
 
     public static final int CHILD_INDEX_FIELD_NUMBER = 1;
     private int childIndex_ = 0;
     /**
-     *
-     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; - * * @return The childIndex. */ @java.lang.Override @@ -385,12 +334,9 @@ public int getChildIndex() { } public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -399,7 +345,6 @@ public int getChildIndex() {
      * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -408,15 +353,14 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -425,15 +369,16 @@ public java.lang.String getType() {
      * 
* * string type = 2; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -442,12 +387,9 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int VARIABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object variable_ = ""; /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -460,7 +402,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string variable = 3; - * * @return The variable. */ @java.lang.Override @@ -469,15 +410,14 @@ public java.lang.String getVariable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); variable_ = s; return s; } } /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -490,15 +430,16 @@ public java.lang.String getVariable() {
      * 
* * string variable = 3; - * * @return The bytes for variable. */ @java.lang.Override - public com.google.protobuf.ByteString getVariableBytes() { + public com.google.protobuf.ByteString + getVariableBytes() { java.lang.Object ref = variable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); variable_ = b; return b; } else { @@ -507,7 +448,6 @@ public com.google.protobuf.ByteString getVariableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -519,7 +459,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (childIndex_ != 0) { output.writeInt32(1, childIndex_); } @@ -539,7 +480,8 @@ public int getSerializedSize() { size = 0; if (childIndex_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, childIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, childIndex_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); @@ -555,17 +497,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PlanNode.ChildLink)) { return super.equals(obj); } - com.google.spanner.v1.PlanNode.ChildLink other = - (com.google.spanner.v1.PlanNode.ChildLink) obj; + com.google.spanner.v1.PlanNode.ChildLink other = (com.google.spanner.v1.PlanNode.ChildLink) obj; - if (getChildIndex() != other.getChildIndex()) return false; - if (!getType().equals(other.getType())) return false; - if (!getVariable().equals(other.getVariable())) return false; + if (getChildIndex() + != other.getChildIndex()) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getVariable() + .equals(other.getVariable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -588,94 +532,90 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PlanNode.ChildLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -685,8 +625,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Metadata associated with a parent-child relationship appearing in a
      * [PlanNode][google.spanner.v1.PlanNode].
@@ -694,33 +632,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.PlanNode.ChildLink}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode.ChildLink)
         com.google.spanner.v1.PlanNode.ChildLinkOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.PlanNode.ChildLink.class,
-                com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
+                com.google.spanner.v1.PlanNode.ChildLink.class, com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.PlanNode.ChildLink.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -732,9 +670,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
       }
 
       @java.lang.Override
@@ -753,11 +691,8 @@ public com.google.spanner.v1.PlanNode.ChildLink build() {
 
       @java.lang.Override
       public com.google.spanner.v1.PlanNode.ChildLink buildPartial() {
-        com.google.spanner.v1.PlanNode.ChildLink result =
-            new com.google.spanner.v1.PlanNode.ChildLink(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.v1.PlanNode.ChildLink result = new com.google.spanner.v1.PlanNode.ChildLink(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -779,41 +714,38 @@ private void buildPartial0(com.google.spanner.v1.PlanNode.ChildLink result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.PlanNode.ChildLink) {
-          return mergeFrom((com.google.spanner.v1.PlanNode.ChildLink) other);
+          return mergeFrom((com.google.spanner.v1.PlanNode.ChildLink)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -861,31 +793,27 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  childIndex_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  type_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  variable_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                childIndex_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                variable_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                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) {
@@ -895,19 +823,15 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int childIndex_;
+      private int childIndex_ ;
       /**
-       *
-       *
        * 
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @return The childIndex. */ @java.lang.Override @@ -915,14 +839,11 @@ public int getChildIndex() { return childIndex_; } /** - * - * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @param value The childIndex to set. * @return This builder for chaining. */ @@ -934,14 +855,11 @@ public Builder setChildIndex(int value) { return this; } /** - * - * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @return This builder for chaining. */ public Builder clearChildIndex() { @@ -953,8 +871,6 @@ public Builder clearChildIndex() { private java.lang.Object type_ = ""; /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -963,13 +879,13 @@ public Builder clearChildIndex() {
        * 
* * string type = 2; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -978,8 +894,6 @@ public java.lang.String getType() { } } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -988,14 +902,15 @@ public java.lang.String getType() {
        * 
* * string type = 2; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -1003,8 +918,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -1013,22 +926,18 @@ public com.google.protobuf.ByteString getTypeBytes() {
        * 
* * string type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -1037,7 +946,6 @@ public Builder setType(java.lang.String value) {
        * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1047,8 +955,6 @@ public Builder clearType() { return this; } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -1057,14 +963,12 @@ public Builder clearType() {
        * 
* * string type = 2; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -1074,8 +978,6 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object variable_ = ""; /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1088,13 +990,13 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
        * 
* * string variable = 3; - * * @return The variable. */ public java.lang.String getVariable() { java.lang.Object ref = variable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); variable_ = s; return s; @@ -1103,8 +1005,6 @@ public java.lang.String getVariable() { } } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1117,14 +1017,15 @@ public java.lang.String getVariable() {
        * 
* * string variable = 3; - * * @return The bytes for variable. */ - public com.google.protobuf.ByteString getVariableBytes() { + public com.google.protobuf.ByteString + getVariableBytes() { java.lang.Object ref = variable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); variable_ = b; return b; } else { @@ -1132,8 +1033,6 @@ public com.google.protobuf.ByteString getVariableBytes() { } } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1146,22 +1045,18 @@ public com.google.protobuf.ByteString getVariableBytes() {
        * 
* * string variable = 3; - * * @param value The variable to set. * @return This builder for chaining. */ - public Builder setVariable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVariable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } variable_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1174,7 +1069,6 @@ public Builder setVariable(java.lang.String value) {
        * 
* * string variable = 3; - * * @return This builder for chaining. */ public Builder clearVariable() { @@ -1184,8 +1078,6 @@ public Builder clearVariable() { return this; } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1198,21 +1090,18 @@ public Builder clearVariable() {
        * 
* * string variable = 3; - * * @param value The bytes for variable to set. * @return This builder for chaining. */ - public Builder setVariableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVariableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); variable_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1225,12 +1114,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode.ChildLink) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode.ChildLink) private static final com.google.spanner.v1.PlanNode.ChildLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode.ChildLink(); } @@ -1239,28 +1128,27 @@ public static com.google.spanner.v1.PlanNode.ChildLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChildLink 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChildLink 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; @@ -1275,41 +1163,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PlanNode.ChildLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ShortRepresentationOrBuilder - extends + public interface ShortRepresentationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode.ShortRepresentation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1322,8 +1203,6 @@ public interface ShortRepresentationOrBuilder
      */
     int getSubqueriesCount();
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1334,13 +1213,15 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    boolean containsSubqueries(java.lang.String key);
-    /** Use {@link #getSubqueriesMap()} instead. */
+    boolean containsSubqueries(
+        java.lang.String key);
+    /**
+     * Use {@link #getSubqueriesMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getSubqueries();
+    java.util.Map
+    getSubqueries();
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1351,10 +1232,9 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    java.util.Map getSubqueriesMap();
+    java.util.Map
+    getSubqueriesMap();
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1365,10 +1245,10 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    int getSubqueriesOrDefault(java.lang.String key, int defaultValue);
+    int getSubqueriesOrDefault(
+        java.lang.String key,
+        int defaultValue);
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1379,11 +1259,10 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    int getSubqueriesOrThrow(java.lang.String key);
+    int getSubqueriesOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Condensed representation of a node and its subtree. Only present for
    * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1391,29 +1270,29 @@ public interface ShortRepresentationOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.PlanNode.ShortRepresentation}
    */
-  public static final class ShortRepresentation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ShortRepresentation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode.ShortRepresentation)
       ShortRepresentationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ShortRepresentation.newBuilder() to construct.
     private ShortRepresentation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ShortRepresentation() {
       description_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ShortRepresentation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -1424,33 +1303,27 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 2:
           return internalGetSubqueries();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PlanNode.ShortRepresentation.class,
-              com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
+              com.google.spanner.v1.PlanNode.ShortRepresentation.class, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
     }
 
     public static final int DESCRIPTION_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -1459,29 +1332,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1490,36 +1363,32 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int SUBQUERIES_FIELD_NUMBER = 2; - private static final class SubqueriesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField subqueries_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> subqueries_; private com.google.protobuf.MapField - internalGetSubqueries() { + internalGetSubqueries() { if (subqueries_ == null) { return com.google.protobuf.MapField.emptyMapField( SubqueriesDefaultEntryHolder.defaultEntry); } return subqueries_; } - public int getSubqueriesCount() { return internalGetSubqueries().getMap().size(); } /** - * - * *
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1531,21 +1400,20 @@ public int getSubqueriesCount() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public boolean containsSubqueries(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsSubqueries(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetSubqueries().getMap().containsKey(key);
     }
-    /** Use {@link #getSubqueriesMap()} instead. */
+    /**
+     * Use {@link #getSubqueriesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSubqueries() {
       return getSubqueriesMap();
     }
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1561,8 +1429,6 @@ public java.util.Map getSubqueriesMap() {
       return internalGetSubqueries().getMap();
     }
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1574,16 +1440,15 @@ public java.util.Map getSubqueriesMap() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSubqueries().getMap();
+    public int getSubqueriesOrDefault(
+        java.lang.String key,
+        int defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSubqueries().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1595,11 +1460,11 @@ public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public int getSubqueriesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSubqueries().getMap();
+    public int getSubqueriesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSubqueries().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1607,7 +1472,6 @@ public int getSubqueriesOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1619,12 +1483,17 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_);
       }
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetSubqueries(), SubqueriesDefaultEntryHolder.defaultEntry, 2);
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetSubqueries(),
+          SubqueriesDefaultEntryHolder.defaultEntry,
+          2);
       getUnknownFields().writeTo(output);
     }
 
@@ -1637,15 +1506,15 @@ public int getSerializedSize() {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_);
       }
-      for (java.util.Map.Entry entry :
-          internalGetSubqueries().getMap().entrySet()) {
-        com.google.protobuf.MapEntry subqueries__ =
-            SubqueriesDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, subqueries__);
+      for (java.util.Map.Entry entry
+           : internalGetSubqueries().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        subqueries__ = SubqueriesDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(2, subqueries__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1655,16 +1524,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.spanner.v1.PlanNode.ShortRepresentation)) {
         return super.equals(obj);
       }
-      com.google.spanner.v1.PlanNode.ShortRepresentation other =
-          (com.google.spanner.v1.PlanNode.ShortRepresentation) obj;
+      com.google.spanner.v1.PlanNode.ShortRepresentation other = (com.google.spanner.v1.PlanNode.ShortRepresentation) obj;
 
-      if (!getDescription().equals(other.getDescription())) return false;
-      if (!internalGetSubqueries().equals(other.internalGetSubqueries())) return false;
+      if (!getDescription()
+          .equals(other.getDescription())) return false;
+      if (!internalGetSubqueries().equals(
+          other.internalGetSubqueries())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -1688,93 +1558,89 @@ public int hashCode() {
     }
 
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.spanner.v1.PlanNode.ShortRepresentation prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1784,8 +1650,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Condensed representation of a node and its subtree. Only present for
      * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1793,14 +1657,13 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.PlanNode.ShortRepresentation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode.ShortRepresentation)
         com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
@@ -1810,10 +1673,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
           case 2:
             return internalGetSubqueries();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @SuppressWarnings({"rawtypes"})
       protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
           int number) {
@@ -1821,27 +1684,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
           case 2:
             return internalGetMutableSubqueries();
           default:
-            throw new RuntimeException("Invalid map field number: " + number);
+            throw new RuntimeException(
+                "Invalid map field number: " + number);
         }
       }
-
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.PlanNode.ShortRepresentation.class,
-                com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
+                com.google.spanner.v1.PlanNode.ShortRepresentation.class, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.PlanNode.ShortRepresentation.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1852,9 +1716,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
       }
 
       @java.lang.Override
@@ -1873,11 +1737,8 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation build() {
 
       @java.lang.Override
       public com.google.spanner.v1.PlanNode.ShortRepresentation buildPartial() {
-        com.google.spanner.v1.PlanNode.ShortRepresentation result =
-            new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.v1.PlanNode.ShortRepresentation result = new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1897,41 +1758,38 @@ private void buildPartial0(com.google.spanner.v1.PlanNode.ShortRepresentation re
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.PlanNode.ShortRepresentation) {
-          return mergeFrom((com.google.spanner.v1.PlanNode.ShortRepresentation) other);
+          return mergeFrom((com.google.spanner.v1.PlanNode.ShortRepresentation)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1939,14 +1797,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.PlanNode.ShortRepresentation other) {
-        if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) return this;
         if (!other.getDescription().isEmpty()) {
           description_ = other.description_;
           bitField0_ |= 0x00000001;
           onChanged();
         }
-        internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries());
+        internalGetMutableSubqueries().mergeFrom(
+            other.internalGetSubqueries());
         bitField0_ |= 0x00000002;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1974,31 +1832,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  description_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.protobuf.MapEntry subqueries__ =
-                      input.readMessage(
-                          SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-                  internalGetMutableSubqueries()
-                      .getMutableMap()
-                      .put(subqueries__.getKey(), subqueries__.getValue());
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                com.google.protobuf.MapEntry
+                subqueries__ = input.readMessage(
+                    SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                internalGetMutableSubqueries().getMutableMap().put(
+                    subqueries__.getKey(), subqueries__.getValue());
+                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) {
@@ -2008,25 +1861,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object description_ = "";
       /**
-       *
-       *
        * 
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2035,21 +1885,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2057,35 +1906,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2095,21 +1937,17 @@ public Builder clearDescription() { return this; } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000001; @@ -2117,8 +1955,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField subqueries_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> subqueries_; private com.google.protobuf.MapField internalGetSubqueries() { if (subqueries_ == null) { @@ -2127,12 +1965,11 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } return subqueries_; } - private com.google.protobuf.MapField internalGetMutableSubqueries() { if (subqueries_ == null) { - subqueries_ = - com.google.protobuf.MapField.newMapField(SubqueriesDefaultEntryHolder.defaultEntry); + subqueries_ = com.google.protobuf.MapField.newMapField( + SubqueriesDefaultEntryHolder.defaultEntry); } if (!subqueries_.isMutable()) { subqueries_ = subqueries_.copy(); @@ -2141,13 +1978,10 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { onChanged(); return subqueries_; } - public int getSubqueriesCount() { return internalGetSubqueries().getMap().size(); } /** - * - * *
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2159,21 +1993,20 @@ public int getSubqueriesCount() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public boolean containsSubqueries(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsSubqueries(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetSubqueries().getMap().containsKey(key);
       }
-      /** Use {@link #getSubqueriesMap()} instead. */
+      /**
+       * Use {@link #getSubqueriesMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getSubqueries() {
         return getSubqueriesMap();
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2189,8 +2022,6 @@ public java.util.Map getSubqueriesMap() {
         return internalGetSubqueries().getMap();
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2202,16 +2033,15 @@ public java.util.Map getSubqueriesMap() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetSubqueries().getMap();
+      public int getSubqueriesOrDefault(
+          java.lang.String key,
+          int defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetSubqueries().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2223,25 +2053,23 @@ public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public int getSubqueriesOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetSubqueries().getMap();
+      public int getSubqueriesOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetSubqueries().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
-
       public Builder clearSubqueries() {
         bitField0_ = (bitField0_ & ~0x00000002);
-        internalGetMutableSubqueries().getMutableMap().clear();
+        internalGetMutableSubqueries().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2252,22 +2080,23 @@ public Builder clearSubqueries() {
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder removeSubqueries(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableSubqueries().getMutableMap().remove(key);
+      public Builder removeSubqueries(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableSubqueries().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableSubqueries() {
+      public java.util.Map
+          getMutableSubqueries() {
         bitField0_ |= 0x00000002;
         return internalGetMutableSubqueries().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2278,18 +2107,17 @@ public java.util.Map getMutableSubqueries()
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder putSubqueries(java.lang.String key, int value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putSubqueries(
+          java.lang.String key,
+          int value) {
+        if (key == null) { throw new NullPointerException("map key"); }
 
-        internalGetMutableSubqueries().getMutableMap().put(key, value);
+        internalGetMutableSubqueries().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000002;
         return this;
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2300,12 +2128,13 @@ public Builder putSubqueries(java.lang.String key, int value) {
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder putAllSubqueries(java.util.Map values) {
-        internalGetMutableSubqueries().getMutableMap().putAll(values);
+      public Builder putAllSubqueries(
+          java.util.Map values) {
+        internalGetMutableSubqueries().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000002;
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2318,12 +2147,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode.ShortRepresentation)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode.ShortRepresentation)
     private static final com.google.spanner.v1.PlanNode.ShortRepresentation DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode.ShortRepresentation();
     }
@@ -2332,28 +2161,27 @@ public static com.google.spanner.v1.PlanNode.ShortRepresentation getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ShortRepresentation 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();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ShortRepresentation 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;
@@ -2368,20 +2196,18 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.PlanNode.ShortRepresentation getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int bitField0_;
   public static final int INDEX_FIELD_NUMBER = 1;
   private int index_ = 0;
   /**
-   *
-   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -2392,8 +2218,6 @@ public int getIndex() { public static final int KIND_FIELD_NUMBER = 2; private int kind_ = 0; /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -2403,16 +2227,12 @@ public int getIndex() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -2422,29 +2242,22 @@ public int getKindValue() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The kind. */ - @java.lang.Override - public com.google.spanner.v1.PlanNode.Kind getKind() { - com.google.spanner.v1.PlanNode.Kind result = - com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); + @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { + com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -2453,29 +2266,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2484,12 +2297,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int CHILD_LINKS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List childLinks_; /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2501,8 +2311,6 @@ public java.util.List getChildLinksLis return childLinks_; } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2510,13 +2318,11 @@ public java.util.List getChildLinksLis * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ @java.lang.Override - public java.util.List + public java.util.List getChildLinksOrBuilderList() { return childLinks_; } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2527,9 +2333,7 @@ public java.util.List getChildLinksLis public int getChildLinksCount() { return childLinks_.size(); } - /** - * - * + /** *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2541,8 +2345,6 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { return childLinks_.get(index); } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2550,21 +2352,19 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ @java.lang.Override - public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index) { + public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( + int index) { return childLinks_.get(index); } public static final int SHORT_REPRESENTATION_FIELD_NUMBER = 5; private com.google.spanner.v1.PlanNode.ShortRepresentation shortRepresentation_; /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return Whether the shortRepresentation field is set. */ @java.lang.Override @@ -2572,25 +2372,18 @@ public boolean hasShortRepresentation() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return The shortRepresentation. */ @java.lang.Override public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation() { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
@@ -2598,18 +2391,13 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ @java.lang.Override - public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder - getShortRepresentationOrBuilder() { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder() { + return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } public static final int METADATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct metadata_; /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2622,7 +2410,6 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2630,8 +2417,6 @@ public boolean hasMetadata() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2644,7 +2429,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ @java.lang.Override @@ -2652,8 +2436,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2675,8 +2457,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   public static final int EXECUTION_STATS_FIELD_NUMBER = 7;
   private com.google.protobuf.Struct executionStats_;
   /**
-   *
-   *
    * 
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2685,7 +2465,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ @java.lang.Override @@ -2693,8 +2472,6 @@ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2703,18 +2480,13 @@ public boolean hasExecutionStats() {
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return The executionStats. */ @java.lang.Override public com.google.protobuf.Struct getExecutionStats() { - return executionStats_ == null - ? com.google.protobuf.Struct.getDefaultInstance() - : executionStats_; + return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_; } /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2726,13 +2498,10 @@ public com.google.protobuf.Struct getExecutionStats() {
    */
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
-    return executionStats_ == null
-        ? com.google.protobuf.Struct.getDefaultInstance()
-        : executionStats_;
+    return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2744,7 +2513,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (index_ != 0) {
       output.writeInt32(1, index_);
     }
@@ -2776,25 +2546,31 @@ public int getSerializedSize() {
 
     size = 0;
     if (index_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, index_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, index_);
     }
     if (kind_ != com.google.spanner.v1.PlanNode.Kind.KIND_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, kind_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, kind_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
     }
     for (int i = 0; i < childLinks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, childLinks_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, childLinks_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getShortRepresentation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getShortRepresentation());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getMetadata());
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExecutionStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getExecutionStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2804,28 +2580,34 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.PlanNode)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.PlanNode other = (com.google.spanner.v1.PlanNode) obj;
 
-    if (getIndex() != other.getIndex()) return false;
+    if (getIndex()
+        != other.getIndex()) return false;
     if (kind_ != other.kind_) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
-    if (!getChildLinksList().equals(other.getChildLinksList())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) return false;
+    if (!getChildLinksList()
+        .equals(other.getChildLinksList())) return false;
     if (hasShortRepresentation() != other.hasShortRepresentation()) return false;
     if (hasShortRepresentation()) {
-      if (!getShortRepresentation().equals(other.getShortRepresentation())) return false;
+      if (!getShortRepresentation()
+          .equals(other.getShortRepresentation())) return false;
     }
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (hasExecutionStats() != other.hasExecutionStats()) return false;
     if (hasExecutionStats()) {
-      if (!getExecutionStats().equals(other.getExecutionStats())) return false;
+      if (!getExecutionStats()
+          .equals(other.getExecutionStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2865,123 +2647,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.PlanNode parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.PlanNode parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.PlanNode parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.PlanNode parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.PlanNode parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.PlanNode parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.PlanNode parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.spanner.v1.PlanNode parseFrom(
+      com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.PlanNode prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * Protobuf type {@code google.spanner.v1.PlanNode} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode) com.google.spanner.v1.PlanNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.PlanNode.class, com.google.spanner.v1.PlanNode.Builder.class); } @@ -2991,20 +2768,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getChildLinksFieldBuilder(); getShortRepresentationFieldBuilder(); getMetadataFieldBuilder(); getExecutionStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3038,9 +2815,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override @@ -3061,9 +2838,7 @@ public com.google.spanner.v1.PlanNode build() { public com.google.spanner.v1.PlanNode buildPartial() { com.google.spanner.v1.PlanNode result = new com.google.spanner.v1.PlanNode(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3093,19 +2868,21 @@ private void buildPartial0(com.google.spanner.v1.PlanNode result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { - result.shortRepresentation_ = - shortRepresentationBuilder_ == null - ? shortRepresentation_ - : shortRepresentationBuilder_.build(); + result.shortRepresentation_ = shortRepresentationBuilder_ == null + ? shortRepresentation_ + : shortRepresentationBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); + result.metadata_ = metadataBuilder_ == null + ? metadata_ + : metadataBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.executionStats_ = - executionStatsBuilder_ == null ? executionStats_ : executionStatsBuilder_.build(); + result.executionStats_ = executionStatsBuilder_ == null + ? executionStats_ + : executionStatsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -3115,39 +2892,38 @@ private void buildPartial0(com.google.spanner.v1.PlanNode result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.PlanNode) { - return mergeFrom((com.google.spanner.v1.PlanNode) other); + return mergeFrom((com.google.spanner.v1.PlanNode)other); } else { super.mergeFrom(other); return this; @@ -3185,10 +2961,9 @@ public Builder mergeFrom(com.google.spanner.v1.PlanNode other) { childLinksBuilder_ = null; childLinks_ = other.childLinks_; bitField0_ = (bitField0_ & ~0x00000008); - childLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChildLinksFieldBuilder() - : null; + childLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildLinksFieldBuilder() : null; } else { childLinksBuilder_.addAllMessages(other.childLinks_); } @@ -3229,63 +3004,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - kind_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.spanner.v1.PlanNode.ChildLink m = - input.readMessage( - com.google.spanner.v1.PlanNode.ChildLink.parser(), extensionRegistry); - if (childLinksBuilder_ == null) { - ensureChildLinksIsMutable(); - childLinks_.add(m); - } else { - childLinksBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - input.readMessage( - getShortRepresentationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getExecutionStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + index_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + kind_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.spanner.v1.PlanNode.ChildLink m = + input.readMessage( + com.google.spanner.v1.PlanNode.ChildLink.parser(), + extensionRegistry); + if (childLinksBuilder_ == null) { + ensureChildLinksIsMutable(); + childLinks_.add(m); + } else { + childLinksBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + input.readMessage( + getShortRepresentationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getExecutionStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + 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) { @@ -3295,19 +3068,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int index_; + private int index_ ; /** - * - * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -3315,14 +3084,11 @@ public int getIndex() { return index_; } /** - * - * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ @@ -3334,14 +3100,11 @@ public Builder setIndex(int value) { return this; } /** - * - * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -3353,8 +3116,6 @@ public Builder clearIndex() { private int kind_ = 0; /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3364,16 +3125,12 @@ public Builder clearIndex() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3383,7 +3140,6 @@ public int getKindValue() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @param value The enum numeric value on the wire for kind to set. * @return This builder for chaining. */ @@ -3394,8 +3150,6 @@ public Builder setKindValue(int value) { return this; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3405,18 +3159,14 @@ public Builder setKindValue(int value) {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The kind. */ @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { - com.google.spanner.v1.PlanNode.Kind result = - com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); + com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3426,7 +3176,6 @@ public com.google.spanner.v1.PlanNode.Kind getKind() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @param value The kind to set. * @return This builder for chaining. */ @@ -3440,8 +3189,6 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) { return this; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3451,7 +3198,6 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return This builder for chaining. */ public Builder clearKind() { @@ -3463,20 +3209,18 @@ public Builder clearKind() { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -3485,21 +3229,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -3507,35 +3250,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3545,21 +3281,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000004; @@ -3568,25 +3300,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } private java.util.List childLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChildLinksIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - childLinks_ = - new java.util.ArrayList(childLinks_); + childLinks_ = new java.util.ArrayList(childLinks_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, - com.google.spanner.v1.PlanNode.ChildLink.Builder, - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> - childLinksBuilder_; + com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> childLinksBuilder_; /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3601,8 +3326,6 @@ public java.util.List getChildLinksLis } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3617,8 +3340,6 @@ public int getChildLinksCount() { } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3633,15 +3354,14 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder setChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink value) { + public Builder setChildLinks( + int index, com.google.spanner.v1.PlanNode.ChildLink value) { if (childLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3655,8 +3375,6 @@ public Builder setChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3675,8 +3393,6 @@ public Builder setChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3697,15 +3413,14 @@ public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink value) { return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder addChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink value) { + public Builder addChildLinks( + int index, com.google.spanner.v1.PlanNode.ChildLink value) { if (childLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3719,15 +3434,14 @@ public Builder addChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink.Builder builderForValue) { + public Builder addChildLinks( + com.google.spanner.v1.PlanNode.ChildLink.Builder builderForValue) { if (childLinksBuilder_ == null) { ensureChildLinksIsMutable(); childLinks_.add(builderForValue.build()); @@ -3738,8 +3452,6 @@ public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink.Builder bu return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3758,8 +3470,6 @@ public Builder addChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3770,7 +3480,8 @@ public Builder addAllChildLinks( java.lang.Iterable values) { if (childLinksBuilder_ == null) { ensureChildLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childLinks_); onChanged(); } else { childLinksBuilder_.addAllMessages(values); @@ -3778,8 +3489,6 @@ public Builder addAllChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3797,8 +3506,6 @@ public Builder clearChildLinks() { return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3816,44 +3523,39 @@ public Builder removeChildLinks(int index) { return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLink.Builder getChildLinksBuilder(int index) { + public com.google.spanner.v1.PlanNode.ChildLink.Builder getChildLinksBuilder( + int index) { return getChildLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index) { + public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( + int index) { if (childLinksBuilder_ == null) { - return childLinks_.get(index); - } else { + return childLinks_.get(index); } else { return childLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public java.util.List - getChildLinksOrBuilderList() { + public java.util.List + getChildLinksOrBuilderList() { if (childLinksBuilder_ != null) { return childLinksBuilder_.getMessageOrBuilderList(); } else { @@ -3861,8 +3563,6 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3870,48 +3570,42 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder() { - return getChildLinksFieldBuilder() - .addBuilder(com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); + return getChildLinksFieldBuilder().addBuilder( + com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder(int index) { - return getChildLinksFieldBuilder() - .addBuilder(index, com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); + public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder( + int index) { + return getChildLinksFieldBuilder().addBuilder( + index, com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public java.util.List - getChildLinksBuilderList() { + public java.util.List + getChildLinksBuilderList() { return getChildLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, - com.google.spanner.v1.PlanNode.ChildLink.Builder, - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> + com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> getChildLinksFieldBuilder() { if (childLinksBuilder_ == null) { - childLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, - com.google.spanner.v1.PlanNode.ChildLink.Builder, - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder>( - childLinks_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + childLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder>( + childLinks_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); childLinks_ = null; } return childLinksBuilder_; @@ -3919,55 +3613,41 @@ public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder(int private com.google.spanner.v1.PlanNode.ShortRepresentation shortRepresentation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, - com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, - com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> - shortRepresentationBuilder_; + com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> shortRepresentationBuilder_; /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return Whether the shortRepresentation field is set. */ public boolean hasShortRepresentation() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return The shortRepresentation. */ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation() { if (shortRepresentationBuilder_ == null) { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } else { return shortRepresentationBuilder_.getMessage(); } } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public Builder setShortRepresentation( - com.google.spanner.v1.PlanNode.ShortRepresentation value) { + public Builder setShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepresentation value) { if (shortRepresentationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3981,8 +3661,6 @@ public Builder setShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -4001,21 +3679,17 @@ public Builder setShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public Builder mergeShortRepresentation( - com.google.spanner.v1.PlanNode.ShortRepresentation value) { + public Builder mergeShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepresentation value) { if (shortRepresentationBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && shortRepresentation_ != null - && shortRepresentation_ - != com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + shortRepresentation_ != null && + shortRepresentation_ != com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) { getShortRepresentationBuilder().mergeFrom(value); } else { shortRepresentation_ = value; @@ -4030,8 +3704,6 @@ public Builder mergeShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -4049,42 +3721,33 @@ public Builder clearShortRepresentation() { return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public com.google.spanner.v1.PlanNode.ShortRepresentation.Builder - getShortRepresentationBuilder() { + public com.google.spanner.v1.PlanNode.ShortRepresentation.Builder getShortRepresentationBuilder() { bitField0_ |= 0x00000010; onChanged(); return getShortRepresentationFieldBuilder().getBuilder(); } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder - getShortRepresentationOrBuilder() { + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder() { if (shortRepresentationBuilder_ != null) { return shortRepresentationBuilder_.getMessageOrBuilder(); } else { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + return shortRepresentation_ == null ? + com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -4092,17 +3755,14 @@ public Builder clearShortRepresentation() { * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, - com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, - com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> + com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> getShortRepresentationFieldBuilder() { if (shortRepresentationBuilder_ == null) { - shortRepresentationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, - com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, - com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder>( - getShortRepresentation(), getParentForChildren(), isClean()); + shortRepresentationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder>( + getShortRepresentation(), + getParentForChildren(), + isClean()); shortRepresentation_ = null; } return shortRepresentationBuilder_; @@ -4110,13 +3770,8 @@ public Builder clearShortRepresentation() { private com.google.protobuf.Struct metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - metadataBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** - * - * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4129,15 +3784,12 @@ public Builder clearShortRepresentation() {
      * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4150,7 +3802,6 @@ public boolean hasMetadata() {
      * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -4161,8 +3812,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4190,8 +3839,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4205,7 +3852,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct metadata = 6;
      */
-    public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setMetadata(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
       } else {
@@ -4216,8 +3864,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4233,9 +3879,9 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeMetadata(com.google.protobuf.Struct value) {
       if (metadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && metadata_ != null
-            && metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          metadata_ != null &&
+          metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getMetadataBuilder().mergeFrom(value);
         } else {
           metadata_ = value;
@@ -4250,8 +3896,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4276,8 +3920,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4297,8 +3939,6 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4316,12 +3956,11 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
+        return metadata_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4336,17 +3975,14 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * .google.protobuf.Struct metadata = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
@@ -4354,13 +3990,8 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
 
     private com.google.protobuf.Struct executionStats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        executionStatsBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> executionStatsBuilder_;
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4369,15 +4000,12 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4386,21 +4014,16 @@ public boolean hasExecutionStats() {
      * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return The executionStats. */ public com.google.protobuf.Struct getExecutionStats() { if (executionStatsBuilder_ == null) { - return executionStats_ == null - ? com.google.protobuf.Struct.getDefaultInstance() - : executionStats_; + return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_; } else { return executionStatsBuilder_.getMessage(); } } /** - * - * *
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4424,8 +4047,6 @@ public Builder setExecutionStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4435,7 +4056,8 @@ public Builder setExecutionStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct execution_stats = 7;
      */
-    public Builder setExecutionStats(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setExecutionStats(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (executionStatsBuilder_ == null) {
         executionStats_ = builderForValue.build();
       } else {
@@ -4446,8 +4068,6 @@ public Builder setExecutionStats(com.google.protobuf.Struct.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4459,9 +4079,9 @@ public Builder setExecutionStats(com.google.protobuf.Struct.Builder builderForVa
      */
     public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       if (executionStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0)
-            && executionStats_ != null
-            && executionStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          executionStats_ != null &&
+          executionStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getExecutionStatsBuilder().mergeFrom(value);
         } else {
           executionStats_ = value;
@@ -4476,8 +4096,6 @@ public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4498,8 +4116,6 @@ public Builder clearExecutionStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4515,8 +4131,6 @@ public com.google.protobuf.Struct.Builder getExecutionStatsBuilder() {
       return getExecutionStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4530,14 +4144,11 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
       if (executionStatsBuilder_ != null) {
         return executionStatsBuilder_.getMessageOrBuilder();
       } else {
-        return executionStats_ == null
-            ? com.google.protobuf.Struct.getDefaultInstance()
-            : executionStats_;
+        return executionStats_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : executionStats_;
       }
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4548,24 +4159,21 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
      * .google.protobuf.Struct execution_stats = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getExecutionStatsFieldBuilder() {
       if (executionStatsBuilder_ == null) {
-        executionStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getExecutionStats(), getParentForChildren(), isClean());
+        executionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getExecutionStats(),
+                getParentForChildren(),
+                isClean());
         executionStats_ = null;
       }
       return executionStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4575,12 +4183,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode)
   private static final com.google.spanner.v1.PlanNode DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode();
   }
@@ -4589,27 +4197,27 @@ public static com.google.spanner.v1.PlanNode getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PlanNode 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PlanNode 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;
@@ -4624,4 +4232,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.PlanNode getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
index 5a4a8d0e666..3241fdcaa8e 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
@@ -1,45 +1,24 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/query_plan.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface PlanNodeOrBuilder
-    extends
+public interface PlanNodeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; - * * @return The index. */ int getIndex(); /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -49,13 +28,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -65,49 +41,40 @@ public interface PlanNodeOrBuilder
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The kind. */ com.google.spanner.v1.PlanNode.Kind getKind(); /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - java.util.List getChildLinksList(); + java.util.List + getChildLinksList(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -116,8 +83,6 @@ public interface PlanNodeOrBuilder */ com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -126,54 +91,43 @@ public interface PlanNodeOrBuilder */ int getChildLinksCount(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - java.util.List + java.util.List getChildLinksOrBuilderList(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index); + com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( + int index); /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return Whether the shortRepresentation field is set. */ boolean hasShortRepresentation(); /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return The shortRepresentation. */ com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation(); /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
@@ -183,8 +137,6 @@ public interface PlanNodeOrBuilder com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder(); /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -197,13 +149,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -216,13 +165,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -239,8 +185,6 @@ public interface PlanNodeOrBuilder
   com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -249,13 +193,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ boolean hasExecutionStats(); /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -264,13 +205,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return The executionStats. */ com.google.protobuf.Struct getExecutionStats(); /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
similarity index 74%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
index 41f7d168bf0..ba9690fc0e1 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/query_plan.proto
 
@@ -20,55 +5,49 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Contains an ordered list of nodes appearing in the query plan.
  * 
* * Protobuf type {@code google.spanner.v1.QueryPlan} */ -public final class QueryPlan extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryPlan extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.QueryPlan) QueryPlanOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryPlan.newBuilder() to construct. private QueryPlan(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryPlan() { planNodes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryPlan(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.QueryPlan.class, com.google.spanner.v1.QueryPlan.Builder.class); } public static final int PLAN_NODES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List planNodes_; /** - * - * *
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -82,8 +61,6 @@ public java.util.List getPlanNodesList() {
     return planNodes_;
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -93,13 +70,11 @@ public java.util.List getPlanNodesList() {
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPlanNodesOrBuilderList() {
     return planNodes_;
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -113,8 +88,6 @@ public int getPlanNodesCount() {
     return planNodes_.size();
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -128,8 +101,6 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
     return planNodes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -139,12 +110,12 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index) {
+  public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
+      int index) {
     return planNodes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -156,7 +127,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < planNodes_.size(); i++) {
       output.writeMessage(1, planNodes_.get(i));
     }
@@ -170,7 +142,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < planNodes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, planNodes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, planNodes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,14 +153,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.QueryPlan)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.QueryPlan other = (com.google.spanner.v1.QueryPlan) obj;
 
-    if (!getPlanNodesList().equals(other.getPlanNodesList())) return false;
+    if (!getPlanNodesList()
+        .equals(other.getPlanNodesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -208,134 +182,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.QueryPlan parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.QueryPlan parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.QueryPlan parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.QueryPlan parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.QueryPlan parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.QueryPlan parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.QueryPlan prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Contains an ordered list of nodes appearing in the query plan.
    * 
* * Protobuf type {@code google.spanner.v1.QueryPlan} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.QueryPlan) com.google.spanner.v1.QueryPlanOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.QueryPlan.class, com.google.spanner.v1.QueryPlan.Builder.class); } // Construct using com.google.spanner.v1.QueryPlan.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override @@ -374,9 +346,7 @@ public com.google.spanner.v1.QueryPlan build() { public com.google.spanner.v1.QueryPlan buildPartial() { com.google.spanner.v1.QueryPlan result = new com.google.spanner.v1.QueryPlan(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -401,39 +371,38 @@ private void buildPartial0(com.google.spanner.v1.QueryPlan result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.QueryPlan) { - return mergeFrom((com.google.spanner.v1.QueryPlan) other); + return mergeFrom((com.google.spanner.v1.QueryPlan)other); } else { super.mergeFrom(other); return this; @@ -460,10 +429,9 @@ public Builder mergeFrom(com.google.spanner.v1.QueryPlan other) { planNodesBuilder_ = null; planNodes_ = other.planNodes_; bitField0_ = (bitField0_ & ~0x00000001); - planNodesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPlanNodesFieldBuilder() - : null; + planNodesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPlanNodesFieldBuilder() : null; } else { planNodesBuilder_.addAllMessages(other.planNodes_); } @@ -495,25 +463,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.v1.PlanNode m = - input.readMessage(com.google.spanner.v1.PlanNode.parser(), extensionRegistry); - if (planNodesBuilder_ == null) { - ensurePlanNodesIsMutable(); - planNodes_.add(m); - } else { - planNodesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.v1.PlanNode m = + input.readMessage( + com.google.spanner.v1.PlanNode.parser(), + extensionRegistry); + if (planNodesBuilder_ == null) { + ensurePlanNodesIsMutable(); + planNodes_.add(m); + } else { + planNodesBuilder_.addMessage(m); + } + 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) { @@ -523,28 +491,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List planNodes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePlanNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { planNodes_ = new java.util.ArrayList(planNodes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode, - com.google.spanner.v1.PlanNode.Builder, - com.google.spanner.v1.PlanNodeOrBuilder> - planNodesBuilder_; + com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder> planNodesBuilder_; /** - * - * *
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -561,8 +522,6 @@ public java.util.List getPlanNodesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -579,8 +538,6 @@ public int getPlanNodesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -597,8 +554,6 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -607,7 +562,8 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
+    public Builder setPlanNodes(
+        int index, com.google.spanner.v1.PlanNode value) {
       if (planNodesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -621,8 +577,6 @@ public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -631,7 +585,8 @@ public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder setPlanNodes(
+        int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.set(index, builderForValue.build());
@@ -642,8 +597,6 @@ public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -666,8 +619,6 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -676,7 +627,8 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode value) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
+    public Builder addPlanNodes(
+        int index, com.google.spanner.v1.PlanNode value) {
       if (planNodesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -690,8 +642,6 @@ public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -700,7 +650,8 @@ public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder addPlanNodes(
+        com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.add(builderForValue.build());
@@ -711,8 +662,6 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -721,7 +670,8 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForVal
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder addPlanNodes(
+        int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.add(index, builderForValue.build());
@@ -732,8 +682,6 @@ public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -746,7 +694,8 @@ public Builder addAllPlanNodes(
         java.lang.Iterable values) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, planNodes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, planNodes_);
         onChanged();
       } else {
         planNodesBuilder_.addAllMessages(values);
@@ -754,8 +703,6 @@ public Builder addAllPlanNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -775,8 +722,6 @@ public Builder clearPlanNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -796,8 +741,6 @@ public Builder removePlanNodes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -806,12 +749,11 @@ public Builder removePlanNodes(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(int index) {
+    public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(
+        int index) {
       return getPlanNodesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -820,16 +762,14 @@ public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index) {
+    public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
+        int index) {
       if (planNodesBuilder_ == null) {
-        return planNodes_.get(index);
-      } else {
+        return planNodes_.get(index);  } else {
         return planNodesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -838,8 +778,8 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index)
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public java.util.List
-        getPlanNodesOrBuilderList() {
+    public java.util.List 
+         getPlanNodesOrBuilderList() {
       if (planNodesBuilder_ != null) {
         return planNodesBuilder_.getMessageOrBuilderList();
       } else {
@@ -847,8 +787,6 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -858,12 +796,10 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index)
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
     public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder() {
-      return getPlanNodesFieldBuilder()
-          .addBuilder(com.google.spanner.v1.PlanNode.getDefaultInstance());
+      return getPlanNodesFieldBuilder().addBuilder(
+          com.google.spanner.v1.PlanNode.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -872,13 +808,12 @@ public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder() {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(int index) {
-      return getPlanNodesFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.PlanNode.getDefaultInstance());
+    public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(
+        int index) {
+      return getPlanNodesFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.PlanNode.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -887,29 +822,27 @@ public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public java.util.List getPlanNodesBuilderList() {
+    public java.util.List 
+         getPlanNodesBuilderList() {
       return getPlanNodesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.PlanNode,
-            com.google.spanner.v1.PlanNode.Builder,
-            com.google.spanner.v1.PlanNodeOrBuilder>
+        com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder> 
         getPlanNodesFieldBuilder() {
       if (planNodesBuilder_ == null) {
-        planNodesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.PlanNode,
-                com.google.spanner.v1.PlanNode.Builder,
-                com.google.spanner.v1.PlanNodeOrBuilder>(
-                planNodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        planNodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder>(
+                planNodes_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         planNodes_ = null;
       }
       return planNodesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -919,12 +852,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.QueryPlan)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.QueryPlan)
   private static final com.google.spanner.v1.QueryPlan DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.QueryPlan();
   }
@@ -933,27 +866,27 @@ public static com.google.spanner.v1.QueryPlan getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public QueryPlan 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public QueryPlan 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;
@@ -968,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.QueryPlan getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
similarity index 72%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
index 97cedd45737..a3fe21abee6 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/query_plan.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface QueryPlanOrBuilder
-    extends
+public interface QueryPlanOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.QueryPlan)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -35,10 +17,9 @@ public interface QueryPlanOrBuilder
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  java.util.List getPlanNodesList();
+  java.util.List 
+      getPlanNodesList();
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -49,8 +30,6 @@ public interface QueryPlanOrBuilder
    */
   com.google.spanner.v1.PlanNode getPlanNodes(int index);
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -61,8 +40,6 @@ public interface QueryPlanOrBuilder
    */
   int getPlanNodesCount();
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -71,10 +48,9 @@ public interface QueryPlanOrBuilder
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  java.util.List getPlanNodesOrBuilderList();
+  java.util.List 
+      getPlanNodesOrBuilderList();
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -83,5 +59,6 @@ public interface QueryPlanOrBuilder
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index);
+  com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java
new file mode 100644
index 00000000000..956516272c5
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java
@@ -0,0 +1,117 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/query_plan.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.spanner.v1;
+
+public final class QueryPlanProto {
+  private QueryPlanProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_QueryPlan_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_QueryPlan_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\"google/spanner/v1/query_plan.proto\022\021go" +
+      "ogle.spanner.v1\032\034google/protobuf/struct." +
+      "proto\"\370\004\n\010PlanNode\022\r\n\005index\030\001 \001(\005\022.\n\004kin" +
+      "d\030\002 \001(\0162 .google.spanner.v1.PlanNode.Kin" +
+      "d\022\024\n\014display_name\030\003 \001(\t\022:\n\013child_links\030\004" +
+      " \003(\0132%.google.spanner.v1.PlanNode.ChildL" +
+      "ink\022M\n\024short_representation\030\005 \001(\0132/.goog" +
+      "le.spanner.v1.PlanNode.ShortRepresentati" +
+      "on\022)\n\010metadata\030\006 \001(\0132\027.google.protobuf.S" +
+      "truct\0220\n\017execution_stats\030\007 \001(\0132\027.google." +
+      "protobuf.Struct\032@\n\tChildLink\022\023\n\013child_in" +
+      "dex\030\001 \001(\005\022\014\n\004type\030\002 \001(\t\022\020\n\010variable\030\003 \001(" +
+      "\t\032\262\001\n\023ShortRepresentation\022\023\n\013description" +
+      "\030\001 \001(\t\022S\n\nsubqueries\030\002 \003(\0132?.google.span" +
+      "ner.v1.PlanNode.ShortRepresentation.Subq" +
+      "ueriesEntry\0321\n\017SubqueriesEntry\022\013\n\003key\030\001 " +
+      "\001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\"8\n\004Kind\022\024\n\020KIND_U" +
+      "NSPECIFIED\020\000\022\016\n\nRELATIONAL\020\001\022\n\n\006SCALAR\020\002" +
+      "\"<\n\tQueryPlan\022/\n\nplan_nodes\030\001 \003(\0132\033.goog" +
+      "le.spanner.v1.PlanNodeB\261\001\n\025com.google.sp" +
+      "anner.v1B\016QueryPlanProtoP\001Z5cloud.google" +
+      ".com/go/spanner/apiv1/spannerpb;spannerp" +
+      "b\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\Clo" +
+      "ud\\Spanner\\V1\352\002\032Google::Cloud::Spanner::" +
+      "V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.StructProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_PlanNode_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_descriptor,
+        new java.lang.String[] { "Index", "Kind", "DisplayName", "ChildLinks", "ShortRepresentation", "Metadata", "ExecutionStats", });
+    internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor =
+      internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor,
+        new java.lang.String[] { "ChildIndex", "Type", "Variable", });
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor =
+      internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor,
+        new java.lang.String[] { "Description", "Subqueries", });
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor =
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_spanner_v1_QueryPlan_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_QueryPlan_descriptor,
+        new java.lang.String[] { "PlanNodes", });
+    com.google.protobuf.StructProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
similarity index 77%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
index b503a686741..3b3e6fe4469 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [Read][google.spanner.v1.Spanner.Read] and
  * [StreamingRead][google.spanner.v1.Spanner.StreamingRead].
@@ -29,62 +12,55 @@
  *
  * Protobuf type {@code google.spanner.v1.ReadRequest}
  */
-public final class ReadRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ReadRequest)
     ReadRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadRequest.newBuilder() to construct.
   private ReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadRequest() {
     session_ = "";
     table_ = "";
     index_ = "";
-    columns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    columns_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     resumeToken_ = com.google.protobuf.ByteString.EMPTY;
     partitionToken_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ReadRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ReadRequest.class,
-            com.google.spanner.v1.ReadRequest.Builder.class);
+            com.google.spanner.v1.ReadRequest.class, com.google.spanner.v1.ReadRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int SESSION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object session_ = "";
   /**
-   *
-   *
    * 
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -93,31 +69,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -128,15 +102,12 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -144,26 +115,19 @@ public boolean hasTransaction() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
@@ -173,24 +137,18 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int TABLE_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object table_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -199,29 +157,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -230,12 +188,9 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int INDEX_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -246,7 +201,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * string index = 4; - * * @return The index. */ @java.lang.Override @@ -255,15 +209,14 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -274,15 +227,16 @@ public java.lang.String getIndex() {
    * 
* * string index = 4; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -291,50 +245,41 @@ public com.google.protobuf.ByteString getIndexBytes() { } public static final int COLUMNS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_; } /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -342,27 +287,23 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int KEY_SET_FIELD_NUMBER = 6; private com.google.spanner.v1.KeySet keySet_; /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -383,7 +324,6 @@ public com.google.protobuf.ByteString getColumnsBytes(int index) {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ @java.lang.Override @@ -391,8 +331,6 @@ public boolean hasKeySet() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -413,7 +351,6 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -421,8 +358,6 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -452,8 +387,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int LIMIT_FIELD_NUMBER = 8;
   private long limit_ = 0L;
   /**
-   *
-   *
    * 
    * If greater than zero, only the first `limit` rows are yielded. If `limit`
    * is zero, the default is no limit. A limit cannot be specified if
@@ -461,7 +394,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
    * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -472,8 +404,6 @@ public long getLimit() { public static final int RESUME_TOKEN_FIELD_NUMBER = 9; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -484,7 +414,6 @@ public long getLimit() {
    * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ @java.lang.Override @@ -495,8 +424,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int PARTITION_TOKEN_FIELD_NUMBER = 10; private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -505,7 +432,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ @java.lang.Override @@ -516,14 +442,11 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 11; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -531,25 +454,18 @@ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -558,22 +474,17 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } public static final int DIRECTED_READ_OPTIONS_FIELD_NUMBER = 14; private com.google.spanner.v1.DirectedReadOptions directedReadOptions_; /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 14; - * * @return Whether the directedReadOptions field is set. */ @java.lang.Override @@ -581,25 +492,18 @@ public boolean hasDirectedReadOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 14; - * * @return The directedReadOptions. */ @java.lang.Override public com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions() { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } /** - * - * *
    * Directed read options for this request.
    * 
@@ -608,16 +512,12 @@ public com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions() { */ @java.lang.Override public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptionsOrBuilder() { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } public static final int DATA_BOOST_ENABLED_FIELD_NUMBER = 15; private boolean dataBoostEnabled_ = false; /** - * - * *
    * If this is for a partitioned read and this field is set to `true`, the
    * request is executed with Spanner Data Boost independent compute resources.
@@ -627,7 +527,6 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions
    * 
* * bool data_boost_enabled = 15; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -636,7 +535,6 @@ public boolean getDataBoostEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -648,7 +546,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -698,7 +597,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); @@ -715,26 +615,32 @@ public int getSerializedSize() { size += 1 * getColumnsList().size(); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getKeySet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getKeySet()); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, limit_); } if (!resumeToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(9, resumeToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(9, resumeToken_); } if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(10, partitionToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(10, partitionToken_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getRequestOptions()); } if (((bitField0_ & 0x00000008) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(14, getDirectedReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getDirectedReadOptions()); } if (dataBoostEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, dataBoostEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, dataBoostEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -744,37 +650,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ReadRequest)) { return super.equals(obj); } com.google.spanner.v1.ReadRequest other = (com.google.spanner.v1.ReadRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; - } - if (!getTable().equals(other.getTable())) return false; - if (!getIndex().equals(other.getIndex())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; + } + if (!getTable() + .equals(other.getTable())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (hasKeySet() != other.hasKeySet()) return false; if (hasKeySet()) { - if (!getKeySet().equals(other.getKeySet())) return false; - } - if (getLimit() != other.getLimit()) return false; - if (!getResumeToken().equals(other.getResumeToken())) return false; - if (!getPartitionToken().equals(other.getPartitionToken())) return false; + if (!getKeySet() + .equals(other.getKeySet())) return false; + } + if (getLimit() + != other.getLimit()) return false; + if (!getResumeToken() + .equals(other.getResumeToken())) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } if (hasDirectedReadOptions() != other.hasDirectedReadOptions()) return false; if (hasDirectedReadOptions()) { - if (!getDirectedReadOptions().equals(other.getDirectedReadOptions())) return false; + if (!getDirectedReadOptions() + .equals(other.getDirectedReadOptions())) return false; } - if (getDataBoostEnabled() != other.getDataBoostEnabled()) return false; + if (getDataBoostEnabled() + != other.getDataBoostEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -805,7 +723,8 @@ public int hashCode() { hash = (53 * hash) + getKeySet().hashCode(); } hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLimit()); hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getResumeToken().hashCode(); hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; @@ -819,109 +738,106 @@ public int hashCode() { hash = (53 * hash) + getDirectedReadOptions().hashCode(); } hash = (37 * hash) + DATA_BOOST_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataBoostEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDataBoostEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.ReadRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ReadRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ReadRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.ReadRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.ReadRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ReadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ReadRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ReadRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.ReadRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.ReadRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ReadRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ReadRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [Read][google.spanner.v1.Spanner.Read] and
    * [StreamingRead][google.spanner.v1.Spanner.StreamingRead].
@@ -929,23 +845,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ReadRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ReadRequest)
       com.google.spanner.v1.ReadRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ReadRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ReadRequest.class,
-              com.google.spanner.v1.ReadRequest.Builder.class);
+              com.google.spanner.v1.ReadRequest.class, com.google.spanner.v1.ReadRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ReadRequest.newBuilder()
@@ -953,20 +867,20 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransactionFieldBuilder();
         getKeySetFieldBuilder();
         getRequestOptionsFieldBuilder();
         getDirectedReadOptionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -979,7 +893,8 @@ public Builder clear() {
       }
       table_ = "";
       index_ = "";
-      columns_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      columns_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       keySet_ = null;
       if (keySetBuilder_ != null) {
         keySetBuilder_.dispose();
@@ -1003,9 +918,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ReadRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1025,9 +940,7 @@ public com.google.spanner.v1.ReadRequest build() {
     @java.lang.Override
     public com.google.spanner.v1.ReadRequest buildPartial() {
       com.google.spanner.v1.ReadRequest result = new com.google.spanner.v1.ReadRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1039,8 +952,9 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ =
-            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
+        result.transaction_ = transactionBuilder_ == null
+            ? transaction_
+            : transactionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -1054,7 +968,9 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.columns_ = columns_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build();
+        result.keySet_ = keySetBuilder_ == null
+            ? keySet_
+            : keySetBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -1067,15 +983,15 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.partitionToken_ = partitionToken_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.requestOptions_ =
-            requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build();
+        result.requestOptions_ = requestOptionsBuilder_ == null
+            ? requestOptions_
+            : requestOptionsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.directedReadOptions_ =
-            directedReadOptionsBuilder_ == null
-                ? directedReadOptions_
-                : directedReadOptionsBuilder_.build();
+        result.directedReadOptions_ = directedReadOptionsBuilder_ == null
+            ? directedReadOptions_
+            : directedReadOptionsBuilder_.build();
         to_bitField0_ |= 0x00000008;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
@@ -1088,39 +1004,38 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.ReadRequest) {
-        return mergeFrom((com.google.spanner.v1.ReadRequest) other);
+        return mergeFrom((com.google.spanner.v1.ReadRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1204,87 +1119,81 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                session_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                table_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                index_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureColumnsIsMutable();
-                columns_.add(s);
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 64:
-              {
-                limit_ = input.readInt64();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 64
-            case 74:
-              {
-                resumeToken_ = input.readBytes();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 74
-            case 82:
-              {
-                partitionToken_ = input.readBytes();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 90
-            case 114:
-              {
-                input.readMessage(
-                    getDirectedReadOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 114
-            case 120:
-              {
-                dataBoostEnabled_ = input.readBool();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 120
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              session_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              table_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              index_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureColumnsIsMutable();
+              columns_.add(s);
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getKeySetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 64: {
+              limit_ = input.readInt64();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 64
+            case 74: {
+              resumeToken_ = input.readBytes();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 74
+            case 82: {
+              partitionToken_ = input.readBytes();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getRequestOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 90
+            case 114: {
+              input.readMessage(
+                  getDirectedReadOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 114
+            case 120: {
+              dataBoostEnabled_ = input.readBool();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 120
+            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) {
@@ -1294,27 +1203,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object session_ = "";
     /**
-     *
-     *
      * 
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1323,23 +1227,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1347,39 +1248,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1389,23 +1279,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1415,49 +1299,36 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1479,8 +1350,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1500,8 +1369,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1511,9 +1378,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1528,8 +1395,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1548,8 +1413,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1563,8 +1426,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1576,14 +1437,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1592,17 +1450,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1610,20 +1465,18 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1632,21 +1485,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -1654,35 +1506,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1692,21 +1537,17 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; @@ -1716,8 +1557,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object index_ = ""; /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -1728,13 +1567,13 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * string index = 4; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1743,8 +1582,6 @@ public java.lang.String getIndex() { } } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -1755,14 +1592,15 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -1770,8 +1608,6 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -1782,22 +1618,18 @@ public com.google.protobuf.ByteString getIndexBytes() {
      * 
* * string index = 4; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -1808,7 +1640,6 @@ public Builder setIndex(java.lang.String value) {
      * 
* * string index = 4; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1818,8 +1649,6 @@ public Builder clearIndex() { return this; } /** - * - * *
      * If non-empty, the name of an index on
      * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -1830,14 +1659,12 @@ public Builder clearIndex() {
      * 
* * string index = 4; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000008; @@ -1847,7 +1674,6 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureColumnsIsMutable() { if (!columns_.isModifiable()) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); @@ -1855,46 +1681,38 @@ private void ensureColumnsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { columns_.makeImmutable(); return columns_; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1902,39 +1720,33 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); bitField0_ |= 0x00000010; @@ -1942,22 +1754,18 @@ public Builder setColumns(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); bitField0_ |= 0x00000010; @@ -1965,61 +1773,53 @@ public Builder addColumns(java.lang.String value) { return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns(java.lang.Iterable values) { + public Builder addAllColumns( + java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearColumns() { - columns_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + columns_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
      * returned for each row matching this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -2030,13 +1830,8 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> - keySetBuilder_; + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2057,15 +1852,12 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2086,7 +1878,6 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -2097,8 +1888,6 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2134,8 +1923,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2157,7 +1944,8 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
      *
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
+    public Builder setKeySet(
+        com.google.spanner.v1.KeySet.Builder builderForValue) {
       if (keySetBuilder_ == null) {
         keySet_ = builderForValue.build();
       } else {
@@ -2168,8 +1956,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2193,9 +1979,9 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
      */
     public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && keySet_ != null
-            && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          keySet_ != null &&
+          keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
           getKeySetBuilder().mergeFrom(value);
         } else {
           keySet_ = value;
@@ -2210,8 +1996,6 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2244,8 +2028,6 @@ public Builder clearKeySet() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2273,8 +2055,6 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
       return getKeySetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2300,12 +2080,11 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
       if (keySetBuilder_ != null) {
         return keySetBuilder_.getMessageOrBuilder();
       } else {
-        return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
+        return keySet_ == null ?
+            com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -2328,26 +2107,21 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.KeySet,
-            com.google.spanner.v1.KeySet.Builder,
-            com.google.spanner.v1.KeySetOrBuilder>
+        com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> 
         getKeySetFieldBuilder() {
       if (keySetBuilder_ == null) {
-        keySetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.KeySet,
-                com.google.spanner.v1.KeySet.Builder,
-                com.google.spanner.v1.KeySetOrBuilder>(
-                getKeySet(), getParentForChildren(), isClean());
+        keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>(
+                getKeySet(),
+                getParentForChildren(),
+                isClean());
         keySet_ = null;
       }
       return keySetBuilder_;
     }
 
-    private long limit_;
+    private long limit_ ;
     /**
-     *
-     *
      * 
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -2355,7 +2129,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -2363,8 +2136,6 @@ public long getLimit() { return limit_; } /** - * - * *
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -2372,7 +2143,6 @@ public long getLimit() {
      * 
* * int64 limit = 8; - * * @param value The limit to set. * @return This builder for chaining. */ @@ -2384,8 +2154,6 @@ public Builder setLimit(long value) { return this; } /** - * - * *
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -2393,7 +2161,6 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; - * * @return This builder for chaining. */ public Builder clearLimit() { @@ -2405,8 +2172,6 @@ public Builder clearLimit() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2417,7 +2182,6 @@ public Builder clearLimit() {
      * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ @java.lang.Override @@ -2425,8 +2189,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2437,22 +2199,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 9; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeToken_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2463,7 +2220,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 9; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -2475,8 +2231,6 @@ public Builder clearResumeToken() { private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2485,7 +2239,6 @@ public Builder clearResumeToken() {
      * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ @java.lang.Override @@ -2493,8 +2246,6 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2503,22 +2254,17 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 10; - * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2527,7 +2273,6 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 10; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -2539,47 +2284,34 @@ public Builder clearPartitionToken() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -2600,15 +2332,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -2619,8 +2350,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2629,9 +2358,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -2646,8 +2375,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2665,8 +2392,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2679,8 +2404,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -2691,14 +2414,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -2706,17 +2426,14 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; @@ -2724,47 +2441,34 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( private com.google.spanner.v1.DirectedReadOptions directedReadOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions, - com.google.spanner.v1.DirectedReadOptions.Builder, - com.google.spanner.v1.DirectedReadOptionsOrBuilder> - directedReadOptionsBuilder_; + com.google.spanner.v1.DirectedReadOptions, com.google.spanner.v1.DirectedReadOptions.Builder, com.google.spanner.v1.DirectedReadOptionsOrBuilder> directedReadOptionsBuilder_; /** - * - * *
      * Directed read options for this request.
      * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 14; - * * @return Whether the directedReadOptions field is set. */ public boolean hasDirectedReadOptions() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Directed read options for this request.
      * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 14; - * * @return The directedReadOptions. */ public com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions() { if (directedReadOptionsBuilder_ == null) { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } else { return directedReadOptionsBuilder_.getMessage(); } } /** - * - * *
      * Directed read options for this request.
      * 
@@ -2785,8 +2489,6 @@ public Builder setDirectedReadOptions(com.google.spanner.v1.DirectedReadOptions return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -2805,8 +2507,6 @@ public Builder setDirectedReadOptions( return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -2815,10 +2515,9 @@ public Builder setDirectedReadOptions( */ public Builder mergeDirectedReadOptions(com.google.spanner.v1.DirectedReadOptions value) { if (directedReadOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && directedReadOptions_ != null - && directedReadOptions_ - != com.google.spanner.v1.DirectedReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + directedReadOptions_ != null && + directedReadOptions_ != com.google.spanner.v1.DirectedReadOptions.getDefaultInstance()) { getDirectedReadOptionsBuilder().mergeFrom(value); } else { directedReadOptions_ = value; @@ -2833,8 +2532,6 @@ public Builder mergeDirectedReadOptions(com.google.spanner.v1.DirectedReadOption return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -2852,8 +2549,6 @@ public Builder clearDirectedReadOptions() { return this; } /** - * - * *
      * Directed read options for this request.
      * 
@@ -2866,8 +2561,6 @@ public com.google.spanner.v1.DirectedReadOptions.Builder getDirectedReadOptionsB return getDirectedReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Directed read options for this request.
      * 
@@ -2878,14 +2571,11 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions if (directedReadOptionsBuilder_ != null) { return directedReadOptionsBuilder_.getMessageOrBuilder(); } else { - return directedReadOptions_ == null - ? com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() - : directedReadOptions_; + return directedReadOptions_ == null ? + com.google.spanner.v1.DirectedReadOptions.getDefaultInstance() : directedReadOptions_; } } /** - * - * *
      * Directed read options for this request.
      * 
@@ -2893,26 +2583,21 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions * .google.spanner.v1.DirectedReadOptions directed_read_options = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions, - com.google.spanner.v1.DirectedReadOptions.Builder, - com.google.spanner.v1.DirectedReadOptionsOrBuilder> + com.google.spanner.v1.DirectedReadOptions, com.google.spanner.v1.DirectedReadOptions.Builder, com.google.spanner.v1.DirectedReadOptionsOrBuilder> getDirectedReadOptionsFieldBuilder() { if (directedReadOptionsBuilder_ == null) { - directedReadOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.DirectedReadOptions, - com.google.spanner.v1.DirectedReadOptions.Builder, - com.google.spanner.v1.DirectedReadOptionsOrBuilder>( - getDirectedReadOptions(), getParentForChildren(), isClean()); + directedReadOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.DirectedReadOptions, com.google.spanner.v1.DirectedReadOptions.Builder, com.google.spanner.v1.DirectedReadOptionsOrBuilder>( + getDirectedReadOptions(), + getParentForChildren(), + isClean()); directedReadOptions_ = null; } return directedReadOptionsBuilder_; } - private boolean dataBoostEnabled_; + private boolean dataBoostEnabled_ ; /** - * - * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request is executed with Spanner Data Boost independent compute resources.
@@ -2922,7 +2607,6 @@ public com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptions
      * 
* * bool data_boost_enabled = 15; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -2930,8 +2614,6 @@ public boolean getDataBoostEnabled() { return dataBoostEnabled_; } /** - * - * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request is executed with Spanner Data Boost independent compute resources.
@@ -2941,7 +2623,6 @@ public boolean getDataBoostEnabled() {
      * 
* * bool data_boost_enabled = 15; - * * @param value The dataBoostEnabled to set. * @return This builder for chaining. */ @@ -2953,8 +2634,6 @@ public Builder setDataBoostEnabled(boolean value) { return this; } /** - * - * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request is executed with Spanner Data Boost independent compute resources.
@@ -2964,7 +2643,6 @@ public Builder setDataBoostEnabled(boolean value) {
      * 
* * bool data_boost_enabled = 15; - * * @return This builder for chaining. */ public Builder clearDataBoostEnabled() { @@ -2973,9 +2651,9 @@ public Builder clearDataBoostEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2985,12 +2663,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ReadRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ReadRequest) private static final com.google.spanner.v1.ReadRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ReadRequest(); } @@ -2999,27 +2677,27 @@ public static com.google.spanner.v1.ReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRequest 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; @@ -3034,4 +2712,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java index da87d4db876..046fc4de3f5 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java @@ -1,87 +1,54 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface ReadRequestOrBuilder - extends +public interface ReadRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ReadRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
@@ -92,33 +59,26 @@ public interface ReadRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -129,13 +89,10 @@ public interface ReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * If non-empty, the name of an index on
    * [table][google.spanner.v1.ReadRequest.table]. This index is used instead of
@@ -146,69 +103,57 @@ public interface ReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the columns. */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of columns. */ int getColumnsCount(); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be
    * returned for each row matching this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString getColumnsBytes(int index); + com.google.protobuf.ByteString + getColumnsBytes(int index); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -229,13 +174,10 @@ public interface ReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -256,13 +198,10 @@ public interface ReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to
@@ -287,8 +226,6 @@ public interface ReadRequestOrBuilder
   com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
 
   /**
-   *
-   *
    * 
    * If greater than zero, only the first `limit` rows are yielded. If `limit`
    * is zero, the default is no limit. A limit cannot be specified if
@@ -296,14 +233,11 @@ public interface ReadRequestOrBuilder
    * 
* * int64 limit = 8; - * * @return The limit. */ long getLimit(); /** - * - * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -314,14 +248,11 @@ public interface ReadRequestOrBuilder
    * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -330,38 +261,29 @@ public interface ReadRequestOrBuilder
    * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ com.google.protobuf.ByteString getPartitionToken(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
@@ -371,32 +293,24 @@ public interface ReadRequestOrBuilder com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(); /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 14; - * * @return Whether the directedReadOptions field is set. */ boolean hasDirectedReadOptions(); /** - * - * *
    * Directed read options for this request.
    * 
* * .google.spanner.v1.DirectedReadOptions directed_read_options = 14; - * * @return The directedReadOptions. */ com.google.spanner.v1.DirectedReadOptions getDirectedReadOptions(); /** - * - * *
    * Directed read options for this request.
    * 
@@ -406,8 +320,6 @@ public interface ReadRequestOrBuilder com.google.spanner.v1.DirectedReadOptionsOrBuilder getDirectedReadOptionsOrBuilder(); /** - * - * *
    * If this is for a partitioned read and this field is set to `true`, the
    * request is executed with Spanner Data Boost independent compute resources.
@@ -417,7 +329,6 @@ public interface ReadRequestOrBuilder
    * 
* * bool data_boost_enabled = 15; - * * @return The dataBoostEnabled. */ boolean getDataBoostEnabled(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java similarity index 76% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java index ae316b92eaf..cbe9c90b8c2 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * Common request options for various APIs.
  * 
* * Protobuf type {@code google.spanner.v1.RequestOptions} */ -public final class RequestOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RequestOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.RequestOptions) RequestOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RequestOptions.newBuilder() to construct. private RequestOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RequestOptions() { priority_ = 0; requestTag_ = ""; @@ -46,28 +28,25 @@ private RequestOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RequestOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RequestOptions.class, - com.google.spanner.v1.RequestOptions.Builder.class); + com.google.spanner.v1.RequestOptions.class, com.google.spanner.v1.RequestOptions.Builder.class); } /** - * - * *
    * The relative priority for requests. Note that priority is not applicable
    * for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
@@ -89,10 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.spanner.v1.RequestOptions.Priority}
    */
-  public enum Priority implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Priority
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * `PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.
      * 
@@ -101,8 +79,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ PRIORITY_UNSPECIFIED(0), /** - * - * *
      * This specifies that the request is low priority.
      * 
@@ -111,8 +87,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ PRIORITY_LOW(1), /** - * - * *
      * This specifies that the request is medium priority.
      * 
@@ -121,8 +95,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ PRIORITY_MEDIUM(2), /** - * - * *
      * This specifies that the request is high priority.
      * 
@@ -134,8 +106,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * `PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.
      * 
@@ -144,8 +114,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This specifies that the request is low priority.
      * 
@@ -154,8 +122,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_LOW_VALUE = 1; /** - * - * *
      * This specifies that the request is medium priority.
      * 
@@ -164,8 +130,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_MEDIUM_VALUE = 2; /** - * - * *
      * This specifies that the request is high priority.
      * 
@@ -174,6 +138,7 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_HIGH_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -198,51 +163,50 @@ public static Priority valueOf(int value) { */ public static Priority forNumber(int value) { switch (value) { - case 0: - return PRIORITY_UNSPECIFIED; - case 1: - return PRIORITY_LOW; - case 2: - return PRIORITY_MEDIUM; - case 3: - return PRIORITY_HIGH; - default: - return null; + case 0: return PRIORITY_UNSPECIFIED; + case 1: return PRIORITY_LOW; + case 2: return PRIORITY_MEDIUM; + case 3: return PRIORITY_HIGH; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Priority findValueByNumber(int number) { - return Priority.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Priority> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Priority findValueByNumber(int number) { + return Priority.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.spanner.v1.RequestOptions.getDescriptor().getEnumTypes().get(0); } private static final Priority[] VALUES = values(); - public static Priority valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Priority valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -262,45 +226,33 @@ private Priority(int value) { public static final int PRIORITY_FIELD_NUMBER = 1; private int priority_ = 0; /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override - public int getPriorityValue() { + @java.lang.Override public int getPriorityValue() { return priority_; } /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The priority. */ - @java.lang.Override - public com.google.spanner.v1.RequestOptions.Priority getPriority() { - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); + @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getPriority() { + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } public static final int REQUEST_TAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestTag_ = ""; /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -315,7 +267,6 @@ public com.google.spanner.v1.RequestOptions.Priority getPriority() {
    * 
* * string request_tag = 2; - * * @return The requestTag. */ @java.lang.Override @@ -324,15 +275,14 @@ public java.lang.String getRequestTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestTag_ = s; return s; } } /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -347,15 +297,16 @@ public java.lang.String getRequestTag() {
    * 
* * string request_tag = 2; - * * @return The bytes for requestTag. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestTagBytes() { + public com.google.protobuf.ByteString + getRequestTagBytes() { java.lang.Object ref = requestTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestTag_ = b; return b; } else { @@ -364,12 +315,9 @@ public com.google.protobuf.ByteString getRequestTagBytes() { } public static final int TRANSACTION_TAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object transactionTag_ = ""; /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -385,7 +333,6 @@ public com.google.protobuf.ByteString getRequestTagBytes() {
    * 
* * string transaction_tag = 3; - * * @return The transactionTag. */ @java.lang.Override @@ -394,15 +341,14 @@ public java.lang.String getTransactionTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; } } /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -418,15 +364,16 @@ public java.lang.String getTransactionTag() {
    * 
* * string transaction_tag = 3; - * * @return The bytes for transactionTag. */ @java.lang.Override - public com.google.protobuf.ByteString getTransactionTagBytes() { + public com.google.protobuf.ByteString + getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -435,7 +382,6 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,9 +393,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (priority_ - != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (priority_ != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { output.writeEnum(1, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestTag_)) { @@ -467,9 +413,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (priority_ - != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, priority_); + if (priority_ != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestTag_); @@ -485,7 +431,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.RequestOptions)) { return super.equals(obj); @@ -493,8 +439,10 @@ public boolean equals(final java.lang.Object obj) { com.google.spanner.v1.RequestOptions other = (com.google.spanner.v1.RequestOptions) obj; if (priority_ != other.priority_) return false; - if (!getRequestTag().equals(other.getRequestTag())) return false; - if (!getTransactionTag().equals(other.getTransactionTag())) return false; + if (!getRequestTag() + .equals(other.getRequestTag())) return false; + if (!getTransactionTag() + .equals(other.getTransactionTag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -517,135 +465,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.RequestOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.RequestOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RequestOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.RequestOptions parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.RequestOptions parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RequestOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RequestOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RequestOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.RequestOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.RequestOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RequestOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.RequestOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common request options for various APIs.
    * 
* * Protobuf type {@code google.spanner.v1.RequestOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.RequestOptions) com.google.spanner.v1.RequestOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RequestOptions.class, - com.google.spanner.v1.RequestOptions.Builder.class); + com.google.spanner.v1.RequestOptions.class, com.google.spanner.v1.RequestOptions.Builder.class); } // Construct using com.google.spanner.v1.RequestOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -657,9 +602,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override @@ -679,9 +624,7 @@ public com.google.spanner.v1.RequestOptions build() { @java.lang.Override public com.google.spanner.v1.RequestOptions buildPartial() { com.google.spanner.v1.RequestOptions result = new com.google.spanner.v1.RequestOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -703,39 +646,38 @@ private void buildPartial0(com.google.spanner.v1.RequestOptions result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.RequestOptions) { - return mergeFrom((com.google.spanner.v1.RequestOptions) other); + return mergeFrom((com.google.spanner.v1.RequestOptions)other); } else { super.mergeFrom(other); return this; @@ -783,31 +725,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - priority_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - requestTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - transactionTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + priority_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + requestTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + transactionTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -817,34 +755,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int priority_ = 0; /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override - public int getPriorityValue() { + @java.lang.Override public int getPriorityValue() { return priority_; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @param value The enum numeric value on the wire for priority to set. * @return This builder for chaining. */ @@ -855,31 +785,24 @@ public Builder setPriorityValue(int value) { return this; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The priority. */ @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getPriority() { - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @param value The priority to set. * @return This builder for chaining. */ @@ -893,14 +816,11 @@ public Builder setPriority(com.google.spanner.v1.RequestOptions.Priority value) return this; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return This builder for chaining. */ public Builder clearPriority() { @@ -912,8 +832,6 @@ public Builder clearPriority() { private java.lang.Object requestTag_ = ""; /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -928,13 +846,13 @@ public Builder clearPriority() {
      * 
* * string request_tag = 2; - * * @return The requestTag. */ public java.lang.String getRequestTag() { java.lang.Object ref = requestTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestTag_ = s; return s; @@ -943,8 +861,6 @@ public java.lang.String getRequestTag() { } } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -959,14 +875,15 @@ public java.lang.String getRequestTag() {
      * 
* * string request_tag = 2; - * * @return The bytes for requestTag. */ - public com.google.protobuf.ByteString getRequestTagBytes() { + public com.google.protobuf.ByteString + getRequestTagBytes() { java.lang.Object ref = requestTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestTag_ = b; return b; } else { @@ -974,8 +891,6 @@ public com.google.protobuf.ByteString getRequestTagBytes() { } } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -990,22 +905,18 @@ public com.google.protobuf.ByteString getRequestTagBytes() {
      * 
* * string request_tag = 2; - * * @param value The requestTag to set. * @return This builder for chaining. */ - public Builder setRequestTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestTag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -1020,7 +931,6 @@ public Builder setRequestTag(java.lang.String value) {
      * 
* * string request_tag = 2; - * * @return This builder for chaining. */ public Builder clearRequestTag() { @@ -1030,8 +940,6 @@ public Builder clearRequestTag() { return this; } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -1046,14 +954,12 @@ public Builder clearRequestTag() {
      * 
* * string request_tag = 2; - * * @param value The bytes for requestTag to set. * @return This builder for chaining. */ - public Builder setRequestTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestTag_ = value; bitField0_ |= 0x00000002; @@ -1063,8 +969,6 @@ public Builder setRequestTagBytes(com.google.protobuf.ByteString value) { private java.lang.Object transactionTag_ = ""; /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1080,13 +984,13 @@ public Builder setRequestTagBytes(com.google.protobuf.ByteString value) {
      * 
* * string transaction_tag = 3; - * * @return The transactionTag. */ public java.lang.String getTransactionTag() { java.lang.Object ref = transactionTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; @@ -1095,8 +999,6 @@ public java.lang.String getTransactionTag() { } } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1112,14 +1014,15 @@ public java.lang.String getTransactionTag() {
      * 
* * string transaction_tag = 3; - * * @return The bytes for transactionTag. */ - public com.google.protobuf.ByteString getTransactionTagBytes() { + public com.google.protobuf.ByteString + getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -1127,8 +1030,6 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { } } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1144,22 +1045,18 @@ public com.google.protobuf.ByteString getTransactionTagBytes() {
      * 
* * string transaction_tag = 3; - * * @param value The transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } transactionTag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1175,7 +1072,6 @@ public Builder setTransactionTag(java.lang.String value) {
      * 
* * string transaction_tag = 3; - * * @return This builder for chaining. */ public Builder clearTransactionTag() { @@ -1185,8 +1081,6 @@ public Builder clearTransactionTag() { return this; } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1202,23 +1096,21 @@ public Builder clearTransactionTag() {
      * 
* * string transaction_tag = 3; - * * @param value The bytes for transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionTag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1228,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.RequestOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.RequestOptions) private static final com.google.spanner.v1.RequestOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.RequestOptions(); } @@ -1242,27 +1134,27 @@ public static com.google.spanner.v1.RequestOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RequestOptions 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestOptions 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; @@ -1277,4 +1169,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.RequestOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java similarity index 81% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java index abbc17924dc..83e5fc56afa 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface RequestOptionsOrBuilder - extends +public interface RequestOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.RequestOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ int getPriorityValue(); /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The priority. */ com.google.spanner.v1.RequestOptions.Priority getPriority(); /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -66,13 +42,10 @@ public interface RequestOptionsOrBuilder
    * 
* * string request_tag = 2; - * * @return The requestTag. */ java.lang.String getRequestTag(); /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -87,14 +60,12 @@ public interface RequestOptionsOrBuilder
    * 
* * string request_tag = 2; - * * @return The bytes for requestTag. */ - com.google.protobuf.ByteString getRequestTagBytes(); + com.google.protobuf.ByteString + getRequestTagBytes(); /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -110,13 +81,10 @@ public interface RequestOptionsOrBuilder
    * 
* * string transaction_tag = 3; - * * @return The transactionTag. */ java.lang.String getTransactionTag(); /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -132,8 +100,8 @@ public interface RequestOptionsOrBuilder
    * 
* * string transaction_tag = 3; - * * @return The bytes for transactionTag. */ - com.google.protobuf.ByteString getTransactionTagBytes(); + com.google.protobuf.ByteString + getTransactionTagBytes(); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java similarity index 79% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java index bbf2cac9a81..3fc8f3ecb30 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/result_set.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * Results from [Read][google.spanner.v1.Spanner.Read] or
  * [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
@@ -29,36 +12,35 @@
  *
  * Protobuf type {@code google.spanner.v1.ResultSet}
  */
-public final class ResultSet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResultSet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSet)
     ResultSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResultSet.newBuilder() to construct.
   private ResultSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResultSet() {
     rows_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResultSet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_ResultSet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.ResultSet.class, com.google.spanner.v1.ResultSet.Builder.class);
   }
@@ -67,14 +49,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int METADATA_FIELD_NUMBER = 1;
   private com.google.spanner.v1.ResultSetMetadata metadata_;
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -82,25 +61,18 @@ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadata getMetadata() { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
@@ -109,18 +81,13 @@ public com.google.spanner.v1.ResultSetMetadata getMetadata() { */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } public static final int ROWS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List rows_; /** - * - * *
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -137,8 +104,6 @@ public java.util.List getRowsList() {
     return rows_;
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -151,12 +116,11 @@ public java.util.List getRowsList() {
    * repeated .google.protobuf.ListValue rows = 2;
    */
   @java.lang.Override
-  public java.util.List getRowsOrBuilderList() {
+  public java.util.List 
+      getRowsOrBuilderList() {
     return rows_;
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -173,8 +137,6 @@ public int getRowsCount() {
     return rows_.size();
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -191,8 +153,6 @@ public com.google.protobuf.ListValue getRows(int index) {
     return rows_.get(index);
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -205,15 +165,14 @@ public com.google.protobuf.ListValue getRows(int index) {
    * repeated .google.protobuf.ListValue rows = 2;
    */
   @java.lang.Override
-  public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
+  public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
+      int index) {
     return rows_.get(index);
   }
 
   public static final int STATS_FIELD_NUMBER = 3;
   private com.google.spanner.v1.ResultSetStats stats_;
   /**
-   *
-   *
    * 
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -226,7 +185,6 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return Whether the stats field is set. */ @java.lang.Override @@ -234,8 +192,6 @@ public boolean hasStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -248,7 +204,6 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ @java.lang.Override @@ -256,8 +211,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_; } /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -277,7 +230,6 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -289,7 +241,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getMetadata());
     }
@@ -309,13 +262,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getMetadata());
     }
     for (int i = 0; i < rows_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, rows_.get(i));
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -325,7 +281,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.ResultSet)) {
       return super.equals(obj);
@@ -334,12 +290,15 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
-    if (!getRowsList().equals(other.getRowsList())) return false;
+    if (!getRowsList()
+        .equals(other.getRowsList())) return false;
     if (hasStats() != other.hasStats()) return false;
     if (hasStats()) {
-      if (!getStats().equals(other.getStats())) return false;
+      if (!getStats()
+          .equals(other.getStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -369,103 +328,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ResultSet parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ResultSet parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.ResultSet parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.ResultSet parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.ResultSet parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.ResultSet parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.ResultSet prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Results from [Read][google.spanner.v1.Spanner.Read] or
    * [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
@@ -473,20 +428,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ResultSet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSet)
       com.google.spanner.v1.ResultSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_ResultSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.ResultSet.class, com.google.spanner.v1.ResultSet.Builder.class);
     }
@@ -496,19 +450,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getMetadataFieldBuilder();
         getRowsFieldBuilder();
         getStatsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -534,9 +488,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_ResultSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
     }
 
     @java.lang.Override
@@ -557,9 +511,7 @@ public com.google.spanner.v1.ResultSet build() {
     public com.google.spanner.v1.ResultSet buildPartial() {
       com.google.spanner.v1.ResultSet result = new com.google.spanner.v1.ResultSet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -580,11 +532,15 @@ private void buildPartial0(com.google.spanner.v1.ResultSet result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null
+            ? metadata_
+            : metadataBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null
+            ? stats_
+            : statsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -594,39 +550,38 @@ private void buildPartial0(com.google.spanner.v1.ResultSet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.ResultSet) {
-        return mergeFrom((com.google.spanner.v1.ResultSet) other);
+        return mergeFrom((com.google.spanner.v1.ResultSet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -656,10 +611,9 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSet other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rowsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRowsFieldBuilder()
-                    : null;
+            rowsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRowsFieldBuilder() : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -694,37 +648,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.ListValue m =
-                    input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
-                if (rowsBuilder_ == null) {
-                  ensureRowsIsMutable();
-                  rows_.add(m);
-                } else {
-                  rowsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.ListValue m =
+                  input.readMessage(
+                      com.google.protobuf.ListValue.parser(),
+                      extensionRegistry);
+              if (rowsBuilder_ == null) {
+                ensureRowsIsMutable();
+                rows_.add(m);
+              } else {
+                rowsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStatsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              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) {
@@ -734,52 +690,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.v1.ResultSetMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetMetadata,
-            com.google.spanner.v1.ResultSetMetadata.Builder,
-            com.google.spanner.v1.ResultSetMetadataOrBuilder>
-        metadataBuilder_;
+        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ public com.google.spanner.v1.ResultSetMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -800,15 +742,14 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; */ - public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) { + public Builder setMetadata( + com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); } else { @@ -819,8 +760,6 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -829,9 +768,9 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build */ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && metadata_ != null - && metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + metadata_ != null && + metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; @@ -846,8 +785,6 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -865,8 +802,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -879,8 +814,6 @@ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() { return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -891,14 +824,11 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? + com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -906,40 +836,32 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { * .google.spanner.v1.ResultSetMetadata metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetMetadata, - com.google.spanner.v1.ResultSetMetadata.Builder, - com.google.spanner.v1.ResultSetMetadataOrBuilder> + com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetMetadata, - com.google.spanner.v1.ResultSetMetadata.Builder, - com.google.spanner.v1.ResultSetMetadataOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - private java.util.List rows_ = java.util.Collections.emptyList(); - + private java.util.List rows_ = + java.util.Collections.emptyList(); private void ensureRowsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.ListValue, - com.google.protobuf.ListValue.Builder, - com.google.protobuf.ListValueOrBuilder> - rowsBuilder_; + com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> rowsBuilder_; /** - * - * *
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -959,8 +881,6 @@ public java.util.List getRowsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -980,8 +900,6 @@ public int getRowsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1001,8 +919,6 @@ public com.google.protobuf.ListValue getRows(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1014,7 +930,8 @@ public com.google.protobuf.ListValue getRows(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder setRows(int index, com.google.protobuf.ListValue value) {
+    public Builder setRows(
+        int index, com.google.protobuf.ListValue value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1028,8 +945,6 @@ public Builder setRows(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1041,7 +956,8 @@ public Builder setRows(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder setRows(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setRows(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.set(index, builderForValue.build());
@@ -1052,8 +968,6 @@ public Builder setRows(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1079,8 +993,6 @@ public Builder addRows(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1092,7 +1004,8 @@ public Builder addRows(com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(int index, com.google.protobuf.ListValue value) {
+    public Builder addRows(
+        int index, com.google.protobuf.ListValue value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1106,8 +1019,6 @@ public Builder addRows(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1119,7 +1030,8 @@ public Builder addRows(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addRows(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(builderForValue.build());
@@ -1130,8 +1042,6 @@ public Builder addRows(com.google.protobuf.ListValue.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1143,7 +1053,8 @@ public Builder addRows(com.google.protobuf.ListValue.Builder builderForValue) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addRows(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(index, builderForValue.build());
@@ -1154,8 +1065,6 @@ public Builder addRows(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1167,10 +1076,12 @@ public Builder addRows(int index, com.google.protobuf.ListValue.Builder builderF
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addAllRows(java.lang.Iterable values) {
+    public Builder addAllRows(
+        java.lang.Iterable values) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, rows_);
         onChanged();
       } else {
         rowsBuilder_.addAllMessages(values);
@@ -1178,8 +1089,6 @@ public Builder addAllRows(java.lang.Iterable
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1202,8 +1111,6 @@ public Builder clearRows() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1226,8 +1133,6 @@ public Builder removeRows(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1239,12 +1144,11 @@ public Builder removeRows(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValue.Builder getRowsBuilder(int index) {
+    public com.google.protobuf.ListValue.Builder getRowsBuilder(
+        int index) {
       return getRowsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1256,16 +1160,14 @@ public com.google.protobuf.ListValue.Builder getRowsBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
+    public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
+        int index) {
       if (rowsBuilder_ == null) {
-        return rows_.get(index);
-      } else {
+        return rows_.get(index);  } else {
         return rowsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1277,7 +1179,8 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public java.util.List getRowsOrBuilderList() {
+    public java.util.List 
+         getRowsOrBuilderList() {
       if (rowsBuilder_ != null) {
         return rowsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1285,8 +1188,6 @@ public java.util.List getRowsO
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1299,11 +1200,10 @@ public java.util.List getRowsO
      * repeated .google.protobuf.ListValue rows = 2;
      */
     public com.google.protobuf.ListValue.Builder addRowsBuilder() {
-      return getRowsFieldBuilder().addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
+      return getRowsFieldBuilder().addBuilder(
+          com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1315,13 +1215,12 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder() {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValue.Builder addRowsBuilder(int index) {
-      return getRowsFieldBuilder()
-          .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
+    public com.google.protobuf.ListValue.Builder addRowsBuilder(
+        int index) {
+      return getRowsFieldBuilder().addBuilder(
+          index, com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1333,22 +1232,20 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public java.util.List getRowsBuilderList() {
+    public java.util.List 
+         getRowsBuilderList() {
       return getRowsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getRowsFieldBuilder() {
       if (rowsBuilder_ == null) {
-        rowsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                rows_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                rows_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1356,13 +1253,8 @@ public java.util.List getRowsBuilderList(
 
     private com.google.spanner.v1.ResultSetStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats,
-            com.google.spanner.v1.ResultSetStats.Builder,
-            com.google.spanner.v1.ResultSetStatsOrBuilder>
-        statsBuilder_;
+        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> statsBuilder_;
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1375,15 +1267,12 @@ public java.util.List getRowsBuilderList(
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1396,7 +1285,6 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -1407,8 +1295,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { } } /** - * - * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1436,8 +1322,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1451,7 +1335,8 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
      *
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
-    public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
+    public Builder setStats(
+        com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
       if (statsBuilder_ == null) {
         stats_ = builderForValue.build();
       } else {
@@ -1462,8 +1347,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1479,9 +1362,9 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
      */
     public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && stats_ != null
-            && stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          stats_ != null &&
+          stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
           getStatsBuilder().mergeFrom(value);
         } else {
           stats_ = value;
@@ -1496,8 +1379,6 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1522,8 +1403,6 @@ public Builder clearStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1543,8 +1422,6 @@ public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
       return getStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1562,12 +1439,11 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
       if (statsBuilder_ != null) {
         return statsBuilder_.getMessageOrBuilder();
       } else {
-        return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
+        return stats_ == null ?
+            com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
       }
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1582,24 +1458,21 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats,
-            com.google.spanner.v1.ResultSetStats.Builder,
-            com.google.spanner.v1.ResultSetStatsOrBuilder>
+        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> 
         getStatsFieldBuilder() {
       if (statsBuilder_ == null) {
-        statsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.ResultSetStats,
-                com.google.spanner.v1.ResultSetStats.Builder,
-                com.google.spanner.v1.ResultSetStatsOrBuilder>(
-                getStats(), getParentForChildren(), isClean());
+        statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder>(
+                getStats(),
+                getParentForChildren(),
+                isClean());
         stats_ = null;
       }
       return statsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1609,12 +1482,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSet)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSet)
   private static final com.google.spanner.v1.ResultSet DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSet();
   }
@@ -1623,27 +1496,27 @@ public static com.google.spanner.v1.ResultSet getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ResultSet 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ResultSet 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;
@@ -1658,4 +1531,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ResultSet getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
similarity index 76%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
index bddb81ea45d..1ec3db853d7 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
@@ -20,53 +5,48 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
  * 
* * Protobuf type {@code google.spanner.v1.ResultSetMetadata} */ -public final class ResultSetMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResultSetMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSetMetadata) ResultSetMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResultSetMetadata.newBuilder() to construct. private ResultSetMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResultSetMetadata() {} + private ResultSetMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResultSetMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetMetadata.class, - com.google.spanner.v1.ResultSetMetadata.Builder.class); + com.google.spanner.v1.ResultSetMetadata.class, com.google.spanner.v1.ResultSetMetadata.Builder.class); } private int bitField0_; public static final int ROW_TYPE_FIELD_NUMBER = 1; private com.google.spanner.v1.StructType rowType_; /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return Whether the rowType field is set. */ @java.lang.Override @@ -87,8 +66,6 @@ public boolean hasRowType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -101,7 +78,6 @@ public boolean hasRowType() {
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return The rowType. */ @java.lang.Override @@ -109,8 +85,6 @@ public com.google.spanner.v1.StructType getRowType() { return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; } /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -132,15 +106,12 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.spanner.v1.Transaction transaction_;
   /**
-   *
-   *
    * 
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -148,26 +119,19 @@ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.Transaction getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
@@ -177,16 +141,12 @@ public com.google.spanner.v1.Transaction getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.Transaction.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_;
   }
 
   public static final int UNDECLARED_PARAMETERS_FIELD_NUMBER = 3;
   private com.google.spanner.v1.StructType undeclaredParameters_;
   /**
-   *
-   *
    * 
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -201,7 +161,6 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return Whether the undeclaredParameters field is set. */ @java.lang.Override @@ -209,8 +168,6 @@ public boolean hasUndeclaredParameters() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -225,18 +182,13 @@ public boolean hasUndeclaredParameters() {
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return The undeclaredParameters. */ @java.lang.Override public com.google.spanner.v1.StructType getUndeclaredParameters() { - return undeclaredParameters_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : undeclaredParameters_; + return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_; } /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -254,13 +206,10 @@ public com.google.spanner.v1.StructType getUndeclaredParameters() {
    */
   @java.lang.Override
   public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilder() {
-    return undeclaredParameters_ == null
-        ? com.google.spanner.v1.StructType.getDefaultInstance()
-        : undeclaredParameters_;
+    return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -272,7 +221,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getRowType());
     }
@@ -292,14 +242,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRowType());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRowType());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getTransaction());
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUndeclaredParameters());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUndeclaredParameters());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -309,7 +261,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.ResultSetMetadata)) {
       return super.equals(obj);
@@ -318,15 +270,18 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRowType() != other.hasRowType()) return false;
     if (hasRowType()) {
-      if (!getRowType().equals(other.getRowType())) return false;
+      if (!getRowType()
+          .equals(other.getRowType())) return false;
     }
     if (hasTransaction() != other.hasTransaction()) return false;
     if (hasTransaction()) {
-      if (!getTransaction().equals(other.getTransaction())) return false;
+      if (!getTransaction()
+          .equals(other.getTransaction())) return false;
     }
     if (hasUndeclaredParameters() != other.hasUndeclaredParameters()) return false;
     if (hasUndeclaredParameters()) {
-      if (!getUndeclaredParameters().equals(other.getUndeclaredParameters())) return false;
+      if (!getUndeclaredParameters()
+          .equals(other.getUndeclaredParameters())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -356,127 +311,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ResultSetMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ResultSetMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.ResultSetMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
    * 
* * Protobuf type {@code google.spanner.v1.ResultSetMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSetMetadata) com.google.spanner.v1.ResultSetMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetMetadata.class, - com.google.spanner.v1.ResultSetMetadata.Builder.class); + com.google.spanner.v1.ResultSetMetadata.class, com.google.spanner.v1.ResultSetMetadata.Builder.class); } // Construct using com.google.spanner.v1.ResultSetMetadata.newBuilder() @@ -484,19 +432,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRowTypeFieldBuilder(); getTransactionFieldBuilder(); getUndeclaredParametersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override @@ -541,11 +489,8 @@ public com.google.spanner.v1.ResultSetMetadata build() { @java.lang.Override public com.google.spanner.v1.ResultSetMetadata buildPartial() { - com.google.spanner.v1.ResultSetMetadata result = - new com.google.spanner.v1.ResultSetMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ResultSetMetadata result = new com.google.spanner.v1.ResultSetMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -554,19 +499,21 @@ private void buildPartial0(com.google.spanner.v1.ResultSetMetadata result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rowType_ = rowTypeBuilder_ == null ? rowType_ : rowTypeBuilder_.build(); + result.rowType_ = rowTypeBuilder_ == null + ? rowType_ + : rowTypeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.undeclaredParameters_ = - undeclaredParametersBuilder_ == null - ? undeclaredParameters_ - : undeclaredParametersBuilder_.build(); + result.undeclaredParameters_ = undeclaredParametersBuilder_ == null + ? undeclaredParameters_ + : undeclaredParametersBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -576,39 +523,38 @@ private void buildPartial0(com.google.spanner.v1.ResultSetMetadata result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.ResultSetMetadata) { - return mergeFrom((com.google.spanner.v1.ResultSetMetadata) other); + return mergeFrom((com.google.spanner.v1.ResultSetMetadata)other); } else { super.mergeFrom(other); return this; @@ -652,32 +598,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRowTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getUndeclaredParametersFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRowTypeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUndeclaredParametersFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -687,18 +634,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.spanner.v1.StructType rowType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.StructType, - com.google.spanner.v1.StructType.Builder, - com.google.spanner.v1.StructTypeOrBuilder> - rowTypeBuilder_; + com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> rowTypeBuilder_; /** - * - * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -711,15 +652,12 @@ public Builder mergeFrom(
      * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return Whether the rowType field is set. */ public boolean hasRowType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -732,7 +670,6 @@ public boolean hasRowType() {
      * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return The rowType. */ public com.google.spanner.v1.StructType getRowType() { @@ -743,8 +680,6 @@ public com.google.spanner.v1.StructType getRowType() { } } /** - * - * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -772,8 +707,6 @@ public Builder setRowType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -787,7 +720,8 @@ public Builder setRowType(com.google.spanner.v1.StructType value) {
      *
      * .google.spanner.v1.StructType row_type = 1;
      */
-    public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForValue) {
+    public Builder setRowType(
+        com.google.spanner.v1.StructType.Builder builderForValue) {
       if (rowTypeBuilder_ == null) {
         rowType_ = builderForValue.build();
       } else {
@@ -798,8 +732,6 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -815,9 +747,9 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal
      */
     public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       if (rowTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && rowType_ != null
-            && rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          rowType_ != null &&
+          rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getRowTypeBuilder().mergeFrom(value);
         } else {
           rowType_ = value;
@@ -832,8 +764,6 @@ public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -858,8 +788,6 @@ public Builder clearRowType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -879,8 +807,6 @@ public com.google.spanner.v1.StructType.Builder getRowTypeBuilder() {
       return getRowTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -898,12 +824,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
       if (rowTypeBuilder_ != null) {
         return rowTypeBuilder_.getMessageOrBuilder();
       } else {
-        return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_;
+        return rowType_ == null ?
+            com.google.spanner.v1.StructType.getDefaultInstance() : rowType_;
       }
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -918,17 +843,14 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
      * .google.spanner.v1.StructType row_type = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
         getRowTypeFieldBuilder() {
       if (rowTypeBuilder_ == null) {
-        rowTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.StructType,
-                com.google.spanner.v1.StructType.Builder,
-                com.google.spanner.v1.StructTypeOrBuilder>(
-                getRowType(), getParentForChildren(), isClean());
+        rowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
+                getRowType(),
+                getParentForChildren(),
+                isClean());
         rowType_ = null;
       }
       return rowTypeBuilder_;
@@ -936,49 +858,36 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
 
     private com.google.spanner.v1.Transaction transaction_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Transaction,
-            com.google.spanner.v1.Transaction.Builder,
-            com.google.spanner.v1.TransactionOrBuilder>
-        transactionBuilder_;
+        com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> transactionBuilder_;
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.Transaction getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1000,8 +909,6 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1009,7 +916,8 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) {
      *
      * .google.spanner.v1.Transaction transaction = 2;
      */
-    public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderForValue) {
+    public Builder setTransaction(
+        com.google.spanner.v1.Transaction.Builder builderForValue) {
       if (transactionBuilder_ == null) {
         transaction_ = builderForValue.build();
       } else {
@@ -1020,8 +928,6 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1031,9 +937,9 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF
      */
     public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1048,8 +954,6 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1068,8 +972,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1083,8 +985,6 @@ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() {
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1096,14 +996,11 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.Transaction.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1112,17 +1009,14 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
      * .google.spanner.v1.Transaction transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Transaction,
-            com.google.spanner.v1.Transaction.Builder,
-            com.google.spanner.v1.TransactionOrBuilder>
+        com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Transaction,
-                com.google.spanner.v1.Transaction.Builder,
-                com.google.spanner.v1.TransactionOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1130,13 +1024,8 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
 
     private com.google.spanner.v1.StructType undeclaredParameters_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
-        undeclaredParametersBuilder_;
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> undeclaredParametersBuilder_;
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1151,15 +1040,12 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
      * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return Whether the undeclaredParameters field is set. */ public boolean hasUndeclaredParameters() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1174,21 +1060,16 @@ public boolean hasUndeclaredParameters() {
      * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return The undeclaredParameters. */ public com.google.spanner.v1.StructType getUndeclaredParameters() { if (undeclaredParametersBuilder_ == null) { - return undeclaredParameters_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : undeclaredParameters_; + return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_; } else { return undeclaredParametersBuilder_.getMessage(); } } /** - * - * *
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1218,8 +1099,6 @@ public Builder setUndeclaredParameters(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1247,8 +1126,6 @@ public Builder setUndeclaredParameters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1266,9 +1143,9 @@ public Builder setUndeclaredParameters(
      */
     public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value) {
       if (undeclaredParametersBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && undeclaredParameters_ != null
-            && undeclaredParameters_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          undeclaredParameters_ != null &&
+          undeclaredParameters_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getUndeclaredParametersBuilder().mergeFrom(value);
         } else {
           undeclaredParameters_ = value;
@@ -1283,8 +1160,6 @@ public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1311,8 +1186,6 @@ public Builder clearUndeclaredParameters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1334,8 +1207,6 @@ public com.google.spanner.v1.StructType.Builder getUndeclaredParametersBuilder()
       return getUndeclaredParametersFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1355,14 +1226,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilde
       if (undeclaredParametersBuilder_ != null) {
         return undeclaredParametersBuilder_.getMessageOrBuilder();
       } else {
-        return undeclaredParameters_ == null
-            ? com.google.spanner.v1.StructType.getDefaultInstance()
-            : undeclaredParameters_;
+        return undeclaredParameters_ == null ?
+            com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_;
       }
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1379,24 +1247,21 @@ public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilde
      * .google.spanner.v1.StructType undeclared_parameters = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
         getUndeclaredParametersFieldBuilder() {
       if (undeclaredParametersBuilder_ == null) {
-        undeclaredParametersBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.StructType,
-                com.google.spanner.v1.StructType.Builder,
-                com.google.spanner.v1.StructTypeOrBuilder>(
-                getUndeclaredParameters(), getParentForChildren(), isClean());
+        undeclaredParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
+                getUndeclaredParameters(),
+                getParentForChildren(),
+                isClean());
         undeclaredParameters_ = null;
       }
       return undeclaredParametersBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1406,12 +1271,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSetMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSetMetadata)
   private static final com.google.spanner.v1.ResultSetMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSetMetadata();
   }
@@ -1420,27 +1285,27 @@ public static com.google.spanner.v1.ResultSetMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ResultSetMetadata 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ResultSetMetadata 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;
@@ -1455,4 +1320,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ResultSetMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
index 8d80a5274aa..923300a63c7 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface ResultSetMetadataOrBuilder
-    extends
+public interface ResultSetMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSetMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -39,13 +21,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return Whether the rowType field is set. */ boolean hasRowType(); /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -58,13 +37,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return The rowType. */ com.google.spanner.v1.StructType getRowType(); /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -81,34 +57,26 @@ public interface ResultSetMetadataOrBuilder
   com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.Transaction getTransaction(); /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
@@ -119,8 +87,6 @@ public interface ResultSetMetadataOrBuilder
   com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -135,13 +101,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return Whether the undeclaredParameters field is set. */ boolean hasUndeclaredParameters(); /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -156,13 +119,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return The undeclaredParameters. */ com.google.spanner.v1.StructType getUndeclaredParameters(); /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
index feda8daaaee..03d24389e37 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface ResultSetOrBuilder
-    extends
+public interface ResultSetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSet)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ com.google.spanner.v1.ResultSetMetadata getMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
@@ -60,8 +36,6 @@ public interface ResultSetOrBuilder com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder(); /** - * - * *
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -73,10 +47,9 @@ public interface ResultSetOrBuilder
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  java.util.List getRowsList();
+  java.util.List 
+      getRowsList();
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -90,8 +63,6 @@ public interface ResultSetOrBuilder
    */
   com.google.protobuf.ListValue getRows(int index);
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -105,8 +76,6 @@ public interface ResultSetOrBuilder
    */
   int getRowsCount();
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -118,10 +87,9 @@ public interface ResultSetOrBuilder
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  java.util.List getRowsOrBuilderList();
+  java.util.List 
+      getRowsOrBuilderList();
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -133,11 +101,10 @@ public interface ResultSetOrBuilder
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index);
+  com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -150,13 +117,10 @@ public interface ResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -169,13 +133,10 @@ public interface ResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ com.google.spanner.v1.ResultSetStats getStats(); /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java
new file mode 100644
index 00000000000..af318b47d17
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java
@@ -0,0 +1,116 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/result_set.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.spanner.v1;
+
+public final class ResultSetProto {
+  private ResultSetProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_ResultSet_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSet_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PartialResultSet_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_ResultSetMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_ResultSetStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSetStats_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\"google/spanner/v1/result_set.proto\022\021go" +
+      "ogle.spanner.v1\032\034google/protobuf/struct." +
+      "proto\032\"google/spanner/v1/query_plan.prot" +
+      "o\032#google/spanner/v1/transaction.proto\032\034" +
+      "google/spanner/v1/type.proto\"\237\001\n\tResultS" +
+      "et\0226\n\010metadata\030\001 \001(\0132$.google.spanner.v1" +
+      ".ResultSetMetadata\022(\n\004rows\030\002 \003(\0132\032.googl" +
+      "e.protobuf.ListValue\0220\n\005stats\030\003 \001(\0132!.go" +
+      "ogle.spanner.v1.ResultSetStats\"\321\001\n\020Parti" +
+      "alResultSet\0226\n\010metadata\030\001 \001(\0132$.google.s" +
+      "panner.v1.ResultSetMetadata\022&\n\006values\030\002 " +
+      "\003(\0132\026.google.protobuf.Value\022\025\n\rchunked_v" +
+      "alue\030\003 \001(\010\022\024\n\014resume_token\030\004 \001(\014\0220\n\005stat" +
+      "s\030\005 \001(\0132!.google.spanner.v1.ResultSetSta" +
+      "ts\"\267\001\n\021ResultSetMetadata\022/\n\010row_type\030\001 \001" +
+      "(\0132\035.google.spanner.v1.StructType\0223\n\013tra" +
+      "nsaction\030\002 \001(\0132\036.google.spanner.v1.Trans" +
+      "action\022<\n\025undeclared_parameters\030\003 \001(\0132\035." +
+      "google.spanner.v1.StructType\"\271\001\n\016ResultS" +
+      "etStats\0220\n\nquery_plan\030\001 \001(\0132\034.google.spa" +
+      "nner.v1.QueryPlan\022,\n\013query_stats\030\002 \001(\0132\027" +
+      ".google.protobuf.Struct\022\031\n\017row_count_exa" +
+      "ct\030\003 \001(\003H\000\022\037\n\025row_count_lower_bound\030\004 \001(" +
+      "\003H\000B\013\n\trow_countB\264\001\n\025com.google.spanner." +
+      "v1B\016ResultSetProtoP\001Z5cloud.google.com/g" +
+      "o/spanner/apiv1/spannerpb;spannerpb\370\001\001\252\002" +
+      "\027Google.Cloud.Spanner.V1\312\002\027Google\\Cloud\\" +
+      "Spanner\\V1\352\002\032Google::Cloud::Spanner::V1b" +
+      "\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.spanner.v1.QueryPlanProto.getDescriptor(),
+          com.google.spanner.v1.TransactionProto.getDescriptor(),
+          com.google.spanner.v1.TypeProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_ResultSet_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_ResultSet_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_ResultSet_descriptor,
+        new java.lang.String[] { "Metadata", "Rows", "Stats", });
+    internal_static_google_spanner_v1_PartialResultSet_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PartialResultSet_descriptor,
+        new java.lang.String[] { "Metadata", "Values", "ChunkedValue", "ResumeToken", "Stats", });
+    internal_static_google_spanner_v1_ResultSetMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_ResultSetMetadata_descriptor,
+        new java.lang.String[] { "RowType", "Transaction", "UndeclaredParameters", });
+    internal_static_google_spanner_v1_ResultSetStats_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_ResultSetStats_descriptor,
+        new java.lang.String[] { "QueryPlan", "QueryStats", "RowCountExact", "RowCountLowerBound", "RowCount", });
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.spanner.v1.QueryPlanProto.getDescriptor();
+    com.google.spanner.v1.TransactionProto.getDescriptor();
+    com.google.spanner.v1.TypeProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
similarity index 74%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
index 3353fca6f38..e39bcd8d5f7 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
@@ -20,62 +5,55 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
  * 
* * Protobuf type {@code google.spanner.v1.ResultSetStats} */ -public final class ResultSetStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResultSetStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSetStats) ResultSetStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResultSetStats.newBuilder() to construct. private ResultSetStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResultSetStats() {} + private ResultSetStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResultSetStats(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetStats.class, - com.google.spanner.v1.ResultSetStats.Builder.class); + com.google.spanner.v1.ResultSetStats.class, com.google.spanner.v1.ResultSetStats.Builder.class); } private int bitField0_; private int rowCountCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object rowCount_; - public enum RowCountCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROW_COUNT_EXACT(3), ROW_COUNT_LOWER_BOUND(4), ROWCOUNT_NOT_SET(0); private final int value; - private RowCountCase(int value) { this.value = value; } @@ -91,37 +69,31 @@ public static RowCountCase valueOf(int value) { public static RowCountCase forNumber(int value) { switch (value) { - case 3: - return ROW_COUNT_EXACT; - case 4: - return ROW_COUNT_LOWER_BOUND; - case 0: - return ROWCOUNT_NOT_SET; - default: - return null; + case 3: return ROW_COUNT_EXACT; + case 4: return ROW_COUNT_LOWER_BOUND; + case 0: return ROWCOUNT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RowCountCase getRowCountCase() { - return RowCountCase.forNumber(rowCountCase_); + public RowCountCase + getRowCountCase() { + return RowCountCase.forNumber( + rowCountCase_); } public static final int QUERY_PLAN_FIELD_NUMBER = 1; private com.google.spanner.v1.QueryPlan queryPlan_; /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return Whether the queryPlan field is set. */ @java.lang.Override @@ -129,14 +101,11 @@ public boolean hasQueryPlan() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return The queryPlan. */ @java.lang.Override @@ -144,8 +113,6 @@ public com.google.spanner.v1.QueryPlan getQueryPlan() { return queryPlan_ == null ? com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; } /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
@@ -160,8 +127,6 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { public static final int QUERY_STATS_FIELD_NUMBER = 2; private com.google.protobuf.Struct queryStats_; /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -175,7 +140,6 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() {
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return Whether the queryStats field is set. */ @java.lang.Override @@ -183,8 +147,6 @@ public boolean hasQueryStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -198,7 +160,6 @@ public boolean hasQueryStats() {
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return The queryStats. */ @java.lang.Override @@ -206,8 +167,6 @@ public com.google.protobuf.Struct getQueryStats() { return queryStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : queryStats_; } /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -229,14 +188,11 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
 
   public static final int ROW_COUNT_EXACT_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return Whether the rowCountExact field is set. */ @java.lang.Override @@ -244,14 +200,11 @@ public boolean hasRowCountExact() { return rowCountCase_ == 3; } /** - * - * *
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return The rowCountExact. */ @java.lang.Override @@ -264,15 +217,12 @@ public long getRowCountExact() { public static final int ROW_COUNT_LOWER_BOUND_FIELD_NUMBER = 4; /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return Whether the rowCountLowerBound field is set. */ @java.lang.Override @@ -280,15 +230,12 @@ public boolean hasRowCountLowerBound() { return rowCountCase_ == 4; } /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return The rowCountLowerBound. */ @java.lang.Override @@ -300,7 +247,6 @@ public long getRowCountLowerBound() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +258,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getQueryPlan()); } @@ -320,10 +267,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, getQueryStats()); } if (rowCountCase_ == 3) { - output.writeInt64(3, (long) ((java.lang.Long) rowCount_)); + output.writeInt64( + 3, (long)((java.lang.Long) rowCount_)); } if (rowCountCase_ == 4) { - output.writeInt64(4, (long) ((java.lang.Long) rowCount_)); + output.writeInt64( + 4, (long)((java.lang.Long) rowCount_)); } getUnknownFields().writeTo(output); } @@ -335,20 +284,22 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueryPlan()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getQueryPlan()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueryStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueryStats()); } if (rowCountCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 3, (long) ((java.lang.Long) rowCount_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 3, (long)((java.lang.Long) rowCount_)); } if (rowCountCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 4, (long) ((java.lang.Long) rowCount_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 4, (long)((java.lang.Long) rowCount_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -358,7 +309,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ResultSetStats)) { return super.equals(obj); @@ -367,19 +318,23 @@ public boolean equals(final java.lang.Object obj) { if (hasQueryPlan() != other.hasQueryPlan()) return false; if (hasQueryPlan()) { - if (!getQueryPlan().equals(other.getQueryPlan())) return false; + if (!getQueryPlan() + .equals(other.getQueryPlan())) return false; } if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { - if (!getQueryStats().equals(other.getQueryStats())) return false; + if (!getQueryStats() + .equals(other.getQueryStats())) return false; } if (!getRowCountCase().equals(other.getRowCountCase())) return false; switch (rowCountCase_) { case 3: - if (getRowCountExact() != other.getRowCountExact()) return false; + if (getRowCountExact() + != other.getRowCountExact()) return false; break; case 4: - if (getRowCountLowerBound() != other.getRowCountLowerBound()) return false; + if (getRowCountLowerBound() + != other.getRowCountLowerBound()) return false; break; case 0: default: @@ -406,11 +361,13 @@ public int hashCode() { switch (rowCountCase_) { case 3: hash = (37 * hash) + ROW_COUNT_EXACT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCountExact()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCountExact()); break; case 4: hash = (37 * hash) + ROW_COUNT_LOWER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCountLowerBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCountLowerBound()); break; case 0: default: @@ -420,126 +377,120 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ResultSetStats parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ResultSetStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.ResultSetStats parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.ResultSetStats parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ResultSetStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.ResultSetStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.ResultSetStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ResultSetStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ResultSetStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
    * 
* * Protobuf type {@code google.spanner.v1.ResultSetStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSetStats) com.google.spanner.v1.ResultSetStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetStats.class, - com.google.spanner.v1.ResultSetStats.Builder.class); + com.google.spanner.v1.ResultSetStats.class, com.google.spanner.v1.ResultSetStats.Builder.class); } // Construct using com.google.spanner.v1.ResultSetStats.newBuilder() @@ -547,18 +498,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueryPlanFieldBuilder(); getQueryStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -579,9 +530,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override @@ -601,9 +552,7 @@ public com.google.spanner.v1.ResultSetStats build() { @java.lang.Override public com.google.spanner.v1.ResultSetStats buildPartial() { com.google.spanner.v1.ResultSetStats result = new com.google.spanner.v1.ResultSetStats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -613,11 +562,15 @@ private void buildPartial0(com.google.spanner.v1.ResultSetStats result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.queryPlan_ = queryPlanBuilder_ == null ? queryPlan_ : queryPlanBuilder_.build(); + result.queryPlan_ = queryPlanBuilder_ == null + ? queryPlan_ + : queryPlanBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.queryStats_ = queryStatsBuilder_ == null ? queryStats_ : queryStatsBuilder_.build(); + result.queryStats_ = queryStatsBuilder_ == null + ? queryStats_ + : queryStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -632,39 +585,38 @@ private void buildPartialOneofs(com.google.spanner.v1.ResultSetStats result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.ResultSetStats) { - return mergeFrom((com.google.spanner.v1.ResultSetStats) other); + return mergeFrom((com.google.spanner.v1.ResultSetStats)other); } else { super.mergeFrom(other); return this; @@ -680,20 +632,17 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSetStats other) { mergeQueryStats(other.getQueryStats()); } switch (other.getRowCountCase()) { - case ROW_COUNT_EXACT: - { - setRowCountExact(other.getRowCountExact()); - break; - } - case ROW_COUNT_LOWER_BOUND: - { - setRowCountLowerBound(other.getRowCountLowerBound()); - break; - } - case ROWCOUNT_NOT_SET: - { - break; - } + case ROW_COUNT_EXACT: { + setRowCountExact(other.getRowCountExact()); + break; + } + case ROW_COUNT_LOWER_BOUND: { + setRowCountLowerBound(other.getRowCountLowerBound()); + break; + } + case ROWCOUNT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -721,37 +670,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getQueryPlanFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getQueryStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - rowCount_ = input.readInt64(); - rowCountCase_ = 3; - break; - } // case 24 - case 32: - { - rowCount_ = input.readInt64(); - rowCountCase_ = 4; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getQueryPlanFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getQueryStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + rowCount_ = input.readInt64(); + rowCountCase_ = 3; + break; + } // case 24 + case 32: { + rowCount_ = input.readInt64(); + rowCountCase_ = 4; + break; + } // case 32 + 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) { @@ -761,12 +709,12 @@ public Builder mergeFrom( } // finally return this; } - private int rowCountCase_ = 0; private java.lang.Object rowCount_; - - public RowCountCase getRowCountCase() { - return RowCountCase.forNumber(rowCountCase_); + public RowCountCase + getRowCountCase() { + return RowCountCase.forNumber( + rowCountCase_); } public Builder clearRowCount() { @@ -780,47 +728,34 @@ public Builder clearRowCount() { private com.google.spanner.v1.QueryPlan queryPlan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, - com.google.spanner.v1.QueryPlan.Builder, - com.google.spanner.v1.QueryPlanOrBuilder> - queryPlanBuilder_; + com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder> queryPlanBuilder_; /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return Whether the queryPlan field is set. */ public boolean hasQueryPlan() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return The queryPlan. */ public com.google.spanner.v1.QueryPlan getQueryPlan() { if (queryPlanBuilder_ == null) { - return queryPlan_ == null - ? com.google.spanner.v1.QueryPlan.getDefaultInstance() - : queryPlan_; + return queryPlan_ == null ? com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; } else { return queryPlanBuilder_.getMessage(); } } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -841,15 +776,14 @@ public Builder setQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; */ - public Builder setQueryPlan(com.google.spanner.v1.QueryPlan.Builder builderForValue) { + public Builder setQueryPlan( + com.google.spanner.v1.QueryPlan.Builder builderForValue) { if (queryPlanBuilder_ == null) { queryPlan_ = builderForValue.build(); } else { @@ -860,8 +794,6 @@ public Builder setQueryPlan(com.google.spanner.v1.QueryPlan.Builder builderForVa return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -870,9 +802,9 @@ public Builder setQueryPlan(com.google.spanner.v1.QueryPlan.Builder builderForVa */ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { if (queryPlanBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && queryPlan_ != null - && queryPlan_ != com.google.spanner.v1.QueryPlan.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + queryPlan_ != null && + queryPlan_ != com.google.spanner.v1.QueryPlan.getDefaultInstance()) { getQueryPlanBuilder().mergeFrom(value); } else { queryPlan_ = value; @@ -887,8 +819,6 @@ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -906,8 +836,6 @@ public Builder clearQueryPlan() { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -920,8 +848,6 @@ public com.google.spanner.v1.QueryPlan.Builder getQueryPlanBuilder() { return getQueryPlanFieldBuilder().getBuilder(); } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -932,14 +858,11 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { if (queryPlanBuilder_ != null) { return queryPlanBuilder_.getMessageOrBuilder(); } else { - return queryPlan_ == null - ? com.google.spanner.v1.QueryPlan.getDefaultInstance() - : queryPlan_; + return queryPlan_ == null ? + com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; } } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -947,17 +870,14 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { * .google.spanner.v1.QueryPlan query_plan = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, - com.google.spanner.v1.QueryPlan.Builder, - com.google.spanner.v1.QueryPlanOrBuilder> + com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder> getQueryPlanFieldBuilder() { if (queryPlanBuilder_ == null) { - queryPlanBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, - com.google.spanner.v1.QueryPlan.Builder, - com.google.spanner.v1.QueryPlanOrBuilder>( - getQueryPlan(), getParentForChildren(), isClean()); + queryPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder>( + getQueryPlan(), + getParentForChildren(), + isClean()); queryPlan_ = null; } return queryPlanBuilder_; @@ -965,13 +885,8 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { private com.google.protobuf.Struct queryStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - queryStatsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> queryStatsBuilder_; /** - * - * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -985,15 +900,12 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() {
      * 
* * .google.protobuf.Struct query_stats = 2; - * * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1007,7 +919,6 @@ public boolean hasQueryStats() {
      * 
* * .google.protobuf.Struct query_stats = 2; - * * @return The queryStats. */ public com.google.protobuf.Struct getQueryStats() { @@ -1018,8 +929,6 @@ public com.google.protobuf.Struct getQueryStats() { } } /** - * - * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1048,8 +957,6 @@ public Builder setQueryStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1064,7 +971,8 @@ public Builder setQueryStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct query_stats = 2;
      */
-    public Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setQueryStats(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (queryStatsBuilder_ == null) {
         queryStats_ = builderForValue.build();
       } else {
@@ -1075,8 +983,6 @@ public Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1093,9 +999,9 @@ public Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue)
      */
     public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       if (queryStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && queryStats_ != null
-            && queryStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          queryStats_ != null &&
+          queryStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getQueryStatsBuilder().mergeFrom(value);
         } else {
           queryStats_ = value;
@@ -1110,8 +1016,6 @@ public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1137,8 +1041,6 @@ public Builder clearQueryStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1159,8 +1061,6 @@ public com.google.protobuf.Struct.Builder getQueryStatsBuilder() {
       return getQueryStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1179,12 +1079,11 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
       if (queryStatsBuilder_ != null) {
         return queryStatsBuilder_.getMessageOrBuilder();
       } else {
-        return queryStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : queryStats_;
+        return queryStats_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : queryStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1200,45 +1099,36 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
      * .google.protobuf.Struct query_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getQueryStatsFieldBuilder() {
       if (queryStatsBuilder_ == null) {
-        queryStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getQueryStats(), getParentForChildren(), isClean());
+        queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getQueryStats(),
+                getParentForChildren(),
+                isClean());
         queryStats_ = null;
       }
       return queryStatsBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @return Whether the rowCountExact field is set. */ public boolean hasRowCountExact() { return rowCountCase_ == 3; } /** - * - * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @return The rowCountExact. */ public long getRowCountExact() { @@ -1248,14 +1138,11 @@ public long getRowCountExact() { return 0L; } /** - * - * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @param value The rowCountExact to set. * @return This builder for chaining. */ @@ -1267,14 +1154,11 @@ public Builder setRowCountExact(long value) { return this; } /** - * - * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @return This builder for chaining. */ public Builder clearRowCountExact() { @@ -1287,30 +1171,24 @@ public Builder clearRowCountExact() { } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @return Whether the rowCountLowerBound field is set. */ public boolean hasRowCountLowerBound() { return rowCountCase_ == 4; } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @return The rowCountLowerBound. */ public long getRowCountLowerBound() { @@ -1320,15 +1198,12 @@ public long getRowCountLowerBound() { return 0L; } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @param value The rowCountLowerBound to set. * @return This builder for chaining. */ @@ -1340,15 +1215,12 @@ public Builder setRowCountLowerBound(long value) { return this; } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @return This builder for chaining. */ public Builder clearRowCountLowerBound() { @@ -1359,9 +1231,9 @@ public Builder clearRowCountLowerBound() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1371,12 +1243,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSetStats) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSetStats) private static final com.google.spanner.v1.ResultSetStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSetStats(); } @@ -1385,27 +1257,27 @@ public static com.google.spanner.v1.ResultSetStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResultSetStats 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResultSetStats 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; @@ -1420,4 +1292,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ResultSetStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java index 687f56a5d42..300f34389ce 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/result_set.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface ResultSetStatsOrBuilder - extends +public interface ResultSetStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSetStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return Whether the queryPlan field is set. */ boolean hasQueryPlan(); /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return The queryPlan. */ com.google.spanner.v1.QueryPlan getQueryPlan(); /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
@@ -60,8 +36,6 @@ public interface ResultSetStatsOrBuilder com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder(); /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -75,13 +49,10 @@ public interface ResultSetStatsOrBuilder
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return Whether the queryStats field is set. */ boolean hasQueryStats(); /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -95,13 +66,10 @@ public interface ResultSetStatsOrBuilder
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return The queryStats. */ com.google.protobuf.Struct getQueryStats(); /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -119,53 +87,41 @@ public interface ResultSetStatsOrBuilder
   com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return Whether the rowCountExact field is set. */ boolean hasRowCountExact(); /** - * - * *
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return The rowCountExact. */ long getRowCountExact(); /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return Whether the rowCountLowerBound field is set. */ boolean hasRowCountLowerBound(); /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return The rowCountLowerBound. */ long getRowCountLowerBound(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java similarity index 65% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java index 765b082ef60..d1a6ab575c8 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * The request for [Rollback][google.spanner.v1.Spanner.Rollback].
  * 
* * Protobuf type {@code google.spanner.v1.RollbackRequest} */ -public final class RollbackRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RollbackRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.RollbackRequest) RollbackRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RollbackRequest.newBuilder() to construct. private RollbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RollbackRequest() { session_ = ""; transactionId_ = com.google.protobuf.ByteString.EMPTY; @@ -45,40 +27,33 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RollbackRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RollbackRequest.class, - com.google.spanner.v1.RollbackRequest.Builder.class); + com.google.spanner.v1.RollbackRequest.class, com.google.spanner.v1.RollbackRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the transaction to roll back is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -87,31 +62,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the transaction to roll back is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -122,14 +95,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transactionId. */ @java.lang.Override @@ -138,7 +108,6 @@ public com.google.protobuf.ByteString getTransactionId() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -170,7 +140,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (!transactionId_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transactionId_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, transactionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,15 +151,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.RollbackRequest)) { return super.equals(obj); } com.google.spanner.v1.RollbackRequest other = (com.google.spanner.v1.RollbackRequest) obj; - if (!getSession().equals(other.getSession())) return false; - if (!getTransactionId().equals(other.getTransactionId())) return false; + if (!getSession() + .equals(other.getSession())) return false; + if (!getTransactionId() + .equals(other.getTransactionId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -209,135 +182,132 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.RollbackRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.RollbackRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.RollbackRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.RollbackRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RollbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.RollbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [Rollback][google.spanner.v1.Spanner.Rollback].
    * 
* * Protobuf type {@code google.spanner.v1.RollbackRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.RollbackRequest) com.google.spanner.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RollbackRequest.class, - com.google.spanner.v1.RollbackRequest.Builder.class); + com.google.spanner.v1.RollbackRequest.class, com.google.spanner.v1.RollbackRequest.Builder.class); } // Construct using com.google.spanner.v1.RollbackRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -348,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -369,11 +339,8 @@ public com.google.spanner.v1.RollbackRequest build() { @java.lang.Override public com.google.spanner.v1.RollbackRequest buildPartial() { - com.google.spanner.v1.RollbackRequest result = - new com.google.spanner.v1.RollbackRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.RollbackRequest result = new com.google.spanner.v1.RollbackRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -392,39 +359,38 @@ private void buildPartial0(com.google.spanner.v1.RollbackRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.RollbackRequest) { - return mergeFrom((com.google.spanner.v1.RollbackRequest) other); + return mergeFrom((com.google.spanner.v1.RollbackRequest)other); } else { super.mergeFrom(other); return this; @@ -467,25 +433,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - transactionId_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + transactionId_ = input.readBytes(); + 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) { @@ -495,27 +458,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -524,23 +482,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -548,39 +503,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -590,23 +534,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -616,14 +554,11 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transactionId. */ @java.lang.Override @@ -631,35 +566,27 @@ public com.google.protobuf.ByteString getTransactionId() { return transactionId_; } /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transactionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTransactionId() { @@ -668,9 +595,9 @@ public Builder clearTransactionId() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -680,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.RollbackRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.RollbackRequest) private static final com.google.spanner.v1.RollbackRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.RollbackRequest(); } @@ -694,27 +621,27 @@ public static com.google.spanner.v1.RollbackRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackRequest 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackRequest 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; @@ -729,4 +656,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java new file mode 100644 index 00000000000..426db9861ee --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java @@ -0,0 +1,40 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.v1; + +public interface RollbackRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.RollbackRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The session in which the transaction to roll back is running.
+   * 
+ * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The session. + */ + java.lang.String getSession(); + /** + *
+   * Required. The session in which the transaction to roll back is running.
+   * 
+ * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for session. + */ + com.google.protobuf.ByteString + getSessionBytes(); + + /** + *
+   * Required. The transaction to roll back.
+   * 
+ * + * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The transactionId. + */ + com.google.protobuf.ByteString getTransactionId(); +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java similarity index 68% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java index ed8e95fec82..04b59ea0bcc 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto @@ -20,24 +5,21 @@ package com.google.spanner.v1; /** - * - * *
  * A session in the Cloud Spanner API.
  * 
* * Protobuf type {@code google.spanner.v1.Session} */ -public final class Session extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Session extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Session) SessionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Session.newBuilder() to construct. private Session(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Session() { name_ = ""; creatorRole_ = ""; @@ -45,11 +27,13 @@ private Session() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Session(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_descriptor; } @@ -61,33 +45,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 2: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.Session.class, com.google.spanner.v1.Session.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -96,29 +75,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,34 +106,32 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LABELS_FIELD_NUMBER = 2; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The labels for the session.
    *
@@ -170,21 +147,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The labels for the session.
    *
@@ -204,8 +180,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The labels for the session.
    *
@@ -221,19 +195,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The labels for the session.
    *
@@ -249,11 +221,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -263,15 +235,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -279,15 +247,11 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -295,14 +259,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -312,17 +273,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int APPROXIMATE_LAST_USE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp approximateLastUseTime_; /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the approximateLastUseTime field is set. */ @java.lang.Override @@ -330,57 +286,40 @@ public boolean hasApproximateLastUseTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The approximateLastUseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getApproximateLastUseTime() { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder() { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } public static final int CREATOR_ROLE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object creatorRole_ = ""; /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The creatorRole. */ @java.lang.Override @@ -389,29 +328,29 @@ public java.lang.String getCreatorRole() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorRole_ = s; return s; } } /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The bytes for creatorRole. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatorRoleBytes() { + public com.google.protobuf.ByteString + getCreatorRoleBytes() { java.lang.Object ref = creatorRole_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorRole_ = b; return b; } else { @@ -422,8 +361,6 @@ public com.google.protobuf.ByteString getCreatorRoleBytes() { public static final int MULTIPLEXED_FIELD_NUMBER = 6; private boolean multiplexed_ = false; /** - * - * *
    * Optional. If true, specifies a multiplexed session. A multiplexed session
    * may be used for multiple, concurrent read-only operations but can not be
@@ -435,7 +372,6 @@ public com.google.protobuf.ByteString getCreatorRoleBytes() {
    * 
* * bool multiplexed = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The multiplexed. */ @java.lang.Override @@ -444,7 +380,6 @@ public boolean getMultiplexed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -456,12 +391,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 2); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getCreateTime()); } @@ -486,28 +426,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, labels__); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getApproximateLastUseTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getApproximateLastUseTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorRole_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, creatorRole_); } if (multiplexed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, multiplexed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, multiplexed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -517,25 +459,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.Session)) { return super.equals(obj); } com.google.spanner.v1.Session other = (com.google.spanner.v1.Session) obj; - if (!getName().equals(other.getName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasApproximateLastUseTime() != other.hasApproximateLastUseTime()) return false; if (hasApproximateLastUseTime()) { - if (!getApproximateLastUseTime().equals(other.getApproximateLastUseTime())) return false; + if (!getApproximateLastUseTime() + .equals(other.getApproximateLastUseTime())) return false; } - if (!getCreatorRole().equals(other.getCreatorRole())) return false; - if (getMultiplexed() != other.getMultiplexed()) return false; + if (!getCreatorRole() + .equals(other.getCreatorRole())) return false; + if (getMultiplexed() + != other.getMultiplexed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -564,122 +512,119 @@ public int hashCode() { hash = (37 * hash) + CREATOR_ROLE_FIELD_NUMBER; hash = (53 * hash) + getCreatorRole().hashCode(); hash = (37 * hash) + MULTIPLEXED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMultiplexed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMultiplexed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.Session parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.Session parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Session parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.Session parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.Session parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Session parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Session parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Session parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.Session parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.Session parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.spanner.v1.Session parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.Session prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A session in the Cloud Spanner API.
    * 
* * Protobuf type {@code google.spanner.v1.Session} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Session) com.google.spanner.v1.SessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -689,10 +634,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 2: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -700,15 +645,14 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 2: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.Session.class, com.google.spanner.v1.Session.Builder.class); } @@ -718,18 +662,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getApproximateLastUseTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -752,9 +696,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_descriptor; } @java.lang.Override @@ -774,9 +718,7 @@ public com.google.spanner.v1.Session build() { @java.lang.Override public com.google.spanner.v1.Session buildPartial() { com.google.spanner.v1.Session result = new com.google.spanner.v1.Session(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -792,14 +734,15 @@ private void buildPartial0(com.google.spanner.v1.Session result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.approximateLastUseTime_ = - approximateLastUseTimeBuilder_ == null - ? approximateLastUseTime_ - : approximateLastUseTimeBuilder_.build(); + result.approximateLastUseTime_ = approximateLastUseTimeBuilder_ == null + ? approximateLastUseTime_ + : approximateLastUseTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -815,39 +758,38 @@ private void buildPartial0(com.google.spanner.v1.Session result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.Session) { - return mergeFrom((com.google.spanner.v1.Session) other); + return mergeFrom((com.google.spanner.v1.Session)other); } else { super.mergeFrom(other); return this; @@ -861,7 +803,8 @@ public Builder mergeFrom(com.google.spanner.v1.Session other) { bitField0_ |= 0x00000001; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000002; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -903,56 +846,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getApproximateLastUseTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - creatorRole_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - multiplexed_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getApproximateLastUseTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + creatorRole_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + multiplexed_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -962,25 +899,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -989,21 +923,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1011,35 +944,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1049,21 +975,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1071,19 +993,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1092,13 +1016,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The labels for the session.
      *
@@ -1114,21 +1035,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *
@@ -1148,8 +1068,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *
@@ -1165,19 +1083,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *
@@ -1193,25 +1109,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *
@@ -1226,22 +1140,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 2;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000002;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *
@@ -1256,20 +1171,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 2;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *
@@ -1284,66 +1196,49 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 2;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1359,17 +1254,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1380,21 +1272,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1409,15 +1297,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1430,15 +1314,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1446,48 +1326,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1495,61 +1363,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp approximateLastUseTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - approximateLastUseTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> approximateLastUseTimeBuilder_; /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the approximateLastUseTime field is set. */ public boolean hasApproximateLastUseTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The approximateLastUseTime. */ public com.google.protobuf.Timestamp getApproximateLastUseTime() { if (approximateLastUseTimeBuilder_ == null) { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } else { return approximateLastUseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setApproximateLastUseTime(com.google.protobuf.Timestamp value) { if (approximateLastUseTimeBuilder_ == null) { @@ -1565,16 +1414,12 @@ public Builder setApproximateLastUseTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setApproximateLastUseTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1588,22 +1433,18 @@ public Builder setApproximateLastUseTime( return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeApproximateLastUseTime(com.google.protobuf.Timestamp value) { if (approximateLastUseTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && approximateLastUseTime_ != null - && approximateLastUseTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + approximateLastUseTime_ != null && + approximateLastUseTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getApproximateLastUseTimeBuilder().mergeFrom(value); } else { approximateLastUseTime_ = value; @@ -1618,16 +1459,12 @@ public Builder mergeApproximateLastUseTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearApproximateLastUseTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1640,16 +1477,12 @@ public Builder clearApproximateLastUseTime() { return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getApproximateLastUseTimeBuilder() { bitField0_ |= 0x00000008; @@ -1657,50 +1490,38 @@ public com.google.protobuf.Timestamp.Builder getApproximateLastUseTimeBuilder() return getApproximateLastUseTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder() { if (approximateLastUseTimeBuilder_ != null) { return approximateLastUseTimeBuilder_.getMessageOrBuilder(); } else { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getApproximateLastUseTimeFieldBuilder() { if (approximateLastUseTimeBuilder_ == null) { - approximateLastUseTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getApproximateLastUseTime(), getParentForChildren(), isClean()); + approximateLastUseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getApproximateLastUseTime(), + getParentForChildren(), + isClean()); approximateLastUseTime_ = null; } return approximateLastUseTimeBuilder_; @@ -1708,20 +1529,18 @@ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder private java.lang.Object creatorRole_ = ""; /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @return The creatorRole. */ public java.lang.String getCreatorRole() { java.lang.Object ref = creatorRole_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorRole_ = s; return s; @@ -1730,21 +1549,20 @@ public java.lang.String getCreatorRole() { } } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @return The bytes for creatorRole. */ - public com.google.protobuf.ByteString getCreatorRoleBytes() { + public com.google.protobuf.ByteString + getCreatorRoleBytes() { java.lang.Object ref = creatorRole_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorRole_ = b; return b; } else { @@ -1752,35 +1570,28 @@ public com.google.protobuf.ByteString getCreatorRoleBytes() { } } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @param value The creatorRole to set. * @return This builder for chaining. */ - public Builder setCreatorRole(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorRole( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } creatorRole_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @return This builder for chaining. */ public Builder clearCreatorRole() { @@ -1790,21 +1601,17 @@ public Builder clearCreatorRole() { return this; } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @param value The bytes for creatorRole to set. * @return This builder for chaining. */ - public Builder setCreatorRoleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); creatorRole_ = value; bitField0_ |= 0x00000010; @@ -1812,10 +1619,8 @@ public Builder setCreatorRoleBytes(com.google.protobuf.ByteString value) { return this; } - private boolean multiplexed_; + private boolean multiplexed_ ; /** - * - * *
      * Optional. If true, specifies a multiplexed session. A multiplexed session
      * may be used for multiple, concurrent read-only operations but can not be
@@ -1827,7 +1632,6 @@ public Builder setCreatorRoleBytes(com.google.protobuf.ByteString value) {
      * 
* * bool multiplexed = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The multiplexed. */ @java.lang.Override @@ -1835,8 +1639,6 @@ public boolean getMultiplexed() { return multiplexed_; } /** - * - * *
      * Optional. If true, specifies a multiplexed session. A multiplexed session
      * may be used for multiple, concurrent read-only operations but can not be
@@ -1848,7 +1650,6 @@ public boolean getMultiplexed() {
      * 
* * bool multiplexed = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The multiplexed to set. * @return This builder for chaining. */ @@ -1860,8 +1661,6 @@ public Builder setMultiplexed(boolean value) { return this; } /** - * - * *
      * Optional. If true, specifies a multiplexed session. A multiplexed session
      * may be used for multiple, concurrent read-only operations but can not be
@@ -1873,7 +1672,6 @@ public Builder setMultiplexed(boolean value) {
      * 
* * bool multiplexed = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMultiplexed() { @@ -1882,9 +1680,9 @@ public Builder clearMultiplexed() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1894,12 +1692,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Session) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Session) private static final com.google.spanner.v1.Session DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Session(); } @@ -1908,27 +1706,27 @@ public static com.google.spanner.v1.Session getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Session 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Session 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; @@ -1943,4 +1741,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Session getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java similarity index 77% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java index 01220a4a316..6f54e941c50 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface SessionOrBuilder - extends +public interface SessionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.Session) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The labels for the session.
    *
@@ -68,8 +45,6 @@ public interface SessionOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The labels for the session.
    *
@@ -84,13 +59,15 @@ public interface SessionOrBuilder
    *
    * map<string, string> labels = 2;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * The labels for the session.
    *
@@ -105,10 +82,9 @@ public interface SessionOrBuilder
    *
    * map<string, string> labels = 2;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The labels for the session.
    *
@@ -124,13 +100,11 @@ public interface SessionOrBuilder
    * map<string, string> labels = 2;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The labels for the session.
    *
@@ -145,118 +119,87 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 2;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the approximateLastUseTime field is set. */ boolean hasApproximateLastUseTime(); /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The approximateLastUseTime. */ com.google.protobuf.Timestamp getApproximateLastUseTime(); /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder(); /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The creatorRole. */ java.lang.String getCreatorRole(); /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The bytes for creatorRole. */ - com.google.protobuf.ByteString getCreatorRoleBytes(); + com.google.protobuf.ByteString + getCreatorRoleBytes(); /** - * - * *
    * Optional. If true, specifies a multiplexed session. A multiplexed session
    * may be used for multiple, concurrent read-only operations but can not be
@@ -268,7 +211,6 @@ java.lang.String getLabelsOrDefault(
    * 
* * bool multiplexed = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The multiplexed. */ boolean getMultiplexed(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java new file mode 100644 index 00000000000..1774198d1db --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java @@ -0,0 +1,702 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.v1; + +public final class SpannerProto { + private SpannerProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Session_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Session_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Session_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Session_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_GetSessionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_RequestOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_DirectedReadOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_DirectedReadOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Partition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Partition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ReadRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_CommitRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_RollbackRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchWriteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchWriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchWriteResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchWriteResponse_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\037google/spanner/v1/spanner.proto\022\021googl" + + "e.spanner.v1\032\'google/spanner/v1/commit_r" + + "esponse.proto\032\034google/api/annotations.pr" + + "oto\032\027google/api/client.proto\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\036google/protobuf/duration.proto" + + "\032\033google/protobuf/empty.proto\032\034google/pr" + + "otobuf/struct.proto\032\037google/protobuf/tim" + + "estamp.proto\032\027google/rpc/status.proto\032\034g" + + "oogle/spanner/v1/keys.proto\032 google/span" + + "ner/v1/mutation.proto\032\"google/spanner/v1" + + "/result_set.proto\032#google/spanner/v1/tra" + + "nsaction.proto\032\034google/spanner/v1/type.p" + + "roto\"\203\001\n\024CreateSessionRequest\0229\n\010databas" + + "e\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/" + + "Database\0220\n\007session\030\002 \001(\0132\032.google.spann" + + "er.v1.SessionB\003\340A\002\"\251\001\n\032BatchCreateSessio" + + "nsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spa" + + "nner.googleapis.com/Database\0224\n\020session_" + + "template\030\002 \001(\0132\032.google.spanner.v1.Sessi" + + "on\022\032\n\rsession_count\030\003 \001(\005B\003\340A\002\"J\n\033BatchC" + + "reateSessionsResponse\022+\n\007session\030\001 \003(\0132\032" + + ".google.spanner.v1.Session\"\243\003\n\007Session\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(\0132&.goog" + + "le.spanner.v1.Session.LabelsEntry\0224\n\013cre" + + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022B\n\031approximate_last_use_time\030\004 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022\024\n\014c" + + "reator_role\030\005 \001(\t\022\030\n\013multiplexed\030\006 \001(\010B\003" + + "\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001:t\352Aq\n\036spanner.googleapis.com/" + + "Session\022Oprojects/{project}/instances/{i" + + "nstance}/databases/{database}/sessions/{" + + "session}\"I\n\021GetSessionRequest\0224\n\004name\030\001 " + + "\001(\tB&\340A\002\372A \n\036spanner.googleapis.com/Sess" + + "ion\"\207\001\n\023ListSessionsRequest\0229\n\010database\030" + + "\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Da" + + "tabase\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"]\n\024ListSessionsRes" + + "ponse\022,\n\010sessions\030\001 \003(\0132\032.google.spanner" + + ".v1.Session\022\027\n\017next_page_token\030\002 \001(\t\"L\n\024" + + "DeleteSessionRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036spanner.googleapis.com/Session\"\334\001\n\016R" + + "equestOptions\022<\n\010priority\030\001 \001(\0162*.google" + + ".spanner.v1.RequestOptions.Priority\022\023\n\013r" + + "equest_tag\030\002 \001(\t\022\027\n\017transaction_tag\030\003 \001(" + + "\t\"^\n\010Priority\022\030\n\024PRIORITY_UNSPECIFIED\020\000\022" + + "\020\n\014PRIORITY_LOW\020\001\022\023\n\017PRIORITY_MEDIUM\020\002\022\021" + + "\n\rPRIORITY_HIGH\020\003\"\352\004\n\023DirectedReadOption" + + "s\022R\n\020include_replicas\030\001 \001(\01326.google.spa" + + "nner.v1.DirectedReadOptions.IncludeRepli" + + "casH\000\022R\n\020exclude_replicas\030\002 \001(\01326.google" + + ".spanner.v1.DirectedReadOptions.ExcludeR" + + "eplicasH\000\032\255\001\n\020ReplicaSelection\022\020\n\010locati" + + "on\030\001 \001(\t\022J\n\004type\030\002 \001(\0162<.google.spanner." + + "v1.DirectedReadOptions.ReplicaSelection." + + "Type\";\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nRE" + + "AD_WRITE\020\001\022\r\n\tREAD_ONLY\020\002\032\206\001\n\017IncludeRep" + + "licas\022S\n\022replica_selections\030\001 \003(\01327.goog" + + "le.spanner.v1.DirectedReadOptions.Replic" + + "aSelection\022\036\n\026auto_failover_disabled\030\002 \001" + + "(\010\032f\n\017ExcludeReplicas\022S\n\022replica_selecti" + + "ons\030\001 \003(\01327.google.spanner.v1.DirectedRe" + + "adOptions.ReplicaSelectionB\n\n\010replicas\"\307" + + "\006\n\021ExecuteSqlRequest\0227\n\007session\030\001 \001(\tB&\340" + + "A\002\372A \n\036spanner.googleapis.com/Session\022;\n" + + "\013transaction\030\002 \001(\0132&.google.spanner.v1.T" + + "ransactionSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006" + + "params\030\004 \001(\0132\027.google.protobuf.Struct\022I\n" + + "\013param_types\030\005 \003(\01324.google.spanner.v1.E" + + "xecuteSqlRequest.ParamTypesEntry\022\024\n\014resu" + + "me_token\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162..goo" + + "gle.spanner.v1.ExecuteSqlRequest.QueryMo" + + "de\022\027\n\017partition_token\030\010 \001(\014\022\r\n\005seqno\030\t \001" + + "(\003\022H\n\rquery_options\030\n \001(\01321.google.spann" + + "er.v1.ExecuteSqlRequest.QueryOptions\022:\n\017" + + "request_options\030\013 \001(\0132!.google.spanner.v" + + "1.RequestOptions\022E\n\025directed_read_option" + + "s\030\017 \001(\0132&.google.spanner.v1.DirectedRead" + + "Options\022\032\n\022data_boost_enabled\030\020 \001(\010\032O\n\014Q" + + "ueryOptions\022\031\n\021optimizer_version\030\001 \001(\t\022$" + + "\n\034optimizer_statistics_package\030\002 \001(\t\032J\n\017" + + "ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 " + + "\001(\0132\027.google.spanner.v1.Type:\0028\001\".\n\tQuer" + + "yMode\022\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002" + + "\"\240\004\n\026ExecuteBatchDmlRequest\0227\n\007session\030\001" + + " \001(\tB&\340A\002\372A \n\036spanner.googleapis.com/Ses" + + "sion\022@\n\013transaction\030\002 \001(\0132&.google.spann" + + "er.v1.TransactionSelectorB\003\340A\002\022L\n\nstatem" + + "ents\030\003 \003(\01323.google.spanner.v1.ExecuteBa" + + "tchDmlRequest.StatementB\003\340A\002\022\022\n\005seqno\030\004 " + + "\001(\003B\003\340A\002\022:\n\017request_options\030\005 \001(\0132!.goog" + + "le.spanner.v1.RequestOptions\032\354\001\n\tStateme" + + "nt\022\020\n\003sql\030\001 \001(\tB\003\340A\002\022\'\n\006params\030\002 \001(\0132\027.g" + + "oogle.protobuf.Struct\022X\n\013param_types\030\003 \003" + + "(\0132C.google.spanner.v1.ExecuteBatchDmlRe" + + "quest.Statement.ParamTypesEntry\032J\n\017Param" + + "TypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027" + + ".google.spanner.v1.Type:\0028\001\"p\n\027ExecuteBa" + + "tchDmlResponse\0221\n\013result_sets\030\001 \003(\0132\034.go" + + "ogle.spanner.v1.ResultSet\022\"\n\006status\030\002 \001(" + + "\0132\022.google.rpc.Status\"H\n\020PartitionOption" + + "s\022\034\n\024partition_size_bytes\030\001 \001(\003\022\026\n\016max_p" + + "artitions\030\002 \001(\003\"\243\003\n\025PartitionQueryReques" + + "t\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.goog" + + "leapis.com/Session\022;\n\013transaction\030\002 \001(\0132" + + "&.google.spanner.v1.TransactionSelector\022" + + "\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006params\030\004 \001(\0132\027.goog" + + "le.protobuf.Struct\022M\n\013param_types\030\005 \003(\0132" + + "8.google.spanner.v1.PartitionQueryReques" + + "t.ParamTypesEntry\022>\n\021partition_options\030\006" + + " \001(\0132#.google.spanner.v1.PartitionOption" + + "s\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005val" + + "ue\030\002 \001(\0132\027.google.spanner.v1.Type:\0028\001\"\261\002" + + "\n\024PartitionReadRequest\0227\n\007session\030\001 \001(\tB" + + "&\340A\002\372A \n\036spanner.googleapis.com/Session\022" + + ";\n\013transaction\030\002 \001(\0132&.google.spanner.v1" + + ".TransactionSelector\022\022\n\005table\030\003 \001(\tB\003\340A\002" + + "\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003(\t\022/\n\007key_" + + "set\030\006 \001(\0132\031.google.spanner.v1.KeySetB\003\340A" + + "\002\022>\n\021partition_options\030\t \001(\0132#.google.sp" + + "anner.v1.PartitionOptions\"$\n\tPartition\022\027" + + "\n\017partition_token\030\001 \001(\014\"z\n\021PartitionResp" + + "onse\0220\n\npartitions\030\001 \003(\0132\034.google.spanne" + + "r.v1.Partition\0223\n\013transaction\030\002 \001(\0132\036.go" + + "ogle.spanner.v1.Transaction\"\312\003\n\013ReadRequ" + + "est\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.go" + + "ogleapis.com/Session\022;\n\013transaction\030\002 \001(" + + "\0132&.google.spanner.v1.TransactionSelecto" + + "r\022\022\n\005table\030\003 \001(\tB\003\340A\002\022\r\n\005index\030\004 \001(\t\022\024\n\007" + + "columns\030\005 \003(\tB\003\340A\002\022/\n\007key_set\030\006 \001(\0132\031.go" + + "ogle.spanner.v1.KeySetB\003\340A\002\022\r\n\005limit\030\010 \001" + + "(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017partition_to" + + "ken\030\n \001(\014\022:\n\017request_options\030\013 \001(\0132!.goo" + + "gle.spanner.v1.RequestOptions\022E\n\025directe" + + "d_read_options\030\016 \001(\0132&.google.spanner.v1" + + ".DirectedReadOptions\022\032\n\022data_boost_enabl" + + "ed\030\017 \001(\010\"\313\001\n\027BeginTransactionRequest\0227\n\007" + + "session\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapi" + + "s.com/Session\022;\n\007options\030\002 \001(\0132%.google." + + "spanner.v1.TransactionOptionsB\003\340A\002\022:\n\017re" + + "quest_options\030\003 \001(\0132!.google.spanner.v1." + + "RequestOptions\"\375\002\n\rCommitRequest\0227\n\007sess" + + "ion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.co" + + "m/Session\022\030\n\016transaction_id\030\002 \001(\014H\000\022G\n\026s" + + "ingle_use_transaction\030\003 \001(\0132%.google.spa" + + "nner.v1.TransactionOptionsH\000\022.\n\tmutation" + + "s\030\004 \003(\0132\033.google.spanner.v1.Mutation\022\033\n\023" + + "return_commit_stats\030\005 \001(\010\0228\n\020max_commit_" + + "delay\030\010 \001(\0132\031.google.protobuf.DurationB\003" + + "\340A\001\022:\n\017request_options\030\006 \001(\0132!.google.sp" + + "anner.v1.RequestOptionsB\r\n\013transaction\"g" + + "\n\017RollbackRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372" + + "A \n\036spanner.googleapis.com/Session\022\033\n\016tr" + + "ansaction_id\030\002 \001(\014B\003\340A\002\"\316\002\n\021BatchWriteRe" + + "quest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner." + + "googleapis.com/Session\022:\n\017request_option" + + "s\030\003 \001(\0132!.google.spanner.v1.RequestOptio" + + "ns\022P\n\017mutation_groups\030\004 \003(\01322.google.spa" + + "nner.v1.BatchWriteRequest.MutationGroupB" + + "\003\340A\002\022,\n\037exclude_txn_from_change_streams\030" + + "\005 \001(\010B\003\340A\001\032D\n\rMutationGroup\0223\n\tmutations" + + "\030\001 \003(\0132\033.google.spanner.v1.MutationB\003\340A\002" + + "\"\177\n\022BatchWriteResponse\022\017\n\007indexes\030\001 \003(\005\022" + + "\"\n\006status\030\002 \001(\0132\022.google.rpc.Status\0224\n\020c" + + "ommit_timestamp\030\003 \001(\0132\032.google.protobuf." + + "Timestamp2\213\030\n\007Spanner\022\246\001\n\rCreateSession\022" + + "\'.google.spanner.v1.CreateSessionRequest" + + "\032\032.google.spanner.v1.Session\"P\332A\010databas" + + "e\202\323\344\223\002?\":/v1/{database=projects/*/instan" + + "ces/*/databases/*}/sessions:\001*\022\340\001\n\023Batch" + + "CreateSessions\022-.google.spanner.v1.Batch" + + "CreateSessionsRequest\032..google.spanner.v" + + "1.BatchCreateSessionsResponse\"j\332A\026databa" + + "se,session_count\202\323\344\223\002K\"F/v1/{database=pr" + + "ojects/*/instances/*/databases/*}/sessio" + + "ns:batchCreate:\001*\022\227\001\n\nGetSession\022$.googl" + + "e.spanner.v1.GetSessionRequest\032\032.google." + + "spanner.v1.Session\"G\332A\004name\202\323\344\223\002:\0228/v1/{" + + "name=projects/*/instances/*/databases/*/" + + "sessions/*}\022\256\001\n\014ListSessions\022&.google.sp" + + "anner.v1.ListSessionsRequest\032\'.google.sp" + + "anner.v1.ListSessionsResponse\"M\332A\010databa" + + "se\202\323\344\223\002<\022:/v1/{database=projects/*/insta" + + "nces/*/databases/*}/sessions\022\231\001\n\rDeleteS" + + "ession\022\'.google.spanner.v1.DeleteSession" + + "Request\032\026.google.protobuf.Empty\"G\332A\004name" + + "\202\323\344\223\002:*8/v1/{name=projects/*/instances/*" + + "/databases/*/sessions/*}\022\243\001\n\nExecuteSql\022" + + "$.google.spanner.v1.ExecuteSqlRequest\032\034." + + "google.spanner.v1.ResultSet\"Q\202\323\344\223\002K\"F/v1" + + "/{session=projects/*/instances/*/databas" + + "es/*/sessions/*}:executeSql:\001*\022\276\001\n\023Execu" + + "teStreamingSql\022$.google.spanner.v1.Execu" + + "teSqlRequest\032#.google.spanner.v1.Partial" + + "ResultSet\"Z\202\323\344\223\002T\"O/v1/{session=projects" + + "/*/instances/*/databases/*/sessions/*}:e" + + "xecuteStreamingSql:\001*0\001\022\300\001\n\017ExecuteBatch" + + "Dml\022).google.spanner.v1.ExecuteBatchDmlR" + + "equest\032*.google.spanner.v1.ExecuteBatchD" + + "mlResponse\"V\202\323\344\223\002P\"K/v1/{session=project" + + "s/*/instances/*/databases/*/sessions/*}:" + + "executeBatchDml:\001*\022\221\001\n\004Read\022\036.google.spa" + + "nner.v1.ReadRequest\032\034.google.spanner.v1." + + "ResultSet\"K\202\323\344\223\002E\"@/v1/{session=projects" + + "/*/instances/*/databases/*/sessions/*}:r" + + "ead:\001*\022\254\001\n\rStreamingRead\022\036.google.spanne" + + "r.v1.ReadRequest\032#.google.spanner.v1.Par" + + "tialResultSet\"T\202\323\344\223\002N\"I/v1/{session=proj" + + "ects/*/instances/*/databases/*/sessions/" + + "*}:streamingRead:\001*0\001\022\311\001\n\020BeginTransacti" + + "on\022*.google.spanner.v1.BeginTransactionR" + + "equest\032\036.google.spanner.v1.Transaction\"i" + + "\332A\017session,options\202\323\344\223\002Q\"L/v1/{session=p" + + "rojects/*/instances/*/databases/*/sessio" + + "ns/*}:beginTransaction:\001*\022\353\001\n\006Commit\022 .g" + + "oogle.spanner.v1.CommitRequest\032!.google." + + "spanner.v1.CommitResponse\"\233\001\332A session,t" + + "ransaction_id,mutations\332A(session,single" + + "_use_transaction,mutations\202\323\344\223\002G\"B/v1/{s" + + "ession=projects/*/instances/*/databases/" + + "*/sessions/*}:commit:\001*\022\260\001\n\010Rollback\022\".g" + + "oogle.spanner.v1.RollbackRequest\032\026.googl" + + "e.protobuf.Empty\"h\332A\026session,transaction" + + "_id\202\323\344\223\002I\"D/v1/{session=projects/*/insta" + + "nces/*/databases/*/sessions/*}:rollback:" + + "\001*\022\267\001\n\016PartitionQuery\022(.google.spanner.v" + + "1.PartitionQueryRequest\032$.google.spanner" + + ".v1.PartitionResponse\"U\202\323\344\223\002O\"J/v1/{sess" + + "ion=projects/*/instances/*/databases/*/s" + + "essions/*}:partitionQuery:\001*\022\264\001\n\rPartiti" + + "onRead\022\'.google.spanner.v1.PartitionRead" + + "Request\032$.google.spanner.v1.PartitionRes" + + "ponse\"T\202\323\344\223\002N\"I/v1/{session=projects/*/i" + + "nstances/*/databases/*/sessions/*}:parti" + + "tionRead:\001*\022\310\001\n\nBatchWrite\022$.google.span" + + "ner.v1.BatchWriteRequest\032%.google.spanne" + + "r.v1.BatchWriteResponse\"k\332A\027session,muta" + + "tion_groups\202\323\344\223\002K\"F/v1/{session=projects" + + "/*/instances/*/databases/*/sessions/*}:b" + + "atchWrite:\001*0\001\032w\312A\026spanner.googleapis.co" + + "m\322A[https://www.googleapis.com/auth/clou" + + "d-platform,https://www.googleapis.com/au" + + "th/spanner.dataB\221\002\n\025com.google.spanner.v" + + "1B\014SpannerProtoP\001Z5cloud.google.com/go/s" + + "panner/apiv1/spannerpb;spannerpb\252\002\027Googl" + + "e.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanne" + + "r\\V1\352\002\032Google::Cloud::Spanner::V1\352A_\n\037sp" + + "anner.googleapis.com/Database\022 * `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type. *
* * Protobuf type {@code google.spanner.v1.StructType} */ -public final class StructType extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StructType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.StructType) StructTypeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StructType.newBuilder() to construct. private StructType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StructType() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StructType(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.StructType.class, com.google.spanner.v1.StructType.Builder.class); } - public interface FieldOrBuilder - extends + public interface FieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.StructType.Field) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -80,13 +60,10 @@ public interface FieldOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -98,38 +75,30 @@ public interface FieldOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ com.google.spanner.v1.Type getType(); /** - * - * *
      * The type of the field.
      * 
@@ -139,57 +108,50 @@ public interface FieldOrBuilder com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(); } /** - * - * *
    * Message representing a single field of a struct.
    * 
* * Protobuf type {@code google.spanner.v1.StructType.Field} */ - public static final class Field extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Field extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.StructType.Field) FieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Field.newBuilder() to construct. private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Field() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Field(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.Field.class, - com.google.spanner.v1.StructType.Field.Builder.class); + com.google.spanner.v1.StructType.Field.class, com.google.spanner.v1.StructType.Field.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -201,7 +163,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -210,15 +171,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -230,15 +190,16 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -249,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type type_; /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ @java.lang.Override @@ -264,14 +222,11 @@ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ @java.lang.Override @@ -279,8 +234,6 @@ public com.google.spanner.v1.Type getType() { return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } /** - * - * *
      * The type of the field.
      * 
@@ -293,7 +246,6 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + 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_); } @@ -325,7 +278,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getType()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -335,17 +289,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.StructType.Field)) { return super.equals(obj); } com.google.spanner.v1.StructType.Field other = (com.google.spanner.v1.StructType.Field) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType().equals(other.getType())) return false; + if (!getType() + .equals(other.getType())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -369,94 +325,90 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.StructType.Field parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.StructType.Field parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.StructType.Field parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.StructType.Field parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.StructType.Field parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.StructType.Field parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.StructType.Field parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.StructType.Field prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -466,32 +418,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message representing a single field of a struct.
      * 
* * Protobuf type {@code google.spanner.v1.StructType.Field} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.StructType.Field) com.google.spanner.v1.StructType.FieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.Field.class, - com.google.spanner.v1.StructType.Field.Builder.class); + com.google.spanner.v1.StructType.Field.class, com.google.spanner.v1.StructType.Field.Builder.class); } // Construct using com.google.spanner.v1.StructType.Field.newBuilder() @@ -499,17 +446,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -524,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override @@ -545,11 +492,8 @@ public com.google.spanner.v1.StructType.Field build() { @java.lang.Override public com.google.spanner.v1.StructType.Field buildPartial() { - com.google.spanner.v1.StructType.Field result = - new com.google.spanner.v1.StructType.Field(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.StructType.Field result = new com.google.spanner.v1.StructType.Field(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -561,7 +505,9 @@ private void buildPartial0(com.google.spanner.v1.StructType.Field result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); + result.type_ = typeBuilder_ == null + ? type_ + : typeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -571,41 +517,38 @@ private void buildPartial0(com.google.spanner.v1.StructType.Field result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.StructType.Field) { - return mergeFrom((com.google.spanner.v1.StructType.Field) other); + return mergeFrom((com.google.spanner.v1.StructType.Field)other); } else { super.mergeFrom(other); return this; @@ -648,25 +591,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -676,13 +618,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -694,13 +633,13 @@ public Builder mergeFrom(
        * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -709,8 +648,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -722,14 +659,15 @@ public java.lang.String getName() {
        * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -737,8 +675,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -750,22 +686,18 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * 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(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -777,7 +709,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -787,8 +718,6 @@ public Builder clearName() { return this; } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -800,14 +729,12 @@ public Builder clearName() {
        * 
* * 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(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -817,33 +744,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Type type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - typeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> typeBuilder_; /** - * - * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ public com.google.spanner.v1.Type getType() { @@ -854,8 +772,6 @@ public com.google.spanner.v1.Type getType() { } } /** - * - * *
        * The type of the field.
        * 
@@ -876,15 +792,14 @@ public Builder setType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; */ - public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setType( + com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -895,8 +810,6 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -905,9 +818,9 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { */ public Builder mergeType(com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && type_ != null - && type_ != com.google.spanner.v1.Type.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + type_ != null && + type_ != com.google.spanner.v1.Type.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -922,8 +835,6 @@ public Builder mergeType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -941,8 +852,6 @@ public Builder clearType() { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -955,8 +864,6 @@ public com.google.spanner.v1.Type.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** - * - * *
        * The type of the field.
        * 
@@ -967,12 +874,11 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; + return type_ == null ? + com.google.spanner.v1.Type.getDefaultInstance() : type_; } } /** - * - * *
        * The type of the field.
        * 
@@ -980,22 +886,18 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { * .google.spanner.v1.Type type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder>( - getType(), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( + getType(), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1008,12 +910,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.StructType.Field) } // @@protoc_insertion_point(class_scope:google.spanner.v1.StructType.Field) private static final com.google.spanner.v1.StructType.Field DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.StructType.Field(); } @@ -1022,28 +924,27 @@ public static com.google.spanner.v1.StructType.Field getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Field 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Field 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; @@ -1058,15 +959,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.StructType.Field getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1083,8 +982,6 @@ public java.util.List getFieldsList() {
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1097,13 +994,11 @@ public java.util.List getFieldsList() {
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1120,8 +1015,6 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1138,8 +1031,6 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
     return fields_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1152,12 +1043,12 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index) {
+  public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
+      int index) {
     return fields_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1169,7 +1060,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < fields_.size(); i++) {
       output.writeMessage(1, fields_.get(i));
     }
@@ -1183,7 +1075,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < fields_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, fields_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1193,14 +1086,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.StructType)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.StructType other = (com.google.spanner.v1.StructType) obj;
 
-    if (!getFieldsList().equals(other.getFieldsList())) return false;
+    if (!getFieldsList()
+        .equals(other.getFieldsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1221,135 +1115,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.StructType parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.StructType parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.StructType parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.StructType parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.StructType parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.StructType parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.StructType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
    * 
* * Protobuf type {@code google.spanner.v1.StructType} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.StructType) com.google.spanner.v1.StructTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.class, - com.google.spanner.v1.StructType.Builder.class); + com.google.spanner.v1.StructType.class, com.google.spanner.v1.StructType.Builder.class); } // Construct using com.google.spanner.v1.StructType.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1365,9 +1256,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override @@ -1388,9 +1279,7 @@ public com.google.spanner.v1.StructType build() { public com.google.spanner.v1.StructType buildPartial() { com.google.spanner.v1.StructType result = new com.google.spanner.v1.StructType(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1415,39 +1304,38 @@ private void buildPartial0(com.google.spanner.v1.StructType result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.StructType) { - return mergeFrom((com.google.spanner.v1.StructType) other); + return mergeFrom((com.google.spanner.v1.StructType)other); } else { super.mergeFrom(other); return this; @@ -1474,10 +1362,9 @@ public Builder mergeFrom(com.google.spanner.v1.StructType other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1509,26 +1396,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.v1.StructType.Field m = - input.readMessage( - com.google.spanner.v1.StructType.Field.parser(), extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.v1.StructType.Field m = + input.readMessage( + com.google.spanner.v1.StructType.Field.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + 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) { @@ -1538,28 +1424,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.StructType.Field, - com.google.spanner.v1.StructType.Field.Builder, - com.google.spanner.v1.StructType.FieldOrBuilder> - fieldsBuilder_; + com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder> fieldsBuilder_; /** - * - * *
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1579,8 +1458,6 @@ public java.util.List getFieldsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1600,8 +1477,6 @@ public int getFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1621,8 +1496,6 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1634,7 +1507,8 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder setFields(int index, com.google.spanner.v1.StructType.Field value) {
+    public Builder setFields(
+        int index, com.google.spanner.v1.StructType.Field value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1648,8 +1522,6 @@ public Builder setFields(int index, com.google.spanner.v1.StructType.Field value
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1673,8 +1545,6 @@ public Builder setFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1700,8 +1570,6 @@ public Builder addFields(com.google.spanner.v1.StructType.Field value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1713,7 +1581,8 @@ public Builder addFields(com.google.spanner.v1.StructType.Field value) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder addFields(int index, com.google.spanner.v1.StructType.Field value) {
+    public Builder addFields(
+        int index, com.google.spanner.v1.StructType.Field value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1727,8 +1596,6 @@ public Builder addFields(int index, com.google.spanner.v1.StructType.Field value
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1740,7 +1607,8 @@ public Builder addFields(int index, com.google.spanner.v1.StructType.Field value
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder addFields(com.google.spanner.v1.StructType.Field.Builder builderForValue) {
+    public Builder addFields(
+        com.google.spanner.v1.StructType.Field.Builder builderForValue) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
         fields_.add(builderForValue.build());
@@ -1751,8 +1619,6 @@ public Builder addFields(com.google.spanner.v1.StructType.Field.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1776,8 +1642,6 @@ public Builder addFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1793,7 +1657,8 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -1801,8 +1666,6 @@ public Builder addAllFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1825,8 +1688,6 @@ public Builder clearFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1849,8 +1710,6 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1862,12 +1721,11 @@ public Builder removeFields(int index) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(int index) {
+    public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(
+        int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1879,16 +1737,14 @@ public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(int index
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index) {
+    public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
+        int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);
-      } else {
+        return fields_.get(index);  } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1900,8 +1756,8 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int in
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public java.util.List
-        getFieldsOrBuilderList() {
+    public java.util.List 
+         getFieldsOrBuilderList() {
       if (fieldsBuilder_ != null) {
         return fieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1909,8 +1765,6 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1923,12 +1777,10 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int in
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
     public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder()
-          .addBuilder(com.google.spanner.v1.StructType.Field.getDefaultInstance());
+      return getFieldsFieldBuilder().addBuilder(
+          com.google.spanner.v1.StructType.Field.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1940,13 +1792,12 @@ public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder() {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(int index) {
-      return getFieldsFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.StructType.Field.getDefaultInstance());
+    public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(
+        int index) {
+      return getFieldsFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.StructType.Field.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1958,29 +1809,27 @@ public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(int index
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public java.util.List getFieldsBuilderList() {
+    public java.util.List 
+         getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.StructType.Field,
-            com.google.spanner.v1.StructType.Field.Builder,
-            com.google.spanner.v1.StructType.FieldOrBuilder>
+        com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder> 
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.StructType.Field,
-                com.google.spanner.v1.StructType.Field.Builder,
-                com.google.spanner.v1.StructType.FieldOrBuilder>(
-                fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder>(
+                fields_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1990,12 +1839,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.StructType)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.StructType)
   private static final com.google.spanner.v1.StructType DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.StructType();
   }
@@ -2004,27 +1853,27 @@ public static com.google.spanner.v1.StructType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StructType 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StructType 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;
@@ -2039,4 +1888,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.StructType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
similarity index 79%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
index 6d90284c1a2..72f6394a036 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/type.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface StructTypeOrBuilder
-    extends
+public interface StructTypeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.StructType)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -38,10 +20,9 @@ public interface StructTypeOrBuilder
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  java.util.List getFieldsList();
+  java.util.List 
+      getFieldsList();
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -55,8 +36,6 @@ public interface StructTypeOrBuilder
    */
   com.google.spanner.v1.StructType.Field getFields(int index);
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -70,8 +49,6 @@ public interface StructTypeOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -83,11 +60,9 @@ public interface StructTypeOrBuilder
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  java.util.List
+  java.util.List 
       getFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -99,5 +74,6 @@ public interface StructTypeOrBuilder
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index);
+  com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
similarity index 73%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
index 01a7ad269af..3da771d4e7e 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
@@ -20,55 +5,49 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * A transaction.
  * 
* * Protobuf type {@code google.spanner.v1.Transaction} */ -public final class Transaction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Transaction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Transaction) TransactionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Transaction.newBuilder() to construct. private Transaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Transaction() { id_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Transaction(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Transaction.class, - com.google.spanner.v1.Transaction.Builder.class); + com.google.spanner.v1.Transaction.class, com.google.spanner.v1.Transaction.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * `id` may be used to identify the transaction in subsequent
    * [Read][google.spanner.v1.Spanner.Read],
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes id = 1; - * * @return The id. */ @java.lang.Override @@ -92,8 +70,6 @@ public com.google.protobuf.ByteString getId() { public static final int READ_TIMESTAMP_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTimestamp_; /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -104,7 +80,6 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -112,8 +87,6 @@ public boolean hasReadTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -124,18 +97,13 @@ public boolean hasReadTimestamp() {
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return The readTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTimestamp() { - return readTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : readTimestamp_; + return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_; } /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -149,13 +117,10 @@ public com.google.protobuf.Timestamp getReadTimestamp() {
    */
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
-    return readTimestamp_ == null
-        ? com.google.protobuf.Timestamp.getDefaultInstance()
-        : readTimestamp_;
+    return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -167,7 +132,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!id_.isEmpty()) {
       output.writeBytes(1, id_);
     }
@@ -184,10 +150,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (!id_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, id_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(1, id_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTimestamp());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getReadTimestamp());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -197,17 +165,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.Transaction)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.Transaction other = (com.google.spanner.v1.Transaction) obj;
 
-    if (!getId().equals(other.getId())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
     if (hasReadTimestamp() != other.hasReadTimestamp()) return false;
     if (hasReadTimestamp()) {
-      if (!getReadTimestamp().equals(other.getReadTimestamp())) return false;
+      if (!getReadTimestamp()
+          .equals(other.getReadTimestamp())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -231,126 +201,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.Transaction parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.Transaction parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.Transaction parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.Transaction parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.spanner.v1.Transaction parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.Transaction parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.Transaction prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A transaction.
    * 
* * Protobuf type {@code google.spanner.v1.Transaction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Transaction) com.google.spanner.v1.TransactionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Transaction.class, - com.google.spanner.v1.Transaction.Builder.class); + com.google.spanner.v1.Transaction.class, com.google.spanner.v1.Transaction.Builder.class); } // Construct using com.google.spanner.v1.Transaction.newBuilder() @@ -358,17 +322,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getReadTimestampFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override @@ -405,9 +369,7 @@ public com.google.spanner.v1.Transaction build() { @java.lang.Override public com.google.spanner.v1.Transaction buildPartial() { com.google.spanner.v1.Transaction result = new com.google.spanner.v1.Transaction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -419,8 +381,9 @@ private void buildPartial0(com.google.spanner.v1.Transaction result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTimestamp_ = - readTimestampBuilder_ == null ? readTimestamp_ : readTimestampBuilder_.build(); + result.readTimestamp_ = readTimestampBuilder_ == null + ? readTimestamp_ + : readTimestampBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -430,39 +393,38 @@ private void buildPartial0(com.google.spanner.v1.Transaction result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.Transaction) { - return mergeFrom((com.google.spanner.v1.Transaction) other); + return mergeFrom((com.google.spanner.v1.Transaction)other); } else { super.mergeFrom(other); return this; @@ -503,25 +465,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimestampFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimestampFieldBuilder().getBuilder(), + extensionRegistry); + 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) { @@ -531,13 +492,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -550,7 +508,6 @@ public Builder mergeFrom(
      * 
* * bytes id = 1; - * * @return The id. */ @java.lang.Override @@ -558,8 +515,6 @@ public com.google.protobuf.ByteString getId() { return id_; } /** - * - * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -572,22 +527,17 @@ public com.google.protobuf.ByteString getId() {
      * 
* * bytes id = 1; - * * @param value The id to set. * @return This builder for chaining. */ public Builder setId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -600,7 +550,6 @@ public Builder setId(com.google.protobuf.ByteString value) {
      * 
* * bytes id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -612,13 +561,8 @@ public Builder clearId() { private com.google.protobuf.Timestamp readTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimestampBuilder_; /** - * - * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -629,15 +573,12 @@ public Builder clearId() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return Whether the readTimestamp field is set. */ public boolean hasReadTimestamp() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -648,21 +589,16 @@ public boolean hasReadTimestamp() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return The readTimestamp. */ public com.google.protobuf.Timestamp getReadTimestamp() { if (readTimestampBuilder_ == null) { - return readTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : readTimestamp_; + return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_; } else { return readTimestampBuilder_.getMessage(); } } /** - * - * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -688,8 +624,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -701,7 +635,8 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_timestamp = 2;
      */
-    public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTimestamp(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimestampBuilder_ == null) {
         readTimestamp_ = builderForValue.build();
       } else {
@@ -712,8 +647,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -727,9 +660,9 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
      */
     public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       if (readTimestampBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && readTimestamp_ != null
-            && readTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          readTimestamp_ != null &&
+          readTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimestampBuilder().mergeFrom(value);
         } else {
           readTimestamp_ = value;
@@ -744,8 +677,6 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -768,8 +699,6 @@ public Builder clearReadTimestamp() {
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -787,8 +716,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
       return getReadTimestampFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -804,14 +731,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       if (readTimestampBuilder_ != null) {
         return readTimestampBuilder_.getMessageOrBuilder();
       } else {
-        return readTimestamp_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : readTimestamp_;
+        return readTimestamp_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_;
       }
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -824,24 +748,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * .google.protobuf.Timestamp read_timestamp = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimestampFieldBuilder() {
       if (readTimestampBuilder_ == null) {
-        readTimestampBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTimestamp(), getParentForChildren(), isClean());
+        readTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTimestamp(),
+                getParentForChildren(),
+                isClean());
         readTimestamp_ = null;
       }
       return readTimestampBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -851,12 +772,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.Transaction)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.Transaction)
   private static final com.google.spanner.v1.Transaction DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.Transaction();
   }
@@ -865,27 +786,27 @@ public static com.google.spanner.v1.Transaction getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Transaction 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Transaction 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;
@@ -900,4 +821,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.Transaction getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
similarity index 81%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
index b134f66b6a2..ea6118a3649 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Transactions:
  *
@@ -351,72 +334,62 @@
  *
  * Protobuf type {@code google.spanner.v1.TransactionOptions}
  */
-public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransactionOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions)
     TransactionOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransactionOptions.newBuilder() to construct.
   private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransactionOptions() {}
+  private TransactionOptions() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransactionOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.TransactionOptions.class,
-            com.google.spanner.v1.TransactionOptions.Builder.class);
+            com.google.spanner.v1.TransactionOptions.class, com.google.spanner.v1.TransactionOptions.Builder.class);
   }
 
-  public interface ReadWriteOrBuilder
-      extends
+  public interface ReadWriteOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.ReadWrite)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The enum numeric value on the wire for readLockMode. */ int getReadLockModeValue(); /** - * - * *
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The readLockMode. */ com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode(); } /** - * - * *
    * Message type to initiate a read-write transaction. Currently this
    * transaction type has no options.
@@ -424,44 +397,40 @@ public interface ReadWriteOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadWrite}
    */
-  public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ReadWrite extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.ReadWrite)
       ReadWriteOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ReadWrite.newBuilder() to construct.
     private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ReadWrite() {
       readLockMode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ReadWrite();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionOptions.ReadWrite.class,
-              com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
+              com.google.spanner.v1.TransactionOptions.ReadWrite.class, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * `ReadLockMode` is used to set the read lock mode for read-write
      * transactions.
@@ -469,10 +438,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode}
      */
-    public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
+    public enum ReadLockMode
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Default value.
        *
@@ -483,8 +451,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       READ_LOCK_MODE_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * Pessimistic lock mode.
        *
@@ -495,8 +461,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       PESSIMISTIC(1),
       /**
-       *
-       *
        * 
        * Optimistic lock mode.
        *
@@ -512,8 +476,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Default value.
        *
@@ -524,8 +486,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int READ_LOCK_MODE_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * Pessimistic lock mode.
        *
@@ -536,8 +496,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int PESSIMISTIC_VALUE = 1;
       /**
-       *
-       *
        * 
        * Optimistic lock mode.
        *
@@ -550,6 +508,7 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int OPTIMISTIC_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -574,51 +533,49 @@ public static ReadLockMode valueOf(int value) {
        */
       public static ReadLockMode forNumber(int value) {
         switch (value) {
-          case 0:
-            return READ_LOCK_MODE_UNSPECIFIED;
-          case 1:
-            return PESSIMISTIC;
-          case 2:
-            return OPTIMISTIC;
-          default:
-            return null;
+          case 0: return READ_LOCK_MODE_UNSPECIFIED;
+          case 1: return PESSIMISTIC;
+          case 2: return OPTIMISTIC;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ReadLockMode> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ReadLockMode findValueByNumber(int number) {
+                return ReadLockMode.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ReadLockMode findValueByNumber(int number) {
-              return ReadLockMode.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.spanner.v1.TransactionOptions.ReadWrite.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.spanner.v1.TransactionOptions.ReadWrite.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ReadLockMode[] VALUES = values();
 
-      public static ReadLockMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ReadLockMode valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -638,42 +595,30 @@ private ReadLockMode(int value) {
     public static final int READ_LOCK_MODE_FIELD_NUMBER = 1;
     private int readLockMode_ = 0;
     /**
-     *
-     *
      * 
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The enum numeric value on the wire for readLockMode. */ - @java.lang.Override - public int getReadLockModeValue() { + @java.lang.Override public int getReadLockModeValue() { return readLockMode_; } /** - * - * *
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The readLockMode. */ - @java.lang.Override - public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); - return result == null - ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); + return result == null ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -685,11 +630,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (readLockMode_ - != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode - .READ_LOCK_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (readLockMode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.READ_LOCK_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, readLockMode_); } getUnknownFields().writeTo(output); @@ -701,11 +644,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (readLockMode_ - != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode - .READ_LOCK_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, readLockMode_); + if (readLockMode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.READ_LOCK_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, readLockMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -715,13 +656,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.ReadWrite other = - (com.google.spanner.v1.TransactionOptions.ReadWrite) obj; + com.google.spanner.v1.TransactionOptions.ReadWrite other = (com.google.spanner.v1.TransactionOptions.ReadWrite) obj; if (readLockMode_ != other.readLockMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -743,93 +683,89 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.ReadWrite prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -839,8 +775,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message type to initiate a read-write transaction. Currently this
      * transaction type has no options.
@@ -848,33 +782,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadWrite}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.ReadWrite)
         com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.TransactionProto
-            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.TransactionProto
-            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
+        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.TransactionOptions.ReadWrite.class,
-                com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
+                com.google.spanner.v1.TransactionOptions.ReadWrite.class, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -884,9 +818,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.TransactionProto
-            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
       }
 
       @java.lang.Override
@@ -905,11 +839,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite build() {
 
       @java.lang.Override
       public com.google.spanner.v1.TransactionOptions.ReadWrite buildPartial() {
-        com.google.spanner.v1.TransactionOptions.ReadWrite result =
-            new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.v1.TransactionOptions.ReadWrite result = new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -925,41 +856,38 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions.ReadWrite re
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.spanner.v1.TransactionOptions.ReadWrite) {
-          return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadWrite) other);
+          return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadWrite)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -967,8 +895,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.ReadWrite other) {
-        if (other == com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this;
         if (other.readLockMode_ != 0) {
           setReadLockModeValue(other.getReadLockModeValue());
         }
@@ -998,19 +925,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  readLockMode_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                readLockMode_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              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) {
@@ -1020,36 +945,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int readLockMode_ = 0;
       /**
-       *
-       *
        * 
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @return The enum numeric value on the wire for readLockMode. */ - @java.lang.Override - public int getReadLockModeValue() { + @java.lang.Override public int getReadLockModeValue() { return readLockMode_; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @param value The enum numeric value on the wire for readLockMode to set. * @return This builder for chaining. */ @@ -1060,41 +975,28 @@ public Builder setReadLockModeValue(int value) { return this; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @return The readLockMode. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber( - readLockMode_); - return result == null - ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED - : result; + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); + return result == null ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED : result; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @param value The readLockMode to set. * @return This builder for chaining. */ - public Builder setReadLockMode( - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode value) { + public Builder setReadLockMode(com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode value) { if (value == null) { throw new NullPointerException(); } @@ -1104,15 +1006,11 @@ public Builder setReadLockMode( return this; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @return This builder for chaining. */ public Builder clearReadLockMode() { @@ -1121,7 +1019,6 @@ public Builder clearReadLockMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1134,12 +1031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.ReadWrite) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.ReadWrite) private static final com.google.spanner.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.ReadWrite(); } @@ -1148,28 +1045,27 @@ public static com.google.spanner.v1.TransactionOptions.ReadWrite getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadWrite 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadWrite 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; @@ -1184,56 +1080,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PartitionedDmlOrBuilder - extends + public interface PartitionedDmlOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.PartitionedDml) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Message type to initiate a Partitioned DML transaction.
    * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.PartitionedDml} */ - public static final class PartitionedDml extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PartitionedDml extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.PartitionedDml) PartitionedDmlOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionedDml.newBuilder() to construct. private PartitionedDml(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartitionedDml() {} + private PartitionedDml() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionedDml(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.PartitionedDml.class, - com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); + com.google.spanner.v1.TransactionOptions.PartitionedDml.class, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1245,7 +1138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -1263,13 +1157,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.TransactionOptions.PartitionedDml)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.PartitionedDml other = - (com.google.spanner.v1.TransactionOptions.PartitionedDml) obj; + com.google.spanner.v1.TransactionOptions.PartitionedDml other = (com.google.spanner.v1.TransactionOptions.PartitionedDml) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1288,94 +1181,89 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.TransactionOptions.PartitionedDml prototype) { + public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.PartitionedDml prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1385,41 +1273,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message type to initiate a Partitioned DML transaction.
      * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.PartitionedDml} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.PartitionedDml) com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.PartitionedDml.class, - com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); + com.google.spanner.v1.TransactionOptions.PartitionedDml.class, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); } // Construct using com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1427,9 +1313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override @@ -1448,8 +1334,7 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml build() { @java.lang.Override public com.google.spanner.v1.TransactionOptions.PartitionedDml buildPartial() { - com.google.spanner.v1.TransactionOptions.PartitionedDml result = - new com.google.spanner.v1.TransactionOptions.PartitionedDml(this); + com.google.spanner.v1.TransactionOptions.PartitionedDml result = new com.google.spanner.v1.TransactionOptions.PartitionedDml(this); onBuilt(); return result; } @@ -1458,41 +1343,38 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.TransactionOptions.PartitionedDml) { - return mergeFrom((com.google.spanner.v1.TransactionOptions.PartitionedDml) other); + return mergeFrom((com.google.spanner.v1.TransactionOptions.PartitionedDml)other); } else { super.mergeFrom(other); return this; @@ -1500,8 +1382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.PartitionedDml other) { - if (other == com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1528,13 +1409,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1544,7 +1424,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1557,12 +1436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.PartitionedDml) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.PartitionedDml) private static final com.google.spanner.v1.TransactionOptions.PartitionedDml DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.PartitionedDml(); } @@ -1571,28 +1450,27 @@ public static com.google.spanner.v1.TransactionOptions.PartitionedDml getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionedDml 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionedDml 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; @@ -1607,43 +1485,35 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.PartitionedDml getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadOnlyOrBuilder - extends + public interface ReadOnlyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return Whether the strong field is set. */ boolean hasStrong(); /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return The strong. */ boolean getStrong(); /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      *
@@ -1658,13 +1528,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ boolean hasMinReadTimestamp(); /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      *
@@ -1679,13 +1546,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return The minReadTimestamp. */ com.google.protobuf.Timestamp getMinReadTimestamp(); /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      *
@@ -1704,8 +1568,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder();
 
     /**
-     *
-     *
      * 
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1723,13 +1585,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ boolean hasMaxStaleness(); /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1747,13 +1606,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return The maxStaleness. */ com.google.protobuf.Duration getMaxStaleness(); /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1775,8 +1631,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder();
 
     /**
-     *
-     *
      * 
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1793,13 +1647,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ boolean hasReadTimestamp(); /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1816,13 +1667,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return The readTimestamp. */ com.google.protobuf.Timestamp getReadTimestamp(); /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1843,8 +1691,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder();
 
     /**
-     *
-     *
      * 
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1860,13 +1706,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ boolean hasExactStaleness(); /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1882,13 +1725,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return The exactStaleness. */ com.google.protobuf.Duration getExactStaleness(); /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1908,8 +1748,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder();
 
     /**
-     *
-     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -1917,7 +1755,6 @@ public interface ReadOnlyOrBuilder
      * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ boolean getReturnReadTimestamp(); @@ -1925,55 +1762,49 @@ public interface ReadOnlyOrBuilder com.google.spanner.v1.TransactionOptions.ReadOnly.TimestampBoundCase getTimestampBoundCase(); } /** - * - * *
    * Message type to initiate a read-only transaction.
    * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadOnly} */ - public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadOnly extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadOnly() {} + private ReadOnly() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadOnly(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.ReadOnly.class, - com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.spanner.v1.TransactionOptions.ReadOnly.class, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); } private int timestampBoundCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object timestampBound_; - public enum TimestampBoundCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRONG(1), MIN_READ_TIMESTAMP(2), @@ -1982,7 +1813,6 @@ public enum TimestampBoundCase EXACT_STALENESS(5), TIMESTAMPBOUND_NOT_SET(0); private final int value; - private TimestampBoundCase(int value) { this.value = value; } @@ -1998,43 +1828,34 @@ public static TimestampBoundCase valueOf(int value) { public static TimestampBoundCase forNumber(int value) { switch (value) { - case 1: - return STRONG; - case 2: - return MIN_READ_TIMESTAMP; - case 3: - return MAX_STALENESS; - case 4: - return READ_TIMESTAMP; - case 5: - return EXACT_STALENESS; - case 0: - return TIMESTAMPBOUND_NOT_SET; - default: - return null; + case 1: return STRONG; + case 2: return MIN_READ_TIMESTAMP; + case 3: return MAX_STALENESS; + case 4: return READ_TIMESTAMP; + case 5: return EXACT_STALENESS; + case 0: return TIMESTAMPBOUND_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TimestampBoundCase getTimestampBoundCase() { - return TimestampBoundCase.forNumber(timestampBoundCase_); + public TimestampBoundCase + getTimestampBoundCase() { + return TimestampBoundCase.forNumber( + timestampBoundCase_); } public static final int STRONG_FIELD_NUMBER = 1; /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return Whether the strong field is set. */ @java.lang.Override @@ -2042,15 +1863,12 @@ public boolean hasStrong() { return timestampBoundCase_ == 1; } /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return The strong. */ @java.lang.Override @@ -2063,8 +1881,6 @@ public boolean getStrong() { public static final int MIN_READ_TIMESTAMP_FIELD_NUMBER = 2; /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      *
@@ -2079,7 +1895,6 @@ public boolean getStrong() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -2087,8 +1902,6 @@ public boolean hasMinReadTimestamp() { return timestampBoundCase_ == 2; } /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      *
@@ -2103,19 +1916,16 @@ public boolean hasMinReadTimestamp() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return The minReadTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getMinReadTimestamp() { if (timestampBoundCase_ == 2) { - return (com.google.protobuf.Timestamp) timestampBound_; + return (com.google.protobuf.Timestamp) timestampBound_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      *
@@ -2134,15 +1944,13 @@ public com.google.protobuf.Timestamp getMinReadTimestamp() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
       if (timestampBoundCase_ == 2) {
-        return (com.google.protobuf.Timestamp) timestampBound_;
+         return (com.google.protobuf.Timestamp) timestampBound_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     public static final int MAX_STALENESS_FIELD_NUMBER = 3;
     /**
-     *
-     *
      * 
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -2160,7 +1968,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -2168,8 +1975,6 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -2187,19 +1992,16 @@ public boolean hasMaxStaleness() {
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return The maxStaleness. */ @java.lang.Override public com.google.protobuf.Duration getMaxStaleness() { if (timestampBoundCase_ == 3) { - return (com.google.protobuf.Duration) timestampBound_; + return (com.google.protobuf.Duration) timestampBound_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -2221,15 +2023,13 @@ public com.google.protobuf.Duration getMaxStaleness() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
       if (timestampBoundCase_ == 3) {
-        return (com.google.protobuf.Duration) timestampBound_;
+         return (com.google.protobuf.Duration) timestampBound_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
 
     public static final int READ_TIMESTAMP_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -2246,7 +2046,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -2254,8 +2053,6 @@ public boolean hasReadTimestamp() { return timestampBoundCase_ == 4; } /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -2272,19 +2069,16 @@ public boolean hasReadTimestamp() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return The readTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTimestamp() { if (timestampBoundCase_ == 4) { - return (com.google.protobuf.Timestamp) timestampBound_; + return (com.google.protobuf.Timestamp) timestampBound_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -2305,15 +2099,13 @@ public com.google.protobuf.Timestamp getReadTimestamp() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       if (timestampBoundCase_ == 4) {
-        return (com.google.protobuf.Timestamp) timestampBound_;
+         return (com.google.protobuf.Timestamp) timestampBound_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     public static final int EXACT_STALENESS_FIELD_NUMBER = 5;
     /**
-     *
-     *
      * 
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2329,7 +2121,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -2337,8 +2128,6 @@ public boolean hasExactStaleness() { return timestampBoundCase_ == 5; } /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2354,19 +2143,16 @@ public boolean hasExactStaleness() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return The exactStaleness. */ @java.lang.Override public com.google.protobuf.Duration getExactStaleness() { if (timestampBoundCase_ == 5) { - return (com.google.protobuf.Duration) timestampBound_; + return (com.google.protobuf.Duration) timestampBound_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2386,7 +2172,7 @@ public com.google.protobuf.Duration getExactStaleness() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
       if (timestampBoundCase_ == 5) {
-        return (com.google.protobuf.Duration) timestampBound_;
+         return (com.google.protobuf.Duration) timestampBound_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
@@ -2394,8 +2180,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
     public static final int RETURN_READ_TIMESTAMP_FIELD_NUMBER = 6;
     private boolean returnReadTimestamp_ = false;
     /**
-     *
-     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -2403,7 +2187,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
      * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ @java.lang.Override @@ -2412,7 +2195,6 @@ public boolean getReturnReadTimestamp() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2424,9 +2206,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (timestampBoundCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) timestampBound_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) timestampBound_)); } if (timestampBoundCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Timestamp) timestampBound_); @@ -2453,32 +2237,29 @@ public int getSerializedSize() { size = 0; if (timestampBoundCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) timestampBound_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) timestampBound_)); } if (timestampBoundCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.protobuf.Timestamp) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.protobuf.Timestamp) timestampBound_); } if (timestampBoundCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.protobuf.Duration) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.protobuf.Duration) timestampBound_); } if (timestampBoundCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.protobuf.Timestamp) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.protobuf.Timestamp) timestampBound_); } if (timestampBoundCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.protobuf.Duration) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.protobuf.Duration) timestampBound_); } if (returnReadTimestamp_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, returnReadTimestamp_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, returnReadTimestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2488,31 +2269,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.TransactionOptions.ReadOnly)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.ReadOnly other = - (com.google.spanner.v1.TransactionOptions.ReadOnly) obj; + com.google.spanner.v1.TransactionOptions.ReadOnly other = (com.google.spanner.v1.TransactionOptions.ReadOnly) obj; - if (getReturnReadTimestamp() != other.getReturnReadTimestamp()) return false; + if (getReturnReadTimestamp() + != other.getReturnReadTimestamp()) return false; if (!getTimestampBoundCase().equals(other.getTimestampBoundCase())) return false; switch (timestampBoundCase_) { case 1: - if (getStrong() != other.getStrong()) return false; + if (getStrong() + != other.getStrong()) return false; break; case 2: - if (!getMinReadTimestamp().equals(other.getMinReadTimestamp())) return false; + if (!getMinReadTimestamp() + .equals(other.getMinReadTimestamp())) return false; break; case 3: - if (!getMaxStaleness().equals(other.getMaxStaleness())) return false; + if (!getMaxStaleness() + .equals(other.getMaxStaleness())) return false; break; case 4: - if (!getReadTimestamp().equals(other.getReadTimestamp())) return false; + if (!getReadTimestamp() + .equals(other.getReadTimestamp())) return false; break; case 5: - if (!getExactStaleness().equals(other.getExactStaleness())) return false; + if (!getExactStaleness() + .equals(other.getExactStaleness())) return false; break; case 0: default: @@ -2529,11 +2315,13 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RETURN_READ_TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnReadTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReturnReadTimestamp()); switch (timestampBoundCase_) { case 1: hash = (37 * hash) + STRONG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrong()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrong()); break; case 2: hash = (37 * hash) + MIN_READ_TIMESTAMP_FIELD_NUMBER; @@ -2560,93 +2348,89 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.ReadOnly prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2656,41 +2440,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message type to initiate a read-only transaction.
      * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadOnly} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.ReadOnly) com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.ReadOnly.class, - com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.spanner.v1.TransactionOptions.ReadOnly.class, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); } // Construct using com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2714,9 +2496,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override @@ -2735,11 +2517,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.spanner.v1.TransactionOptions.ReadOnly result = - new com.google.spanner.v1.TransactionOptions.ReadOnly(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.TransactionOptions.ReadOnly result = new com.google.spanner.v1.TransactionOptions.ReadOnly(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2755,16 +2534,20 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions.ReadOnly res private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions.ReadOnly result) { result.timestampBoundCase_ = timestampBoundCase_; result.timestampBound_ = this.timestampBound_; - if (timestampBoundCase_ == 2 && minReadTimestampBuilder_ != null) { + if (timestampBoundCase_ == 2 && + minReadTimestampBuilder_ != null) { result.timestampBound_ = minReadTimestampBuilder_.build(); } - if (timestampBoundCase_ == 3 && maxStalenessBuilder_ != null) { + if (timestampBoundCase_ == 3 && + maxStalenessBuilder_ != null) { result.timestampBound_ = maxStalenessBuilder_.build(); } - if (timestampBoundCase_ == 4 && readTimestampBuilder_ != null) { + if (timestampBoundCase_ == 4 && + readTimestampBuilder_ != null) { result.timestampBound_ = readTimestampBuilder_.build(); } - if (timestampBoundCase_ == 5 && exactStalenessBuilder_ != null) { + if (timestampBoundCase_ == 5 && + exactStalenessBuilder_ != null) { result.timestampBound_ = exactStalenessBuilder_.build(); } } @@ -2773,41 +2556,38 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions.ReadOnl public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.v1.TransactionOptions.ReadOnly) { - return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadOnly) other); + return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadOnly)other); } else { super.mergeFrom(other); return this; @@ -2815,41 +2595,34 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.ReadOnly other) { - if (other == com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) return this; if (other.getReturnReadTimestamp() != false) { setReturnReadTimestamp(other.getReturnReadTimestamp()); } switch (other.getTimestampBoundCase()) { - case STRONG: - { - setStrong(other.getStrong()); - break; - } - case MIN_READ_TIMESTAMP: - { - mergeMinReadTimestamp(other.getMinReadTimestamp()); - break; - } - case MAX_STALENESS: - { - mergeMaxStaleness(other.getMaxStaleness()); - break; - } - case READ_TIMESTAMP: - { - mergeReadTimestamp(other.getReadTimestamp()); - break; - } - case EXACT_STALENESS: - { - mergeExactStaleness(other.getExactStaleness()); - break; - } - case TIMESTAMPBOUND_NOT_SET: - { - break; - } + case STRONG: { + setStrong(other.getStrong()); + break; + } + case MIN_READ_TIMESTAMP: { + mergeMinReadTimestamp(other.getMinReadTimestamp()); + break; + } + case MAX_STALENESS: { + mergeMaxStaleness(other.getMaxStaleness()); + break; + } + case READ_TIMESTAMP: { + mergeReadTimestamp(other.getReadTimestamp()); + break; + } + case EXACT_STALENESS: { + mergeExactStaleness(other.getExactStaleness()); + break; + } + case TIMESTAMPBOUND_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2877,51 +2650,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - timestampBound_ = input.readBool(); - timestampBoundCase_ = 1; - break; - } // case 8 - case 18: - { - input.readMessage( - getMinReadTimestampFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getMaxStalenessFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getReadTimestampFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage( - getExactStalenessFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 5; - break; - } // case 42 - case 48: - { - returnReadTimestamp_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + timestampBound_ = input.readBool(); + timestampBoundCase_ = 1; + break; + } // case 8 + case 18: { + input.readMessage( + getMinReadTimestampFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getMaxStalenessFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getReadTimestampFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getExactStalenessFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 5; + break; + } // case 42 + case 48: { + returnReadTimestamp_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + 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) { @@ -2931,12 +2703,12 @@ public Builder mergeFrom( } // finally return this; } - private int timestampBoundCase_ = 0; private java.lang.Object timestampBound_; - - public TimestampBoundCase getTimestampBoundCase() { - return TimestampBoundCase.forNumber(timestampBoundCase_); + public TimestampBoundCase + getTimestampBoundCase() { + return TimestampBoundCase.forNumber( + timestampBoundCase_); } public Builder clearTimestampBound() { @@ -2949,30 +2721,24 @@ public Builder clearTimestampBound() { private int bitField0_; /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @return Whether the strong field is set. */ public boolean hasStrong() { return timestampBoundCase_ == 1; } /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @return The strong. */ public boolean getStrong() { @@ -2982,15 +2748,12 @@ public boolean getStrong() { return false; } /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @param value The strong to set. * @return This builder for chaining. */ @@ -3002,15 +2765,12 @@ public Builder setStrong(boolean value) { return this; } /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @return This builder for chaining. */ public Builder clearStrong() { @@ -3023,13 +2783,8 @@ public Builder clearStrong() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - minReadTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> minReadTimestampBuilder_; /** - * - * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3044,7 +2799,6 @@ public Builder clearStrong() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -3052,8 +2806,6 @@ public boolean hasMinReadTimestamp() { return timestampBoundCase_ == 2; } /** - * - * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3068,7 +2820,6 @@ public boolean hasMinReadTimestamp() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return The minReadTimestamp. */ @java.lang.Override @@ -3086,8 +2837,6 @@ public com.google.protobuf.Timestamp getMinReadTimestamp() { } } /** - * - * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3117,8 +2866,6 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3134,7 +2881,8 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp min_read_timestamp = 2;
        */
-      public Builder setMinReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setMinReadTimestamp(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (minReadTimestampBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3145,8 +2893,6 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp.Builder builder
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3164,13 +2910,10 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp.Builder builder
        */
       public Builder mergeMinReadTimestamp(com.google.protobuf.Timestamp value) {
         if (minReadTimestampBuilder_ == null) {
-          if (timestampBoundCase_ == 2
-              && timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Timestamp.newBuilder(
-                        (com.google.protobuf.Timestamp) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 2 &&
+              timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3186,8 +2929,6 @@ public Builder mergeMinReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3220,8 +2961,6 @@ public Builder clearMinReadTimestamp() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3241,8 +2980,6 @@ public com.google.protobuf.Timestamp.Builder getMinReadTimestampBuilder() {
         return getMinReadTimestampFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3270,8 +3007,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        *
@@ -3288,19 +3023,14 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * .google.protobuf.Timestamp min_read_timestamp = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getMinReadTimestampFieldBuilder() {
         if (minReadTimestampBuilder_ == null) {
           if (!(timestampBoundCase_ == 2)) {
             timestampBound_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          minReadTimestampBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
+          minReadTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3312,13 +3042,8 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          maxStalenessBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxStalenessBuilder_;
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3336,7 +3061,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -3344,8 +3068,6 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** - * - * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3363,7 +3085,6 @@ public boolean hasMaxStaleness() {
        * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return The maxStaleness. */ @java.lang.Override @@ -3381,8 +3102,6 @@ public com.google.protobuf.Duration getMaxStaleness() { } } /** - * - * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3415,8 +3134,6 @@ public Builder setMaxStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3435,7 +3152,8 @@ public Builder setMaxStaleness(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration max_staleness = 3;
        */
-      public Builder setMaxStaleness(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setMaxStaleness(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (maxStalenessBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3446,8 +3164,6 @@ public Builder setMaxStaleness(com.google.protobuf.Duration.Builder builderForVa
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3468,13 +3184,10 @@ public Builder setMaxStaleness(com.google.protobuf.Duration.Builder builderForVa
        */
       public Builder mergeMaxStaleness(com.google.protobuf.Duration value) {
         if (maxStalenessBuilder_ == null) {
-          if (timestampBoundCase_ == 3
-              && timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Duration.newBuilder(
-                        (com.google.protobuf.Duration) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 3 &&
+              timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3490,8 +3203,6 @@ public Builder mergeMaxStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3527,8 +3238,6 @@ public Builder clearMaxStaleness() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3551,8 +3260,6 @@ public com.google.protobuf.Duration.Builder getMaxStalenessBuilder() {
         return getMaxStalenessFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3583,8 +3290,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3604,19 +3309,14 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * .google.protobuf.Duration max_staleness = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getMaxStalenessFieldBuilder() {
         if (maxStalenessBuilder_ == null) {
           if (!(timestampBoundCase_ == 3)) {
             timestampBound_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          maxStalenessBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
+          maxStalenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
                   (com.google.protobuf.Duration) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3628,13 +3328,8 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          readTimestampBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimestampBuilder_;
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3651,7 +3346,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -3659,8 +3353,6 @@ public boolean hasReadTimestamp() { return timestampBoundCase_ == 4; } /** - * - * *
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3677,7 +3369,6 @@ public boolean hasReadTimestamp() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return The readTimestamp. */ @java.lang.Override @@ -3695,8 +3386,6 @@ public com.google.protobuf.Timestamp getReadTimestamp() { } } /** - * - * *
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3728,8 +3417,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3747,7 +3434,8 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_timestamp = 4;
        */
-      public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTimestamp(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimestampBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3758,8 +3446,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3779,13 +3465,10 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
        */
       public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
         if (readTimestampBuilder_ == null) {
-          if (timestampBoundCase_ == 4
-              && timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Timestamp.newBuilder(
-                        (com.google.protobuf.Timestamp) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 4 &&
+              timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3801,8 +3484,6 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3837,8 +3518,6 @@ public Builder clearReadTimestamp() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3860,8 +3539,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
         return getReadTimestampFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3891,8 +3568,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3911,19 +3586,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * .google.protobuf.Timestamp read_timestamp = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getReadTimestampFieldBuilder() {
         if (readTimestampBuilder_ == null) {
           if (!(timestampBoundCase_ == 4)) {
             timestampBound_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          readTimestampBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
+          readTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3935,13 +3605,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          exactStalenessBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> exactStalenessBuilder_;
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3957,7 +3622,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -3965,8 +3629,6 @@ public boolean hasExactStaleness() { return timestampBoundCase_ == 5; } /** - * - * *
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3982,7 +3644,6 @@ public boolean hasExactStaleness() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return The exactStaleness. */ @java.lang.Override @@ -4000,8 +3661,6 @@ public com.google.protobuf.Duration getExactStaleness() { } } /** - * - * *
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4032,8 +3691,6 @@ public Builder setExactStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4050,7 +3707,8 @@ public Builder setExactStaleness(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration exact_staleness = 5;
        */
-      public Builder setExactStaleness(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setExactStaleness(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (exactStalenessBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -4061,8 +3719,6 @@ public Builder setExactStaleness(com.google.protobuf.Duration.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4081,13 +3737,10 @@ public Builder setExactStaleness(com.google.protobuf.Duration.Builder builderFor
        */
       public Builder mergeExactStaleness(com.google.protobuf.Duration value) {
         if (exactStalenessBuilder_ == null) {
-          if (timestampBoundCase_ == 5
-              && timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Duration.newBuilder(
-                        (com.google.protobuf.Duration) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 5 &&
+              timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -4103,8 +3756,6 @@ public Builder mergeExactStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4138,8 +3789,6 @@ public Builder clearExactStaleness() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4160,8 +3809,6 @@ public com.google.protobuf.Duration.Builder getExactStalenessBuilder() {
         return getExactStalenessFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4190,8 +3837,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4209,19 +3854,14 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
        * .google.protobuf.Duration exact_staleness = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getExactStalenessFieldBuilder() {
         if (exactStalenessBuilder_ == null) {
           if (!(timestampBoundCase_ == 5)) {
             timestampBound_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          exactStalenessBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
+          exactStalenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
                   (com.google.protobuf.Duration) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -4232,10 +3872,8 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
         return exactStalenessBuilder_;
       }
 
-      private boolean returnReadTimestamp_;
+      private boolean returnReadTimestamp_ ;
       /**
-       *
-       *
        * 
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -4243,7 +3881,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
        * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ @java.lang.Override @@ -4251,8 +3888,6 @@ public boolean getReturnReadTimestamp() { return returnReadTimestamp_; } /** - * - * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -4260,7 +3895,6 @@ public boolean getReturnReadTimestamp() {
        * 
* * bool return_read_timestamp = 6; - * * @param value The returnReadTimestamp to set. * @return This builder for chaining. */ @@ -4272,8 +3906,6 @@ public Builder setReturnReadTimestamp(boolean value) { return this; } /** - * - * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -4281,7 +3913,6 @@ public Builder setReturnReadTimestamp(boolean value) {
        * 
* * bool return_read_timestamp = 6; - * * @return This builder for chaining. */ public Builder clearReturnReadTimestamp() { @@ -4290,7 +3921,6 @@ public Builder clearReturnReadTimestamp() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4303,12 +3933,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.ReadOnly) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.ReadOnly) private static final com.google.spanner.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.ReadOnly(); } @@ -4317,28 +3947,27 @@ public static com.google.spanner.v1.TransactionOptions.ReadOnly getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadOnly 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadOnly 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; @@ -4353,23 +3982,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int modeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object mode_; - public enum ModeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_WRITE(1), PARTITIONED_DML(3), READ_ONLY(2), MODE_NOT_SET(0); private final int value; - private ModeCase(int value) { this.value = value; } @@ -4385,32 +4011,26 @@ public static ModeCase valueOf(int value) { public static ModeCase forNumber(int value) { switch (value) { - case 1: - return READ_WRITE; - case 3: - return PARTITIONED_DML; - case 2: - return READ_ONLY; - case 0: - return MODE_NOT_SET; - default: - return null; + case 1: return READ_WRITE; + case 3: return PARTITIONED_DML; + case 2: return READ_ONLY; + case 0: return MODE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ModeCase getModeCase() { - return ModeCase.forNumber(modeCase_); + public ModeCase + getModeCase() { + return ModeCase.forNumber( + modeCase_); } public static final int READ_WRITE_FIELD_NUMBER = 1; /** - * - * *
    * Transaction may write.
    *
@@ -4420,7 +4040,6 @@ public ModeCase getModeCase() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -4428,8 +4047,6 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
    * Transaction may write.
    *
@@ -4439,19 +4056,16 @@ public boolean hasReadWrite() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 1) { - return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_; } return com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** - * - * *
    * Transaction may write.
    *
@@ -4465,15 +4079,13 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() {
     if (modeCase_ == 1) {
-      return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_;
+       return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance();
   }
 
   public static final int PARTITIONED_DML_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Partitioned DML transaction.
    *
@@ -4483,7 +4095,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return Whether the partitionedDml field is set. */ @java.lang.Override @@ -4491,8 +4102,6 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** - * - * *
    * Partitioned DML transaction.
    *
@@ -4502,19 +4111,16 @@ public boolean hasPartitionedDml() {
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return The partitionedDml. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml() { if (modeCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_; + return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_; } return com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance(); } /** - * - * *
    * Partitioned DML transaction.
    *
@@ -4526,18 +4132,15 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
    * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
    */
   @java.lang.Override
-  public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder
-      getPartitionedDmlOrBuilder() {
+  public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder() {
     if (modeCase_ == 3) {
-      return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_;
+       return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance();
   }
 
   public static final int READ_ONLY_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Transaction will not write.
    *
@@ -4547,7 +4150,6 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -4555,8 +4157,6 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
    * Transaction will not write.
    *
@@ -4566,19 +4166,16 @@ public boolean hasReadOnly() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_; } return com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** - * - * *
    * Transaction will not write.
    *
@@ -4592,7 +4189,7 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() {
     if (modeCase_ == 2) {
-      return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_;
+       return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance();
   }
@@ -4600,8 +4197,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
   public static final int EXCLUDE_TXN_FROM_CHANGE_STREAMS_FIELD_NUMBER = 5;
   private boolean excludeTxnFromChangeStreams_ = false;
   /**
-   *
-   *
    * 
    * When `exclude_txn_from_change_streams` is set to `true`:
    *  * Mutations from this transaction will not be recorded in change streams
@@ -4620,7 +4215,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
    * 
* * bool exclude_txn_from_change_streams = 5; - * * @return The excludeTxnFromChangeStreams. */ @java.lang.Override @@ -4629,7 +4223,6 @@ public boolean getExcludeTxnFromChangeStreams() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4641,7 +4234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (modeCase_ == 1) { output.writeMessage(1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_); } @@ -4664,23 +4258,20 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_); } if (modeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_); } if (modeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_); } if (excludeTxnFromChangeStreams_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(5, excludeTxnFromChangeStreams_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, excludeTxnFromChangeStreams_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4690,24 +4281,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.TransactionOptions)) { return super.equals(obj); } com.google.spanner.v1.TransactionOptions other = (com.google.spanner.v1.TransactionOptions) obj; - if (getExcludeTxnFromChangeStreams() != other.getExcludeTxnFromChangeStreams()) return false; + if (getExcludeTxnFromChangeStreams() + != other.getExcludeTxnFromChangeStreams()) return false; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (!getReadWrite().equals(other.getReadWrite())) return false; + if (!getReadWrite() + .equals(other.getReadWrite())) return false; break; case 3: - if (!getPartitionedDml().equals(other.getPartitionedDml())) return false; + if (!getPartitionedDml() + .equals(other.getPartitionedDml())) return false; break; case 2: - if (!getReadOnly().equals(other.getReadOnly())) return false; + if (!getReadOnly() + .equals(other.getReadOnly())) return false; break; case 0: default: @@ -4724,7 +4319,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXCLUDE_TXN_FROM_CHANGE_STREAMS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExcludeTxnFromChangeStreams()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExcludeTxnFromChangeStreams()); switch (modeCase_) { case 1: hash = (37 * hash) + READ_WRITE_FIELD_NUMBER; @@ -4746,104 +4342,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.TransactionOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.TransactionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Transactions:
    *
@@ -5173,32 +4764,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.TransactionOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions)
       com.google.spanner.v1.TransactionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionOptions.class,
-              com.google.spanner.v1.TransactionOptions.Builder.class);
+              com.google.spanner.v1.TransactionOptions.class, com.google.spanner.v1.TransactionOptions.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.TransactionOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5219,9 +4811,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -5240,11 +4832,8 @@ public com.google.spanner.v1.TransactionOptions build() {
 
     @java.lang.Override
     public com.google.spanner.v1.TransactionOptions buildPartial() {
-      com.google.spanner.v1.TransactionOptions result =
-          new com.google.spanner.v1.TransactionOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.TransactionOptions result = new com.google.spanner.v1.TransactionOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5260,13 +4849,16 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions result) {
     private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions result) {
       result.modeCase_ = modeCase_;
       result.mode_ = this.mode_;
-      if (modeCase_ == 1 && readWriteBuilder_ != null) {
+      if (modeCase_ == 1 &&
+          readWriteBuilder_ != null) {
         result.mode_ = readWriteBuilder_.build();
       }
-      if (modeCase_ == 3 && partitionedDmlBuilder_ != null) {
+      if (modeCase_ == 3 &&
+          partitionedDmlBuilder_ != null) {
         result.mode_ = partitionedDmlBuilder_.build();
       }
-      if (modeCase_ == 2 && readOnlyBuilder_ != null) {
+      if (modeCase_ == 2 &&
+          readOnlyBuilder_ != null) {
         result.mode_ = readOnlyBuilder_.build();
       }
     }
@@ -5275,39 +4867,38 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.TransactionOptions) {
-        return mergeFrom((com.google.spanner.v1.TransactionOptions) other);
+        return mergeFrom((com.google.spanner.v1.TransactionOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5320,25 +4911,21 @@ public Builder mergeFrom(com.google.spanner.v1.TransactionOptions other) {
         setExcludeTxnFromChangeStreams(other.getExcludeTxnFromChangeStreams());
       }
       switch (other.getModeCase()) {
-        case READ_WRITE:
-          {
-            mergeReadWrite(other.getReadWrite());
-            break;
-          }
-        case PARTITIONED_DML:
-          {
-            mergePartitionedDml(other.getPartitionedDml());
-            break;
-          }
-        case READ_ONLY:
-          {
-            mergeReadOnly(other.getReadOnly());
-            break;
-          }
-        case MODE_NOT_SET:
-          {
-            break;
-          }
+        case READ_WRITE: {
+          mergeReadWrite(other.getReadWrite());
+          break;
+        }
+        case PARTITIONED_DML: {
+          mergePartitionedDml(other.getPartitionedDml());
+          break;
+        }
+        case READ_ONLY: {
+          mergeReadOnly(other.getReadOnly());
+          break;
+        }
+        case MODE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -5366,37 +4953,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getReadWriteFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getReadOnlyFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getPartitionedDmlFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 3;
-                break;
-              } // case 26
-            case 40:
-              {
-                excludeTxnFromChangeStreams_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getReadWriteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getReadOnlyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getPartitionedDmlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 3;
+              break;
+            } // case 26
+            case 40: {
+              excludeTxnFromChangeStreams_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 40
+            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) {
@@ -5406,12 +4994,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-
-    public ModeCase getModeCase() {
-      return ModeCase.forNumber(modeCase_);
+    public ModeCase
+        getModeCase() {
+      return ModeCase.forNumber(
+          modeCase_);
     }
 
     public Builder clearMode() {
@@ -5424,13 +5012,8 @@ public Builder clearMode() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadWrite,
-            com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>
-        readWriteBuilder_;
+        com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder> readWriteBuilder_;
     /**
-     *
-     *
      * 
      * Transaction may write.
      *
@@ -5440,7 +5023,6 @@ public Builder clearMode() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -5448,8 +5030,6 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
      * Transaction may write.
      *
@@ -5459,7 +5039,6 @@ public boolean hasReadWrite() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ @java.lang.Override @@ -5477,8 +5056,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** - * - * *
      * Transaction may write.
      *
@@ -5503,8 +5080,6 @@ public Builder setReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite v
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      *
@@ -5527,8 +5102,6 @@ public Builder setReadWrite(
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      *
@@ -5541,13 +5114,10 @@ public Builder setReadWrite(
      */
     public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite value) {
       if (readWriteBuilder_ == null) {
-        if (modeCase_ == 1
-            && mode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) {
-          mode_ =
-              com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (modeCase_ == 1 &&
+            mode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) {
+          mode_ = com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder((com.google.spanner.v1.TransactionOptions.ReadWrite) mode_)
+              .mergeFrom(value).buildPartial();
         } else {
           mode_ = value;
         }
@@ -5563,8 +5133,6 @@ public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      *
@@ -5592,8 +5160,6 @@ public Builder clearReadWrite() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      *
@@ -5608,8 +5174,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite.Builder getReadWriteBu
       return getReadWriteFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      *
@@ -5632,8 +5196,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
       }
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      *
@@ -5645,19 +5207,14 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
      * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadWrite,
-            com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>
+        com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder> 
         getReadWriteFieldBuilder() {
       if (readWriteBuilder_ == null) {
         if (!(modeCase_ == 1)) {
           mode_ = com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance();
         }
-        readWriteBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions.ReadWrite,
-                com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
-                com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>(
+        readWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_,
                 getParentForChildren(),
                 isClean());
@@ -5669,13 +5226,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.PartitionedDml,
-            com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
-            com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>
-        partitionedDmlBuilder_;
+        com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder> partitionedDmlBuilder_;
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      *
@@ -5685,7 +5237,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return Whether the partitionedDml field is set. */ @java.lang.Override @@ -5693,8 +5244,6 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** - * - * *
      * Partitioned DML transaction.
      *
@@ -5704,7 +5253,6 @@ public boolean hasPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return The partitionedDml. */ @java.lang.Override @@ -5722,8 +5270,6 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml } } /** - * - * *
      * Partitioned DML transaction.
      *
@@ -5734,8 +5280,7 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public Builder setPartitionedDml(
-        com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
+    public Builder setPartitionedDml(com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
       if (partitionedDmlBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5749,8 +5294,6 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      *
@@ -5773,8 +5316,6 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      *
@@ -5785,17 +5326,12 @@ public Builder setPartitionedDml(
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public Builder mergePartitionedDml(
-        com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
+    public Builder mergePartitionedDml(com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
       if (partitionedDmlBuilder_ == null) {
-        if (modeCase_ == 3
-            && mode_
-                != com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) {
-          mode_ =
-              com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (modeCase_ == 3 &&
+            mode_ != com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) {
+          mode_ = com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder((com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_)
+              .mergeFrom(value).buildPartial();
         } else {
           mode_ = value;
         }
@@ -5811,8 +5347,6 @@ public Builder mergePartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      *
@@ -5840,8 +5374,6 @@ public Builder clearPartitionedDml() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      *
@@ -5852,13 +5384,10 @@ public Builder clearPartitionedDml() {
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder
-        getPartitionedDmlBuilder() {
+    public com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder getPartitionedDmlBuilder() {
       return getPartitionedDmlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      *
@@ -5870,8 +5399,7 @@ public Builder clearPartitionedDml() {
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
     @java.lang.Override
-    public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder
-        getPartitionedDmlOrBuilder() {
+    public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder() {
       if ((modeCase_ == 3) && (partitionedDmlBuilder_ != null)) {
         return partitionedDmlBuilder_.getMessageOrBuilder();
       } else {
@@ -5882,8 +5410,6 @@ public Builder clearPartitionedDml() {
       }
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      *
@@ -5895,19 +5421,14 @@ public Builder clearPartitionedDml() {
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.PartitionedDml,
-            com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
-            com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>
+        com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder> 
         getPartitionedDmlFieldBuilder() {
       if (partitionedDmlBuilder_ == null) {
         if (!(modeCase_ == 3)) {
           mode_ = com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance();
         }
-        partitionedDmlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions.PartitionedDml,
-                com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
-                com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>(
+        partitionedDmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_,
                 getParentForChildren(),
                 isClean());
@@ -5919,13 +5440,8 @@ public Builder clearPartitionedDml() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadOnly,
-            com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>
-        readOnlyBuilder_;
+        com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder> readOnlyBuilder_;
     /**
-     *
-     *
      * 
      * Transaction will not write.
      *
@@ -5935,7 +5451,6 @@ public Builder clearPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -5943,8 +5458,6 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
      * Transaction will not write.
      *
@@ -5954,7 +5467,6 @@ public boolean hasReadOnly() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override @@ -5972,8 +5484,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** - * - * *
      * Transaction will not write.
      *
@@ -5998,8 +5508,6 @@ public Builder setReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly val
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      *
@@ -6022,8 +5530,6 @@ public Builder setReadOnly(
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      *
@@ -6036,13 +5542,10 @@ public Builder setReadOnly(
      */
     public Builder mergeReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly value) {
       if (readOnlyBuilder_ == null) {
-        if (modeCase_ == 2
-            && mode_ != com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) {
-          mode_ =
-              com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (modeCase_ == 2 &&
+            mode_ != com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) {
+          mode_ = com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder((com.google.spanner.v1.TransactionOptions.ReadOnly) mode_)
+              .mergeFrom(value).buildPartial();
         } else {
           mode_ = value;
         }
@@ -6058,8 +5561,6 @@ public Builder mergeReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly v
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      *
@@ -6087,8 +5588,6 @@ public Builder clearReadOnly() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      *
@@ -6103,8 +5602,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBuil
       return getReadOnlyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      *
@@ -6127,8 +5624,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       }
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      *
@@ -6140,19 +5635,14 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
      * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadOnly,
-            com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>
+        com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder> 
         getReadOnlyFieldBuilder() {
       if (readOnlyBuilder_ == null) {
         if (!(modeCase_ == 2)) {
           mode_ = com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance();
         }
-        readOnlyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions.ReadOnly,
-                com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
-                com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>(
+        readOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_,
                 getParentForChildren(),
                 isClean());
@@ -6163,10 +5653,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       return readOnlyBuilder_;
     }
 
-    private boolean excludeTxnFromChangeStreams_;
+    private boolean excludeTxnFromChangeStreams_ ;
     /**
-     *
-     *
      * 
      * When `exclude_txn_from_change_streams` is set to `true`:
      *  * Mutations from this transaction will not be recorded in change streams
@@ -6185,7 +5673,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
      * 
* * bool exclude_txn_from_change_streams = 5; - * * @return The excludeTxnFromChangeStreams. */ @java.lang.Override @@ -6193,8 +5680,6 @@ public boolean getExcludeTxnFromChangeStreams() { return excludeTxnFromChangeStreams_; } /** - * - * *
      * When `exclude_txn_from_change_streams` is set to `true`:
      *  * Mutations from this transaction will not be recorded in change streams
@@ -6213,7 +5698,6 @@ public boolean getExcludeTxnFromChangeStreams() {
      * 
* * bool exclude_txn_from_change_streams = 5; - * * @param value The excludeTxnFromChangeStreams to set. * @return This builder for chaining. */ @@ -6225,8 +5709,6 @@ public Builder setExcludeTxnFromChangeStreams(boolean value) { return this; } /** - * - * *
      * When `exclude_txn_from_change_streams` is set to `true`:
      *  * Mutations from this transaction will not be recorded in change streams
@@ -6245,7 +5727,6 @@ public Builder setExcludeTxnFromChangeStreams(boolean value) {
      * 
* * bool exclude_txn_from_change_streams = 5; - * * @return This builder for chaining. */ public Builder clearExcludeTxnFromChangeStreams() { @@ -6254,9 +5735,9 @@ public Builder clearExcludeTxnFromChangeStreams() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6266,12 +5747,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions) private static final com.google.spanner.v1.TransactionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions(); } @@ -6280,27 +5761,27 @@ public static com.google.spanner.v1.TransactionOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransactionOptions 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionOptions 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; @@ -6315,4 +5796,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java similarity index 86% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java index 4e5c8092881..dcd4ddc9d37 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/transaction.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface TransactionOptionsOrBuilder - extends +public interface TransactionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Transaction may write.
    *
@@ -36,13 +18,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** - * - * *
    * Transaction may write.
    *
@@ -52,13 +31,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite(); /** - * - * *
    * Transaction may write.
    *
@@ -72,8 +48,6 @@ public interface TransactionOptionsOrBuilder
   com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder();
 
   /**
-   *
-   *
    * 
    * Partitioned DML transaction.
    *
@@ -83,13 +57,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return Whether the partitionedDml field is set. */ boolean hasPartitionedDml(); /** - * - * *
    * Partitioned DML transaction.
    *
@@ -99,13 +70,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return The partitionedDml. */ com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml(); /** - * - * *
    * Partitioned DML transaction.
    *
@@ -119,8 +87,6 @@ public interface TransactionOptionsOrBuilder
   com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Transaction will not write.
    *
@@ -130,13 +96,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** - * - * *
    * Transaction will not write.
    *
@@ -146,13 +109,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly(); /** - * - * *
    * Transaction will not write.
    *
@@ -166,8 +126,6 @@ public interface TransactionOptionsOrBuilder
   com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder();
 
   /**
-   *
-   *
    * 
    * When `exclude_txn_from_change_streams` is set to `true`:
    *  * Mutations from this transaction will not be recorded in change streams
@@ -186,7 +144,6 @@ public interface TransactionOptionsOrBuilder
    * 
* * bool exclude_txn_from_change_streams = 5; - * * @return The excludeTxnFromChangeStreams. */ boolean getExcludeTxnFromChangeStreams(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java index 6cca06a7b39..c6b32f1d838 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/transaction.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface TransactionOrBuilder - extends +public interface TransactionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.Transaction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * `id` may be used to identify the transaction in subsequent
    * [Read][google.spanner.v1.Spanner.Read],
@@ -39,14 +21,11 @@ public interface TransactionOrBuilder
    * 
* * bytes id = 1; - * * @return The id. */ com.google.protobuf.ByteString getId(); /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -57,13 +36,10 @@ public interface TransactionOrBuilder
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return Whether the readTimestamp field is set. */ boolean hasReadTimestamp(); /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -74,13 +50,10 @@ public interface TransactionOrBuilder
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return The readTimestamp. */ com.google.protobuf.Timestamp getReadTimestamp(); /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
new file mode 100644
index 00000000000..9d8ea7e482c
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
@@ -0,0 +1,139 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/transaction.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.spanner.v1;
+
+public final class TransactionProto {
+  private TransactionProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Transaction_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Transaction_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionSelector_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionSelector_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#google/spanner/v1/transaction.proto\022\021g" +
+      "oogle.spanner.v1\032\036google/protobuf/durati" +
+      "on.proto\032\037google/protobuf/timestamp.prot" +
+      "o\"\224\006\n\022TransactionOptions\022E\n\nread_write\030\001" +
+      " \001(\0132/.google.spanner.v1.TransactionOpti" +
+      "ons.ReadWriteH\000\022O\n\017partitioned_dml\030\003 \001(\013" +
+      "24.google.spanner.v1.TransactionOptions." +
+      "PartitionedDmlH\000\022C\n\tread_only\030\002 \001(\0132..go" +
+      "ogle.spanner.v1.TransactionOptions.ReadO" +
+      "nlyH\000\022\'\n\037exclude_txn_from_change_streams" +
+      "\030\005 \001(\010\032\262\001\n\tReadWrite\022T\n\016read_lock_mode\030\001" +
+      " \001(\0162<.google.spanner.v1.TransactionOpti" +
+      "ons.ReadWrite.ReadLockMode\"O\n\014ReadLockMo" +
+      "de\022\036\n\032READ_LOCK_MODE_UNSPECIFIED\020\000\022\017\n\013PE" +
+      "SSIMISTIC\020\001\022\016\n\nOPTIMISTIC\020\002\032\020\n\016Partition" +
+      "edDml\032\250\002\n\010ReadOnly\022\020\n\006strong\030\001 \001(\010H\000\0228\n\022" +
+      "min_read_timestamp\030\002 \001(\0132\032.google.protob" +
+      "uf.TimestampH\000\0222\n\rmax_staleness\030\003 \001(\0132\031." +
+      "google.protobuf.DurationH\000\0224\n\016read_times" +
+      "tamp\030\004 \001(\0132\032.google.protobuf.TimestampH\000" +
+      "\0224\n\017exact_staleness\030\005 \001(\0132\031.google.proto" +
+      "buf.DurationH\000\022\035\n\025return_read_timestamp\030" +
+      "\006 \001(\010B\021\n\017timestamp_boundB\006\n\004mode\"M\n\013Tran" +
+      "saction\022\n\n\002id\030\001 \001(\014\0222\n\016read_timestamp\030\002 " +
+      "\001(\0132\032.google.protobuf.Timestamp\"\244\001\n\023Tran" +
+      "sactionSelector\022;\n\nsingle_use\030\001 \001(\0132%.go" +
+      "ogle.spanner.v1.TransactionOptionsH\000\022\014\n\002" +
+      "id\030\002 \001(\014H\000\0226\n\005begin\030\003 \001(\0132%.google.spann" +
+      "er.v1.TransactionOptionsH\000B\n\n\010selectorB\263" +
+      "\001\n\025com.google.spanner.v1B\020TransactionPro" +
+      "toP\001Z5cloud.google.com/go/spanner/apiv1/" +
+      "spannerpb;spannerpb\252\002\027Google.Cloud.Spann" +
+      "er.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google" +
+      "::Cloud::Spanner::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_TransactionOptions_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_descriptor,
+        new java.lang.String[] { "ReadWrite", "PartitionedDml", "ReadOnly", "ExcludeTxnFromChangeStreams", "Mode", });
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor =
+      internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor,
+        new java.lang.String[] { "ReadLockMode", });
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor =
+      internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor,
+        new java.lang.String[] { });
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor =
+      internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(2);
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor,
+        new java.lang.String[] { "Strong", "MinReadTimestamp", "MaxStaleness", "ReadTimestamp", "ExactStaleness", "ReturnReadTimestamp", "TimestampBound", });
+    internal_static_google_spanner_v1_Transaction_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_Transaction_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Transaction_descriptor,
+        new java.lang.String[] { "Id", "ReadTimestamp", });
+    internal_static_google_spanner_v1_TransactionSelector_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionSelector_descriptor,
+        new java.lang.String[] { "SingleUse", "Id", "Begin", "Selector", });
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
similarity index 73%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
index ae725f56d17..66005ffb8c8 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * This message is used to select the transaction in which a
  * [Read][google.spanner.v1.Spanner.Read] or
@@ -33,54 +16,49 @@
  *
  * Protobuf type {@code google.spanner.v1.TransactionSelector}
  */
-public final class TransactionSelector extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransactionSelector extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionSelector)
     TransactionSelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransactionSelector.newBuilder() to construct.
   private TransactionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransactionSelector() {}
+  private TransactionSelector() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransactionSelector();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionSelector_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.TransactionSelector.class,
-            com.google.spanner.v1.TransactionSelector.Builder.class);
+            com.google.spanner.v1.TransactionSelector.class, com.google.spanner.v1.TransactionSelector.Builder.class);
   }
 
   private int selectorCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object selector_;
-
   public enum SelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SINGLE_USE(1),
     ID(2),
     BEGIN(3),
     SELECTOR_NOT_SET(0);
     private final int value;
-
     private SelectorCase(int value) {
       this.value = value;
     }
@@ -96,32 +74,26 @@ public static SelectorCase valueOf(int value) {
 
     public static SelectorCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return SINGLE_USE;
-        case 2:
-          return ID;
-        case 3:
-          return BEGIN;
-        case 0:
-          return SELECTOR_NOT_SET;
-        default:
-          return null;
+        case 1: return SINGLE_USE;
+        case 2: return ID;
+        case 3: return BEGIN;
+        case 0: return SELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SelectorCase getSelectorCase() {
-    return SelectorCase.forNumber(selectorCase_);
+  public SelectorCase
+  getSelectorCase() {
+    return SelectorCase.forNumber(
+        selectorCase_);
   }
 
   public static final int SINGLE_USE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -129,7 +101,6 @@ public SelectorCase getSelectorCase() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -137,8 +108,6 @@ public boolean hasSingleUse() { return selectorCase_ == 1; } /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -146,19 +115,16 @@ public boolean hasSingleUse() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return The singleUse. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getSingleUse() { if (selectorCase_ == 1) { - return (com.google.spanner.v1.TransactionOptions) selector_; + return (com.google.spanner.v1.TransactionOptions) selector_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -170,21 +136,18 @@ public com.google.spanner.v1.TransactionOptions getSingleUse() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder() {
     if (selectorCase_ == 1) {
-      return (com.google.spanner.v1.TransactionOptions) selector_;
+       return (com.google.spanner.v1.TransactionOptions) selector_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int ID_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return Whether the id field is set. */ @java.lang.Override @@ -192,14 +155,11 @@ public boolean hasId() { return selectorCase_ == 2; } /** - * - * *
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return The id. */ @java.lang.Override @@ -212,8 +172,6 @@ public com.google.protobuf.ByteString getId() { public static final int BEGIN_FIELD_NUMBER = 3; /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -222,7 +180,6 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ @java.lang.Override @@ -230,8 +187,6 @@ public boolean hasBegin() { return selectorCase_ == 3; } /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -240,19 +195,16 @@ public boolean hasBegin() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return The begin. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getBegin() { if (selectorCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions) selector_; + return (com.google.spanner.v1.TransactionOptions) selector_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -265,13 +217,12 @@ public com.google.spanner.v1.TransactionOptions getBegin() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
     if (selectorCase_ == 3) {
-      return (com.google.spanner.v1.TransactionOptions) selector_;
+       return (com.google.spanner.v1.TransactionOptions) selector_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -283,12 +234,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (selectorCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     if (selectorCase_ == 2) {
-      output.writeBytes(2, (com.google.protobuf.ByteString) selector_);
+      output.writeBytes(
+          2, (com.google.protobuf.ByteString) selector_);
     }
     if (selectorCase_ == 3) {
       output.writeMessage(3, (com.google.spanner.v1.TransactionOptions) selector_);
@@ -303,19 +256,17 @@ public int getSerializedSize() {
 
     size = 0;
     if (selectorCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.spanner.v1.TransactionOptions) selector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     if (selectorCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              2, (com.google.protobuf.ByteString) selector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            2, (com.google.protobuf.ByteString) selector_);
     }
     if (selectorCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.spanner.v1.TransactionOptions) selector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -325,24 +276,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.v1.TransactionSelector)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.TransactionSelector other =
-        (com.google.spanner.v1.TransactionSelector) obj;
+    com.google.spanner.v1.TransactionSelector other = (com.google.spanner.v1.TransactionSelector) obj;
 
     if (!getSelectorCase().equals(other.getSelectorCase())) return false;
     switch (selectorCase_) {
       case 1:
-        if (!getSingleUse().equals(other.getSingleUse())) return false;
+        if (!getSingleUse()
+            .equals(other.getSingleUse())) return false;
         break;
       case 2:
-        if (!getId().equals(other.getId())) return false;
+        if (!getId()
+            .equals(other.getId())) return false;
         break;
       case 3:
-        if (!getBegin().equals(other.getBegin())) return false;
+        if (!getBegin()
+            .equals(other.getBegin())) return false;
         break;
       case 0:
       default:
@@ -379,104 +332,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.TransactionSelector parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.TransactionSelector parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.TransactionSelector prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * This message is used to select the transaction in which a
    * [Read][google.spanner.v1.Spanner.Read] or
@@ -488,32 +436,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.TransactionSelector}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionSelector)
       com.google.spanner.v1.TransactionSelectorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionSelector.class,
-              com.google.spanner.v1.TransactionSelector.Builder.class);
+              com.google.spanner.v1.TransactionSelector.class, com.google.spanner.v1.TransactionSelector.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.TransactionSelector.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -530,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionSelector_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
     }
 
     @java.lang.Override
@@ -551,11 +500,8 @@ public com.google.spanner.v1.TransactionSelector build() {
 
     @java.lang.Override
     public com.google.spanner.v1.TransactionSelector buildPartial() {
-      com.google.spanner.v1.TransactionSelector result =
-          new com.google.spanner.v1.TransactionSelector(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.TransactionSelector result = new com.google.spanner.v1.TransactionSelector(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -568,10 +514,12 @@ private void buildPartial0(com.google.spanner.v1.TransactionSelector result) {
     private void buildPartialOneofs(com.google.spanner.v1.TransactionSelector result) {
       result.selectorCase_ = selectorCase_;
       result.selector_ = this.selector_;
-      if (selectorCase_ == 1 && singleUseBuilder_ != null) {
+      if (selectorCase_ == 1 &&
+          singleUseBuilder_ != null) {
         result.selector_ = singleUseBuilder_.build();
       }
-      if (selectorCase_ == 3 && beginBuilder_ != null) {
+      if (selectorCase_ == 3 &&
+          beginBuilder_ != null) {
         result.selector_ = beginBuilder_.build();
       }
     }
@@ -580,39 +528,38 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionSelector result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.TransactionSelector) {
-        return mergeFrom((com.google.spanner.v1.TransactionSelector) other);
+        return mergeFrom((com.google.spanner.v1.TransactionSelector)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -622,25 +569,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.TransactionSelector other) {
       if (other == com.google.spanner.v1.TransactionSelector.getDefaultInstance()) return this;
       switch (other.getSelectorCase()) {
-        case SINGLE_USE:
-          {
-            mergeSingleUse(other.getSingleUse());
-            break;
-          }
-        case ID:
-          {
-            setId(other.getId());
-            break;
-          }
-        case BEGIN:
-          {
-            mergeBegin(other.getBegin());
-            break;
-          }
-        case SELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case SINGLE_USE: {
+          mergeSingleUse(other.getSingleUse());
+          break;
+        }
+        case ID: {
+          setId(other.getId());
+          break;
+        }
+        case BEGIN: {
+          mergeBegin(other.getBegin());
+          break;
+        }
+        case SELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -668,31 +611,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getSingleUseFieldBuilder().getBuilder(), extensionRegistry);
-                selectorCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                selector_ = input.readBytes();
-                selectorCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getBeginFieldBuilder().getBuilder(), extensionRegistry);
-                selectorCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getSingleUseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              selectorCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              selector_ = input.readBytes();
+              selectorCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getBeginFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              selectorCase_ = 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) {
@@ -702,12 +645,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int selectorCase_ = 0;
     private java.lang.Object selector_;
-
-    public SelectorCase getSelectorCase() {
-      return SelectorCase.forNumber(selectorCase_);
+    public SelectorCase
+        getSelectorCase() {
+      return SelectorCase.forNumber(
+          selectorCase_);
     }
 
     public Builder clearSelector() {
@@ -720,13 +663,8 @@ public Builder clearSelector() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
-        singleUseBuilder_;
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> singleUseBuilder_;
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -734,7 +672,6 @@ public Builder clearSelector() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -742,8 +679,6 @@ public boolean hasSingleUse() { return selectorCase_ == 1; } /** - * - * *
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -751,7 +686,6 @@ public boolean hasSingleUse() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return The singleUse. */ @java.lang.Override @@ -769,8 +703,6 @@ public com.google.spanner.v1.TransactionOptions getSingleUse() { } } /** - * - * *
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -793,8 +725,6 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -803,7 +733,8 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions value) {
      *
      * .google.spanner.v1.TransactionOptions single_use = 1;
      */
-    public Builder setSingleUse(com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setSingleUse(
+        com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
       if (singleUseBuilder_ == null) {
         selector_ = builderForValue.build();
         onChanged();
@@ -814,8 +745,6 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -826,13 +755,10 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions.Builder bui
      */
     public Builder mergeSingleUse(com.google.spanner.v1.TransactionOptions value) {
       if (singleUseBuilder_ == null) {
-        if (selectorCase_ == 1
-            && selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          selector_ =
-              com.google.spanner.v1.TransactionOptions.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions) selector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (selectorCase_ == 1 &&
+            selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          selector_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) selector_)
+              .mergeFrom(value).buildPartial();
         } else {
           selector_ = value;
         }
@@ -848,8 +774,6 @@ public Builder mergeSingleUse(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -875,8 +799,6 @@ public Builder clearSingleUse() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -889,8 +811,6 @@ public com.google.spanner.v1.TransactionOptions.Builder getSingleUseBuilder() {
       return getSingleUseFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -911,8 +831,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -922,19 +840,14 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
      * .google.spanner.v1.TransactionOptions single_use = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
         getSingleUseFieldBuilder() {
       if (singleUseBuilder_ == null) {
         if (!(selectorCase_ == 1)) {
           selector_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions,
-                com.google.spanner.v1.TransactionOptions.Builder,
-                com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        singleUseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) selector_,
                 getParentForChildren(),
                 isClean());
@@ -946,28 +859,22 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
     }
 
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @return Whether the id field is set. */ public boolean hasId() { return selectorCase_ == 2; } /** - * - * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @return The id. */ public com.google.protobuf.ByteString getId() { @@ -977,35 +884,27 @@ public com.google.protobuf.ByteString getId() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @param value The id to set. * @return This builder for chaining. */ public Builder setId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } selectorCase_ = 2; selector_ = value; onChanged(); return this; } /** - * - * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1018,13 +917,8 @@ public Builder clearId() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> - beginBuilder_; + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> beginBuilder_; /** - * - * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1033,7 +927,6 @@ public Builder clearId() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ @java.lang.Override @@ -1041,8 +934,6 @@ public boolean hasBegin() { return selectorCase_ == 3; } /** - * - * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1051,7 +942,6 @@ public boolean hasBegin() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return The begin. */ @java.lang.Override @@ -1069,8 +959,6 @@ public com.google.spanner.v1.TransactionOptions getBegin() { } } /** - * - * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1094,8 +982,6 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1105,7 +991,8 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions value) {
      *
      * .google.spanner.v1.TransactionOptions begin = 3;
      */
-    public Builder setBegin(com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setBegin(
+        com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
       if (beginBuilder_ == null) {
         selector_ = builderForValue.build();
         onChanged();
@@ -1116,8 +1003,6 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1129,13 +1014,10 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions.Builder builder
      */
     public Builder mergeBegin(com.google.spanner.v1.TransactionOptions value) {
       if (beginBuilder_ == null) {
-        if (selectorCase_ == 3
-            && selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          selector_ =
-              com.google.spanner.v1.TransactionOptions.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions) selector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (selectorCase_ == 3 &&
+            selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          selector_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) selector_)
+              .mergeFrom(value).buildPartial();
         } else {
           selector_ = value;
         }
@@ -1151,8 +1033,6 @@ public Builder mergeBegin(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1179,8 +1059,6 @@ public Builder clearBegin() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1194,8 +1072,6 @@ public com.google.spanner.v1.TransactionOptions.Builder getBeginBuilder() {
       return getBeginFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1217,8 +1093,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1229,19 +1103,14 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
      * .google.spanner.v1.TransactionOptions begin = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
         getBeginFieldBuilder() {
       if (beginBuilder_ == null) {
         if (!(selectorCase_ == 3)) {
           selector_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        beginBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions,
-                com.google.spanner.v1.TransactionOptions.Builder,
-                com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        beginBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) selector_,
                 getParentForChildren(),
                 isClean());
@@ -1251,9 +1120,9 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
       onChanged();
       return beginBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1263,12 +1132,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionSelector)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionSelector)
   private static final com.google.spanner.v1.TransactionSelector DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionSelector();
   }
@@ -1277,27 +1146,27 @@ public static com.google.spanner.v1.TransactionSelector getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TransactionSelector 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();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TransactionSelector 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;
@@ -1312,4 +1181,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.TransactionSelector getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
similarity index 81%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
index 34885ebb801..7761aa77c77 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.spanner.v1;
 
-public interface TransactionSelectorOrBuilder
-    extends
+public interface TransactionSelectorOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionSelector)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -34,13 +16,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ boolean hasSingleUse(); /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -48,13 +27,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return The singleUse. */ com.google.spanner.v1.TransactionOptions getSingleUse(); /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -66,33 +42,25 @@ public interface TransactionSelectorOrBuilder
   com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder();
 
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return Whether the id field is set. */ boolean hasId(); /** - * - * *
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return The id. */ com.google.protobuf.ByteString getId(); /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -101,13 +69,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ boolean hasBegin(); /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -116,13 +81,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return The begin. */ com.google.spanner.v1.TransactionOptions getBegin(); /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
similarity index 76%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
index 76f8fd8d3a6..597f3abe6bb 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/type.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * `Type` indicates the type of a Cloud Spanner value, as might be stored in a
  * table cell or returned from an SQL query.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.v1.Type}
  */
-public final class Type extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Type extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.Type)
     TypeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Type.newBuilder() to construct.
   private Type(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Type() {
     code_ = 0;
     typeAnnotation_ = 0;
@@ -47,11 +29,13 @@ private Type() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Type();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
   }
 
@@ -67,33 +51,25 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int CODE_FIELD_NUMBER = 1;
   private int code_ = 0;
   /**
-   *
-   *
    * 
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ - @java.lang.Override - public com.google.spanner.v1.TypeCode getCode() { + @java.lang.Override public com.google.spanner.v1.TypeCode getCode() { com.google.spanner.v1.TypeCode result = com.google.spanner.v1.TypeCode.forNumber(code_); return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; } @@ -101,15 +77,12 @@ public com.google.spanner.v1.TypeCode getCode() { public static final int ARRAY_ELEMENT_TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type arrayElementType_; /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return Whether the arrayElementType field is set. */ @java.lang.Override @@ -117,26 +90,19 @@ public boolean hasArrayElementType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return The arrayElementType. */ @java.lang.Override public com.google.spanner.v1.Type getArrayElementType() { - return arrayElementType_ == null - ? com.google.spanner.v1.Type.getDefaultInstance() - : arrayElementType_; + return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_; } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
@@ -146,23 +112,18 @@ public com.google.spanner.v1.Type getArrayElementType() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
-    return arrayElementType_ == null
-        ? com.google.spanner.v1.Type.getDefaultInstance()
-        : arrayElementType_;
+    return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_;
   }
 
   public static final int STRUCT_TYPE_FIELD_NUMBER = 3;
   private com.google.spanner.v1.StructType structType_;
   /**
-   *
-   *
    * 
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return Whether the structType field is set. */ @java.lang.Override @@ -170,26 +131,19 @@ public boolean hasStructType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return The structType. */ @java.lang.Override public com.google.spanner.v1.StructType getStructType() { - return structType_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : structType_; + return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_; } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
@@ -199,16 +153,12 @@ public com.google.spanner.v1.StructType getStructType() {
    */
   @java.lang.Override
   public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
-    return structType_ == null
-        ? com.google.spanner.v1.StructType.getDefaultInstance()
-        : structType_;
+    return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_;
   }
 
   public static final int TYPE_ANNOTATION_FIELD_NUMBER = 4;
   private int typeAnnotation_ = 0;
   /**
-   *
-   *
    * 
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -219,16 +169,12 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The enum numeric value on the wire for typeAnnotation. */ - @java.lang.Override - public int getTypeAnnotationValue() { + @java.lang.Override public int getTypeAnnotationValue() { return typeAnnotation_; } /** - * - * *
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -239,23 +185,17 @@ public int getTypeAnnotationValue() {
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The typeAnnotation. */ - @java.lang.Override - public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { - com.google.spanner.v1.TypeAnnotationCode result = - com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); + @java.lang.Override public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { + com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); return result == null ? com.google.spanner.v1.TypeAnnotationCode.UNRECOGNIZED : result; } public static final int PROTO_TYPE_FQN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object protoTypeFqn_ = ""; /** - * - * *
    * If [code][google.spanner.v1.Type.code] ==
    * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -265,7 +205,6 @@ public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() {
    * 
* * string proto_type_fqn = 5; - * * @return The protoTypeFqn. */ @java.lang.Override @@ -274,15 +213,14 @@ public java.lang.String getProtoTypeFqn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protoTypeFqn_ = s; return s; } } /** - * - * *
    * If [code][google.spanner.v1.Type.code] ==
    * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -292,15 +230,16 @@ public java.lang.String getProtoTypeFqn() {
    * 
* * string proto_type_fqn = 5; - * * @return The bytes for protoTypeFqn. */ @java.lang.Override - public com.google.protobuf.ByteString getProtoTypeFqnBytes() { + public com.google.protobuf.ByteString + getProtoTypeFqnBytes() { java.lang.Object ref = protoTypeFqn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protoTypeFqn_ = b; return b; } else { @@ -309,7 +248,6 @@ public com.google.protobuf.ByteString getProtoTypeFqnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (code_ != com.google.spanner.v1.TypeCode.TYPE_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, code_); } @@ -331,8 +270,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getStructType()); } - if (typeAnnotation_ - != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { + if (typeAnnotation_ != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(4, typeAnnotation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoTypeFqn_)) { @@ -348,17 +286,20 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.spanner.v1.TypeCode.TYPE_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getArrayElementType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getArrayElementType()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStructType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStructType()); } - if (typeAnnotation_ - != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, typeAnnotation_); + if (typeAnnotation_ != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, typeAnnotation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoTypeFqn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, protoTypeFqn_); @@ -371,7 +312,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.Type)) { return super.equals(obj); @@ -381,14 +322,17 @@ public boolean equals(final java.lang.Object obj) { if (code_ != other.code_) return false; if (hasArrayElementType() != other.hasArrayElementType()) return false; if (hasArrayElementType()) { - if (!getArrayElementType().equals(other.getArrayElementType())) return false; + if (!getArrayElementType() + .equals(other.getArrayElementType())) return false; } if (hasStructType() != other.hasStructType()) return false; if (hasStructType()) { - if (!getStructType().equals(other.getStructType())) return false; + if (!getStructType() + .equals(other.getStructType())) return false; } if (typeAnnotation_ != other.typeAnnotation_) return false; - if (!getProtoTypeFqn().equals(other.getProtoTypeFqn())) return false; + if (!getProtoTypeFqn() + .equals(other.getProtoTypeFqn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -419,103 +363,99 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Type parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.Type parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Type parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.Type parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.Type parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Type parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Type parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Type parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Type parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Type parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.spanner.v1.Type parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.spanner.v1.Type parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.Type parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.spanner.v1.Type parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Type parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.Type prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `Type` indicates the type of a Cloud Spanner value, as might be stored in a
    * table cell or returned from an SQL query.
@@ -523,19 +463,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.Type}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.Type)
       com.google.spanner.v1.TypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TypeProto
-          .internal_static_google_spanner_v1_Type_fieldAccessorTable
+      return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Type.class, com.google.spanner.v1.Type.Builder.class);
     }
@@ -545,18 +485,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getArrayElementTypeFieldBuilder();
         getStructTypeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -578,7 +518,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
     }
 
@@ -599,9 +540,7 @@ public com.google.spanner.v1.Type build() {
     @java.lang.Override
     public com.google.spanner.v1.Type buildPartial() {
       com.google.spanner.v1.Type result = new com.google.spanner.v1.Type(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -613,12 +552,15 @@ private void buildPartial0(com.google.spanner.v1.Type result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.arrayElementType_ =
-            arrayElementTypeBuilder_ == null ? arrayElementType_ : arrayElementTypeBuilder_.build();
+        result.arrayElementType_ = arrayElementTypeBuilder_ == null
+            ? arrayElementType_
+            : arrayElementTypeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.structType_ = structTypeBuilder_ == null ? structType_ : structTypeBuilder_.build();
+        result.structType_ = structTypeBuilder_ == null
+            ? structType_
+            : structTypeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -634,39 +576,38 @@ private void buildPartial0(com.google.spanner.v1.Type result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.v1.Type) {
-        return mergeFrom((com.google.spanner.v1.Type) other);
+        return mergeFrom((com.google.spanner.v1.Type)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -718,44 +659,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(
-                    getArrayElementTypeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStructTypeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                typeAnnotation_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                protoTypeFqn_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              code_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getArrayElementTypeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStructTypeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              typeAnnotation_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              protoTypeFqn_ = input.readStringRequireUtf8();
+              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) {
@@ -765,34 +703,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -803,14 +733,11 @@ public Builder setCodeValue(int value) { return this; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ @java.lang.Override @@ -819,14 +746,11 @@ public com.google.spanner.v1.TypeCode getCode() { return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The code to set. * @return This builder for chaining. */ @@ -840,14 +764,11 @@ public Builder setCode(com.google.spanner.v1.TypeCode value) { return this; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCode() { @@ -859,49 +780,36 @@ public Builder clearCode() { private com.google.spanner.v1.Type arrayElementType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - arrayElementTypeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> arrayElementTypeBuilder_; /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
      * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return Whether the arrayElementType field is set. */ public boolean hasArrayElementType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
      * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return The arrayElementType. */ public com.google.spanner.v1.Type getArrayElementType() { if (arrayElementTypeBuilder_ == null) { - return arrayElementType_ == null - ? com.google.spanner.v1.Type.getDefaultInstance() - : arrayElementType_; + return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_; } else { return arrayElementTypeBuilder_.getMessage(); } } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -923,8 +831,6 @@ public Builder setArrayElementType(com.google.spanner.v1.Type value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -932,7 +838,8 @@ public Builder setArrayElementType(com.google.spanner.v1.Type value) {
      *
      * .google.spanner.v1.Type array_element_type = 2;
      */
-    public Builder setArrayElementType(com.google.spanner.v1.Type.Builder builderForValue) {
+    public Builder setArrayElementType(
+        com.google.spanner.v1.Type.Builder builderForValue) {
       if (arrayElementTypeBuilder_ == null) {
         arrayElementType_ = builderForValue.build();
       } else {
@@ -943,8 +850,6 @@ public Builder setArrayElementType(com.google.spanner.v1.Type.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -954,9 +859,9 @@ public Builder setArrayElementType(com.google.spanner.v1.Type.Builder builderFor
      */
     public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       if (arrayElementTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && arrayElementType_ != null
-            && arrayElementType_ != com.google.spanner.v1.Type.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          arrayElementType_ != null &&
+          arrayElementType_ != com.google.spanner.v1.Type.getDefaultInstance()) {
           getArrayElementTypeBuilder().mergeFrom(value);
         } else {
           arrayElementType_ = value;
@@ -971,8 +876,6 @@ public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -991,8 +894,6 @@ public Builder clearArrayElementType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -1006,8 +907,6 @@ public com.google.spanner.v1.Type.Builder getArrayElementTypeBuilder() {
       return getArrayElementTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -1019,14 +918,11 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
       if (arrayElementTypeBuilder_ != null) {
         return arrayElementTypeBuilder_.getMessageOrBuilder();
       } else {
-        return arrayElementType_ == null
-            ? com.google.spanner.v1.Type.getDefaultInstance()
-            : arrayElementType_;
+        return arrayElementType_ == null ?
+            com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_;
       }
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -1035,17 +931,14 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
      * .google.spanner.v1.Type array_element_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder,
-            com.google.spanner.v1.TypeOrBuilder>
+        com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> 
         getArrayElementTypeFieldBuilder() {
       if (arrayElementTypeBuilder_ == null) {
-        arrayElementTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Type,
-                com.google.spanner.v1.Type.Builder,
-                com.google.spanner.v1.TypeOrBuilder>(
-                getArrayElementType(), getParentForChildren(), isClean());
+        arrayElementTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>(
+                getArrayElementType(),
+                getParentForChildren(),
+                isClean());
         arrayElementType_ = null;
       }
       return arrayElementTypeBuilder_;
@@ -1053,49 +946,36 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
 
     private com.google.spanner.v1.StructType structType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
-        structTypeBuilder_;
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> structTypeBuilder_;
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
      * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return Whether the structType field is set. */ public boolean hasStructType() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
      * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return The structType. */ public com.google.spanner.v1.StructType getStructType() { if (structTypeBuilder_ == null) { - return structType_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : structType_; + return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_; } else { return structTypeBuilder_.getMessage(); } } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1117,8 +997,6 @@ public Builder setStructType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1126,7 +1004,8 @@ public Builder setStructType(com.google.spanner.v1.StructType value) {
      *
      * .google.spanner.v1.StructType struct_type = 3;
      */
-    public Builder setStructType(com.google.spanner.v1.StructType.Builder builderForValue) {
+    public Builder setStructType(
+        com.google.spanner.v1.StructType.Builder builderForValue) {
       if (structTypeBuilder_ == null) {
         structType_ = builderForValue.build();
       } else {
@@ -1137,8 +1016,6 @@ public Builder setStructType(com.google.spanner.v1.StructType.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1148,9 +1025,9 @@ public Builder setStructType(com.google.spanner.v1.StructType.Builder builderFor
      */
     public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       if (structTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && structType_ != null
-            && structType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          structType_ != null &&
+          structType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getStructTypeBuilder().mergeFrom(value);
         } else {
           structType_ = value;
@@ -1165,8 +1042,6 @@ public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1185,8 +1060,6 @@ public Builder clearStructType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1200,8 +1073,6 @@ public com.google.spanner.v1.StructType.Builder getStructTypeBuilder() {
       return getStructTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1213,14 +1084,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
       if (structTypeBuilder_ != null) {
         return structTypeBuilder_.getMessageOrBuilder();
       } else {
-        return structType_ == null
-            ? com.google.spanner.v1.StructType.getDefaultInstance()
-            : structType_;
+        return structType_ == null ?
+            com.google.spanner.v1.StructType.getDefaultInstance() : structType_;
       }
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1229,17 +1097,14 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
      * .google.spanner.v1.StructType struct_type = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
         getStructTypeFieldBuilder() {
       if (structTypeBuilder_ == null) {
-        structTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.StructType,
-                com.google.spanner.v1.StructType.Builder,
-                com.google.spanner.v1.StructTypeOrBuilder>(
-                getStructType(), getParentForChildren(), isClean());
+        structTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
+                getStructType(),
+                getParentForChildren(),
+                isClean());
         structType_ = null;
       }
       return structTypeBuilder_;
@@ -1247,8 +1112,6 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
 
     private int typeAnnotation_ = 0;
     /**
-     *
-     *
      * 
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1259,16 +1122,12 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The enum numeric value on the wire for typeAnnotation. */ - @java.lang.Override - public int getTypeAnnotationValue() { + @java.lang.Override public int getTypeAnnotationValue() { return typeAnnotation_; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1279,7 +1138,6 @@ public int getTypeAnnotationValue() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @param value The enum numeric value on the wire for typeAnnotation to set. * @return This builder for chaining. */ @@ -1290,8 +1148,6 @@ public Builder setTypeAnnotationValue(int value) { return this; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1302,18 +1158,14 @@ public Builder setTypeAnnotationValue(int value) {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The typeAnnotation. */ @java.lang.Override public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { - com.google.spanner.v1.TypeAnnotationCode result = - com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); + com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); return result == null ? com.google.spanner.v1.TypeAnnotationCode.UNRECOGNIZED : result; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1324,7 +1176,6 @@ public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @param value The typeAnnotation to set. * @return This builder for chaining. */ @@ -1338,8 +1189,6 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value) return this; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1350,7 +1199,6 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value)
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return This builder for chaining. */ public Builder clearTypeAnnotation() { @@ -1362,8 +1210,6 @@ public Builder clearTypeAnnotation() { private java.lang.Object protoTypeFqn_ = ""; /** - * - * *
      * If [code][google.spanner.v1.Type.code] ==
      * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -1373,13 +1219,13 @@ public Builder clearTypeAnnotation() {
      * 
* * string proto_type_fqn = 5; - * * @return The protoTypeFqn. */ public java.lang.String getProtoTypeFqn() { java.lang.Object ref = protoTypeFqn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protoTypeFqn_ = s; return s; @@ -1388,8 +1234,6 @@ public java.lang.String getProtoTypeFqn() { } } /** - * - * *
      * If [code][google.spanner.v1.Type.code] ==
      * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -1399,14 +1243,15 @@ public java.lang.String getProtoTypeFqn() {
      * 
* * string proto_type_fqn = 5; - * * @return The bytes for protoTypeFqn. */ - public com.google.protobuf.ByteString getProtoTypeFqnBytes() { + public com.google.protobuf.ByteString + getProtoTypeFqnBytes() { java.lang.Object ref = protoTypeFqn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); protoTypeFqn_ = b; return b; } else { @@ -1414,8 +1259,6 @@ public com.google.protobuf.ByteString getProtoTypeFqnBytes() { } } /** - * - * *
      * If [code][google.spanner.v1.Type.code] ==
      * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -1425,22 +1268,18 @@ public com.google.protobuf.ByteString getProtoTypeFqnBytes() {
      * 
* * string proto_type_fqn = 5; - * * @param value The protoTypeFqn to set. * @return This builder for chaining. */ - public Builder setProtoTypeFqn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtoTypeFqn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } protoTypeFqn_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If [code][google.spanner.v1.Type.code] ==
      * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -1450,7 +1289,6 @@ public Builder setProtoTypeFqn(java.lang.String value) {
      * 
* * string proto_type_fqn = 5; - * * @return This builder for chaining. */ public Builder clearProtoTypeFqn() { @@ -1460,8 +1298,6 @@ public Builder clearProtoTypeFqn() { return this; } /** - * - * *
      * If [code][google.spanner.v1.Type.code] ==
      * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -1471,23 +1307,21 @@ public Builder clearProtoTypeFqn() {
      * 
* * string proto_type_fqn = 5; - * * @param value The bytes for protoTypeFqn to set. * @return This builder for chaining. */ - public Builder setProtoTypeFqnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProtoTypeFqnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); protoTypeFqn_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1497,12 +1331,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Type) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Type) private static final com.google.spanner.v1.Type DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Type(); } @@ -1511,27 +1345,27 @@ public static com.google.spanner.v1.Type getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Type 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(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Type 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; @@ -1546,4 +1380,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Type getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java similarity index 78% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java index fa62d273262..46ca6d4e89a 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/type.proto @@ -20,8 +5,6 @@ package com.google.spanner.v1; /** - * - * *
  * `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to
  * disambiguate SQL types that should be used for a given Cloud Spanner value.
@@ -32,10 +15,9 @@
  *
  * Protobuf enum {@code google.spanner.v1.TypeAnnotationCode}
  */
-public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnum {
+public enum TypeAnnotationCode
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Not specified.
    * 
@@ -44,8 +26,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu */ TYPE_ANNOTATION_CODE_UNSPECIFIED(0), /** - * - * *
    * PostgreSQL compatible NUMERIC type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC]
@@ -59,8 +39,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   PG_NUMERIC(2),
   /**
-   *
-   *
    * 
    * PostgreSQL compatible JSONB type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
@@ -74,8 +52,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   PG_JSONB(3),
   /**
-   *
-   *
    * 
    * PostgreSQL compatible OID type. This annotation can be used by a client
    * interacting with PostgreSQL-enabled Spanner database to specify that a
@@ -89,8 +65,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
   ;
 
   /**
-   *
-   *
    * 
    * Not specified.
    * 
@@ -99,8 +73,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu */ public static final int TYPE_ANNOTATION_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * PostgreSQL compatible NUMERIC type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC]
@@ -114,8 +86,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   public static final int PG_NUMERIC_VALUE = 2;
   /**
-   *
-   *
    * 
    * PostgreSQL compatible JSONB type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
@@ -129,8 +99,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   public static final int PG_JSONB_VALUE = 3;
   /**
-   *
-   *
    * 
    * PostgreSQL compatible OID type. This annotation can be used by a client
    * interacting with PostgreSQL-enabled Spanner database to specify that a
@@ -141,6 +109,7 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   public static final int PG_OID_VALUE = 4;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -165,44 +134,40 @@ public static TypeAnnotationCode valueOf(int value) {
    */
   public static TypeAnnotationCode forNumber(int value) {
     switch (value) {
-      case 0:
-        return TYPE_ANNOTATION_CODE_UNSPECIFIED;
-      case 2:
-        return PG_NUMERIC;
-      case 3:
-        return PG_JSONB;
-      case 4:
-        return PG_OID;
-      default:
-        return null;
+      case 0: return TYPE_ANNOTATION_CODE_UNSPECIFIED;
+      case 2: return PG_NUMERIC;
+      case 3: return PG_JSONB;
+      case 4: return PG_OID;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public TypeAnnotationCode findValueByNumber(int number) {
-              return TypeAnnotationCode.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      TypeAnnotationCode> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public TypeAnnotationCode findValueByNumber(int number) {
+            return TypeAnnotationCode.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.spanner.v1.TypeProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -211,7 +176,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static TypeAnnotationCode valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -227,3 +193,4 @@ private TypeAnnotationCode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.spanner.v1.TypeAnnotationCode)
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
similarity index 81%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
index 5ae3db905be..573f36ed872 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/type.proto
 
@@ -20,8 +5,6 @@
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * `TypeCode` is used as part of [Type][google.spanner.v1.Type] to
  * indicate the type of a Cloud Spanner value.
@@ -34,10 +17,9 @@
  *
  * Protobuf enum {@code google.spanner.v1.TypeCode}
  */
-public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
+public enum TypeCode
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Not specified.
    * 
@@ -46,8 +28,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_CODE_UNSPECIFIED(0), /** - * - * *
    * Encoded as JSON `true` or `false`.
    * 
@@ -56,8 +36,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(1), /** - * - * *
    * Encoded as `string`, in decimal format.
    * 
@@ -66,8 +44,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ INT64(2), /** - * - * *
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -77,8 +53,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   FLOAT64(3),
   /**
-   *
-   *
    * 
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -88,8 +62,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   FLOAT32(15),
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 timestamp format. The time zone
    * must be present, and must be `"Z"`.
@@ -105,8 +77,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   TIMESTAMP(4),
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 date format.
    * 
@@ -115,8 +85,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ DATE(5), /** - * - * *
    * Encoded as `string`.
    * 
@@ -125,8 +93,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ STRING(6), /** - * - * *
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -136,8 +102,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   BYTES(7),
   /**
-   *
-   *
    * 
    * Encoded as `list`, where the list elements are represented
    * according to
@@ -148,8 +112,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   ARRAY(8),
   /**
-   *
-   *
    * 
    * Encoded as `list`, where list element `i` is represented according
    * to [struct_type.fields[i]][google.spanner.v1.StructType.fields].
@@ -159,8 +121,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   STRUCT(9),
   /**
-   *
-   *
    * 
    * Encoded as `string`, in decimal format or scientific notation format.
    * <br>Decimal format:
@@ -177,8 +137,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   NUMERIC(10),
   /**
-   *
-   *
    * 
    * Encoded as a JSON-formatted `string` as described in RFC 7159. The
    * following rules are applied when parsing JSON input:
@@ -194,8 +152,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   JSON(11),
   /**
-   *
-   *
    * 
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -205,8 +161,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   PROTO(13),
   /**
-   *
-   *
    * 
    * Encoded as `string`, in decimal format.
    * 
@@ -218,8 +172,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not specified.
    * 
@@ -228,8 +180,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Encoded as JSON `true` or `false`.
    * 
@@ -238,8 +188,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 1; /** - * - * *
    * Encoded as `string`, in decimal format.
    * 
@@ -248,8 +196,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 2; /** - * - * *
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -259,8 +205,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FLOAT64_VALUE = 3;
   /**
-   *
-   *
    * 
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -270,8 +214,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FLOAT32_VALUE = 15;
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 timestamp format. The time zone
    * must be present, and must be `"Z"`.
@@ -287,8 +229,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TIMESTAMP_VALUE = 4;
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 date format.
    * 
@@ -297,8 +237,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 5; /** - * - * *
    * Encoded as `string`.
    * 
@@ -307,8 +245,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 6; /** - * - * *
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -318,8 +254,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BYTES_VALUE = 7;
   /**
-   *
-   *
    * 
    * Encoded as `list`, where the list elements are represented
    * according to
@@ -330,8 +264,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ARRAY_VALUE = 8;
   /**
-   *
-   *
    * 
    * Encoded as `list`, where list element `i` is represented according
    * to [struct_type.fields[i]][google.spanner.v1.StructType.fields].
@@ -341,8 +273,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int STRUCT_VALUE = 9;
   /**
-   *
-   *
    * 
    * Encoded as `string`, in decimal format or scientific notation format.
    * <br>Decimal format:
@@ -359,8 +289,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int NUMERIC_VALUE = 10;
   /**
-   *
-   *
    * 
    * Encoded as a JSON-formatted `string` as described in RFC 7159. The
    * following rules are applied when parsing JSON input:
@@ -376,8 +304,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JSON_VALUE = 11;
   /**
-   *
-   *
    * 
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -387,8 +313,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PROTO_VALUE = 13;
   /**
-   *
-   *
    * 
    * Encoded as `string`, in decimal format.
    * 
@@ -397,6 +321,7 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENUM_VALUE = 14; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -421,73 +346,61 @@ public static TypeCode valueOf(int value) { */ public static TypeCode forNumber(int value) { switch (value) { - case 0: - return TYPE_CODE_UNSPECIFIED; - case 1: - return BOOL; - case 2: - return INT64; - case 3: - return FLOAT64; - case 15: - return FLOAT32; - case 4: - return TIMESTAMP; - case 5: - return DATE; - case 6: - return STRING; - case 7: - return BYTES; - case 8: - return ARRAY; - case 9: - return STRUCT; - case 10: - return NUMERIC; - case 11: - return JSON; - case 13: - return PROTO; - case 14: - return ENUM; - default: - return null; + case 0: return TYPE_CODE_UNSPECIFIED; + case 1: return BOOL; + case 2: return INT64; + case 3: return FLOAT64; + case 15: return FLOAT32; + case 4: return TIMESTAMP; + case 5: return DATE; + case 6: return STRING; + case 7: return BYTES; + case 8: return ARRAY; + case 9: return STRUCT; + case 10: return NUMERIC; + case 11: return JSON; + case 13: return PROTO; + case 14: return ENUM; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TypeCode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TypeCode findValueByNumber(int number) { + return TypeCode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TypeCode findValueByNumber(int number) { - return TypeCode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.spanner.v1.TypeProto.getDescriptor().getEnumTypes().get(0); } private static final TypeCode[] VALUES = values(); - public static TypeCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TypeCode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -503,3 +416,4 @@ private TypeCode(int value) { // @@protoc_insertion_point(enum_scope:google.spanner.v1.TypeCode) } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java similarity index 86% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java index 7c26fec6a77..447b4e62d9b 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java @@ -1,83 +1,53 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/type.proto // Protobuf Java Version: 3.25.2 package com.google.spanner.v1; -public interface TypeOrBuilder - extends +public interface TypeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.Type) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** - * - * *
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ com.google.spanner.v1.TypeCode getCode(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return Whether the arrayElementType field is set. */ boolean hasArrayElementType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return The arrayElementType. */ com.google.spanner.v1.Type getArrayElementType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
@@ -88,34 +58,26 @@ public interface TypeOrBuilder
   com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return Whether the structType field is set. */ boolean hasStructType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return The structType. */ com.google.spanner.v1.StructType getStructType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
@@ -126,8 +88,6 @@ public interface TypeOrBuilder
   com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -138,13 +98,10 @@ public interface TypeOrBuilder
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The enum numeric value on the wire for typeAnnotation. */ int getTypeAnnotationValue(); /** - * - * *
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -155,14 +112,11 @@ public interface TypeOrBuilder
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The typeAnnotation. */ com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] ==
    * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -172,13 +126,10 @@ public interface TypeOrBuilder
    * 
* * string proto_type_fqn = 5; - * * @return The protoTypeFqn. */ java.lang.String getProtoTypeFqn(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] ==
    * [PROTO][google.spanner.v1.TypeCode.PROTO] or
@@ -188,8 +139,8 @@ public interface TypeOrBuilder
    * 
* * string proto_type_fqn = 5; - * * @return The bytes for protoTypeFqn. */ - com.google.protobuf.ByteString getProtoTypeFqnBytes(); + com.google.protobuf.ByteString + getProtoTypeFqnBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java new file mode 100644 index 00000000000..6686ff3a8d8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java @@ -0,0 +1,99 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/type.proto + +// Protobuf Java Version: 3.25.2 +package com.google.spanner.v1; + +public final class TypeProto { + private TypeProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Type_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Type_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_StructType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_StructType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_StructType_Field_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_StructType_Field_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\034google/spanner/v1/type.proto\022\021google.s" + + "panner.v1\032\037google/api/field_behavior.pro" + + "to\"\367\001\n\004Type\022.\n\004code\030\001 \001(\0162\033.google.spann" + + "er.v1.TypeCodeB\003\340A\002\0223\n\022array_element_typ" + + "e\030\002 \001(\0132\027.google.spanner.v1.Type\0222\n\013stru" + + "ct_type\030\003 \001(\0132\035.google.spanner.v1.Struct" + + "Type\022>\n\017type_annotation\030\004 \001(\0162%.google.s" + + "panner.v1.TypeAnnotationCode\022\026\n\016proto_ty" + + "pe_fqn\030\005 \001(\t\"\177\n\nStructType\0223\n\006fields\030\001 \003" + + "(\0132#.google.spanner.v1.StructType.Field\032" + + "<\n\005Field\022\014\n\004name\030\001 \001(\t\022%\n\004type\030\002 \001(\0132\027.g" + + "oogle.spanner.v1.Type*\307\001\n\010TypeCode\022\031\n\025TY" + + "PE_CODE_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\t\n\005INT64" + + "\020\002\022\013\n\007FLOAT64\020\003\022\013\n\007FLOAT32\020\017\022\r\n\tTIMESTAM" + + "P\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005BYTES\020\007\022\t\n\005" + + "ARRAY\020\010\022\n\n\006STRUCT\020\t\022\013\n\007NUMERIC\020\n\022\010\n\004JSON" + + "\020\013\022\t\n\005PROTO\020\r\022\010\n\004ENUM\020\016*d\n\022TypeAnnotatio" + + "nCode\022$\n TYPE_ANNOTATION_CODE_UNSPECIFIE" + + "D\020\000\022\016\n\nPG_NUMERIC\020\002\022\014\n\010PG_JSONB\020\003\022\n\n\006PG_" + + "OID\020\004B\254\001\n\025com.google.spanner.v1B\tTypePro" + + "toP\001Z5cloud.google.com/go/spanner/apiv1/" + + "spannerpb;spannerpb\252\002\027Google.Cloud.Spann" + + "er.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google" + + "::Cloud::Spanner::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_spanner_v1_Type_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_v1_Type_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_Type_descriptor, + new java.lang.String[] { "Code", "ArrayElementType", "StructType", "TypeAnnotation", "ProtoTypeFqn", }); + internal_static_google_spanner_v1_StructType_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_v1_StructType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_StructType_descriptor, + new java.lang.String[] { "Fields", }); + internal_static_google_spanner_v1_StructType_Field_descriptor = + internal_static_google_spanner_v1_StructType_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_StructType_Field_descriptor, + new java.lang.String[] { "Name", "Type", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java deleted file mode 100644 index 5bc7b7041c3..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/backup.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public final class BackupProto { - private BackupProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_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-google/spanner/admin/database/v1/backu" - + "p.proto\022 google.spanner.admin.database.v" - + "1\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032#google/longrunnin" - + "g/operations.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\037google/protobuf/timestamp." - + "proto\032-google/spanner/admin/database/v1/" - + "common.proto\"\303\006\n\006Backup\0226\n\010database\030\002 \001(" - + "\tB$\372A!\n\037spanner.googleapis.com/Database\022" - + "0\n\014version_time\030\t \001(\0132\032.google.protobuf." - + "Timestamp\022/\n\013expire_time\030\003 \001(\0132\032.google." - + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\0224\n\013crea" - + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\022\027\n\nsize_bytes\030\005 \001(\003B\003\340A\003\022B\n\005state" - + "\030\006 \001(\0162..google.spanner.admin.database.v" - + "1.Backup.StateB\003\340A\003\022F\n\025referencing_datab" - + "ases\030\007 \003(\tB\'\340A\003\372A!\n\037spanner.googleapis.c" - + "om/Database\022N\n\017encryption_info\030\010 \001(\01320.g" - + "oogle.spanner.admin.database.v1.Encrypti" - + "onInfoB\003\340A\003\022P\n\020database_dialect\030\n \001(\01621." - + "google.spanner.admin.database.v1.Databas" - + "eDialectB\003\340A\003\022B\n\023referencing_backups\030\013 \003" - + "(\tB%\340A\003\372A\037\n\035spanner.googleapis.com/Backu" - + "p\0228\n\017max_expire_time\030\014 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\"7\n\005State\022\025\n\021STATE_UN" - + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:\\\352A" - + "Y\n\035spanner.googleapis.com/Backup\0228projec" - + "ts/{project}/instances/{instance}/backup" - + "s/{backup}\"\205\002\n\023CreateBackupRequest\0227\n\006pa" - + "rent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.c" - + "om/Instance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022=\n\006b" - + "ackup\030\003 \001(\0132(.google.spanner.admin.datab" - + "ase.v1.BackupB\003\340A\002\022^\n\021encryption_config\030" - + "\004 \001(\0132>.google.spanner.admin.database.v1" - + ".CreateBackupEncryptionConfigB\003\340A\001\"\370\001\n\024C" - + "reateBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035" - + "spanner.googleapis.com/Backup\0226\n\010databas" - + "e\030\002 \001(\tB$\372A!\n\037spanner.googleapis.com/Dat" - + "abase\022E\n\010progress\030\003 \001(\01323.google.spanner" - + ".admin.database.v1.OperationProgress\022/\n\013" - + "cancel_time\030\004 \001(\0132\032.google.protobuf.Time" - + "stamp\"\266\002\n\021CopyBackupRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Inst" - + "ance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022<\n\rsource_b" - + "ackup\030\003 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis." - + "com/Backup\0224\n\013expire_time\030\004 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\002\022\\\n\021encryption_c" - + "onfig\030\005 \001(\0132<.google.spanner.admin.datab" - + "ase.v1.CopyBackupEncryptionConfigB\003\340A\001\"\371" - + "\001\n\022CopyBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037" - + "\n\035spanner.googleapis.com/Backup\0229\n\rsourc" - + "e_backup\030\002 \001(\tB\"\372A\037\n\035spanner.googleapis." - + "com/Backup\022E\n\010progress\030\003 \001(\01323.google.sp" - + "anner.admin.database.v1.OperationProgres" - + "s\022/\n\013cancel_time\030\004 \001(\0132\032.google.protobuf" - + ".Timestamp\"\212\001\n\023UpdateBackupRequest\022=\n\006ba" - + "ckup\030\001 \001(\0132(.google.spanner.admin.databa" - + "se.v1.BackupB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" - + ".google.protobuf.FieldMaskB\003\340A\002\"G\n\020GetBa" - + "ckupRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spann" - + "er.googleapis.com/Backup\"J\n\023DeleteBackup" - + "Request\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.g" - + "oogleapis.com/Backup\"\204\001\n\022ListBackupsRequ" - + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.goo" - + "gleapis.com/Instance\022\016\n\006filter\030\002 \001(\t\022\021\n\t" - + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"i\n\023L" - + "istBackupsResponse\0229\n\007backups\030\001 \003(\0132(.go" - + "ogle.spanner.admin.database.v1.Backup\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\215\001\n\033ListBackupOpe" - + "rationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037" - + "spanner.googleapis.com/Instance\022\016\n\006filte" - + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" - + "\030\004 \001(\t\"j\n\034ListBackupOperationsResponse\0221" - + "\n\noperations\030\001 \003(\0132\035.google.longrunning." - + "Operation\022\027\n\017next_page_token\030\002 \001(\t\"\342\001\n\nB" - + "ackupInfo\0222\n\006backup\030\001 \001(\tB\"\372A\037\n\035spanner." - + "googleapis.com/Backup\0220\n\014version_time\030\004 " - + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013creat" - + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "\022=\n\017source_database\030\003 \001(\tB$\372A!\n\037spanner." - + "googleapis.com/Database\"\335\002\n\034CreateBackup" - + "EncryptionConfig\022k\n\017encryption_type\030\001 \001(" - + "\0162M.google.spanner.admin.database.v1.Cre" - + "ateBackupEncryptionConfig.EncryptionType" - + "B\003\340A\002\022?\n\014kms_key_name\030\002 \001(\tB)\340A\001\372A#\n!clo" - + "udkms.googleapis.com/CryptoKey\"\216\001\n\016Encry" - + "ptionType\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED" - + "\020\000\022\033\n\027USE_DATABASE_ENCRYPTION\020\001\022\035\n\031GOOGL" - + "E_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_MANAG" - + "ED_ENCRYPTION\020\003\"\351\002\n\032CopyBackupEncryption" - + "Config\022i\n\017encryption_type\030\001 \001(\0162K.google" - + ".spanner.admin.database.v1.CopyBackupEnc" - + "ryptionConfig.EncryptionTypeB\003\340A\002\022?\n\014kms" - + "_key_name\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.google" - + "apis.com/CryptoKey\"\236\001\n\016EncryptionType\022\037\n" - + "\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022+\n\'USE_CO" - + "NFIG_DEFAULT_OR_BACKUP_ENCRYPTION\020\001\022\035\n\031G" - + "OOGLE_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_M" - + "ANAGED_ENCRYPTION\020\003B\375\001\n$com.google.spann" - + "er.admin.database.v1B\013BackupProtoP\001ZFclo" - + "ud.google.com/go/spanner/admin/database/" - + "apiv1/databasepb;databasepb\252\002&Google.Clo" - + "ud.Spanner.Admin.Database.V1\312\002&Google\\Cl" - + "oud\\Spanner\\Admin\\Database\\V1\352\002+Google::" - + "Cloud::Spanner::Admin::Database::V1b\006pro" - + "to3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_database_v1_Backup_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_Backup_descriptor, - new java.lang.String[] { - "Database", - "VersionTime", - "ExpireTime", - "Name", - "CreateTime", - "SizeBytes", - "State", - "ReferencingDatabases", - "EncryptionInfo", - "DatabaseDialect", - "ReferencingBackups", - "MaxExpireTime", - }); - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "Backup", "EncryptionConfig", - }); - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor, - new java.lang.String[] { - "Name", "Database", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "SourceBackup", "ExpireTime", "EncryptionConfig", - }); - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor, - new java.lang.String[] { - "Name", "SourceBackup", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor, - new java.lang.String[] { - "Backup", "UpdateMask", - }); - internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor, - new java.lang.String[] { - "Backups", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor, - new java.lang.String[] { - "Operations", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor, - new java.lang.String[] { - "Backup", "VersionTime", "CreateTime", "SourceDatabase", - }); - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyName", - }); - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java deleted file mode 100644 index cb876487e5f..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/common.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_EncryptionInfo_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-google/spanner/admin/database/v1/commo" - + "n.proto\022 google.spanner.admin.database.v" - + "1\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032\037google/protobuf/t" - + "imestamp.proto\032\027google/rpc/status.proto\"" - + "\213\001\n\021OperationProgress\022\030\n\020progress_percen" - + "t\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.goog" - + "le.protobuf.Timestamp\"P\n\020EncryptionConfi" - + "g\022<\n\014kms_key_name\030\002 \001(\tB&\372A#\n!cloudkms.g" - + "oogleapis.com/CryptoKey\"\302\002\n\016EncryptionIn" - + "fo\022S\n\017encryption_type\030\003 \001(\01625.google.spa" - + "nner.admin.database.v1.EncryptionInfo.Ty" - + "peB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.goo" - + "gle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version\030\002" - + " \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Cr" - + "yptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPECIFI" - + "ED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033C" - + "USTOMER_MANAGED_ENCRYPTION\020\002*\\\n\017Database" - + "Dialect\022 \n\034DATABASE_DIALECT_UNSPECIFIED\020" - + "\000\022\027\n\023GOOGLE_STANDARD_SQL\020\001\022\016\n\nPOSTGRESQL" - + "\020\002B\242\004\n$com.google.spanner.admin.database" - + ".v1B\013CommonProtoP\001ZFcloud.google.com/go/" - + "spanner/admin/database/apiv1/databasepb;" - + "databasepb\252\002&Google.Cloud.Spanner.Admin." - + "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" - + "\\Database\\V1\352\002+Google::Cloud::Spanner::A" - + "dmin::Database::V1\352Ax\n!cloudkms.googleap" - + "is.com/CryptoKey\022Sprojects/{project}/loc" - + "ations/{location}/keyRings/{key_ring}/cr" - + "yptoKeys/{crypto_key}\352A\246\001\n(cloudkms.goog" - + "leapis.com/CryptoKeyVersion\022zprojects/{p" - + "roject}/locations/{location}/keyRings/{k" - + "ey_ring}/cryptoKeys/{crypto_key}/cryptoK" - + "eyVersions/{crypto_key_version}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor, - new java.lang.String[] { - "ProgressPercent", "StartTime", "EndTime", - }); - internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "EncryptionStatus", "KmsKeyVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java deleted file mode 100644 index cfad9f82916..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/backup.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public interface DeleteBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DeleteBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/backups/<backup>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/backups/<backup>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java deleted file mode 100644 index fe54af60372..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public interface DropDatabaseRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DropDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The database to be dropped.
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The database. - */ - java.lang.String getDatabase(); - /** - * - * - *
-   * Required. The database to be dropped.
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for database. - */ - com.google.protobuf.ByteString getDatabaseBytes(); -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java deleted file mode 100644 index 2c4aa5f2c56..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/backup.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public interface GetBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/backups/<backup>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/backups/<backup>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java deleted file mode 100644 index b4483afb7cd..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public interface GetDatabaseDdlRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The database whose schema we wish to get.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The database. - */ - java.lang.String getDatabase(); - /** - * - * - *
-   * Required. The database whose schema we wish to get.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for database. - */ - com.google.protobuf.ByteString getDatabaseBytes(); -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java deleted file mode 100644 index d56c35bfda7..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public interface GetDatabaseRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the requested database. Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the requested database. Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java deleted file mode 100644 index 7b3af91a2d2..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java +++ /dev/null @@ -1,661 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.database.v1; - -public final class SpannerDatabaseAdminProto { - private SpannerDatabaseAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_Database_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_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=google/spanner/admin/database/v1/spann" - + "er_database_admin.proto\022 google.spanner." - + "admin.database.v1\032\034google/api/annotation" - + "s.proto\032\027google/api/client.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032\036google/iam/v1/iam_policy.p" - + "roto\032\032google/iam/v1/policy.proto\032#google" - + "/longrunning/operations.proto\032\033google/pr" - + "otobuf/empty.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\037google/protobuf/timestamp." - + "proto\032-google/spanner/admin/database/v1/" - + "backup.proto\032-google/spanner/admin/datab" - + "ase/v1/common.proto\"\253\001\n\013RestoreInfo\022H\n\013s" - + "ource_type\030\001 \001(\01623.google.spanner.admin." - + "database.v1.RestoreSourceType\022C\n\013backup_" - + "info\030\002 \001(\0132,.google.spanner.admin.databa" - + "se.v1.BackupInfoH\000B\r\n\013source_info\"\312\006\n\010Da" - + "tabase\022\021\n\004name\030\001 \001(\tB\003\340A\002\022D\n\005state\030\002 \001(\016" - + "20.google.spanner.admin.database.v1.Data" - + "base.StateB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022H\n\014restore" - + "_info\030\004 \001(\0132-.google.spanner.admin.datab" - + "ase.v1.RestoreInfoB\003\340A\003\022R\n\021encryption_co" - + "nfig\030\005 \001(\01322.google.spanner.admin.databa" - + "se.v1.EncryptionConfigB\003\340A\003\022N\n\017encryptio" - + "n_info\030\010 \003(\01320.google.spanner.admin.data" - + "base.v1.EncryptionInfoB\003\340A\003\022%\n\030version_r" - + "etention_period\030\006 \001(\tB\003\340A\003\022>\n\025earliest_v" - + "ersion_time\030\007 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022\033\n\016default_leader\030\t \001(\tB\003\340A\003\022" - + "P\n\020database_dialect\030\n \001(\01621.google.spann" - + "er.admin.database.v1.DatabaseDialectB\003\340A" - + "\003\022\036\n\026enable_drop_protection\030\013 \001(\010\022\030\n\013rec" - + "onciling\030\014 \001(\010B\003\340A\003\"M\n\005State\022\025\n\021STATE_UN" - + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\024\n\020" - + "READY_OPTIMIZING\020\003:b\352A_\n\037spanner.googlea" - + "pis.com/Database\022\332A\006parent\202\323\344\223\002/\022-/v1/{parent=projects" - + "/*/instances/*}/databases\022\244\002\n\016CreateData" - + "base\0227.google.spanner.admin.database.v1." - + "CreateDatabaseRequest\032\035.google.longrunni" - + "ng.Operation\"\271\001\312Ad\n)google.spanner.admin" - + ".database.v1.Database\0227google.spanner.ad" - + "min.database.v1.CreateDatabaseMetadata\332A" - + "\027parent,create_statement\202\323\344\223\0022\"-/v1/{par" - + "ent=projects/*/instances/*}/databases:\001*" - + "\022\255\001\n\013GetDatabase\0224.google.spanner.admin." - + "database.v1.GetDatabaseRequest\032*.google." - + "spanner.admin.database.v1.Database\"<\332A\004n" - + "ame\202\323\344\223\002/\022-/v1/{name=projects/*/instance" - + "s/*/databases/*}\022\357\001\n\016UpdateDatabase\0227.go" - + "ogle.spanner.admin.database.v1.UpdateDat" - + "abaseRequest\032\035.google.longrunning.Operat" - + "ion\"\204\001\312A\"\n\010Database\022\026UpdateDatabaseMetad" - + "ata\332A\024database,update_mask\202\323\344\223\002B26/v1/{d" - + "atabase.name=projects/*/instances/*/data" - + "bases/*}:\010database\022\235\002\n\021UpdateDatabaseDdl" - + "\022:.google.spanner.admin.database.v1.Upda" - + "teDatabaseDdlRequest\032\035.google.longrunnin" - + "g.Operation\"\254\001\312AS\n\025google.protobuf.Empty" - + "\022:google.spanner.admin.database.v1.Updat" - + "eDatabaseDdlMetadata\332A\023database,statemen" - + "ts\202\323\344\223\002:25/v1/{database=projects/*/insta" - + "nces/*/databases/*}/ddl:\001*\022\243\001\n\014DropDatab" - + "ase\0225.google.spanner.admin.database.v1.D" - + "ropDatabaseRequest\032\026.google.protobuf.Emp" - + "ty\"D\332A\010database\202\323\344\223\0023*1/v1/{database=pro" - + "jects/*/instances/*/databases/*}\022\315\001\n\016Get" - + "DatabaseDdl\0227.google.spanner.admin.datab" - + "ase.v1.GetDatabaseDdlRequest\0328.google.sp" - + "anner.admin.database.v1.GetDatabaseDdlRe" - + "sponse\"H\332A\010database\202\323\344\223\0027\0225/v1/{database" - + "=projects/*/instances/*/databases/*}/ddl" - + "\022\353\001\n\014SetIamPolicy\022\".google.iam.v1.SetIam" - + "PolicyRequest\032\025.google.iam.v1.Policy\"\237\001\332" - + "A\017resource,policy\202\323\344\223\002\206\001\">/v1/{resource=" - + "projects/*/instances/*/databases/*}:setI" - + "amPolicy:\001*ZA\"/v1/{resource=projects/" - + "*/instances/*/databases/*}:getIamPolicy:" - + "\001*ZA\".google.spanner.a" - + "dmin.database.v1.ListBackupOperationsRes" - + "ponse\"E\332A\006parent\202\323\344\223\0026\0224/v1/{parent=proj" - + "ects/*/instances/*}/backupOperations\022\334\001\n" - + "\021ListDatabaseRoles\022:.google.spanner.admi" - + "n.database.v1.ListDatabaseRolesRequest\032;" - + ".google.spanner.admin.database.v1.ListDa" - + "tabaseRolesResponse\"N\332A\006parent\202\323\344\223\002?\022=/v" - + "1/{parent=projects/*/instances/*/databas" - + "es/*}/databaseRoles\032x\312A\026spanner.googleap" - + "is.com\322A\\https://www.googleapis.com/auth" - + "/cloud-platform,https://www.googleapis.c" - + "om/auth/spanner.adminB\330\002\n$com.google.spa" - + "nner.admin.database.v1B\031SpannerDatabaseA" - + "dminProtoP\001ZFcloud.google.com/go/spanner" - + "/admin/database/apiv1/databasepb;databas" - + "epb\252\002&Google.Cloud.Spanner.Admin.Databas" - + "e.V1\312\002&Google\\Cloud\\Spanner\\Admin\\Databa" - + "se\\V1\352\002+Google::Cloud::Spanner::Admin::D" - + "atabase::V1\352AJ\n\037spanner.googleapis.com/I" - + "nstance\022\'projects/{project}/instances/{i" - + "nstance}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor, - new java.lang.String[] { - "SourceType", "BackupInfo", "SourceInfo", - }); - internal_static_google_spanner_admin_database_v1_Database_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_Database_descriptor, - new java.lang.String[] { - "Name", - "State", - "CreateTime", - "RestoreInfo", - "EncryptionConfig", - "EncryptionInfo", - "VersionRetentionPeriod", - "EarliestVersionTime", - "DefaultLeader", - "DatabaseDialect", - "EnableDropProtection", - "Reconciling", - }); - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor, - new java.lang.String[] { - "Databases", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor, - new java.lang.String[] { - "Parent", - "CreateStatement", - "ExtraStatements", - "EncryptionConfig", - "DatabaseDialect", - "ProtoDescriptors", - }); - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor, - new java.lang.String[] { - "Database", - }); - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseRequest_descriptor, - new java.lang.String[] { - "Database", "UpdateMask", - }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseMetadata_descriptor, - new java.lang.String[] { - "Request", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor, - new java.lang.String[] { - "Database", "Statements", "OperationId", "ProtoDescriptors", - }); - internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DdlStatementActionInfo_descriptor, - new java.lang.String[] { - "Action", "EntityType", "EntityNames", - }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor, - new java.lang.String[] { - "Database", "Statements", "CommitTimestamps", "Throttled", "Progress", "Actions", - }); - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor, - new java.lang.String[] { - "Database", - }); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor, - new java.lang.String[] { - "Database", - }); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor, - new java.lang.String[] { - "Statements", "ProtoDescriptors", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor, - new java.lang.String[] { - "Operations", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor, - new java.lang.String[] { - "Parent", "DatabaseId", "Backup", "EncryptionConfig", "Source", - }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyName", - }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor, - new java.lang.String[] { - "Name", - "SourceType", - "BackupInfo", - "Progress", - "CancelTime", - "OptimizeDatabaseOperationName", - "SourceInfo", - }); - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor, - new java.lang.String[] { - "Name", "Progress", - }); - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor, - new java.lang.String[] { - "DatabaseRoles", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfigOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfigOrBuilder.java deleted file mode 100644 index 4fb3c8a0e69..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/AutoscalingConfigOrBuilder.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.instance.v1; - -public interface AutoscalingConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.AutoscalingConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Autoscaling limits for an instance.
-   * 
- * - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the autoscalingLimits field is set. - */ - boolean hasAutoscalingLimits(); - /** - * - * - *
-   * Required. Autoscaling limits for an instance.
-   * 
- * - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The autoscalingLimits. - */ - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits getAutoscalingLimits(); - /** - * - * - *
-   * Required. Autoscaling limits for an instance.
-   * 
- * - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimitsOrBuilder - getAutoscalingLimitsOrBuilder(); - - /** - * - * - *
-   * Required. The autoscaling targets for an instance.
-   * 
- * - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the autoscalingTargets field is set. - */ - boolean hasAutoscalingTargets(); - /** - * - * - *
-   * Required. The autoscaling targets for an instance.
-   * 
- * - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The autoscalingTargets. - */ - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets getAutoscalingTargets(); - /** - * - * - *
-   * Required. The autoscaling targets for an instance.
-   * 
- * - * - * .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder(); -} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java deleted file mode 100644 index 9872dac54c1..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/common.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.instance.v1; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_OperationProgress_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-google/spanner/admin/instance/v1/commo" - + "n.proto\022 google.spanner.admin.instance.v" - + "1\032\037google/protobuf/timestamp.proto\"\213\001\n\021O" - + "perationProgress\022\030\n\020progress_percent\030\001 \001" - + "(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" - + ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr" - + "otobuf.TimestampB\375\001\n$com.google.spanner." - + "admin.instance.v1B\013CommonProtoP\001ZFcloud." - + "google.com/go/spanner/admin/instance/api" - + "v1/instancepb;instancepb\252\002&Google.Cloud." - + "Spanner.Admin.Instance.V1\312\002&Google\\Cloud" - + "\\Spanner\\Admin\\Instance\\V1\352\002+Google::Clo" - + "ud::Spanner::Admin::Instance::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor, - new java.lang.String[] { - "ProgressPercent", "StartTime", "EndTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 7f0f12b71ea..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.instance.v1; - -public interface DeleteInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the instance to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the instance to be deleted. Values are of the form
-   * `projects/<project>/instances/<instance>`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java deleted file mode 100644 index fac241e23dc..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.instance.v1; - -public interface GetInstanceConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the requested instance configuration. Values are of
-   * the form `projects/<project>/instanceConfigs/<config>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the requested instance configuration. Values are of
-   * the form `projects/<project>/instanceConfigs/<config>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequestOrBuilder.java deleted file mode 100644 index fd816ce8e7a..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstancePartitionRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.instance.v1; - -public interface GetInstancePartitionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstancePartitionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the requested instance partition. Values are of
-   * the form
-   * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the requested instance partition. Values are of
-   * the form
-   * `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java deleted file mode 100644 index 01f559e1cb2..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java +++ /dev/null @@ -1,905 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.admin.instance.v1; - -public final class SpannerInstanceAdminProto { - private SpannerInstanceAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_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=google/spanner/admin/instance/v1/spann" - + "er_instance_admin.proto\022 google.spanner." - + "admin.instance.v1\032\034google/api/annotation" - + "s.proto\032\027google/api/client.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032\036google/iam/v1/iam_policy.p" - + "roto\032\032google/iam/v1/policy.proto\032#google" - + "/longrunning/operations.proto\032\033google/pr" - + "otobuf/empty.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\037google/protobuf/timestamp." - + "proto\032-google/spanner/admin/instance/v1/" - + "common.proto\"\332\001\n\013ReplicaInfo\022\020\n\010location" - + "\030\001 \001(\t\022G\n\004type\030\002 \001(\01629.google.spanner.ad" - + "min.instance.v1.ReplicaInfo.ReplicaType\022" - + "\037\n\027default_leader_location\030\003 \001(\010\"O\n\013Repl" - + "icaType\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nREAD_WR" - + "ITE\020\001\022\r\n\tREAD_ONLY\020\002\022\013\n\007WITNESS\020\003\"\276\006\n\016In" - + "stanceConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" - + "me\030\002 \001(\t\022O\n\013config_type\030\005 \001(\01625.google.s" - + "panner.admin.instance.v1.InstanceConfig." - + "TypeB\003\340A\003\022?\n\010replicas\030\003 \003(\0132-.google.spa" - + "nner.admin.instance.v1.ReplicaInfo\022M\n\021op" - + "tional_replicas\030\006 \003(\0132-.google.spanner.a" - + "dmin.instance.v1.ReplicaInfoB\003\340A\003\022?\n\013bas" - + "e_config\030\007 \001(\tB*\372A\'\n%spanner.googleapis." - + "com/InstanceConfig\022L\n\006labels\030\010 \003(\0132<.goo" - + "gle.spanner.admin.instance.v1.InstanceCo" - + "nfig.LabelsEntry\022\014\n\004etag\030\t \001(\t\022\026\n\016leader" - + "_options\030\004 \003(\t\022\030\n\013reconciling\030\n \001(\010B\003\340A\003" - + "\022J\n\005state\030\013 \001(\01626.google.spanner.admin.i" - + "nstance.v1.InstanceConfig.StateB\003\340A\003\032-\n\013" - + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001\"B\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016GOO" - + "GLE_MANAGED\020\001\022\020\n\014USER_MANAGED\020\002\"7\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n" - + "\005READY\020\002:`\352A]\n%spanner.googleapis.com/In" - + "stanceConfig\0224projects/{project}/instanc" - + "eConfigs/{instance_config}\"\363\003\n\021Autoscali" - + "ngConfig\022f\n\022autoscaling_limits\030\001 \001(\0132E.g" - + "oogle.spanner.admin.instance.v1.Autoscal" - + "ingConfig.AutoscalingLimitsB\003\340A\002\022h\n\023auto" - + "scaling_targets\030\002 \001(\0132F.google.spanner.a" - + "dmin.instance.v1.AutoscalingConfig.Autos" - + "calingTargetsB\003\340A\002\032\227\001\n\021AutoscalingLimits" - + "\022\023\n\tmin_nodes\030\001 \001(\005H\000\022\036\n\024min_processing_" - + "units\030\002 \001(\005H\000\022\023\n\tmax_nodes\030\003 \001(\005H\001\022\036\n\024ma" - + "x_processing_units\030\004 \001(\005H\001B\013\n\tmin_limitB" - + "\013\n\tmax_limit\032r\n\022AutoscalingTargets\0222\n%hi" - + "gh_priority_cpu_utilization_percent\030\001 \001(" - + "\005B\003\340A\002\022(\n\033storage_utilization_percent\030\002 " - + "\001(\005B\003\340A\002\"\303\005\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\002" - + "\022=\n\006config\030\002 \001(\tB-\340A\002\372A\'\n%spanner.google" - + "apis.com/InstanceConfig\022\031\n\014display_name\030" - + "\003 \001(\tB\003\340A\002\022\022\n\nnode_count\030\005 \001(\005\022\030\n\020proces" - + "sing_units\030\t \001(\005\022T\n\022autoscaling_config\030\021" - + " \001(\01323.google.spanner.admin.instance.v1." - + "AutoscalingConfigB\003\340A\001\022D\n\005state\030\006 \001(\01620." - + "google.spanner.admin.instance.v1.Instanc" - + "e.StateB\003\340A\003\022F\n\006labels\030\007 \003(\01326.google.sp" - + "anner.admin.instance.v1.Instance.LabelsE" - + "ntry\022\025\n\rendpoint_uris\030\010 \003(\t\0224\n\013create_ti" - + "me\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\0224\n\013update_time\030\014 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"7\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:" - + "M\352AJ\n\037spanner.googleapis.com/Instance\022\'p" - + "rojects/{project}/instances/{instance}\"\210" - + "\001\n\032ListInstanceConfigsRequest\022C\n\006parent\030" - + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" - + "leapis.com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n" - + "\npage_token\030\003 \001(\t\"\202\001\n\033ListInstanceConfig" - + "sResponse\022J\n\020instance_configs\030\001 \003(\01320.go" - + "ogle.spanner.admin.instance.v1.InstanceC" - + "onfig\022\027\n\017next_page_token\030\002 \001(\t\"W\n\030GetIns" - + "tanceConfigRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'" - + "\n%spanner.googleapis.com/InstanceConfig\"" - + "\352\001\n\033CreateInstanceConfigRequest\022C\n\006paren" - + "t\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.go" - + "ogleapis.com/Project\022\037\n\022instance_config_" - + "id\030\002 \001(\tB\003\340A\002\022N\n\017instance_config\030\003 \001(\01320" - + ".google.spanner.admin.instance.v1.Instan" - + "ceConfigB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010\"\272\001\n" - + "\033UpdateInstanceConfigRequest\022N\n\017instance" - + "_config\030\001 \001(\01320.google.spanner.admin.ins" - + "tance.v1.InstanceConfigB\003\340A\002\0224\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340" - + "A\002\022\025\n\rvalidate_only\030\003 \001(\010\"\177\n\033DeleteInsta" - + "nceConfigRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" - + "spanner.googleapis.com/InstanceConfig\022\014\n" - + "\004etag\030\002 \001(\t\022\025\n\rvalidate_only\030\003 \001(\010\"\241\001\n#L" - + "istInstanceConfigOperationsRequest\022C\n\006pa" - + "rent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager" - + ".googleapis.com/Project\022\016\n\006filter\030\002 \001(\t\022" - + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"r" - + "\n$ListInstanceConfigOperationsResponse\0221" - + "\n\noperations\030\001 \003(\0132\035.google.longrunning." - + "Operation\022\027\n\017next_page_token\030\002 \001(\t\"{\n\022Ge" - + "tInstanceRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" - + "spanner.googleapis.com/Instance\022.\n\nfield" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" - + "\271\001\n\025CreateInstanceRequest\022C\n\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\n+cloudresourcemanager.googleap" - + "is.com/Project\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002" - + "\022A\n\010instance\030\003 \001(\0132*.google.spanner.admi" - + "n.instance.v1.InstanceB\003\340A\002\"\311\001\n\024ListInst" - + "ancesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cl" - + "oudresourcemanager.googleapis.com/Projec" - + "t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\0225\n\021instance_deadline\030\005 " - + "\001(\0132\032.google.protobuf.Timestamp\"\204\001\n\025List" - + "InstancesResponse\022=\n\tinstances\030\001 \003(\0132*.g" - + "oogle.spanner.admin.instance.v1.Instance" - + "\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable" - + "\030\003 \003(\t\"\217\001\n\025UpdateInstanceRequest\022A\n\010inst" - + "ance\030\001 \001(\0132*.google.spanner.admin.instan" - + "ce.v1.InstanceB\003\340A\002\0223\n\nfield_mask\030\002 \001(\0132" - + "\032.google.protobuf.FieldMaskB\003\340A\002\"N\n\025Dele" - + "teInstanceRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" - + "\037spanner.googleapis.com/Instance\"\345\001\n\026Cre" - + "ateInstanceMetadata\022<\n\010instance\030\001 \001(\0132*." - + "google.spanner.admin.instance.v1.Instanc" - + "e\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf." - + "Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032.google." - + "protobuf.Timestamp\022,\n\010end_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\"\345\001\n\026UpdateInsta" - + "nceMetadata\022<\n\010instance\030\001 \001(\0132*.google.s" - + "panner.admin.instance.v1.Instance\022.\n\nsta" - + "rt_time\030\002 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013cancel_time\030\003 \001(\0132\032.google.protobuf" - + ".Timestamp\022,\n\010end_time\030\004 \001(\0132\032.google.pr" - + "otobuf.Timestamp\"\341\001\n\034CreateInstanceConfi" - + "gMetadata\022I\n\017instance_config\030\001 \001(\01320.goo" - + "gle.spanner.admin.instance.v1.InstanceCo" - + "nfig\022E\n\010progress\030\002 \001(\01323.google.spanner." - + "admin.instance.v1.OperationProgress\022/\n\013c" - + "ancel_time\030\003 \001(\0132\032.google.protobuf.Times" - + "tamp\"\341\001\n\034UpdateInstanceConfigMetadata\022I\n" - + "\017instance_config\030\001 \001(\01320.google.spanner." - + "admin.instance.v1.InstanceConfig\022E\n\010prog" - + "ress\030\002 \001(\01323.google.spanner.admin.instan" - + "ce.v1.OperationProgress\022/\n\013cancel_time\030\003" - + " \001(\0132\032.google.protobuf.Timestamp\"\216\005\n\021Ins" - + "tancePartition\022\021\n\004name\030\001 \001(\tB\003\340A\002\022=\n\006con" - + "fig\030\002 \001(\tB-\340A\002\372A\'\n%spanner.googleapis.co" - + "m/InstanceConfig\022\031\n\014display_name\030\003 \001(\tB\003" - + "\340A\002\022\024\n\nnode_count\030\005 \001(\005H\000\022\032\n\020processing_" - + "units\030\006 \001(\005H\000\022M\n\005state\030\007 \001(\01629.google.sp" - + "anner.admin.instance.v1.InstancePartitio" - + "n.StateB\003\340A\003\0224\n\013create_time\030\010 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" - + "e\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022\"\n\025referencing_databases\030\n \003(\tB\003\340A\003\022 \n\023" - + "referencing_backups\030\013 \003(\tB\003\340A\003\022\014\n\004etag\030\014" - + " \001(\t\"7\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010" - + "CREATING\020\001\022\t\n\005READY\020\002:~\352A{\n(spanner.goog" - + "leapis.com/InstancePartition\022Oprojects/{" - + "project}/instances/{instance}/instancePa" - + "rtitions/{instance_partition}B\022\n\020compute" - + "_capacity\"\201\002\n\037CreateInstancePartitionMet" - + "adata\022O\n\022instance_partition\030\001 \001(\01323.goog" - + "le.spanner.admin.instance.v1.InstancePar" - + "tition\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" - + "obuf.Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022,\n\010end_time\030\004 \001(" - + "\0132\032.google.protobuf.Timestamp\"\323\001\n\036Create" - + "InstancePartitionRequest\0227\n\006parent\030\001 \001(\t" - + "B\'\340A\002\372A!\n\037spanner.googleapis.com/Instanc" - + "e\022\"\n\025instance_partition_id\030\002 \001(\tB\003\340A\002\022T\n" - + "\022instance_partition\030\003 \001(\01323.google.spann" - + "er.admin.instance.v1.InstancePartitionB\003" - + "\340A\002\"n\n\036DeleteInstancePartitionRequest\022>\n" - + "\004name\030\001 \001(\tB0\340A\002\372A*\n(spanner.googleapis." - + "com/InstancePartition\022\014\n\004etag\030\002 \001(\t\"]\n\033G" - + "etInstancePartitionRequest\022>\n\004name\030\001 \001(\t" - + "B0\340A\002\372A*\n(spanner.googleapis.com/Instanc" - + "ePartition\"\253\001\n\036UpdateInstancePartitionRe" - + "quest\022T\n\022instance_partition\030\001 \001(\01323.goog" - + "le.spanner.admin.instance.v1.InstancePar" - + "titionB\003\340A\002\0223\n\nfield_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMaskB\003\340A\002\"\201\002\n\037UpdateInsta" - + "ncePartitionMetadata\022O\n\022instance_partiti" - + "on\030\001 \001(\01323.google.spanner.admin.instance" - + ".v1.InstancePartition\022.\n\nstart_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013cancel_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022," - + "\n\010end_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tamp\"\305\001\n\035ListInstancePartitionsRequest\0227" - + "\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleap" - + "is.com/Instance\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\022D\n\033instance_partition_dea" - + "dline\030\004 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\001\"\240\001\n\036ListInstancePartitionsResponse\022" - + "P\n\023instance_partitions\030\001 \003(\01323.google.sp" - + "anner.admin.instance.v1.InstancePartitio" - + "n\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachabl" - + "e\030\003 \003(\t\"\355\001\n&ListInstancePartitionOperati" - + "onsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037span" - + "ner.googleapis.com/Instance\022\023\n\006filter\030\002 " - + "\001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage" - + "_token\030\004 \001(\tB\003\340A\001\022D\n\033instance_partition_" - + "deadline\030\005 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\001\"\236\001\n\'ListInstancePartitionOperati" - + "onsResponse\0221\n\noperations\030\001 \003(\0132\035.google" - + ".longrunning.Operation\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\022\'\n\037unreachable_instance_partitio" - + "ns\030\003 \003(\t2\316%\n\rInstanceAdmin\022\314\001\n\023ListInsta" - + "nceConfigs\022<.google.spanner.admin.instan" - + "ce.v1.ListInstanceConfigsRequest\032=.googl" - + "e.spanner.admin.instance.v1.ListInstance" - + "ConfigsResponse\"8\332A\006parent\202\323\344\223\002)\022\'/v1/{p" - + "arent=projects/*}/instanceConfigs\022\271\001\n\021Ge" - + "tInstanceConfig\022:.google.spanner.admin.i" - + "nstance.v1.GetInstanceConfigRequest\0320.go" - + "ogle.spanner.admin.instance.v1.InstanceC" - + "onfig\"6\332A\004name\202\323\344\223\002)\022\'/v1/{name=projects" - + "/*/instanceConfigs/*}\022\310\002\n\024CreateInstance" - + "Config\022=.google.spanner.admin.instance.v" - + "1.CreateInstanceConfigRequest\032\035.google.l" - + "ongrunning.Operation\"\321\001\312Ap\n/google.spann" - + "er.admin.instance.v1.InstanceConfig\022=goo" - + "gle.spanner.admin.instance.v1.CreateInst" - + "anceConfigMetadata\332A)parent,instance_con" - + "fig,instance_config_id\202\323\344\223\002,\"\'/v1/{paren" - + "t=projects/*}/instanceConfigs:\001*\022\312\002\n\024Upd" - + "ateInstanceConfig\022=.google.spanner.admin" - + ".instance.v1.UpdateInstanceConfigRequest" - + "\032\035.google.longrunning.Operation\"\323\001\312Ap\n/g" - + "oogle.spanner.admin.instance.v1.Instance" - + "Config\022=google.spanner.admin.instance.v1" - + ".UpdateInstanceConfigMetadata\332A\033instance" - + "_config,update_mask\202\323\344\223\002<27/v1/{instance" - + "_config.name=projects/*/instanceConfigs/" - + "*}:\001*\022\245\001\n\024DeleteInstanceConfig\022=.google." - + "spanner.admin.instance.v1.DeleteInstance" - + "ConfigRequest\032\026.google.protobuf.Empty\"6\332" - + "A\004name\202\323\344\223\002)*\'/v1/{name=projects/*/insta" - + "nceConfigs/*}\022\360\001\n\034ListInstanceConfigOper" - + "ations\022E.google.spanner.admin.instance.v" - + "1.ListInstanceConfigOperationsRequest\032F." - + "google.spanner.admin.instance.v1.ListIns" - + "tanceConfigOperationsResponse\"A\332A\006parent" - + "\202\323\344\223\0022\0220/v1/{parent=projects/*}/instance" - + "ConfigOperations\022\264\001\n\rListInstances\0226.goo" - + "gle.spanner.admin.instance.v1.ListInstan" - + "cesRequest\0327.google.spanner.admin.instan" - + "ce.v1.ListInstancesResponse\"2\332A\006parent\202\323" - + "\344\223\002#\022!/v1/{parent=projects/*}/instances\022" - + "\344\001\n\026ListInstancePartitions\022?.google.span" - + "ner.admin.instance.v1.ListInstancePartit" - + "ionsRequest\032@.google.spanner.admin.insta" - + "nce.v1.ListInstancePartitionsResponse\"G\332" - + "A\006parent\202\323\344\223\0028\0226/v1/{parent=projects/*/i" - + "nstances/*}/instancePartitions\022\241\001\n\013GetIn" - + "stance\0224.google.spanner.admin.instance.v" - + "1.GetInstanceRequest\032*.google.spanner.ad" - + "min.instance.v1.Instance\"0\332A\004name\202\323\344\223\002#\022" - + "!/v1/{name=projects/*/instances/*}\022\234\002\n\016C" - + "reateInstance\0227.google.spanner.admin.ins" - + "tance.v1.CreateInstanceRequest\032\035.google." - + "longrunning.Operation\"\261\001\312Ad\n)google.span" - + "ner.admin.instance.v1.Instance\0227google.s" - + "panner.admin.instance.v1.CreateInstanceM" - + "etadata\332A\033parent,instance_id,instance\202\323\344" - + "\223\002&\"!/v1/{parent=projects/*}/instances:\001" - + "*\022\235\002\n\016UpdateInstance\0227.google.spanner.ad" - + "min.instance.v1.UpdateInstanceRequest\032\035." - + "google.longrunning.Operation\"\262\001\312Ad\n)goog" - + "le.spanner.admin.instance.v1.Instance\0227g" - + "oogle.spanner.admin.instance.v1.UpdateIn" - + "stanceMetadata\332A\023instance,field_mask\202\323\344\223" - + "\002/2*/v1/{instance.name=projects/*/instan" - + "ces/*}:\001*\022\223\001\n\016DeleteInstance\0227.google.sp" - + "anner.admin.instance.v1.DeleteInstanceRe" - + "quest\032\026.google.protobuf.Empty\"0\332A\004name\202\323" - + "\344\223\002#*!/v1/{name=projects/*/instances/*}\022" - + "\232\001\n\014SetIamPolicy\022\".google.iam.v1.SetIamP" - + "olicyRequest\032\025.google.iam.v1.Policy\"O\332A\017" - + "resource,policy\202\323\344\223\0027\"2/v1/{resource=pro" - + "jects/*/instances/*}:setIamPolicy:\001*\022\223\001\n" - + "\014GetIamPolicy\022\".google.iam.v1.GetIamPoli" - + "cyRequest\032\025.google.iam.v1.Policy\"H\332A\010res" - + "ource\202\323\344\223\0027\"2/v1/{resource=projects/*/in" - + "stances/*}:getIamPolicy:\001*\022\305\001\n\022TestIamPe" - + "rmissions\022(.google.iam.v1.TestIamPermiss" - + "ionsRequest\032).google.iam.v1.TestIamPermi" - + "ssionsResponse\"Z\332A\024resource,permissions\202" - + "\323\344\223\002=\"8/v1/{resource=projects/*/instance" - + "s/*}:testIamPermissions:\001*\022\321\001\n\024GetInstan" - + "cePartition\022=.google.spanner.admin.insta" - + "nce.v1.GetInstancePartitionRequest\0323.goo" - + "gle.spanner.admin.instance.v1.InstancePa" - + "rtition\"E\332A\004name\202\323\344\223\0028\0226/v1/{name=projec" - + "ts/*/instances/*/instancePartitions/*}\022\351" - + "\002\n\027CreateInstancePartition\022@.google.span" - + "ner.admin.instance.v1.CreateInstancePart" - + "itionRequest\032\035.google.longrunning.Operat" - + "ion\"\354\001\312Av\n2google.spanner.admin.instance" - + ".v1.InstancePartition\022@google.spanner.ad" - + "min.instance.v1.CreateInstancePartitionM" - + "etadata\332A/parent,instance_partition,inst" - + "ance_partition_id\202\323\344\223\002;\"6/v1/{parent=pro" - + "jects/*/instances/*}/instancePartitions:" - + "\001*\022\272\001\n\027DeleteInstancePartition\022@.google." - + "spanner.admin.instance.v1.DeleteInstance" - + "PartitionRequest\032\026.google.protobuf.Empty" - + "\"E\332A\004name\202\323\344\223\0028*6/v1/{name=projects/*/in" - + "stances/*/instancePartitions/*}\022\352\002\n\027Upda" - + "teInstancePartition\022@.google.spanner.adm" - + "in.instance.v1.UpdateInstancePartitionRe" - + "quest\032\035.google.longrunning.Operation\"\355\001\312" - + "Av\n2google.spanner.admin.instance.v1.Ins" - + "tancePartition\022@google.spanner.admin.ins" - + "tance.v1.UpdateInstancePartitionMetadata" - + "\332A\035instance_partition,field_mask\202\323\344\223\002N2I" - + "/v1/{instance_partition.name=projects/*/" - + "instances/*/instancePartitions/*}:\001*\022\210\002\n" - + "\037ListInstancePartitionOperations\022H.googl" - + "e.spanner.admin.instance.v1.ListInstance" - + "PartitionOperationsRequest\032I.google.span" - + "ner.admin.instance.v1.ListInstancePartit" - + "ionOperationsResponse\"P\332A\006parent\202\323\344\223\002A\022?" - + "/v1/{parent=projects/*/instances/*}/inst" - + "ancePartitionOperations\032x\312A\026spanner.goog" - + "leapis.com\322A\\https://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/spanner.adminB\213\002\n$com.google" - + ".spanner.admin.instance.v1B\031SpannerInsta" - + "nceAdminProtoP\001ZFcloud.google.com/go/spa" - + "nner/admin/instance/apiv1/instancepb;ins" - + "tancepb\252\002&Google.Cloud.Spanner.Admin.Ins" - + "tance.V1\312\002&Google\\Cloud\\Spanner\\Admin\\In" - + "stance\\V1\352\002+Google::Cloud::Spanner::Admi" - + "n::Instance::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor, - new java.lang.String[] { - "Location", "Type", "DefaultLeaderLocation", - }); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "ConfigType", - "Replicas", - "OptionalReplicas", - "BaseConfig", - "Labels", - "Etag", - "LeaderOptions", - "Reconciling", - "State", - }); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor = - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor, - new java.lang.String[] { - "AutoscalingLimits", "AutoscalingTargets", - }); - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor = - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingLimits_descriptor, - new java.lang.String[] { - "MinNodes", - "MinProcessingUnits", - "MaxNodes", - "MaxProcessingUnits", - "MinLimit", - "MaxLimit", - }); - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor = - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_AutoscalingConfig_AutoscalingTargets_descriptor, - new java.lang.String[] { - "HighPriorityCpuUtilizationPercent", "StorageUtilizationPercent", - }); - internal_static_google_spanner_admin_instance_v1_Instance_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_Instance_descriptor, - new java.lang.String[] { - "Name", - "Config", - "DisplayName", - "NodeCount", - "ProcessingUnits", - "AutoscalingConfig", - "State", - "Labels", - "EndpointUris", - "CreateTime", - "UpdateTime", - }); - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor = - internal_static_google_spanner_admin_instance_v1_Instance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor, - new java.lang.String[] { - "InstanceConfigs", "NextPageToken", - }); - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceConfigId", "InstanceConfig", "ValidateOnly", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor, - new java.lang.String[] { - "InstanceConfig", "UpdateMask", "ValidateOnly", - }); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", "ValidateOnly", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor, - new java.lang.String[] { - "Operations", "NextPageToken", - }); - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "FieldMask", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "InstanceDeadline", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "NextPageToken", "Unreachable", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor, - new java.lang.String[] { - "Instance", "FieldMask", - }); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor, - new java.lang.String[] { - "Instance", "StartTime", "CancelTime", "EndTime", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor, - new java.lang.String[] { - "Instance", "StartTime", "CancelTime", "EndTime", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor, - new java.lang.String[] { - "InstanceConfig", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor, - new java.lang.String[] { - "InstanceConfig", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_spanner_admin_instance_v1_InstancePartition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_InstancePartition_descriptor, - new java.lang.String[] { - "Name", - "Config", - "DisplayName", - "NodeCount", - "ProcessingUnits", - "State", - "CreateTime", - "UpdateTime", - "ReferencingDatabases", - "ReferencingBackups", - "Etag", - "ComputeCapacity", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionMetadata_descriptor, - new java.lang.String[] { - "InstancePartition", "StartTime", "CancelTime", "EndTime", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstancePartitionRequest_descriptor, - new java.lang.String[] { - "Parent", "InstancePartitionId", "InstancePartition", - }); - internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_DeleteInstancePartitionRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_GetInstancePartitionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionRequest_descriptor, - new java.lang.String[] { - "InstancePartition", "FieldMask", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstancePartitionMetadata_descriptor, - new java.lang.String[] { - "InstancePartition", "StartTime", "CancelTime", "EndTime", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "InstancePartitionDeadline", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionsResponse_descriptor, - new java.lang.String[] { - "InstancePartitions", "NextPageToken", "Unreachable", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "InstancePartitionDeadline", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancePartitionOperationsResponse_descriptor, - new java.lang.String[] { - "Operations", "NextPageToken", "UnreachableInstancePartitions", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationActionOrBuilder.java b/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationActionOrBuilder.java deleted file mode 100644 index ba6955f38bd..00000000000 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CancelOperationActionOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/executor/v1/cloud_executor.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.executor.v1; - -public interface CancelOperationActionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CancelOperationAction) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the operation resource to be cancelled.
-   * 
- * - * string operation = 1; - * - * @return The operation. - */ - java.lang.String getOperation(); - /** - * - * - *
-   * The name of the operation resource to be cancelled.
-   * 
- * - * string operation = 1; - * - * @return The bytes for operation. - */ - com.google.protobuf.ByteString getOperationBytes(); -} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionActionOrBuilder.java b/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionActionOrBuilder.java deleted file mode 100644 index a339542402d..00000000000 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloseBatchTransactionActionOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/executor/v1/cloud_executor.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.executor.v1; - -public interface CloseBatchTransactionActionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.CloseBatchTransactionAction) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Indicates whether the transaction needs to be cleaned up.
-   * 
- * - * bool cleanup = 1; - * - * @return The cleanup. - */ - boolean getCleanup(); -} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudExecutorProto.java b/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudExecutorProto.java deleted file mode 100644 index 67a4167e504..00000000000 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/CloudExecutorProto.java +++ /dev/null @@ -1,1620 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/executor/v1/cloud_executor.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.executor.v1; - -public final class CloudExecutorProto { - private CloudExecutorProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_SpannerAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ReadAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_QueryAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DmlAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_Value_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_Value_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_KeyRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_KeySet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ValueList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_MutationAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_Concurrency_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_TableMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_AdminAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_GetOperationAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_BatchPartition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_AdminResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_OperationResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ReadResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_QueryResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_executor_v1_HeartbeatRecord_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/google/spanner/executor/v1/cloud_execu" - + "tor.proto\022\032google.spanner.executor.v1\032\027g" - + "oogle/api/client.proto\032\037google/api/field" - + "_behavior.proto\032#google/longrunning/oper" - + "ations.proto\032\037google/protobuf/timestamp." - + "proto\032\027google/rpc/status.proto\032-google/s" - + "panner/admin/database/v1/backup.proto\032-g" - + "oogle/spanner/admin/database/v1/common.p" - + "roto\032=google/spanner/admin/database/v1/s" - + "panner_database_admin.proto\032=google/span" - + "ner/admin/instance/v1/spanner_instance_a" - + "dmin.proto\032\037google/spanner/v1/spanner.pr" - + "oto\032\034google/spanner/v1/type.proto\"i\n\031Spa" - + "nnerAsyncActionRequest\022\021\n\taction_id\030\001 \001(" - + "\005\0229\n\006action\030\002 \001(\0132).google.spanner.execu" - + "tor.v1.SpannerAction\"r\n\032SpannerAsyncActi" - + "onResponse\022\021\n\taction_id\030\001 \001(\005\022A\n\007outcome" - + "\030\002 \001(\01320.google.spanner.executor.v1.Span" - + "nerActionOutcome\"\331\t\n\rSpannerAction\022\025\n\rda" - + "tabase_path\030\001 \001(\t\022C\n\005start\030\n \001(\01322.googl" - + "e.spanner.executor.v1.StartTransactionAc" - + "tionH\000\022E\n\006finish\030\013 \001(\01323.google.spanner." - + "executor.v1.FinishTransactionActionH\000\0226\n" - + "\004read\030\024 \001(\0132&.google.spanner.executor.v1" - + ".ReadActionH\000\0228\n\005query\030\025 \001(\0132\'.google.sp" - + "anner.executor.v1.QueryActionH\000\022>\n\010mutat" - + "ion\030\026 \001(\0132*.google.spanner.executor.v1.M" - + "utationActionH\000\0224\n\003dml\030\027 \001(\0132%.google.sp" - + "anner.executor.v1.DmlActionH\000\022?\n\tbatch_d" - + "ml\030\030 \001(\0132*.google.spanner.executor.v1.Ba" - + "tchDmlActionH\000\022A\n\005write\030\031 \001(\01320.google.s" - + "panner.executor.v1.WriteMutationsActionH" - + "\000\022Q\n\022partitioned_update\030\033 \001(\01323.google.s" - + "panner.executor.v1.PartitionedUpdateActi" - + "onH\000\0228\n\005admin\030\036 \001(\0132\'.google.spanner.exe" - + "cutor.v1.AdminActionH\000\022R\n\017start_batch_tx" - + "n\030( \001(\01327.google.spanner.executor.v1.Sta" - + "rtBatchTransactionActionH\000\022R\n\017close_batc" - + "h_txn\030) \001(\01327.google.spanner.executor.v1" - + ".CloseBatchTransactionActionH\000\022d\n\033genera" - + "te_db_partitions_read\030* \001(\0132=.google.spa" - + "nner.executor.v1.GenerateDbPartitionsFor" - + "ReadActionH\000\022f\n\034generate_db_partitions_q" - + "uery\030+ \001(\0132>.google.spanner.executor.v1." - + "GenerateDbPartitionsForQueryActionH\000\022O\n\021" - + "execute_partition\030, \001(\01322.google.spanner" - + ".executor.v1.ExecutePartitionActionH\000\022[\n" - + "\033execute_change_stream_query\0302 \001(\01324.goo" - + "gle.spanner.executor.v1.ExecuteChangeStr" - + "eamQueryH\000B\010\n\006action\"\212\001\n\nReadAction\022\r\n\005t" - + "able\030\001 \001(\t\022\022\n\005index\030\002 \001(\tH\000\210\001\001\022\016\n\006column" - + "\030\003 \003(\t\0220\n\004keys\030\004 \001(\0132\".google.spanner.ex" - + "ecutor.v1.KeySet\022\r\n\005limit\030\005 \001(\005B\010\n\006_inde" - + "x\"\321\001\n\013QueryAction\022\013\n\003sql\030\001 \001(\t\022A\n\006params" - + "\030\002 \003(\01321.google.spanner.executor.v1.Quer" - + "yAction.Parameter\032r\n\tParameter\022\014\n\004name\030\001" - + " \001(\t\022%\n\004type\030\002 \001(\0132\027.google.spanner.v1.T" - + "ype\0220\n\005value\030\003 \001(\0132!.google.spanner.exec" - + "utor.v1.Value\"\206\001\n\tDmlAction\0227\n\006update\030\001 " - + "\001(\0132\'.google.spanner.executor.v1.QueryAc" - + "tion\022$\n\027autocommit_if_supported\030\002 \001(\010H\000\210" - + "\001\001B\032\n\030_autocommit_if_supported\"J\n\016BatchD" - + "mlAction\0228\n\007updates\030\001 \003(\0132\'.google.spann" - + "er.executor.v1.QueryAction\"\311\003\n\005Value\022\021\n\007" - + "is_null\030\001 \001(\010H\000\022\023\n\tint_value\030\002 \001(\003H\000\022\024\n\n" - + "bool_value\030\003 \001(\010H\000\022\026\n\014double_value\030\004 \001(\001" - + "H\000\022\025\n\013bytes_value\030\005 \001(\014H\000\022\026\n\014string_valu" - + "e\030\006 \001(\tH\000\022=\n\014struct_value\030\007 \001(\0132%.google" - + ".spanner.executor.v1.ValueListH\000\0225\n\017time" - + "stamp_value\030\010 \001(\0132\032.google.protobuf.Time" - + "stampH\000\022\031\n\017date_days_value\030\t \001(\005H\000\022\035\n\023is" - + "_commit_timestamp\030\n \001(\010H\000\022<\n\013array_value" - + "\030\013 \001(\0132%.google.spanner.executor.v1.Valu" - + "eListH\000\0220\n\narray_type\030\014 \001(\0132\027.google.spa" - + "nner.v1.TypeH\001\210\001\001B\014\n\nvalue_typeB\r\n\013_arra" - + "y_type\"\237\002\n\010KeyRange\0224\n\005start\030\001 \001(\0132%.goo" - + "gle.spanner.executor.v1.ValueList\0224\n\005lim" - + "it\030\002 \001(\0132%.google.spanner.executor.v1.Va" - + "lueList\022<\n\004type\030\003 \001(\0162).google.spanner.e" - + "xecutor.v1.KeyRange.TypeH\000\210\001\001\"`\n\004Type\022\024\n" - + "\020TYPE_UNSPECIFIED\020\000\022\021\n\rCLOSED_CLOSED\020\001\022\017" - + "\n\013CLOSED_OPEN\020\002\022\017\n\013OPEN_CLOSED\020\003\022\r\n\tOPEN" - + "_OPEN\020\004B\007\n\005_type\"\200\001\n\006KeySet\0224\n\005point\030\001 \003" - + "(\0132%.google.spanner.executor.v1.ValueLis" - + "t\0223\n\005range\030\002 \003(\0132$.google.spanner.execut" - + "or.v1.KeyRange\022\013\n\003all\030\003 \001(\010\"=\n\tValueList" - + "\0220\n\005value\030\001 \003(\0132!.google.spanner.executo" - + "r.v1.Value\"\274\005\n\016MutationAction\022;\n\003mod\030\001 \003" - + "(\0132..google.spanner.executor.v1.Mutation" - + "Action.Mod\032z\n\nInsertArgs\022\016\n\006column\030\001 \003(\t" - + "\022%\n\004type\030\002 \003(\0132\027.google.spanner.v1.Type\022" - + "5\n\006values\030\003 \003(\0132%.google.spanner.executo" - + "r.v1.ValueList\032z\n\nUpdateArgs\022\016\n\006column\030\001" - + " \003(\t\022%\n\004type\030\002 \003(\0132\027.google.spanner.v1.T" - + "ype\0225\n\006values\030\003 \003(\0132%.google.spanner.exe" - + "cutor.v1.ValueList\032\364\002\n\003Mod\022\r\n\005table\030\001 \001(" - + "\t\022E\n\006insert\030\002 \001(\01325.google.spanner.execu" - + "tor.v1.MutationAction.InsertArgs\022E\n\006upda" - + "te\030\003 \001(\01325.google.spanner.executor.v1.Mu" - + "tationAction.UpdateArgs\022O\n\020insert_or_upd" - + "ate\030\004 \001(\01325.google.spanner.executor.v1.M" - + "utationAction.InsertArgs\022F\n\007replace\030\005 \001(" - + "\01325.google.spanner.executor.v1.MutationA" - + "ction.InsertArgs\0227\n\013delete_keys\030\006 \001(\0132\"." - + "google.spanner.executor.v1.KeySet\"T\n\024Wri" - + "teMutationsAction\022<\n\010mutation\030\001 \001(\0132*.go" - + "ogle.spanner.executor.v1.MutationAction\"" - + "\337\002\n\027PartitionedUpdateAction\022i\n\007options\030\001" - + " \001(\0132S.google.spanner.executor.v1.Partit" - + "ionedUpdateAction.ExecutePartitionedUpda" - + "teOptionsH\000\210\001\001\0227\n\006update\030\002 \001(\0132\'.google." - + "spanner.executor.v1.QueryAction\032\223\001\n\037Exec" - + "utePartitionedUpdateOptions\022E\n\014rpc_prior" - + "ity\030\001 \001(\0162*.google.spanner.v1.RequestOpt" - + "ions.PriorityH\000\210\001\001\022\020\n\003tag\030\002 \001(\tH\001\210\001\001B\017\n\r" - + "_rpc_priorityB\006\n\004_tagB\n\n\010_options\"\256\002\n\026St" - + "artTransactionAction\022A\n\013concurrency\030\001 \001(" - + "\0132\'.google.spanner.executor.v1.Concurren" - + "cyH\000\210\001\001\0228\n\005table\030\002 \003(\0132).google.spanner." - + "executor.v1.TableMetadata\022\030\n\020transaction" - + "_seed\030\003 \001(\t\022W\n\021execution_options\030\004 \001(\01327" - + ".google.spanner.executor.v1.TransactionE" - + "xecutionOptionsH\001\210\001\001B\016\n\014_concurrencyB\024\n\022" - + "_execution_options\"\256\002\n\013Concurrency\022\033\n\021st" - + "aleness_seconds\030\001 \001(\001H\000\022#\n\031min_read_time" - + "stamp_micros\030\002 \001(\003H\000\022\037\n\025max_staleness_se" - + "conds\030\003 \001(\001H\000\022 \n\026exact_timestamp_micros\030" - + "\004 \001(\003H\000\022\020\n\006strong\030\005 \001(\010H\000\022\017\n\005batch\030\006 \001(\010" - + "H\000\022\033\n\023snapshot_epoch_read\030\007 \001(\010\022!\n\031snaps" - + "hot_epoch_root_table\030\010 \001(\t\022#\n\033batch_read" - + "_timestamp_micros\030\t \001(\003B\022\n\020concurrency_m" - + "ode\"\231\001\n\rTableMetadata\022\014\n\004name\030\001 \001(\t\022:\n\006c" - + "olumn\030\002 \003(\0132*.google.spanner.executor.v1" - + ".ColumnMetadata\022>\n\nkey_column\030\003 \003(\0132*.go" - + "ogle.spanner.executor.v1.ColumnMetadata\"" - + "E\n\016ColumnMetadata\022\014\n\004name\030\001 \001(\t\022%\n\004type\030" - + "\002 \001(\0132\027.google.spanner.v1.Type\"1\n\033Transa" - + "ctionExecutionOptions\022\022\n\noptimistic\030\001 \001(" - + "\010\"\230\001\n\027FinishTransactionAction\022F\n\004mode\030\001 " - + "\001(\01628.google.spanner.executor.v1.FinishT" - + "ransactionAction.Mode\"5\n\004Mode\022\024\n\020MODE_UN" - + "SPECIFIED\020\000\022\n\n\006COMMIT\020\001\022\013\n\007ABANDON\020\002\"\305\023\n" - + "\013AdminAction\022a\n\033create_user_instance_con" - + "fig\030\001 \001(\0132:.google.spanner.executor.v1.C" - + "reateUserInstanceConfigActionH\000\022a\n\033updat" - + "e_user_instance_config\030\002 \001(\0132:.google.sp" - + "anner.executor.v1.UpdateUserInstanceConf" - + "igActionH\000\022a\n\033delete_user_instance_confi" - + "g\030\003 \001(\0132:.google.spanner.executor.v1.Del" - + "eteUserInstanceConfigActionH\000\022]\n\031get_clo" - + "ud_instance_config\030\004 \001(\01328.google.spanne" - + "r.executor.v1.GetCloudInstanceConfigActi" - + "onH\000\022[\n\025list_instance_configs\030\005 \001(\0132:.go" - + "ogle.spanner.executor.v1.ListCloudInstan" - + "ceConfigsActionH\000\022V\n\025create_cloud_instan" - + "ce\030\006 \001(\01325.google.spanner.executor.v1.Cr" - + "eateCloudInstanceActionH\000\022V\n\025update_clou" - + "d_instance\030\007 \001(\01325.google.spanner.execut" - + "or.v1.UpdateCloudInstanceActionH\000\022V\n\025del" - + "ete_cloud_instance\030\010 \001(\01325.google.spanne" - + "r.executor.v1.DeleteCloudInstanceActionH" - + "\000\022T\n\024list_cloud_instances\030\t \001(\01324.google" - + ".spanner.executor.v1.ListCloudInstancesA" - + "ctionH\000\022P\n\022get_cloud_instance\030\n \001(\01322.go" - + "ogle.spanner.executor.v1.GetCloudInstanc" - + "eActionH\000\022V\n\025create_cloud_database\030\013 \001(\013" - + "25.google.spanner.executor.v1.CreateClou" - + "dDatabaseActionH\000\022]\n\031update_cloud_databa" - + "se_ddl\030\014 \001(\01328.google.spanner.executor.v" - + "1.UpdateCloudDatabaseDdlActionH\000\022V\n\025upda" - + "te_cloud_database\030\033 \001(\01325.google.spanner" - + ".executor.v1.UpdateCloudDatabaseActionH\000" - + "\022R\n\023drop_cloud_database\030\r \001(\01323.google.s" - + "panner.executor.v1.DropCloudDatabaseActi" - + "onH\000\022T\n\024list_cloud_databases\030\016 \001(\01324.goo" - + "gle.spanner.executor.v1.ListCloudDatabas" - + "esActionH\000\022g\n\036list_cloud_database_operat" - + "ions\030\017 \001(\0132=.google.spanner.executor.v1." - + "ListCloudDatabaseOperationsActionH\000\022X\n\026r" - + "estore_cloud_database\030\020 \001(\01326.google.spa" - + "nner.executor.v1.RestoreCloudDatabaseAct" - + "ionH\000\022P\n\022get_cloud_database\030\021 \001(\01322.goog" - + "le.spanner.executor.v1.GetCloudDatabaseA" - + "ctionH\000\022R\n\023create_cloud_backup\030\022 \001(\01323.g" - + "oogle.spanner.executor.v1.CreateCloudBac" - + "kupActionH\000\022N\n\021copy_cloud_backup\030\023 \001(\01321" - + ".google.spanner.executor.v1.CopyCloudBac" - + "kupActionH\000\022L\n\020get_cloud_backup\030\024 \001(\01320." - + "google.spanner.executor.v1.GetCloudBacku" - + "pActionH\000\022R\n\023update_cloud_backup\030\025 \001(\01323" - + ".google.spanner.executor.v1.UpdateCloudB" - + "ackupActionH\000\022R\n\023delete_cloud_backup\030\026 \001" - + "(\01323.google.spanner.executor.v1.DeleteCl" - + "oudBackupActionH\000\022P\n\022list_cloud_backups\030" - + "\027 \001(\01322.google.spanner.executor.v1.ListC" - + "loudBackupsActionH\000\022c\n\034list_cloud_backup" - + "_operations\030\030 \001(\0132;.google.spanner.execu" - + "tor.v1.ListCloudBackupOperationsActionH\000" - + "\022G\n\rget_operation\030\031 \001(\0132..google.spanner" - + ".executor.v1.GetOperationActionH\000\022M\n\020can" - + "cel_operation\030\032 \001(\01321.google.spanner.exe" - + "cutor.v1.CancelOperationActionH\000\022`\n\032reco" - + "nfigure_cloud_database\030\034 \001(\0132:.google.sp" - + "anner.executor.v1.ReconfigureCloudDataba" - + "seActionH\000B\010\n\006action\"\245\001\n\036CreateUserInsta" - + "nceConfigAction\022\026\n\016user_config_id\030\001 \001(\t\022" - + "\022\n\nproject_id\030\002 \001(\t\022\026\n\016base_config_id\030\003 " - + "\001(\t\022?\n\010replicas\030\004 \003(\0132-.google.spanner.a" - + "dmin.instance.v1.ReplicaInfo\"\377\001\n\036UpdateU" - + "serInstanceConfigAction\022\026\n\016user_config_i" - + "d\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\031\n\014display_n" - + "ame\030\003 \001(\tH\000\210\001\001\022V\n\006labels\030\004 \003(\0132F.google." - + "spanner.executor.v1.UpdateUserInstanceCo" - + "nfigAction.LabelsEntry\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\r_displa" - + "y_name\"N\n\034GetCloudInstanceConfigAction\022\032" - + "\n\022instance_config_id\030\001 \001(\t\022\022\n\nproject_id" - + "\030\002 \001(\t\"L\n\036DeleteUserInstanceConfigAction" - + "\022\026\n\016user_config_id\030\001 \001(\t\022\022\n\nproject_id\030\002" - + " \001(\t\"\202\001\n\036ListCloudInstanceConfigsAction\022" - + "\022\n\nproject_id\030\001 \001(\t\022\026\n\tpage_size\030\002 \001(\005H\000" - + "\210\001\001\022\027\n\npage_token\030\003 \001(\tH\001\210\001\001B\014\n\n_page_si" - + "zeB\r\n\013_page_token\"\253\003\n\031CreateCloudInstanc" - + "eAction\022\023\n\013instance_id\030\001 \001(\t\022\022\n\nproject_" - + "id\030\002 \001(\t\022\032\n\022instance_config_id\030\003 \001(\t\022\027\n\n" - + "node_count\030\004 \001(\005H\000\210\001\001\022\035\n\020processing_unit" - + "s\030\006 \001(\005H\001\210\001\001\022T\n\022autoscaling_config\030\007 \001(\013" - + "23.google.spanner.admin.instance.v1.Auto" - + "scalingConfigH\002\210\001\001\022Q\n\006labels\030\005 \003(\0132A.goo" - + "gle.spanner.executor.v1.CreateCloudInsta" - + "nceAction.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\r\n\013_node_co" - + "untB\023\n\021_processing_unitsB\025\n\023_autoscaling" - + "_config\"\273\003\n\031UpdateCloudInstanceAction\022\023\n" - + "\013instance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\031" - + "\n\014display_name\030\003 \001(\tH\000\210\001\001\022\027\n\nnode_count\030" - + "\004 \001(\005H\001\210\001\001\022\035\n\020processing_units\030\005 \001(\005H\002\210\001" - + "\001\022T\n\022autoscaling_config\030\007 \001(\01323.google.s" - + "panner.admin.instance.v1.AutoscalingConf" - + "igH\003\210\001\001\022Q\n\006labels\030\006 \003(\0132A.google.spanner" - + ".executor.v1.UpdateCloudInstanceAction.L" - + "abelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001B\017\n\r_display_nameB\r\n\013_n" - + "ode_countB\023\n\021_processing_unitsB\025\n\023_autos" - + "caling_config\"D\n\031DeleteCloudInstanceActi" - + "on\022\023\n\013instance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 " - + "\001(\t\"\227\002\n\031CreateCloudDatabaseAction\022\023\n\013ins" - + "tance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\023\n\013da" - + "tabase_id\030\003 \001(\t\022\025\n\rsdl_statement\030\004 \003(\t\022M" - + "\n\021encryption_config\030\005 \001(\01322.google.spann" - + "er.admin.database.v1.EncryptionConfig\022\024\n" - + "\007dialect\030\006 \001(\tH\000\210\001\001\022\036\n\021proto_descriptors" - + "\030\007 \001(\014H\001\210\001\001B\n\n\010_dialectB\024\n\022_proto_descri" - + "ptors\"\277\001\n\034UpdateCloudDatabaseDdlAction\022\023" - + "\n\013instance_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022" - + "\023\n\013database_id\030\003 \001(\t\022\025\n\rsdl_statement\030\004 " - + "\003(\t\022\024\n\014operation_id\030\005 \001(\t\022\036\n\021proto_descr" - + "iptors\030\006 \001(\014H\000\210\001\001B\024\n\022_proto_descriptors\"" - + "{\n\031UpdateCloudDatabaseAction\022\023\n\013instance" - + "_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\025\n\rdatabas" - + "e_name\030\003 \001(\t\022\036\n\026enable_drop_protection\030\004" - + " \001(\010\"W\n\027DropCloudDatabaseAction\022\023\n\013insta" - + "nce_id\030\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\023\n\013data" - + "base_id\030\003 \001(\t\"g\n\036ReconfigureCloudDatabas" - + "eAction\022\031\n\014database_uri\030\001 \001(\tH\000\210\001\001\022\031\n\021se" - + "rving_locations\030\002 \003(\tB\017\n\r_database_uri\"j" - + "\n\030ListCloudDatabasesAction\022\022\n\nproject_id" - + "\030\001 \001(\t\022\023\n\013instance_id\030\002 \001(\t\022\021\n\tpage_size" - + "\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\234\001\n\030ListCloud" - + "InstancesAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\006f" - + "ilter\030\002 \001(\tH\000\210\001\001\022\026\n\tpage_size\030\003 \001(\005H\001\210\001\001" - + "\022\027\n\npage_token\030\004 \001(\tH\002\210\001\001B\t\n\007_filterB\014\n\n" - + "_page_sizeB\r\n\013_page_token\"A\n\026GetCloudIns" - + "tanceAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013insta" - + "nce_id\030\002 \001(\t\"\203\001\n!ListCloudDatabaseOperat" - + "ionsAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instan" - + "ce_id\030\002 \001(\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size" - + "\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"\222\001\n\032RestoreCl" - + "oudDatabaseAction\022\022\n\nproject_id\030\001 \001(\t\022\032\n" - + "\022backup_instance_id\030\002 \001(\t\022\021\n\tbackup_id\030\003" - + " \001(\t\022\034\n\024database_instance_id\030\004 \001(\t\022\023\n\013da" - + "tabase_id\030\005 \001(\t\"V\n\026GetCloudDatabaseActio" - + "n\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id\030\002 \001" - + "(\t\022\023\n\013database_id\030\003 \001(\t\"\350\001\n\027CreateCloudB" - + "ackupAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013insta" - + "nce_id\030\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\022\023\n\013datab" - + "ase_id\030\004 \001(\t\0224\n\013expire_time\030\005 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\0225\n\014version_ti" - + "me\030\006 \001(\0132\032.google.protobuf.TimestampH\000\210\001" - + "\001B\017\n\r_version_time\"\240\001\n\025CopyCloudBackupAc" - + "tion\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id\030" - + "\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\022\025\n\rsource_backu" - + "p\030\004 \001(\t\0224\n\013expire_time\030\005 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\"R\n\024GetCloudBackupA" - + "ction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id" - + "\030\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\"\213\001\n\027UpdateClou" - + "dBackupAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013ins" - + "tance_id\030\002 \001(\t\022\021\n\tbackup_id\030\003 \001(\t\0224\n\013exp" - + "ire_time\030\004 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\"U\n\027DeleteCloudBackupAction\022\022\n\npr" - + "oject_id\030\001 \001(\t\022\023\n\013instance_id\030\002 \001(\t\022\021\n\tb" - + "ackup_id\030\003 \001(\t\"x\n\026ListCloudBackupsAction" - + "\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013instance_id\030\002 \001(" - + "\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\n" - + "page_token\030\005 \001(\t\"\201\001\n\037ListCloudBackupOper" - + "ationsAction\022\022\n\nproject_id\030\001 \001(\t\022\023\n\013inst" - + "ance_id\030\002 \001(\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_si" - + "ze\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"\'\n\022GetOpera" - + "tionAction\022\021\n\toperation\030\001 \001(\t\"*\n\025CancelO" - + "perationAction\022\021\n\toperation\030\001 \001(\t\"\210\001\n\033St" - + "artBatchTransactionAction\0224\n\016batch_txn_t" - + "ime\030\001 \001(\0132\032.google.protobuf.TimestampH\000\022" - + "\r\n\003tid\030\002 \001(\014H\000\022\033\n\023cloud_database_role\030\003 " - + "\001(\tB\007\n\005param\".\n\033CloseBatchTransactionAct" - + "ion\022\017\n\007cleanup\030\001 \001(\010\"\227\002\n!GenerateDbParti" - + "tionsForReadAction\0224\n\004read\030\001 \001(\0132&.googl" - + "e.spanner.executor.v1.ReadAction\0228\n\005tabl" - + "e\030\002 \003(\0132).google.spanner.executor.v1.Tab" - + "leMetadata\022(\n\033desired_bytes_per_partitio" - + "n\030\003 \001(\003H\000\210\001\001\022 \n\023max_partition_count\030\004 \001(" - + "\003H\001\210\001\001B\036\n\034_desired_bytes_per_partitionB\026" - + "\n\024_max_partition_count\"\246\001\n\"GenerateDbPar" - + "titionsForQueryAction\0226\n\005query\030\001 \001(\0132\'.g" - + "oogle.spanner.executor.v1.QueryAction\022(\n" - + "\033desired_bytes_per_partition\030\002 \001(\003H\000\210\001\001B" - + "\036\n\034_desired_bytes_per_partition\"x\n\016Batch" - + "Partition\022\021\n\tpartition\030\001 \001(\014\022\027\n\017partitio" - + "n_token\030\002 \001(\014\022\022\n\005table\030\003 \001(\tH\000\210\001\001\022\022\n\005ind" - + "ex\030\004 \001(\tH\001\210\001\001B\010\n\006_tableB\010\n\006_index\"W\n\026Exe" - + "cutePartitionAction\022=\n\tpartition\030\001 \001(\0132*" - + ".google.spanner.executor.v1.BatchPartiti" - + "on\"\216\003\n\030ExecuteChangeStreamQuery\022\014\n\004name\030" - + "\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.proto" - + "buf.Timestamp\0221\n\010end_time\030\003 \001(\0132\032.google" - + ".protobuf.TimestampH\000\210\001\001\022\034\n\017partition_to" - + "ken\030\004 \001(\tH\001\210\001\001\022\024\n\014read_options\030\005 \003(\t\022#\n\026" - + "heartbeat_milliseconds\030\006 \001(\005H\002\210\001\001\022\035\n\020dea" - + "dline_seconds\030\007 \001(\003H\003\210\001\001\022 \n\023cloud_databa" - + "se_role\030\010 \001(\tH\004\210\001\001B\013\n\t_end_timeB\022\n\020_part" - + "ition_tokenB\031\n\027_heartbeat_millisecondsB\023" - + "\n\021_deadline_secondsB\026\n\024_cloud_database_r" - + "ole\"\242\005\n\024SpannerActionOutcome\022\'\n\006status\030\001" - + " \001(\0132\022.google.rpc.StatusH\000\210\001\001\0224\n\013commit_" - + "time\030\002 \001(\0132\032.google.protobuf.TimestampH\001" - + "\210\001\001\022@\n\013read_result\030\003 \001(\0132&.google.spanne" - + "r.executor.v1.ReadResultH\002\210\001\001\022B\n\014query_r" - + "esult\030\004 \001(\0132\'.google.spanner.executor.v1" - + ".QueryResultH\003\210\001\001\022\"\n\025transaction_restart" - + "ed\030\005 \001(\010H\004\210\001\001\022\031\n\014batch_txn_id\030\006 \001(\014H\005\210\001\001" - + "\022@\n\014db_partition\030\007 \003(\0132*.google.spanner." - + "executor.v1.BatchPartition\022B\n\014admin_resu" - + "lt\030\010 \001(\0132\'.google.spanner.executor.v1.Ad" - + "minResultH\006\210\001\001\022\031\n\021dml_rows_modified\030\t \003(" - + "\003\022M\n\025change_stream_records\030\n \003(\0132..googl" - + "e.spanner.executor.v1.ChangeStreamRecord" - + "B\t\n\007_statusB\016\n\014_commit_timeB\016\n\014_read_res" - + "ultB\017\n\r_query_resultB\030\n\026_transaction_res" - + "tartedB\017\n\r_batch_txn_idB\017\n\r_admin_result" - + "\"\231\003\n\013AdminResult\022H\n\017backup_response\030\001 \001(" - + "\0132/.google.spanner.executor.v1.CloudBack" - + "upResponse\022I\n\022operation_response\030\002 \001(\0132-" - + ".google.spanner.executor.v1.OperationRes" - + "ponse\022L\n\021database_response\030\003 \001(\01321.googl" - + "e.spanner.executor.v1.CloudDatabaseRespo" - + "nse\022L\n\021instance_response\030\004 \001(\01321.google." - + "spanner.executor.v1.CloudInstanceRespons" - + "e\022Y\n\030instance_config_response\030\005 \001(\01327.go" - + "ogle.spanner.executor.v1.CloudInstanceCo" - + "nfigResponse\"\353\001\n\023CloudBackupResponse\022@\n\016" - + "listed_backups\030\001 \003(\0132(.google.spanner.ad" - + "min.database.v1.Backup\022?\n\030listed_backup_" - + "operations\030\002 \003(\0132\035.google.longrunning.Op" - + "eration\022\027\n\017next_page_token\030\003 \001(\t\0228\n\006back" - + "up\030\004 \001(\0132(.google.spanner.admin.database" - + ".v1.Backup\"\230\001\n\021OperationResponse\0228\n\021list" - + "ed_operations\030\001 \003(\0132\035.google.longrunning" - + ".Operation\022\027\n\017next_page_token\030\002 \001(\t\0220\n\to" - + "peration\030\003 \001(\0132\035.google.longrunning.Oper" - + "ation\"\264\001\n\025CloudInstanceResponse\022D\n\020liste" - + "d_instances\030\001 \003(\0132*.google.spanner.admin" - + ".instance.v1.Instance\022\027\n\017next_page_token" - + "\030\002 \001(\t\022<\n\010instance\030\003 \001(\0132*.google.spanne" - + "r.admin.instance.v1.Instance\"\324\001\n\033CloudIn" - + "stanceConfigResponse\022Q\n\027listed_instance_" - + "configs\030\001 \003(\01320.google.spanner.admin.ins" - + "tance.v1.InstanceConfig\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\022I\n\017instance_config\030\003 \001(\01320.goog" - + "le.spanner.admin.instance.v1.InstanceCon" - + "fig\"\367\001\n\025CloudDatabaseResponse\022D\n\020listed_" - + "databases\030\001 \003(\0132*.google.spanner.admin.d" - + "atabase.v1.Database\022A\n\032listed_database_o" - + "perations\030\002 \003(\0132\035.google.longrunning.Ope" - + "ration\022\027\n\017next_page_token\030\003 \001(\t\022<\n\010datab" - + "ase\030\004 \001(\0132*.google.spanner.admin.databas" - + "e.v1.Database\"\336\001\n\nReadResult\022\r\n\005table\030\001 " - + "\001(\t\022\022\n\005index\030\002 \001(\tH\000\210\001\001\022\032\n\rrequest_index" - + "\030\003 \001(\005H\001\210\001\001\0222\n\003row\030\004 \003(\0132%.google.spanne" - + "r.executor.v1.ValueList\0224\n\010row_type\030\005 \001(" - + "\0132\035.google.spanner.v1.StructTypeH\002\210\001\001B\010\n" - + "\006_indexB\020\n\016_request_indexB\013\n\t_row_type\"\204", - "\001\n\013QueryResult\0222\n\003row\030\001 \003(\0132%.google.spa" - + "nner.executor.v1.ValueList\0224\n\010row_type\030\002" - + " \001(\0132\035.google.spanner.v1.StructTypeH\000\210\001\001" - + "B\013\n\t_row_type\"\363\001\n\022ChangeStreamRecord\022C\n\013" - + "data_change\030\001 \001(\0132,.google.spanner.execu" - + "tor.v1.DataChangeRecordH\000\022L\n\017child_parti" - + "tion\030\002 \001(\01321.google.spanner.executor.v1." - + "ChildPartitionsRecordH\000\022@\n\theartbeat\030\003 \001" - + "(\0132+.google.spanner.executor.v1.Heartbea" - + "tRecordH\000B\010\n\006record\"\330\004\n\020DataChangeRecord" - + "\022/\n\013commit_time\030\001 \001(\0132\032.google.protobuf." - + "Timestamp\022\027\n\017record_sequence\030\002 \001(\t\022\026\n\016tr" - + "ansaction_id\030\003 \001(\t\022\026\n\016is_last_record\030\004 \001" - + "(\010\022\r\n\005table\030\005 \001(\t\022M\n\014column_types\030\006 \003(\0132" - + "7.google.spanner.executor.v1.DataChangeR" - + "ecord.ColumnType\022>\n\004mods\030\007 \003(\01320.google." - + "spanner.executor.v1.DataChangeRecord.Mod" - + "\022\020\n\010mod_type\030\010 \001(\t\022\032\n\022value_capture_type" - + "\030\t \001(\t\022\024\n\014record_count\030\n \001(\003\022\027\n\017partitio" - + "n_count\030\013 \001(\003\022\027\n\017transaction_tag\030\014 \001(\t\022\035" - + "\n\025is_system_transaction\030\r \001(\010\032Z\n\nColumnT" - + "ype\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\026\n\016is_pr" - + "imary_key\030\003 \001(\010\022\030\n\020ordinal_position\030\004 \001(" - + "\003\032;\n\003Mod\022\014\n\004keys\030\001 \001(\t\022\022\n\nnew_values\030\002 \001" - + "(\t\022\022\n\nold_values\030\003 \001(\t\"\376\001\n\025ChildPartitio" - + "nsRecord\022.\n\nstart_time\030\001 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022\027\n\017record_sequence\030\002 \001(" - + "\t\022Z\n\020child_partitions\030\003 \003(\0132@.google.spa" - + "nner.executor.v1.ChildPartitionsRecord.C" - + "hildPartition\032@\n\016ChildPartition\022\r\n\005token" - + "\030\001 \001(\t\022\037\n\027parent_partition_tokens\030\002 \003(\t\"" - + "E\n\017HeartbeatRecord\0222\n\016heartbeat_time\030\001 \001" - + "(\0132\032.google.protobuf.Timestamp2\314\001\n\024Spann" - + "erExecutorProxy\022\211\001\n\022ExecuteActionAsync\0225" - + ".google.spanner.executor.v1.SpannerAsync" - + "ActionRequest\0326.google.spanner.executor." - + "v1.SpannerAsyncActionResponse\"\000(\0010\001\032(\312A%" - + "spanner-cloud-executor.googleapis.comBx\n" - + "\036com.google.spanner.executor.v1B\022CloudEx" - + "ecutorProtoP\001Z@cloud.google.com/go/spann" - + "er/executor/apiv1/executorpb;executorpbb" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), - com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor(), - com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.getDescriptor(), - com.google.spanner.v1.SpannerProto.getDescriptor(), - com.google.spanner.v1.TypeProto.getDescriptor(), - }); - internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_SpannerAsyncActionRequest_descriptor, - new java.lang.String[] { - "ActionId", "Action", - }); - internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_SpannerAsyncActionResponse_descriptor, - new java.lang.String[] { - "ActionId", "Outcome", - }); - internal_static_google_spanner_executor_v1_SpannerAction_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_executor_v1_SpannerAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_SpannerAction_descriptor, - new java.lang.String[] { - "DatabasePath", - "Start", - "Finish", - "Read", - "Query", - "Mutation", - "Dml", - "BatchDml", - "Write", - "PartitionedUpdate", - "Admin", - "StartBatchTxn", - "CloseBatchTxn", - "GenerateDbPartitionsRead", - "GenerateDbPartitionsQuery", - "ExecutePartition", - "ExecuteChangeStreamQuery", - "Action", - }); - internal_static_google_spanner_executor_v1_ReadAction_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_executor_v1_ReadAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ReadAction_descriptor, - new java.lang.String[] { - "Table", "Index", "Column", "Keys", "Limit", - }); - internal_static_google_spanner_executor_v1_QueryAction_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_executor_v1_QueryAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_QueryAction_descriptor, - new java.lang.String[] { - "Sql", "Params", - }); - internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor = - internal_static_google_spanner_executor_v1_QueryAction_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_executor_v1_QueryAction_Parameter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_QueryAction_Parameter_descriptor, - new java.lang.String[] { - "Name", "Type", "Value", - }); - internal_static_google_spanner_executor_v1_DmlAction_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_executor_v1_DmlAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DmlAction_descriptor, - new java.lang.String[] { - "Update", "AutocommitIfSupported", - }); - internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_executor_v1_BatchDmlAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_BatchDmlAction_descriptor, - new java.lang.String[] { - "Updates", - }); - internal_static_google_spanner_executor_v1_Value_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_executor_v1_Value_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_Value_descriptor, - new java.lang.String[] { - "IsNull", - "IntValue", - "BoolValue", - "DoubleValue", - "BytesValue", - "StringValue", - "StructValue", - "TimestampValue", - "DateDaysValue", - "IsCommitTimestamp", - "ArrayValue", - "ArrayType", - "ValueType", - }); - internal_static_google_spanner_executor_v1_KeyRange_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_executor_v1_KeyRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_KeyRange_descriptor, - new java.lang.String[] { - "Start", "Limit", "Type", - }); - internal_static_google_spanner_executor_v1_KeySet_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_executor_v1_KeySet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_KeySet_descriptor, - new java.lang.String[] { - "Point", "Range", "All", - }); - internal_static_google_spanner_executor_v1_ValueList_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_executor_v1_ValueList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ValueList_descriptor, - new java.lang.String[] { - "Value", - }); - internal_static_google_spanner_executor_v1_MutationAction_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_executor_v1_MutationAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_MutationAction_descriptor, - new java.lang.String[] { - "Mod", - }); - internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor = - internal_static_google_spanner_executor_v1_MutationAction_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_MutationAction_InsertArgs_descriptor, - new java.lang.String[] { - "Column", "Type", "Values", - }); - internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor = - internal_static_google_spanner_executor_v1_MutationAction_descriptor - .getNestedTypes() - .get(1); - internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_MutationAction_UpdateArgs_descriptor, - new java.lang.String[] { - "Column", "Type", "Values", - }); - internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor = - internal_static_google_spanner_executor_v1_MutationAction_descriptor - .getNestedTypes() - .get(2); - internal_static_google_spanner_executor_v1_MutationAction_Mod_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_MutationAction_Mod_descriptor, - new java.lang.String[] { - "Table", "Insert", "Update", "InsertOrUpdate", "Replace", "DeleteKeys", - }); - internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_executor_v1_WriteMutationsAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_WriteMutationsAction_descriptor, - new java.lang.String[] { - "Mutation", - }); - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor, - new java.lang.String[] { - "Options", "Update", - }); - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor = - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_PartitionedUpdateAction_ExecutePartitionedUpdateOptions_descriptor, - new java.lang.String[] { - "RpcPriority", "Tag", - }); - internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_executor_v1_StartTransactionAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_StartTransactionAction_descriptor, - new java.lang.String[] { - "Concurrency", "Table", "TransactionSeed", "ExecutionOptions", - }); - internal_static_google_spanner_executor_v1_Concurrency_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_spanner_executor_v1_Concurrency_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_Concurrency_descriptor, - new java.lang.String[] { - "StalenessSeconds", - "MinReadTimestampMicros", - "MaxStalenessSeconds", - "ExactTimestampMicros", - "Strong", - "Batch", - "SnapshotEpochRead", - "SnapshotEpochRootTable", - "BatchReadTimestampMicros", - "ConcurrencyMode", - }); - internal_static_google_spanner_executor_v1_TableMetadata_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_spanner_executor_v1_TableMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_TableMetadata_descriptor, - new java.lang.String[] { - "Name", "Column", "KeyColumn", - }); - internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_spanner_executor_v1_ColumnMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ColumnMetadata_descriptor, - new java.lang.String[] { - "Name", "Type", - }); - internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_spanner_executor_v1_TransactionExecutionOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_TransactionExecutionOptions_descriptor, - new java.lang.String[] { - "Optimistic", - }); - internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_spanner_executor_v1_FinishTransactionAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_FinishTransactionAction_descriptor, - new java.lang.String[] { - "Mode", - }); - internal_static_google_spanner_executor_v1_AdminAction_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_spanner_executor_v1_AdminAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_AdminAction_descriptor, - new java.lang.String[] { - "CreateUserInstanceConfig", - "UpdateUserInstanceConfig", - "DeleteUserInstanceConfig", - "GetCloudInstanceConfig", - "ListInstanceConfigs", - "CreateCloudInstance", - "UpdateCloudInstance", - "DeleteCloudInstance", - "ListCloudInstances", - "GetCloudInstance", - "CreateCloudDatabase", - "UpdateCloudDatabaseDdl", - "UpdateCloudDatabase", - "DropCloudDatabase", - "ListCloudDatabases", - "ListCloudDatabaseOperations", - "RestoreCloudDatabase", - "GetCloudDatabase", - "CreateCloudBackup", - "CopyCloudBackup", - "GetCloudBackup", - "UpdateCloudBackup", - "DeleteCloudBackup", - "ListCloudBackups", - "ListCloudBackupOperations", - "GetOperation", - "CancelOperation", - "ReconfigureCloudDatabase", - "Action", - }); - internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CreateUserInstanceConfigAction_descriptor, - new java.lang.String[] { - "UserConfigId", "ProjectId", "BaseConfigId", "Replicas", - }); - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor, - new java.lang.String[] { - "UserConfigId", "ProjectId", "DisplayName", "Labels", - }); - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor = - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_UpdateUserInstanceConfigAction_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_GetCloudInstanceConfigAction_descriptor, - new java.lang.String[] { - "InstanceConfigId", "ProjectId", - }); - internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DeleteUserInstanceConfigAction_descriptor, - new java.lang.String[] { - "UserConfigId", "ProjectId", - }); - internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ListCloudInstanceConfigsAction_descriptor, - new java.lang.String[] { - "ProjectId", "PageSize", "PageToken", - }); - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor, - new java.lang.String[] { - "InstanceId", - "ProjectId", - "InstanceConfigId", - "NodeCount", - "ProcessingUnits", - "AutoscalingConfig", - "Labels", - }); - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor = - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CreateCloudInstanceAction_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor, - new java.lang.String[] { - "InstanceId", - "ProjectId", - "DisplayName", - "NodeCount", - "ProcessingUnits", - "AutoscalingConfig", - "Labels", - }); - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor = - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_UpdateCloudInstanceAction_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DeleteCloudInstanceAction_descriptor, - new java.lang.String[] { - "InstanceId", "ProjectId", - }); - internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CreateCloudDatabaseAction_descriptor, - new java.lang.String[] { - "InstanceId", - "ProjectId", - "DatabaseId", - "SdlStatement", - "EncryptionConfig", - "Dialect", - "ProtoDescriptors", - }); - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseDdlAction_descriptor, - new java.lang.String[] { - "InstanceId", - "ProjectId", - "DatabaseId", - "SdlStatement", - "OperationId", - "ProtoDescriptors", - }); - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_UpdateCloudDatabaseAction_descriptor, - new java.lang.String[] { - "InstanceId", "ProjectId", "DatabaseName", "EnableDropProtection", - }); - internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DropCloudDatabaseAction_descriptor, - new java.lang.String[] { - "InstanceId", "ProjectId", "DatabaseId", - }); - internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ReconfigureCloudDatabaseAction_descriptor, - new java.lang.String[] { - "DatabaseUri", "ServingLocations", - }); - internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ListCloudDatabasesAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "PageSize", "PageToken", - }); - internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_spanner_executor_v1_ListCloudInstancesAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ListCloudInstancesAction_descriptor, - new java.lang.String[] { - "ProjectId", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_spanner_executor_v1_GetCloudInstanceAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_GetCloudInstanceAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", - }); - internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ListCloudDatabaseOperationsAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_RestoreCloudDatabaseAction_descriptor, - new java.lang.String[] { - "ProjectId", "BackupInstanceId", "BackupId", "DatabaseInstanceId", "DatabaseId", - }); - internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_GetCloudDatabaseAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "DatabaseId", - }); - internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_spanner_executor_v1_CreateCloudBackupAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CreateCloudBackupAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "BackupId", "DatabaseId", "ExpireTime", "VersionTime", - }); - internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_spanner_executor_v1_CopyCloudBackupAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CopyCloudBackupAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "BackupId", "SourceBackup", "ExpireTime", - }); - internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_spanner_executor_v1_GetCloudBackupAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_GetCloudBackupAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "BackupId", - }); - internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_UpdateCloudBackupAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "BackupId", "ExpireTime", - }); - internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DeleteCloudBackupAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "BackupId", - }); - internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_spanner_executor_v1_ListCloudBackupsAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ListCloudBackupsAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ListCloudBackupOperationsAction_descriptor, - new java.lang.String[] { - "ProjectId", "InstanceId", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_executor_v1_GetOperationAction_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_spanner_executor_v1_GetOperationAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_GetOperationAction_descriptor, - new java.lang.String[] { - "Operation", - }); - internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_spanner_executor_v1_CancelOperationAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CancelOperationAction_descriptor, - new java.lang.String[] { - "Operation", - }); - internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_spanner_executor_v1_StartBatchTransactionAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_StartBatchTransactionAction_descriptor, - new java.lang.String[] { - "BatchTxnTime", "Tid", "CloudDatabaseRole", "Param", - }); - internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CloseBatchTransactionAction_descriptor, - new java.lang.String[] { - "Cleanup", - }); - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForReadAction_descriptor, - new java.lang.String[] { - "Read", "Table", "DesiredBytesPerPartition", "MaxPartitionCount", - }); - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_GenerateDbPartitionsForQueryAction_descriptor, - new java.lang.String[] { - "Query", "DesiredBytesPerPartition", - }); - internal_static_google_spanner_executor_v1_BatchPartition_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_spanner_executor_v1_BatchPartition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_BatchPartition_descriptor, - new java.lang.String[] { - "Partition", "PartitionToken", "Table", "Index", - }); - internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_spanner_executor_v1_ExecutePartitionAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ExecutePartitionAction_descriptor, - new java.lang.String[] { - "Partition", - }); - internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ExecuteChangeStreamQuery_descriptor, - new java.lang.String[] { - "Name", - "StartTime", - "EndTime", - "PartitionToken", - "ReadOptions", - "HeartbeatMilliseconds", - "DeadlineSeconds", - "CloudDatabaseRole", - }); - internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_spanner_executor_v1_SpannerActionOutcome_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_SpannerActionOutcome_descriptor, - new java.lang.String[] { - "Status", - "CommitTime", - "ReadResult", - "QueryResult", - "TransactionRestarted", - "BatchTxnId", - "DbPartition", - "AdminResult", - "DmlRowsModified", - "ChangeStreamRecords", - }); - internal_static_google_spanner_executor_v1_AdminResult_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_spanner_executor_v1_AdminResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_AdminResult_descriptor, - new java.lang.String[] { - "BackupResponse", - "OperationResponse", - "DatabaseResponse", - "InstanceResponse", - "InstanceConfigResponse", - }); - internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_spanner_executor_v1_CloudBackupResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CloudBackupResponse_descriptor, - new java.lang.String[] { - "ListedBackups", "ListedBackupOperations", "NextPageToken", "Backup", - }); - internal_static_google_spanner_executor_v1_OperationResponse_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_spanner_executor_v1_OperationResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_OperationResponse_descriptor, - new java.lang.String[] { - "ListedOperations", "NextPageToken", "Operation", - }); - internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_spanner_executor_v1_CloudInstanceResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CloudInstanceResponse_descriptor, - new java.lang.String[] { - "ListedInstances", "NextPageToken", "Instance", - }); - internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CloudInstanceConfigResponse_descriptor, - new java.lang.String[] { - "ListedInstanceConfigs", "NextPageToken", "InstanceConfig", - }); - internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor = - getDescriptor().getMessageTypes().get(62); - internal_static_google_spanner_executor_v1_CloudDatabaseResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_CloudDatabaseResponse_descriptor, - new java.lang.String[] { - "ListedDatabases", "ListedDatabaseOperations", "NextPageToken", "Database", - }); - internal_static_google_spanner_executor_v1_ReadResult_descriptor = - getDescriptor().getMessageTypes().get(63); - internal_static_google_spanner_executor_v1_ReadResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ReadResult_descriptor, - new java.lang.String[] { - "Table", "Index", "RequestIndex", "Row", "RowType", - }); - internal_static_google_spanner_executor_v1_QueryResult_descriptor = - getDescriptor().getMessageTypes().get(64); - internal_static_google_spanner_executor_v1_QueryResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_QueryResult_descriptor, - new java.lang.String[] { - "Row", "RowType", - }); - internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor = - getDescriptor().getMessageTypes().get(65); - internal_static_google_spanner_executor_v1_ChangeStreamRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ChangeStreamRecord_descriptor, - new java.lang.String[] { - "DataChange", "ChildPartition", "Heartbeat", "Record", - }); - internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor = - getDescriptor().getMessageTypes().get(66); - internal_static_google_spanner_executor_v1_DataChangeRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor, - new java.lang.String[] { - "CommitTime", - "RecordSequence", - "TransactionId", - "IsLastRecord", - "Table", - "ColumnTypes", - "Mods", - "ModType", - "ValueCaptureType", - "RecordCount", - "PartitionCount", - "TransactionTag", - "IsSystemTransaction", - }); - internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor = - internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DataChangeRecord_ColumnType_descriptor, - new java.lang.String[] { - "Name", "Type", "IsPrimaryKey", "OrdinalPosition", - }); - internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor = - internal_static_google_spanner_executor_v1_DataChangeRecord_descriptor - .getNestedTypes() - .get(1); - internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_DataChangeRecord_Mod_descriptor, - new java.lang.String[] { - "Keys", "NewValues", "OldValues", - }); - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor = - getDescriptor().getMessageTypes().get(67); - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor, - new java.lang.String[] { - "StartTime", "RecordSequence", "ChildPartitions", - }); - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor = - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_ChildPartitionsRecord_ChildPartition_descriptor, - new java.lang.String[] { - "Token", "ParentPartitionTokens", - }); - internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor = - getDescriptor().getMessageTypes().get(68); - internal_static_google_spanner_executor_v1_HeartbeatRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_executor_v1_HeartbeatRecord_descriptor, - new java.lang.String[] { - "HeartbeatTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); - com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor(); - com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.getDescriptor(); - com.google.spanner.v1.SpannerProto.getDescriptor(); - com.google.spanner.v1.TypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationActionOrBuilder.java b/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationActionOrBuilder.java deleted file mode 100644 index 55c89853679..00000000000 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/GetOperationActionOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/executor/v1/cloud_executor.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.executor.v1; - -public interface GetOperationActionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.GetOperationAction) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the operation resource.
-   * 
- * - * string operation = 1; - * - * @return The operation. - */ - java.lang.String getOperation(); - /** - * - * - *
-   * The name of the operation resource.
-   * 
- * - * string operation = 1; - * - * @return The bytes for operation. - */ - com.google.protobuf.ByteString getOperationBytes(); -} diff --git a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptionsOrBuilder.java b/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptionsOrBuilder.java deleted file mode 100644 index e28bd4b6d3a..00000000000 --- a/proto-google-cloud-spanner-executor-v1/src/main/java/com/google/spanner/executor/v1/TransactionExecutionOptionsOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/executor/v1/cloud_executor.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.executor.v1; - -public interface TransactionExecutionOptionsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.executor.v1.TransactionExecutionOptions) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether optimistic concurrency should be used to execute this transaction.
-   * 
- * - * bool optimistic = 1; - * - * @return The optimistic. - */ - boolean getOptimistic(); -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java deleted file mode 100644 index 47b0c28e6a1..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/commit_response.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public final class CommitResponseProto { - private CommitResponseProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitResponse_CommitStats_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\'google/spanner/v1/commit_response.prot" - + "o\022\021google.spanner.v1\032\037google/protobuf/ti" - + "mestamp.proto\"\262\001\n\016CommitResponse\0224\n\020comm" - + "it_timestamp\030\001 \001(\0132\032.google.protobuf.Tim" - + "estamp\022C\n\014commit_stats\030\002 \001(\0132-.google.sp" - + "anner.v1.CommitResponse.CommitStats\032%\n\013C" - + "ommitStats\022\026\n\016mutation_count\030\001 \001(\003B\266\001\n\025c" - + "om.google.spanner.v1B\023CommitResponseProt" - + "oP\001Z5cloud.google.com/go/spanner/apiv1/s" - + "pannerpb;spannerpb\252\002\027Google.Cloud.Spanne" - + "r.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google:" - + ":Cloud::Spanner::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_spanner_v1_CommitResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_CommitResponse_descriptor, - new java.lang.String[] { - "CommitTimestamp", "CommitStats", - }); - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor = - internal_static_google_spanner_v1_CommitResponse_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor, - new java.lang.String[] { - "MutationCount", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java deleted file mode 100644 index d1b9c15b662..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public interface DeleteSessionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.DeleteSessionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the session to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the session to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java deleted file mode 100644 index 4d6667d99f2..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public interface GetSessionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.GetSessionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the session to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the session to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java deleted file mode 100644 index 9bfb4697b1e..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/keys.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public final class KeysProto { - private KeysProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_KeyRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_KeyRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_KeySet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_KeySet_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\034google/spanner/v1/keys.proto\022\021google.s" - + "panner.v1\032\034google/protobuf/struct.proto\"" - + "\364\001\n\010KeyRange\0222\n\014start_closed\030\001 \001(\0132\032.goo" - + "gle.protobuf.ListValueH\000\0220\n\nstart_open\030\002" - + " \001(\0132\032.google.protobuf.ListValueH\000\0220\n\nen" - + "d_closed\030\003 \001(\0132\032.google.protobuf.ListVal" - + "ueH\001\022.\n\010end_open\030\004 \001(\0132\032.google.protobuf" - + ".ListValueH\001B\020\n\016start_key_typeB\016\n\014end_ke" - + "y_type\"l\n\006KeySet\022(\n\004keys\030\001 \003(\0132\032.google." - + "protobuf.ListValue\022+\n\006ranges\030\002 \003(\0132\033.goo" - + "gle.spanner.v1.KeyRange\022\013\n\003all\030\003 \001(\010B\254\001\n" - + "\025com.google.spanner.v1B\tKeysProtoP\001Z5clo" - + "ud.google.com/go/spanner/apiv1/spannerpb" - + ";spannerpb\252\002\027Google.Cloud.Spanner.V1\312\002\027G" - + "oogle\\Cloud\\Spanner\\V1\352\002\032Google::Cloud::" - + "Spanner::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_spanner_v1_KeyRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_KeyRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_KeyRange_descriptor, - new java.lang.String[] { - "StartClosed", "StartOpen", "EndClosed", "EndOpen", "StartKeyType", "EndKeyType", - }); - internal_static_google_spanner_v1_KeySet_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_KeySet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_KeySet_descriptor, - new java.lang.String[] { - "Keys", "Ranges", "All", - }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java deleted file mode 100644 index 3913bc2a97c..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/mutation.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public final class MutationProto { - private MutationProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_Write_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_Delete_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_Delete_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 google/spanner/v1/mutation.proto\022\021goog" - + "le.spanner.v1\032\037google/api/field_behavior" - + ".proto\032\034google/protobuf/struct.proto\032\034go" - + "ogle/spanner/v1/keys.proto\"\325\003\n\010Mutation\022" - + "3\n\006insert\030\001 \001(\0132!.google.spanner.v1.Muta" - + "tion.WriteH\000\0223\n\006update\030\002 \001(\0132!.google.sp" - + "anner.v1.Mutation.WriteH\000\022=\n\020insert_or_u" - + "pdate\030\003 \001(\0132!.google.spanner.v1.Mutation" - + ".WriteH\000\0224\n\007replace\030\004 \001(\0132!.google.spann" - + "er.v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\"" - + ".google.spanner.v1.Mutation.DeleteH\000\032X\n\005" - + "Write\022\022\n\005table\030\001 \001(\tB\003\340A\002\022\017\n\007columns\030\002 \003" - + "(\t\022*\n\006values\030\003 \003(\0132\032.google.protobuf.Lis" - + "tValue\032M\n\006Delete\022\022\n\005table\030\001 \001(\tB\003\340A\002\022/\n\007" - + "key_set\030\002 \001(\0132\031.google.spanner.v1.KeySet" - + "B\003\340A\002B\013\n\toperationB\260\001\n\025com.google.spanne" - + "r.v1B\rMutationProtoP\001Z5cloud.google.com/" - + "go/spanner/apiv1/spannerpb;spannerpb\252\002\027G" - + "oogle.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Sp" - + "anner\\V1\352\002\032Google::Cloud::Spanner::V1b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.spanner.v1.KeysProto.getDescriptor(), - }); - internal_static_google_spanner_v1_Mutation_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_Mutation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_descriptor, - new java.lang.String[] { - "Insert", "Update", "InsertOrUpdate", "Replace", "Delete", "Operation", - }); - internal_static_google_spanner_v1_Mutation_Write_descriptor = - internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_Write_descriptor, - new java.lang.String[] { - "Table", "Columns", "Values", - }); - internal_static_google_spanner_v1_Mutation_Delete_descriptor = - internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(1); - internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_Delete_descriptor, - new java.lang.String[] { - "Table", "KeySet", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.spanner.v1.KeysProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java deleted file mode 100644 index 2196558c675..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public interface PartitionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.Partition) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * This token can be passed to Read, StreamingRead, ExecuteSql, or
-   * ExecuteStreamingSql requests to restrict the results to those identified by
-   * this partition token.
-   * 
- * - * bytes partition_token = 1; - * - * @return The partitionToken. - */ - com.google.protobuf.ByteString getPartitionToken(); -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java deleted file mode 100644 index 141b164d3f9..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/query_plan.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public final class QueryPlanProto { - private QueryPlanProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_QueryPlan_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_QueryPlan_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\"google/spanner/v1/query_plan.proto\022\021go" - + "ogle.spanner.v1\032\034google/protobuf/struct." - + "proto\"\370\004\n\010PlanNode\022\r\n\005index\030\001 \001(\005\022.\n\004kin" - + "d\030\002 \001(\0162 .google.spanner.v1.PlanNode.Kin" - + "d\022\024\n\014display_name\030\003 \001(\t\022:\n\013child_links\030\004" - + " \003(\0132%.google.spanner.v1.PlanNode.ChildL" - + "ink\022M\n\024short_representation\030\005 \001(\0132/.goog" - + "le.spanner.v1.PlanNode.ShortRepresentati" - + "on\022)\n\010metadata\030\006 \001(\0132\027.google.protobuf.S" - + "truct\0220\n\017execution_stats\030\007 \001(\0132\027.google." - + "protobuf.Struct\032@\n\tChildLink\022\023\n\013child_in" - + "dex\030\001 \001(\005\022\014\n\004type\030\002 \001(\t\022\020\n\010variable\030\003 \001(" - + "\t\032\262\001\n\023ShortRepresentation\022\023\n\013description" - + "\030\001 \001(\t\022S\n\nsubqueries\030\002 \003(\0132?.google.span" - + "ner.v1.PlanNode.ShortRepresentation.Subq" - + "ueriesEntry\0321\n\017SubqueriesEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\"8\n\004Kind\022\024\n\020KIND_U" - + "NSPECIFIED\020\000\022\016\n\nRELATIONAL\020\001\022\n\n\006SCALAR\020\002" - + "\"<\n\tQueryPlan\022/\n\nplan_nodes\030\001 \003(\0132\033.goog" - + "le.spanner.v1.PlanNodeB\261\001\n\025com.google.sp" - + "anner.v1B\016QueryPlanProtoP\001Z5cloud.google" - + ".com/go/spanner/apiv1/spannerpb;spannerp" - + "b\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\Clo" - + "ud\\Spanner\\V1\352\002\032Google::Cloud::Spanner::" - + "V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_spanner_v1_PlanNode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_PlanNode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_descriptor, - new java.lang.String[] { - "Index", - "Kind", - "DisplayName", - "ChildLinks", - "ShortRepresentation", - "Metadata", - "ExecutionStats", - }); - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor = - internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor, - new java.lang.String[] { - "ChildIndex", "Type", "Variable", - }); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor = - internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(1); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor, - new java.lang.String[] { - "Description", "Subqueries", - }); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor = - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_v1_QueryPlan_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_QueryPlan_descriptor, - new java.lang.String[] { - "PlanNodes", - }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java deleted file mode 100644 index e22b1a2e4f3..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/result_set.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public final class ResultSetProto { - private ResultSetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartialResultSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSetMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSetStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSetStats_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\"google/spanner/v1/result_set.proto\022\021go" - + "ogle.spanner.v1\032\034google/protobuf/struct." - + "proto\032\"google/spanner/v1/query_plan.prot" - + "o\032#google/spanner/v1/transaction.proto\032\034" - + "google/spanner/v1/type.proto\"\237\001\n\tResultS" - + "et\0226\n\010metadata\030\001 \001(\0132$.google.spanner.v1" - + ".ResultSetMetadata\022(\n\004rows\030\002 \003(\0132\032.googl" - + "e.protobuf.ListValue\0220\n\005stats\030\003 \001(\0132!.go" - + "ogle.spanner.v1.ResultSetStats\"\321\001\n\020Parti" - + "alResultSet\0226\n\010metadata\030\001 \001(\0132$.google.s" - + "panner.v1.ResultSetMetadata\022&\n\006values\030\002 " - + "\003(\0132\026.google.protobuf.Value\022\025\n\rchunked_v" - + "alue\030\003 \001(\010\022\024\n\014resume_token\030\004 \001(\014\0220\n\005stat" - + "s\030\005 \001(\0132!.google.spanner.v1.ResultSetSta" - + "ts\"\267\001\n\021ResultSetMetadata\022/\n\010row_type\030\001 \001" - + "(\0132\035.google.spanner.v1.StructType\0223\n\013tra" - + "nsaction\030\002 \001(\0132\036.google.spanner.v1.Trans" - + "action\022<\n\025undeclared_parameters\030\003 \001(\0132\035." - + "google.spanner.v1.StructType\"\271\001\n\016ResultS" - + "etStats\0220\n\nquery_plan\030\001 \001(\0132\034.google.spa" - + "nner.v1.QueryPlan\022,\n\013query_stats\030\002 \001(\0132\027" - + ".google.protobuf.Struct\022\031\n\017row_count_exa" - + "ct\030\003 \001(\003H\000\022\037\n\025row_count_lower_bound\030\004 \001(" - + "\003H\000B\013\n\trow_countB\264\001\n\025com.google.spanner." - + "v1B\016ResultSetProtoP\001Z5cloud.google.com/g" - + "o/spanner/apiv1/spannerpb;spannerpb\370\001\001\252\002" - + "\027Google.Cloud.Spanner.V1\312\002\027Google\\Cloud\\" - + "Spanner\\V1\352\002\032Google::Cloud::Spanner::V1b" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - com.google.spanner.v1.QueryPlanProto.getDescriptor(), - com.google.spanner.v1.TransactionProto.getDescriptor(), - com.google.spanner.v1.TypeProto.getDescriptor(), - }); - internal_static_google_spanner_v1_ResultSet_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_ResultSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSet_descriptor, - new java.lang.String[] { - "Metadata", "Rows", "Stats", - }); - internal_static_google_spanner_v1_PartialResultSet_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PartialResultSet_descriptor, - new java.lang.String[] { - "Metadata", "Values", "ChunkedValue", "ResumeToken", "Stats", - }); - internal_static_google_spanner_v1_ResultSetMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSetMetadata_descriptor, - new java.lang.String[] { - "RowType", "Transaction", "UndeclaredParameters", - }); - internal_static_google_spanner_v1_ResultSetStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSetStats_descriptor, - new java.lang.String[] { - "QueryPlan", "QueryStats", "RowCountExact", "RowCountLowerBound", "RowCount", - }); - com.google.protobuf.StructProto.getDescriptor(); - com.google.spanner.v1.QueryPlanProto.getDescriptor(); - com.google.spanner.v1.TransactionProto.getDescriptor(); - com.google.spanner.v1.TypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java deleted file mode 100644 index e3f93b78616..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public interface RollbackRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.RollbackRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The session in which the transaction to roll back is running.
-   * 
- * - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The session. - */ - java.lang.String getSession(); - /** - * - * - *
-   * Required. The session in which the transaction to roll back is running.
-   * 
- * - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for session. - */ - com.google.protobuf.ByteString getSessionBytes(); - - /** - * - * - *
-   * Required. The transaction to roll back.
-   * 
- * - * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The transactionId. - */ - com.google.protobuf.ByteString getTransactionId(); -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java deleted file mode 100644 index b5f80e4a9d2..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java +++ /dev/null @@ -1,786 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -// Protobuf Java Version: 3.25.2 -package com.google.spanner.v1; - -public final class SpannerProto { - private SpannerProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CreateSessionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Session_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Session_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Session_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Session_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_GetSessionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ListSessionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ListSessionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_RequestOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_DirectedReadOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_DirectedReadOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_DirectedReadOptions_ReplicaSelection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_DirectedReadOptions_IncludeReplicas_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_DirectedReadOptions_ExcludeReplicas_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionReadRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Partition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Partition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ReadRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_RollbackRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchWriteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchWriteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchWriteRequest_MutationGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchWriteResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchWriteResponse_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\037google/spanner/v1/spanner.proto\022\021googl" - + "e.spanner.v1\032\'google/spanner/v1/commit_r" - + "esponse.proto\032\034google/api/annotations.pr" - + "oto\032\027google/api/client.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\036google/protobuf/duration.proto" - + "\032\033google/protobuf/empty.proto\032\034google/pr" - + "otobuf/struct.proto\032\037google/protobuf/tim" - + "estamp.proto\032\027google/rpc/status.proto\032\034g" - + "oogle/spanner/v1/keys.proto\032 google/span" - + "ner/v1/mutation.proto\032\"google/spanner/v1" - + "/result_set.proto\032#google/spanner/v1/tra" - + "nsaction.proto\032\034google/spanner/v1/type.p" - + "roto\"\203\001\n\024CreateSessionRequest\0229\n\010databas" - + "e\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/" - + "Database\0220\n\007session\030\002 \001(\0132\032.google.spann" - + "er.v1.SessionB\003\340A\002\"\251\001\n\032BatchCreateSessio" - + "nsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spa" - + "nner.googleapis.com/Database\0224\n\020session_" - + "template\030\002 \001(\0132\032.google.spanner.v1.Sessi" - + "on\022\032\n\rsession_count\030\003 \001(\005B\003\340A\002\"J\n\033BatchC" - + "reateSessionsResponse\022+\n\007session\030\001 \003(\0132\032" - + ".google.spanner.v1.Session\"\243\003\n\007Session\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(\0132&.goog" - + "le.spanner.v1.Session.LabelsEntry\0224\n\013cre" - + "ate_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022B\n\031approximate_last_use_time\030\004 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022\024\n\014c" - + "reator_role\030\005 \001(\t\022\030\n\013multiplexed\030\006 \001(\010B\003" - + "\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" - + "\030\002 \001(\t:\0028\001:t\352Aq\n\036spanner.googleapis.com/" - + "Session\022Oprojects/{project}/instances/{i" - + "nstance}/databases/{database}/sessions/{" - + "session}\"I\n\021GetSessionRequest\0224\n\004name\030\001 " - + "\001(\tB&\340A\002\372A \n\036spanner.googleapis.com/Sess" - + "ion\"\207\001\n\023ListSessionsRequest\0229\n\010database\030" - + "\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Da" - + "tabase\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" - + "\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"]\n\024ListSessionsRes" - + "ponse\022,\n\010sessions\030\001 \003(\0132\032.google.spanner" - + ".v1.Session\022\027\n\017next_page_token\030\002 \001(\t\"L\n\024" - + "DeleteSessionRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036spanner.googleapis.com/Session\"\334\001\n\016R" - + "equestOptions\022<\n\010priority\030\001 \001(\0162*.google" - + ".spanner.v1.RequestOptions.Priority\022\023\n\013r" - + "equest_tag\030\002 \001(\t\022\027\n\017transaction_tag\030\003 \001(" - + "\t\"^\n\010Priority\022\030\n\024PRIORITY_UNSPECIFIED\020\000\022" - + "\020\n\014PRIORITY_LOW\020\001\022\023\n\017PRIORITY_MEDIUM\020\002\022\021" - + "\n\rPRIORITY_HIGH\020\003\"\352\004\n\023DirectedReadOption" - + "s\022R\n\020include_replicas\030\001 \001(\01326.google.spa" - + "nner.v1.DirectedReadOptions.IncludeRepli" - + "casH\000\022R\n\020exclude_replicas\030\002 \001(\01326.google" - + ".spanner.v1.DirectedReadOptions.ExcludeR" - + "eplicasH\000\032\255\001\n\020ReplicaSelection\022\020\n\010locati" - + "on\030\001 \001(\t\022J\n\004type\030\002 \001(\0162<.google.spanner." - + "v1.DirectedReadOptions.ReplicaSelection." - + "Type\";\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nRE" - + "AD_WRITE\020\001\022\r\n\tREAD_ONLY\020\002\032\206\001\n\017IncludeRep" - + "licas\022S\n\022replica_selections\030\001 \003(\01327.goog" - + "le.spanner.v1.DirectedReadOptions.Replic" - + "aSelection\022\036\n\026auto_failover_disabled\030\002 \001" - + "(\010\032f\n\017ExcludeReplicas\022S\n\022replica_selecti" - + "ons\030\001 \003(\01327.google.spanner.v1.DirectedRe" - + "adOptions.ReplicaSelectionB\n\n\010replicas\"\307" - + "\006\n\021ExecuteSqlRequest\0227\n\007session\030\001 \001(\tB&\340" - + "A\002\372A \n\036spanner.googleapis.com/Session\022;\n" - + "\013transaction\030\002 \001(\0132&.google.spanner.v1.T" - + "ransactionSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006" - + "params\030\004 \001(\0132\027.google.protobuf.Struct\022I\n" - + "\013param_types\030\005 \003(\01324.google.spanner.v1.E" - + "xecuteSqlRequest.ParamTypesEntry\022\024\n\014resu" - + "me_token\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162..goo" - + "gle.spanner.v1.ExecuteSqlRequest.QueryMo" - + "de\022\027\n\017partition_token\030\010 \001(\014\022\r\n\005seqno\030\t \001" - + "(\003\022H\n\rquery_options\030\n \001(\01321.google.spann" - + "er.v1.ExecuteSqlRequest.QueryOptions\022:\n\017" - + "request_options\030\013 \001(\0132!.google.spanner.v" - + "1.RequestOptions\022E\n\025directed_read_option" - + "s\030\017 \001(\0132&.google.spanner.v1.DirectedRead" - + "Options\022\032\n\022data_boost_enabled\030\020 \001(\010\032O\n\014Q" - + "ueryOptions\022\031\n\021optimizer_version\030\001 \001(\t\022$" - + "\n\034optimizer_statistics_package\030\002 \001(\t\032J\n\017" - + "ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 " - + "\001(\0132\027.google.spanner.v1.Type:\0028\001\".\n\tQuer" - + "yMode\022\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002" - + "\"\240\004\n\026ExecuteBatchDmlRequest\0227\n\007session\030\001" - + " \001(\tB&\340A\002\372A \n\036spanner.googleapis.com/Ses" - + "sion\022@\n\013transaction\030\002 \001(\0132&.google.spann" - + "er.v1.TransactionSelectorB\003\340A\002\022L\n\nstatem" - + "ents\030\003 \003(\01323.google.spanner.v1.ExecuteBa" - + "tchDmlRequest.StatementB\003\340A\002\022\022\n\005seqno\030\004 " - + "\001(\003B\003\340A\002\022:\n\017request_options\030\005 \001(\0132!.goog" - + "le.spanner.v1.RequestOptions\032\354\001\n\tStateme" - + "nt\022\020\n\003sql\030\001 \001(\tB\003\340A\002\022\'\n\006params\030\002 \001(\0132\027.g" - + "oogle.protobuf.Struct\022X\n\013param_types\030\003 \003" - + "(\0132C.google.spanner.v1.ExecuteBatchDmlRe" - + "quest.Statement.ParamTypesEntry\032J\n\017Param" - + "TypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027" - + ".google.spanner.v1.Type:\0028\001\"p\n\027ExecuteBa" - + "tchDmlResponse\0221\n\013result_sets\030\001 \003(\0132\034.go" - + "ogle.spanner.v1.ResultSet\022\"\n\006status\030\002 \001(" - + "\0132\022.google.rpc.Status\"H\n\020PartitionOption" - + "s\022\034\n\024partition_size_bytes\030\001 \001(\003\022\026\n\016max_p" - + "artitions\030\002 \001(\003\"\243\003\n\025PartitionQueryReques" - + "t\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.goog" - + "leapis.com/Session\022;\n\013transaction\030\002 \001(\0132" - + "&.google.spanner.v1.TransactionSelector\022" - + "\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006params\030\004 \001(\0132\027.goog" - + "le.protobuf.Struct\022M\n\013param_types\030\005 \003(\0132" - + "8.google.spanner.v1.PartitionQueryReques" - + "t.ParamTypesEntry\022>\n\021partition_options\030\006" - + " \001(\0132#.google.spanner.v1.PartitionOption" - + "s\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005val" - + "ue\030\002 \001(\0132\027.google.spanner.v1.Type:\0028\001\"\261\002" - + "\n\024PartitionReadRequest\0227\n\007session\030\001 \001(\tB" - + "&\340A\002\372A \n\036spanner.googleapis.com/Session\022" - + ";\n\013transaction\030\002 \001(\0132&.google.spanner.v1" - + ".TransactionSelector\022\022\n\005table\030\003 \001(\tB\003\340A\002" - + "\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003(\t\022/\n\007key_" - + "set\030\006 \001(\0132\031.google.spanner.v1.KeySetB\003\340A" - + "\002\022>\n\021partition_options\030\t \001(\0132#.google.sp" - + "anner.v1.PartitionOptions\"$\n\tPartition\022\027" - + "\n\017partition_token\030\001 \001(\014\"z\n\021PartitionResp" - + "onse\0220\n\npartitions\030\001 \003(\0132\034.google.spanne" - + "r.v1.Partition\0223\n\013transaction\030\002 \001(\0132\036.go" - + "ogle.spanner.v1.Transaction\"\312\003\n\013ReadRequ" - + "est\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.go" - + "ogleapis.com/Session\022;\n\013transaction\030\002 \001(" - + "\0132&.google.spanner.v1.TransactionSelecto" - + "r\022\022\n\005table\030\003 \001(\tB\003\340A\002\022\r\n\005index\030\004 \001(\t\022\024\n\007" - + "columns\030\005 \003(\tB\003\340A\002\022/\n\007key_set\030\006 \001(\0132\031.go" - + "ogle.spanner.v1.KeySetB\003\340A\002\022\r\n\005limit\030\010 \001" - + "(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017partition_to" - + "ken\030\n \001(\014\022:\n\017request_options\030\013 \001(\0132!.goo" - + "gle.spanner.v1.RequestOptions\022E\n\025directe" - + "d_read_options\030\016 \001(\0132&.google.spanner.v1" - + ".DirectedReadOptions\022\032\n\022data_boost_enabl" - + "ed\030\017 \001(\010\"\313\001\n\027BeginTransactionRequest\0227\n\007" - + "session\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapi" - + "s.com/Session\022;\n\007options\030\002 \001(\0132%.google." - + "spanner.v1.TransactionOptionsB\003\340A\002\022:\n\017re" - + "quest_options\030\003 \001(\0132!.google.spanner.v1." - + "RequestOptions\"\375\002\n\rCommitRequest\0227\n\007sess" - + "ion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.co" - + "m/Session\022\030\n\016transaction_id\030\002 \001(\014H\000\022G\n\026s" - + "ingle_use_transaction\030\003 \001(\0132%.google.spa" - + "nner.v1.TransactionOptionsH\000\022.\n\tmutation" - + "s\030\004 \003(\0132\033.google.spanner.v1.Mutation\022\033\n\023" - + "return_commit_stats\030\005 \001(\010\0228\n\020max_commit_" - + "delay\030\010 \001(\0132\031.google.protobuf.DurationB\003" - + "\340A\001\022:\n\017request_options\030\006 \001(\0132!.google.sp" - + "anner.v1.RequestOptionsB\r\n\013transaction\"g" - + "\n\017RollbackRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372" - + "A \n\036spanner.googleapis.com/Session\022\033\n\016tr" - + "ansaction_id\030\002 \001(\014B\003\340A\002\"\316\002\n\021BatchWriteRe" - + "quest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner." - + "googleapis.com/Session\022:\n\017request_option" - + "s\030\003 \001(\0132!.google.spanner.v1.RequestOptio" - + "ns\022P\n\017mutation_groups\030\004 \003(\01322.google.spa" - + "nner.v1.BatchWriteRequest.MutationGroupB" - + "\003\340A\002\022,\n\037exclude_txn_from_change_streams\030" - + "\005 \001(\010B\003\340A\001\032D\n\rMutationGroup\0223\n\tmutations" - + "\030\001 \003(\0132\033.google.spanner.v1.MutationB\003\340A\002" - + "\"\177\n\022BatchWriteResponse\022\017\n\007indexes\030\001 \003(\005\022" - + "\"\n\006status\030\002 \001(\0132\022.google.rpc.Status\0224\n\020c" - + "ommit_timestamp\030\003 \001(\0132\032.google.protobuf." - + "Timestamp2\213\030\n\007Spanner\022\246\001\n\rCreateSession\022" - + "\'.google.spanner.v1.CreateSessionRequest" - + "\032\032.google.spanner.v1.Session\"P\332A\010databas" - + "e\202\323\344\223\002?\":/v1/{database=projects/*/instan" - + "ces/*/databases/*}/sessions:\001*\022\340\001\n\023Batch" - + "CreateSessions\022-.google.spanner.v1.Batch" - + "CreateSessionsRequest\032..google.spanner.v" - + "1.BatchCreateSessionsResponse\"j\332A\026databa" - + "se,session_count\202\323\344\223\002K\"F/v1/{database=pr" - + "ojects/*/instances/*/databases/*}/sessio" - + "ns:batchCreate:\001*\022\227\001\n\nGetSession\022$.googl" - + "e.spanner.v1.GetSessionRequest\032\032.google." - + "spanner.v1.Session\"G\332A\004name\202\323\344\223\002:\0228/v1/{" - + "name=projects/*/instances/*/databases/*/" - + "sessions/*}\022\256\001\n\014ListSessions\022&.google.sp" - + "anner.v1.ListSessionsRequest\032\'.google.sp" - + "anner.v1.ListSessionsResponse\"M\332A\010databa" - + "se\202\323\344\223\002<\022:/v1/{database=projects/*/insta" - + "nces/*/databases/*}/sessions\022\231\001\n\rDeleteS" - + "ession\022\'.google.spanner.v1.DeleteSession" - + "Request\032\026.google.protobuf.Empty\"G\332A\004name" - + "\202\323\344\223\002:*8/v1/{name=projects/*/instances/*" - + "/databases/*/sessions/*}\022\243\001\n\nExecuteSql\022" - + "$.google.spanner.v1.ExecuteSqlRequest\032\034." - + "google.spanner.v1.ResultSet\"Q\202\323\344\223\002K\"F/v1" - + "/{session=projects/*/instances/*/databas" - + "es/*/sessions/*}:executeSql:\001*\022\276\001\n\023Execu" - + "teStreamingSql\022$.google.spanner.v1.Execu" - + "teSqlRequest\032#.google.spanner.v1.Partial" - + "ResultSet\"Z\202\323\344\223\002T\"O/v1/{session=projects" - + "/*/instances/*/databases/*/sessions/*}:e" - + "xecuteStreamingSql:\001*0\001\022\300\001\n\017ExecuteBatch" - + "Dml\022).google.spanner.v1.ExecuteBatchDmlR" - + "equest\032*.google.spanner.v1.ExecuteBatchD" - + "mlResponse\"V\202\323\344\223\002P\"K/v1/{session=project" - + "s/*/instances/*/databases/*/sessions/*}:" - + "executeBatchDml:\001*\022\221\001\n\004Read\022\036.google.spa" - + "nner.v1.ReadRequest\032\034.google.spanner.v1." - + "ResultSet\"K\202\323\344\223\002E\"@/v1/{session=projects" - + "/*/instances/*/databases/*/sessions/*}:r" - + "ead:\001*\022\254\001\n\rStreamingRead\022\036.google.spanne" - + "r.v1.ReadRequest\032#.google.spanner.v1.Par" - + "tialResultSet\"T\202\323\344\223\002N\"I/v1/{session=proj" - + "ects/*/instances/*/databases/*/sessions/" - + "*}:streamingRead:\001*0\001\022\311\001\n\020BeginTransacti" - + "on\022*.google.spanner.v1.BeginTransactionR" - + "equest\032\036.google.spanner.v1.Transaction\"i" - + "\332A\017session,options\202\323\344\223\002Q\"L/v1/{session=p" - + "rojects/*/instances/*/databases/*/sessio" - + "ns/*}:beginTransaction:\001*\022\353\001\n\006Commit\022 .g" - + "oogle.spanner.v1.CommitRequest\032!.google." - + "spanner.v1.CommitResponse\"\233\001\332A session,t" - + "ransaction_id,mutations\332A(session,single" - + "_use_transaction,mutations\202\323\344\223\002G\"B/v1/{s" - + "ession=projects/*/instances/*/databases/" - + "*/sessions/*}:commit:\001*\022\260\001\n\010Rollback\022\".g" - + "oogle.spanner.v1.RollbackRequest\032\026.googl" - + "e.protobuf.Empty\"h\332A\026session,transaction" - + "_id\202\323\344\223\002I\"D/v1/{session=projects/*/insta" - + "nces/*/databases/*/sessions/*}:rollback:" - + "\001*\022\267\001\n\016PartitionQuery\022(.google.spanner.v" - + "1.PartitionQueryRequest\032$.google.spanner" - + ".v1.PartitionResponse\"U\202\323\344\223\002O\"J/v1/{sess" - + "ion=projects/*/instances/*/databases/*/s" - + "essions/*}:partitionQuery:\001*\022\264\001\n\rPartiti" - + "onRead\022\'.google.spanner.v1.PartitionRead" - + "Request\032$.google.spanner.v1.PartitionRes" - + "ponse\"T\202\323\344\223\002N\"I/v1/{session=projects/*/i" - + "nstances/*/databases/*/sessions/*}:parti" - + "tionRead:\001*\022\310\001\n\nBatchWrite\022$.google.span" - + "ner.v1.BatchWriteRequest\032%.google.spanne" - + "r.v1.BatchWriteResponse\"k\332A\027session,muta" - + "tion_groups\202\323\344\223\002K\"F/v1/{session=projects" - + "/*/instances/*/databases/*/sessions/*}:b" - + "atchWrite:\001*0\001\032w\312A\026spanner.googleapis.co" - + "m\322A[https://www.googleapis.com/auth/clou" - + "d-platform,https://www.googleapis.com/au" - + "th/spanner.dataB\221\002\n\025com.google.spanner.v" - + "1B\014SpannerProtoP\001Z5cloud.google.com/go/s" - + "panner/apiv1/spannerpb;spannerpb\252\002\027Googl" - + "e.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanne" - + "r\\V1\352\002\032Google::Cloud::Spanner::V1\352A_\n\037sp" - + "anner.googleapis.com/Database\022\n\017type_annotation\030\004 \001(\0162%.google.s" - + "panner.v1.TypeAnnotationCode\022\026\n\016proto_ty" - + "pe_fqn\030\005 \001(\t\"\177\n\nStructType\0223\n\006fields\030\001 \003" - + "(\0132#.google.spanner.v1.StructType.Field\032" - + "<\n\005Field\022\014\n\004name\030\001 \001(\t\022%\n\004type\030\002 \001(\0132\027.g" - + "oogle.spanner.v1.Type*\307\001\n\010TypeCode\022\031\n\025TY" - + "PE_CODE_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\t\n\005INT64" - + "\020\002\022\013\n\007FLOAT64\020\003\022\013\n\007FLOAT32\020\017\022\r\n\tTIMESTAM" - + "P\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005BYTES\020\007\022\t\n\005" - + "ARRAY\020\010\022\n\n\006STRUCT\020\t\022\013\n\007NUMERIC\020\n\022\010\n\004JSON" - + "\020\013\022\t\n\005PROTO\020\r\022\010\n\004ENUM\020\016*d\n\022TypeAnnotatio" - + "nCode\022$\n TYPE_ANNOTATION_CODE_UNSPECIFIE" - + "D\020\000\022\016\n\nPG_NUMERIC\020\002\022\014\n\010PG_JSONB\020\003\022\n\n\006PG_" - + "OID\020\004B\254\001\n\025com.google.spanner.v1B\tTypePro" - + "toP\001Z5cloud.google.com/go/spanner/apiv1/" - + "spannerpb;spannerpb\252\002\027Google.Cloud.Spann" - + "er.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google" - + "::Cloud::Spanner::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_spanner_v1_Type_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_Type_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Type_descriptor, - new java.lang.String[] { - "Code", "ArrayElementType", "StructType", "TypeAnnotation", "ProtoTypeFqn", - }); - internal_static_google_spanner_v1_StructType_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_StructType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_StructType_descriptor, - new java.lang.String[] { - "Fields", - }); - internal_static_google_spanner_v1_StructType_Field_descriptor = - internal_static_google_spanner_v1_StructType_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_StructType_Field_descriptor, - new java.lang.String[] { - "Name", "Type", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}